Restrict browsing of parent directories in Apache auto-indexing
I would like to have any directory auto-indexing by Apache not display a link to the parent directory. In my current setup, I have only enabled access to all subdirectories, thereby implicitly denying access to the one parent directory of each of those subdirectories. Unfortunately, the auto-开发者_如何学编程indexing is still displaying a link to the parent directory even though clicking on that link results in a 403 response.
IndexIgnore ..
You can read more on the Auto-Index
options on Apache Docs.
精彩评论