Add .htaccess files with access settings
[MAILPOET-1949]
This commit is contained in:
committed by
Jack Kitterhing
parent
910b62cd70
commit
4e7d0252e6
15
.htaccess
Normal file
15
.htaccess
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# disable directory listing
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
|
# disable file serving (Apache 2.4)
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# disable file serving (Apache 2.2)
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
<IfModule mod_authz_host.c>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
||||||
|
</IfModule>
|
12
assets/.htaccess
Normal file
12
assets/.htaccess
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# enable file serving (Apache 2.4)
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# enable file serving (Apache 2.2)
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
<IfModule mod_authz_host.c>
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
</IfModule>
|
Reference in New Issue
Block a user