diff options
Diffstat (limited to 'misc/user/.htaccess')
-rw-r--r-- | misc/user/.htaccess | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/user/.htaccess b/misc/user/.htaccess index a4d7af8795..a1f9596321 100644 --- a/misc/user/.htaccess +++ b/misc/user/.htaccess @@ -1,27 +1,33 @@ <Files ~ "\.(php|php4|php5|inc|tpl|in|twig)$"> <IfModule mod_access.c> Deny from all +Require all denied </IfModule> <IfModule !mod_access_compat> <IfModule mod_authz_host.c> Deny from all +Require all denied </IfModule> </IfModule> <IfModule mod_access_compat> Deny from all +Require all denied </IfModule> </Files> <Files ~ "\.(test\.php|gif|ico|jpg|png|svg|js|css|swf)$"> <IfModule mod_access.c> Allow from all +Require all granted </IfModule> <IfModule !mod_access_compat> <IfModule mod_authz_host.c> Allow from all +Require all granted </IfModule> </IfModule> <IfModule mod_access_compat> Allow from all +Require all granted </IfModule> Satisfy any </Files> |