1
vote
1answer
29 views

Apache: Serve content from files that are restricted

In my Apache setup, I have a directory with my error pages in it (404 403). However, I don't want this directory being viewable directly - I'd like accessing it to return a 404. So what I did was ...
1
vote
2answers
2k views

Apache config: Return 404 for single <Location>

Is it possible to let Apache automatically return a 404 page for a single URL using the Location tag? <Location "/some/url"> # ??? </Location> Solutions without mod_rewrite or any ...