Originally Posted by jhcaiced
The AcceptPathInfo directive is part of ApacheCore so you don't need
to install anything else to get it to work.
In CentOS-5, the apache configuration goes into the file
/etc/httpd/conf/httpd.conf in that file you should locate
Inside that section, add the line
- Then, restart your apache process and you should be able to use the feature.
Hi, I was reading your post, and I am still a bit confused. I have several virtual servers, and if I understand correctly, I can set AcceptPathInfo individuals for each one using the syntax above.
I have duly set it to On.
Unfortunately, it does NOT seem to be working. For example, once enabled, I should be able to use the php server variable $_SERVER['PATH_INFO']. I never see that variable enabled in the phpinfo file, nor do I seem to be able to echo that variable from a script and get the path, which I should.
Is there another way to verify that the directive is working? I have noticed several complaints on the web about Apache 2 having a bug in this regard with AcceptPathInfo.