[pmwiki-users] Clean URLs: All work except for the pmwiki group

Stirling Westrup sti at pooq.com
Mon Jun 19 13:12:59 CDT 2006


Marc Cooper wrote:

> 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 
> are shared.)
> 
> When I remove the .htaccess [1], and edit $ScriptUrl, then the pmwiki 
> group pages are again accessible.
> 
> There's more. The "live" pmwiki is located at:
> 
>     <apache root>/pmwiki
> 
> while the test setup is at:
> 
>     <apache root>/~marc/pmwiki
> 
> (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?
> 

It sounds like a misconfiguration of Apache. Is is possible that the
method that you are using to provide clean URLs for the main pmwiki site
is somehow also matching on URLs for the test site? That might well do it.

If the the string 'pmwiki' is being matched in the wrong context, that
might explain your results.




More information about the pmwiki-users mailing list