Puppet modules for deploying Apache in OpenStack infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vhost-redirect.conf.erb 364B

1234567891011
  1. NameVirtualHost <%= @vhost_name %>:<%= @port %>
  2. <VirtualHost <%= @vhost_name %>:<%= @port %>>
  3. ServerName <%= @srvname %>
  4. <% if @serveraliases.is_a? Array %>
  5. <% @serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %>
  6. <% elsif @serveraliases != nil %>
  7. <%= " ServerAlias #{@serveraliases}" %>
  8. <% end %>
  9. Redirect / <%= @dest %>/
  10. </VirtualHost>