4

At the moment, when I type:

xyz.lo/abc.php/123

in my webbrowser, Apache serves the same page if I were typing

xyz.lo/abc.php

Unfortunatelly relative links present in HTML won't work with the first version. How do I make Apache serve 404 error, if I type not exact URL?

3

Disable PATH_INFO feature:

AcceptPathInfo Off

(doc)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.