summaryrefslogtreecommitdiff
path: root/templates/site.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/site.erb')
-rw-r--r--templates/site.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 1d24628..1d050d6 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -3,7 +3,8 @@
ServerName <%= title %>.<%= domain %>
<% if server_alias != false %> ServerAlias <%= server_alias %><% end %>
DocumentRoot <%= docroot %>
-<% if redirect != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %><% end %>
+<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect_match %><% end %>
+<% if redirect != false %> Redirect <%= redirect %><% end %>
<% if use != false %><% use.each do |instance| -%>
Use <%= instance %>
<% end -%><% end -%>