Mobile app version of vmapp.org
Login or Join
Kaufman445

: Serve 404 error, if typing not exact URL 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

@Kaufman445

Posted in: #Apache

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

Disable PATH_INFO feature:

AcceptPathInfo Off


(doc)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme