diff options
-rw-r--r-- | modules/apache/templates/vhost_simple.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_simple.conf b/modules/apache/templates/vhost_simple.conf index ec39b192..afc443de 100644 --- a/modules/apache/templates/vhost_simple.conf +++ b/modules/apache/templates/vhost_simple.conf @@ -3,7 +3,12 @@ DocumentRoot <%= location %> <Location /> - Allow from all + <IfModule mod_authz_core.c> + Require all granted + </IfModule> + <IfModule !mod_authz_core.c> + Allow from all + </IfModule> </Location> </VirtualHost> |