# ************************************ # Managed by Puppet # ************************************ NameVirtualHost <%= vhost_name %>:<%= port %> :<%= port %>> ServerName <%= srvname %> <% if serveraliases.is_a? Array -%> <% serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%> <% elsif serveraliases != '' -%> <%= " ServerAlias #{serveraliases}" %> <% end -%> DocumentRoot <%= docroot %> RewriteEngine on RewriteRule ^/rechecks$ /rechecks/ [R] RewriteRule ^/rechecks/$ http://zuul.openstack.org/rechecks.html [P] Order allow,deny Allow from all RewriteRule ^/zuul$ /zuul/ [R] RewriteRule ^/zuul/(.*)$ http://zuul.openstack.org/$1 [P] Order allow,deny Allow from all RewriteRule ^/release$ /release/ [R] RewriteRule ^/release/(.*)$ http://old-wiki.openstack.org/release/$1 [P] Order allow,deny Allow from all RewriteRule ^/reviews$ /reviews/ [R] RewriteRule ^/reviews/(.*)$ http://old-wiki.openstack.org/reviews/$1 [P] Order allow,deny Allow from all RewriteRule ^/bugday$ /bugday/ [R] RewriteRule ^/bugday/(.*)$ http://old-wiki.openstack.org/bugday/$1 [P] Order allow,deny Allow from all > Options <%= options %> AllowOverride None Order allow,deny allow from all ErrorLog /var/log/apache2/<%= name %>_error.log LogLevel warn CustomLog /var/log/apache2/<%= name %>_access.log combined ServerSignature Off