Jan Erik Moström pisze: > I'm missing something (as usual). 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: > <http://www.example.com/info/index.php/Main/HomePage> > > If I've understood > <http://www.pmwiki.org/wiki/Cookbook/CleanUrls#farms> correctly > I should change pmwiki.php to index.php in my .htaccess file > > # Use mod_rewrite to enable "Clean URLs" for a PmWiki installation. > RewriteEngine On > # Define the rewrite base. > RewriteBase /info > # 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' > part also? > > jem Edit "local/config.php" file:
$ScriptUrl = "http://yourhost/info"; -- Bialy663 http://cerbermail.com/?lArZ9JxLCc _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
