[Pmwiki-users] Getting rid of pagename=... in the URL

Patrick R. Michaud pmichaud
Wed Dec 3 11:41:19 CST 2003


AcceptPathInfo is only needed for Apache 2.x.  Apache 1.3 already does
the equivalent of AcceptPathInfo.

Since your server API is "cgi", it probably means that the PHP
configuration is not set up to handle PATH_INFO properly.
With $EnableDiag=1, try a URL like
http://my.site.com/index.php/Main/HomePage?action=phpinfo and see if
"/Main/HomePage" appears in any of the server variables, if so, then
we can make it so that the shorter URLs work--if it doesn't appear
anywhere (or if you get a 404 Page Not Found error when
http://my.site.com/index.php works) then you're pretty much stuck with
the ?pagename= syntax.

Pm



On Tuesday, December 2, 2003, 12:27:24 AM, you wrote:

> Jonathan Scott Duff wrote:

>> What you need is to turn AcceptPathInfo on if you can. See step #4 of
>> the installation instructions at
>> http://www.pmichaud.com/wiki/PmWiki/Installation
>> 
>> You may also need to set $EnablePathInfo to a true value.  Search
>> the docs at http://www.pmichaud.com/ for these terms.

> I'd forgotten about the $EnablePathInfo. I set this which make forces
> pmwiki to form the correct URL format, but no pages are retrieved as the
> "AcceptPathInfo on" command is not recognised by Apache 1.3!

> (I also tried $EnableDiag=1 and then ?action=phpinfo and discovered that
> my Server API = CGI... I assume this means I'm stuck with ?pagenames ?!?!)

> Glenn






> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com







More information about the pmwiki-users mailing list