diff options
Diffstat (limited to 'modules/apache/templates')
-rw-r--r-- | modules/apache/templates/vhost_base.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf index 3baa6817..07d3f236 100644 --- a/modules/apache/templates/vhost_base.conf +++ b/modules/apache/templates/vhost_base.conf @@ -39,6 +39,12 @@ end <%= content %> +<%- if options.length -%> + <Directory <%= location %>> + Options <%= options.join(" ") %> + </Directory> +<%- end -%> + <Location /> Allow from all </Location> |