开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜