Disallow path info
Phillip Hellewell <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CA+dWQFp5fYSy0US=kf-E-icuD0htK5cWP2SKE5aW97NRDwiUDg@mail.gmail.com> |
Hello, I would like to disallow path info, i.e., respond with 404 if PATH_INFO is not empty, i.e., if the URL is something like http://mysite.example.com/myscript.pl/path/info. I tried the Apache directive "AcceptPathInfo Off", but sadly this only works with the normal cgi handler; ModPerl seems to ignore it. Thanks, Phillip