Welcome to WebmasterWorld Guest from 54.167.185.18

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

AcceptPathInfo not working (Apache 2.0)

Trying to get rid of the ".php?var=100" mess from URLs, no luck though

   
9:58 pm on Oct 28, 2003 (gmt 0)

10+ Year Member



Hi,

I'm trying to set up friendly URLs, as described in this article:
[zend.com...]

The setup I have is Windows XP and Apache 2.0. I installed version 2.0 having read that the AcceptPathInfo directive would not work with version 1.3.

So far I've managed to get PHP and MySQL running fine, but when using ForceType and AcceptPathInfo I get 404 errors when missing out the .php extension, and server errors when testing the appended variables.

Any advice would be appreciated, I can't see why this isnt working.

Thanks,

Don

10:46 pm on Oct 28, 2003 (gmt 0)

10+ Year Member



Ah. I found out when I ugraded to Apache 2.0 I configured PHP as CGI instead of as a module.

I've just changed it to the module and the AcceptPathInfo works.

Once thing i noticed, the stylesheets on the page didn't work, probably because i had used relative links for them. That should be easily fixed though.

Thanks anyway,

Don