Add legacy redirects to static.o.o
The legacy redirects that are on old-wiki.o.o should go away. But they certainly should stop being served by old-wiki. Note, this excludes quantum, which is a dead redirect anyway and workitems which never really got off the ground and only contains out of date info from diablo-4. Change-Id: If78ba98ff927420d003fa69b49ed073e3a44ea09
This commit is contained in:
parent
5916cf9533
commit
ff52dd32e1
@ -348,14 +348,63 @@ class openstack_project::static (
|
||||
}
|
||||
|
||||
###########################################################
|
||||
# legacy devstack.org site redirect
|
||||
# legacy site redirects
|
||||
|
||||
::httpd::vhost { 'devstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
serveraliases => ['*.devstack.org'],
|
||||
template => 'openstack_project/devstack.vhost.erb',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'cinder.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'glance.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'horizon.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'keystone.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'nova.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'qa.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
::httpd::vhost { 'swift.openstack.org':
|
||||
port => 80,
|
||||
priority => '50',
|
||||
docroot => 'MEANINGLESS_ARGUMENT',
|
||||
template => 'openstack_project/legacy.vhost.erb',
|
||||
}
|
||||
|
||||
###########################################################
|
||||
|
@ -12,7 +12,7 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
|
||||
<% end -%>
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule ^/(.*) http://docs.openstack.org/developer/devstack/$1 [last,redirect=permanent]
|
||||
RewriteRule ^/(.*) http://docs.openstack.org/developer/<%= @name.split('.')[0] %>/$1 [last,redirect=permanent]
|
||||
|
||||
ErrorLog /var/log/apache2/<%= @name %>_error.log
|
||||
LogLevel warn
|
Loading…
Reference in New Issue
Block a user