[pmwiki-users] Clean URLs in Wiki Farm
paulthewlis at yahoo.co.uk
Thu May 15 17:37:34 CDT 2008
I just discovered PmWiki, and, so far, I'm loving it.
However, I do have a problem with the Clean URLs Wiki Farm I set up.
The problem is exactly the same as the one experienced here:
I've set up a wiki farm and I'm now trying to configure it to use clean
urls. The original
site works just fine but when I try to add clean urls to one of
"farm wikis" I run into some problems.
I get a url that look like this:
If I've understood
I should change pmwiki.php to index.php in my .htaccess file
# Use mod_rewrite to enable "Clean URLs" for a PmWiki installation.
# Define the rewrite base.
# Send requests without parameters to pmwiki.php.
RewriteRule ^$ index.php [L]
# Send requests for index.php to pmwiki.php.
RewriteRule ^index\.php$ index.php [L]
# Send requests to pmwiki.php, appending the query string part.
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ index.php?n=$1 [QSA,L]
But apparently it doesn't work. How can I remove the 'index.php'
My .htaccess is exactly the same as above.
I have followed the solution given to the above problem:
Edit "local/config.php" file:
$ScriptUrl = "http://yourhost/info";
Unfortunately this solution does not seem to work for me.
The URLs are fixed, i.e. the 'index.php' has been removed, but the pages
will not load. In Firefox I get 'Server not found' in IE8 I get 'Internet
Explorer cannot display the webpage'.
When I comment out the $ScriptURL line, the pages load OK, but the URLs are
Does anyone have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users