Stop directory index browsing

/ Published in: Apache
Save to your folder(s)

This snippet will stop people from snooping in your Apache directories. This is useful if you have directories containing files, but no index HTML/PHP document.

Copy this code and paste it in your HTML
  1. Options All -Indexes


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.