Manual talk:Short URL/wiki/Page title -- PHP as a CGI module, no root access

Thank you
Thank you, after months and months and months and months and months of trying, I finally got a shorturl to work. THANK YOU!!!!!! Odessaukrain 10:36, 6 October 2007 (UTC)

What does this mean?

 * It's important not to have any paths defined BEFORE the path itself. That is, you shouldn't see $wgScriptPath as a value (after the = sign) BEFORE you see $wgScriptPath = (when it's defined for the first time).

I moved this to talk. It is so confusing because the one line "$wgScriptPath" is described twice in this sentence. Odessaukrain 10:36, 6 October 2007 (UTC)

Help!
Hi, I'M ITALIAN!!

I have tested this script in a subDirectory and not work.... The htaccess code is:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^wiki/(.+)$ wiki/index.php?title=$1 [L,QSA]

RewriteRule ^wiki$ wiki/index.php

Help me, please! Roberto, the Italian
 * You are proably not going to get help here. I suggest going on the IRC board for wikimedia. They may help. irc://irc.freenode.net/mediawiki Odessaukrain 01:47, 31 October 2007 (UTC)

Yessssssss! Got it! Found the problem. :-) Wheeeeeh! :-D ^L^

If your wiki is inside a subdirectory like

http://www.example.com/wiki/Main_Page

and stuff like that, you can use |the scripts listed in the manual freely, BUT you MUST pay attention to:


 * disable wgUsePathInfo (dirty freaky phuckin bastard junky option!) in /wiki/LocalSettings.php

$wgUsePathInfo = false;


 * change all your references inside the .htaccess file

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA] RewriteRule ^wiki$ /wiki/index.php

I'm using MediaWiki version 1.11.0

Hope this helps ;-)

Unwiredbrain 22:49, 5 November 2007 (UTC)