12 lines
353 B
Plaintext
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>
|
|
|