diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 18:28:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 18:28:03 -0200 |
commit | 6d9d88b99a52fb52f4c930bce03a74abf8e80a90 (patch) | |
tree | 2641b89f1ece45257900aa2c311481dba3e3727d /templates/site.erb | |
parent | 21a6ea7bfd92caa536a9c8b92e7e25832efd349f (diff) | |
download | puppet-apache-6d9d88b99a52fb52f4c930bce03a74abf8e80a90.tar.gz puppet-apache-6d9d88b99a52fb52f4c930bce03a74abf8e80a90.tar.bz2 |
Adding redirect_match
Diffstat (limited to 'templates/site.erb')
-rw-r--r-- | templates/site.erb | 3 |
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 -%> |