Azurite wrote:
there ARE ways to use Pretty URL with PHP as CGI and *NO* root access... right?
Yes. That is my situation, too; it works. There are several ways. Instructions at http://www.mediawiki.org/wiki/Manual:Short_URL are a little hard to untangle but my best reference.
This URL is interesting -- it works!:
http://seventh-star.net/wikific/Main_Page
(Notice that links on it however point to wrong URLs. They should point to simple http://seventh-star.net/wikific/Page_name style URLs if I understand what you want.)
And this URL informs me as follows:
http://seventh-star.net/wikific/Special:Version
MediaWiki: 1.10.1 PHP: 5.1.6 (cgi) MySQL: 4.1.22-standard ******** NOTE: My hazy recollection is PHP 5.1 does NOT PLAY NICE with MedaiWiki. Someone please confirm! ******** and you have several EXTENSIONS and HOOKS installed.
Azurite, the devil is in the details:
0) What operating system and Web server are you running on your server? Linux? Apache? What is the name of your Webhost, and Web hosting plan name?
1) Is this what you want the base URL to your wiki to be?:
http://www.seventh-star.net/wikific
(I see that currently /index.php/index.php/index.php... is looping onto that so fixing that first)
***I think*** you can fix that by changing these two lines:
$wgScriptPath = "$wgScriptPath/wiki"; $wgArticlePath = "$wgScriptPath/$1";
to:
$wgScriptPath = "wikific"; $wgArticlePath = "/$1";
***************************
2) Is this the kind of short URLs you want?:
http://www.seventh-star.net/wikific/Name_of_page
3) Is this the location of your wiki installation on your server?:
/home/you/public_html/wikific/
4) Is this the entire relevant contents of /home/you/public_html/.htaccess ?:
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^wiki/(.+)$ /wikific/index.php?title=$1 [L,QSA]
5) Do you have a /home/you/public_html/wikific/.htaccess ?
(You may want to *move* your wiki .htaccess here for efficiency; although it is working now, in its present location it routs all hits to all urls at seventh-star.net needlessly through this rewrite. You only *need* seventh-star.net/wikific hits to go through this rewrite.)
Caveat: I'm a pudding head -- anyone can do what I can do but not necessarily by following my pudding headed instructions but give it a try. The devil is in several details. Good luck!