Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 38c2a50

Browse files
committed
make htaccess deny in src and app work with apache 2.4
1 parent f712e45 commit 38c2a50

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

app/.htaccess

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
deny from all
1+
<IfModule mod_authz_core.c>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !mod_authz_core.c>
5+
Order deny,allow
6+
Deny from all
7+
</IfModule>

src/.htaccess

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
deny from all
1+
<IfModule mod_authz_core.c>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !mod_authz_core.c>
5+
Order deny,allow
6+
Deny from all
7+
</IfModule>

0 commit comments

Comments
 (0)