Skip to content

Commit 937ec65

Browse files
committed
Added .htaccess files to var/cache and var/log directories
1 parent 69d5b4e commit 937ec65

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

var/cache/.gitkeep

Whitespace-only changes.

var/cache/.htaccess

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Deny all requests from Apache 2.4+.
2+
<IfModule mod_authz_core.c>
3+
Require all denied
4+
</IfModule>
5+
6+
# Deny all requests from Apache 2.0-2.2.
7+
<IfModule !mod_authz_core.c>
8+
Deny from all
9+
</IfModule>

var/log/.gitkeep

Whitespace-only changes.

var/log/.htaccess

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Deny all requests from Apache 2.4+.
2+
<IfModule mod_authz_core.c>
3+
Require all denied
4+
</IfModule>
5+
6+
# Deny all requests from Apache 2.0-2.2.
7+
<IfModule !mod_authz_core.c>
8+
Deny from all
9+
</IfModule>

0 commit comments

Comments
 (0)