diff options
Diffstat (limited to 'templates/vhosts')
-rw-r--r-- | templates/vhosts/partials/header_default.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vhosts/partials/header_default.erb b/templates/vhosts/partials/header_default.erb index 05b2122..eff83cf 100644 --- a/templates/vhosts/partials/header_default.erb +++ b/templates/vhosts/partials/header_default.erb @@ -9,7 +9,9 @@ <% unless server_admin.to_s.empty? || (server_admin.to_s == 'absent') -%> ServerAdmin <%= server_admin %> <% end -%> +<% unless documentroot.to_s == 'really_absent' -%> DocumentRoot <%= documentroot %>/ +<% end -%> <% if default_charset.to_s != 'absent' then -%> AddDefaultCharset <%= default_charset %> <% end -%>
\ No newline at end of file |