diff options
Diffstat (limited to 'modules/apache/templates')
-rw-r--r-- | modules/apache/templates/vhost_base.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf index ad01d96f..c6feade5 100644 --- a/modules/apache/templates/vhost_base.conf +++ b/modules/apache/templates/vhost_base.conf @@ -40,7 +40,12 @@ end <%- end -%> <Location /> - Allow from all + <IfModule mod_authz_core.c> + Require all granted + </IfModule> + <IfModule !mod_authz_core.c> + Allow from all + </IfModule> </Location> </VirtualHost> |