35b8274533
And update the status page to use common.js. Redirect old zuul status urls to status.o.o. Change-Id: I98e86eb78b70d5cbe53410919642f302e9709d19 Reviewed-on: https://review.openstack.org/25664 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
# ************************************
|
|
# Managed by Puppet
|
|
# ************************************
|
|
|
|
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 -%>
|
|
DocumentRoot <%= docroot %>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^/rechecks$ /rechecks/ [R]
|
|
RewriteRule ^/rechecks/$ http://zuul.openstack.org/rechecks.html [P]
|
|
<Location /rechecks/>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Location>
|
|
|
|
RewriteRule ^/release$ /release/ [R]
|
|
RewriteRule ^/release/(.*)$ http://old-wiki.openstack.org/release/$1 [P]
|
|
<Location /release/>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Location>
|
|
|
|
RewriteRule ^/bugday$ /bugday/ [R]
|
|
RewriteRule ^/bugday/(.*)$ http://old-wiki.openstack.org/bugday/$1 [P]
|
|
<Location /bugday/>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Location>
|
|
|
|
Alias /reviews /srv/static/reviewday
|
|
|
|
<Directory <%= docroot %>>
|
|
Options <%= options %>
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/<%= name %>_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/<%= name %>_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|