Where are the .htaccess files stored? It might help to know the *paths* that you installed pmwiki under rather than the domain-names, but reading the .htaccess it seems it should be stored in the root -- ie, above where pmwiki is stored. This would be tricky if you have something like this (which I suspect you do):
\ |--->pmwiki |--->wiki On 10/1/2009 12:26 AM, adam overton wrote: > > hi there > i've been starting a 2nd separate wiki (i.e not a farm) on my server > with slightly different settings than the first, and am having major > problems with Clean Urls. i've looked around on pmwiki.org and on the > mailing lists, and haven't yet found what i need. > > for my original wiki, let's call it http://firstWiki.com > it's actually stored in http://myserver.com/pmwiki (with domain > forwarding to /pmwiki). > it works fine, and easily resolves pagenames like http:// > firstWiki.com/Group/Page > i have an .htaccess file in /pmwiki that has the usual cleanurl > suggestions: > > # Use mod_rewrite to enable "Clean URLs" for a PmWiki installation. > RewriteEngine On > # Define the rewrite base. > RewriteBase /pmwiki > # Send requests without parameters to pmwiki.php. > RewriteRule ^$ pmwiki.php [L] > # Send requests for index.php to pmwiki.php. > RewriteRule ^index\.php$ pmwiki.php [L] > # Send requests to pmwiki.php, appending the query string part. > RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L] > > > my 2nd wiki, however, is being stored at http://myserver.com/wiki > (note the different folder name /wiki), and can be accessed via > http://myserver.com/wiki. > at this point i can only access my pages if i use: > http://myserver.com/wiki/pmwiki.php?n=Group.Page > or > http://myserver.com/wiki/index.php/Group/Page > > what i'd like to have is http://myserver.com/wiki/Group/Page, but > it's not working. i'm using the exact same .htaccess code as above, > but with RewriteBase /wiki instead. > > # Use mod_rewrite to enable "Clean URLs" for a PmWiki installation. > RewriteEngine On > # Define the rewrite base. > RewriteBase /wiki > # Send requests without parameters to pmwiki.php. > RewriteRule ^$ pmwiki.php [L] > # Send requests for index.php to pmwiki.php. > RewriteRule ^index\.php$ pmwiki.php [L] > # Send requests to pmwiki.php, appending the query string part. > RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L] > > and in config.php, i've got: > $EnablePathInfo = 1; > $ScriptUrl = "http://myserver.com/wiki"; > > > anyone have any ideas why this is not working for me? > thanks a bunch. > adam > > > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users