[pmwiki-users] Clean URLs: All work except for the pmwiki group
gmane at auxbuss.com
Mon Jun 19 05:01:32 CDT 2006
I have clean URLs working fine, except when linking to anything in the
pmwiki group. Instead, the home wiki start page is displayed. All other
pages in all other groups work as expected.
In addition, this only happens on the *home wiki* within my *test setup*
- the "live" version works okay, and both are running under the same
Apache server. For all other wikis in the farm, references to the pmwiki
group work fine. (In this case, the physical files for the pmwiki group
When I remove the .htaccess , and edit $ScriptUrl, then the pmwiki
group pages are again accessible.
There's more. The "live" pmwiki is located at:
while the test setup is at:
(where this is defined via an Apache UserDir directive in the usual
way). When I copy the entire test wiki to the "live" location - and make
the appropriate .htaccess and pmwiki config changes - then the pmwiki
group pages are accessible with clean URLs.
Digging a little deeper, I tried changing /pmwiki/pmwiki.php to
/pmwiki/index.php and adjusting the .htaccess. When trying to access the
pmwiki group, this resulted in the Apache error:
Negotiation: discovered file(s) matching request: <path>/pmwiki/PmWiki
(None could be negotiated)
I can't see what I'm missing. Can anyone help, please?
# 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-z].*) pmwiki.php?n=$1 [QSA,L]
More information about the pmwiki-users