Skip to content

Commit

Permalink
prevent directory listing
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Jun 29, 2018
1 parent 93ed391 commit 4a8b0ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# No directory listings
<IfModule autoindex>
IndexIgnore *
</IfModule>

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
Expand Down

0 comments on commit 4a8b0ad

Please sign in to comment.