开发者

Restrict browsing of parent directories in Apache auto-indexing

开发者 https://www.devze.com 2023-01-05 07:32 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消