puppet-httpd/templates/vhost-redirect.conf.erb
2011-07-15 15:26:35 -07:00

12 lines
353 B
Plaintext

NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveraliases.is_a? Array %>
<% serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %>
<% elsif serveraliases != '' %>
<%= " ServerAlias #{serveraliases}" %>
<% end %>
Redirect / <%= dest %>/
</VirtualHost>