diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 12:07:38 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-11-08 12:07:38 -0200 |
commit | 409374291810e64918e4703db2c055af12701c45 (patch) | |
tree | 54c95724718283ed5914d7283ae25d8fd11bf899 /templates/site.erb | |
parent | b534b72a2fbee24acce97e4ef0d365abd89d1c5c (diff) | |
download | puppet-apache-409374291810e64918e4703db2c055af12701c45.tar.gz puppet-apache-409374291810e64918e4703db2c055af12701c45.tar.bz2 |
Moving website.erb to site.erb
Diffstat (limited to 'templates/site.erb')
-rw-r--r-- | templates/site.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/site.erb b/templates/site.erb new file mode 100644 index 0000000..795fadc --- /dev/null +++ b/templates/site.erb @@ -0,0 +1,11 @@ +# begin vhost for <%= title %> +<VirtualHost *:80> + ServerName <%= title %>.<%= domain %> +<% if server_alias != false %> ServerAlias <%= server_alias %><% end %> + DocumentRoot <%= docroot %> +<% if redirect != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %><% end %> +<% if use != false %><% use.each do |instance| -%> + Use <%= instance %><% end -%> +<% end -%> +</VirtualHost> +# end vhost for <%= title %> |