Apache2: How do I restrict access to a directory, but allow access to one file within it?
- by Nick
I've inherited a poorly designed web app, which has a certain file that needs to be publicly accessible, but that file is inside a directory which should not.
In other words, I need a way to block all files and sub-directories within a directory, but over-ride it for a single file.
I'm trying this:
# No one needs to access this directly…