Skip to content

Commit

Permalink
Merge pull request #909 from igalic/no_default_vh_24
Browse files Browse the repository at this point in the history
allow disabling default vhosts under 2.4
  • Loading branch information
Morgan Haskel committed Nov 4, 2014
2 parents c737616 + 88c6a98 commit 1101dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/httpd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ IncludeOptional "<%= @confd_dir %>/*.conf"
Include "<%= @confd_dir %>/*.conf"
<%- end -%>
<% if @vhost_load_dir != @confd_dir -%>
<%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
IncludeOptional "<%= @vhost_load_dir %>/*"
<%- else -%>
Include "<%= @vhost_load_dir %>/*"
<%- end -%>
<% end -%>

<% if @error_documents -%>
Expand Down

0 comments on commit 1101dae

Please sign in to comment.