[RESOLVED] Mangled my short URL setup: help spot my LocalSettings & htaccess errors!

Fragment of a discussion from Project:Support desk
Jump to: navigation, search
  • Put the .htaccess file in the subdomain directory, not in the root directory.
  • Remove the /hexingtide from .htaccess
  • Use a virtual article path that does not match or overlap with the script path.
    For example: wgScriptPath = /slug; wgArticlePath = /wiki/$1; (articlePath without slug)
  • If still problems, read Manual:Short_URL/wiki/Page_title_--_no_root_access again to see if you might have skipped a step
  • Report back here :-)
Krinkle00:23, 17 March 2011
Edited by 0 users.
Last edit: 07:13, 17 March 2011

I set up things exactly as you prescribed and am now getting an interesting error.

It seems the wiki is trying to run the short URLs, but when I'm directed to hexingtide.willphillips.org/wiki/XYZ, I get a 404 error (before was a 500). The hexingtide.willphillips.org/slug/index.php?title=XYZ method still works, however.

So, I'm not sure where the problem is to be found, then, but I'd guess the .htaccess as it seems like there's a redirect/rewrite issue here.

Going to try a couple of the alternate methods listed in the manual to see if I can hack together a workaround, but some help is still needed!

kimmkatt07:13, 17 March 2011

Have now got everything set up and running correctly.

Thanks for the feedback, Krinkle!

WillPhillips08:18, 17 March 2011

DID YOU EMAIL ME AND SS EN ME A WORK SCHEDULTO TOING MAKE CHANGES TRYING TO UNDERSTAND WHO WHAT

kkc19:36, 2 April 2011
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox