summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/site.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/site.erb b/templates/site.erb
index e2ebbf5..2ed5107 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -33,6 +33,11 @@
<% if @custom_directives != false -%>
<%= @custom_directives %>
<% end -%>
+<% if @allow_override != false %>
+ <Directory <%= @docroot %>>
+ AllowOverride <%= @allow_override %>
+ </Directory>
+<% end -%>
</VirtualHost>
# end vhost for <%= @title %>
<% if @ssl == true %>
@@ -55,6 +60,11 @@
<% if @custom_directives != false -%>
<%= @custom_directives %>
<% end -%>
+<% if @allow_override != false %>
+ <Directory <%= @docroot %>>
+ AllowOverride <%= @allow_override %>
+ </Directory>
+<% end -%>
<% if @mpm == true %>
<IfModule mpm_itk_module>
AssignUserId <%= @user %> <%= @gid %>