summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-05-18 01:04:01 +0200
committermh <mh@immerda.ch>2011-05-18 01:04:46 +0200
commit9c79c0f782204bceb305ebde1d088344c61fe827 (patch)
tree0041c74f5b2b9d98666e4160a1a704bbe228ee6b /templates
parent7d5eae278c87136bc26f1d312b599b79f5782ee6 (diff)
woraround that redirects do not have a documentroot
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/partials/header_default.erb2
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