Skip to content

Commit

Permalink
Prevent apache from handing out conf files
Browse files Browse the repository at this point in the history
  • Loading branch information
jcuenod committed Mar 4, 2017
1 parent effe5d0 commit 6c8bd34
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

0 comments on commit 6c8bd34

Please sign in to comment.