Skip to content

Instantly share code, notes, and snippets.

@FabienArcellier
Created December 2, 2012 18:18
Show Gist options
  • Save FabienArcellier/4190291 to your computer and use it in GitHub Desktop.
Save FabienArcellier/4190291 to your computer and use it in GitHub Desktop.
Disable indexaction or block access to a directory in htaccess file
# disable directory browsing
Options All -Indexes
# Deny access to this directory for anybody
Order allow,deny
Deny from all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment