$canonical = false,
$canonical_exceptions = '',
$hidden_service = false,
- $custom_directives = false
+ $custom_directives = false,
+ $allow_override = false
) {
$vhost = $filename ? {
<% 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 %>
<% 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 %>