summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/header_default.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/partials/header_default.erb')
-rw-r--r--templates/vhosts/partials/header_default.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/vhosts/partials/header_default.erb b/templates/vhosts/partials/header_default.erb
index eff83cf..1c9309d 100644
--- a/templates/vhosts/partials/header_default.erb
+++ b/templates/vhosts/partials/header_default.erb
@@ -14,4 +14,7 @@
<% end -%>
<% if default_charset.to_s != 'absent' then -%>
AddDefaultCharset <%= default_charset %>
+<% end -%>
+<% unless passed_extension.to_s.empty? -%>
+ DirectoryIndex index.htm index.html index.<%= passed_extension %>
<% end -%> \ No newline at end of file