Disable HTTP redirection for subdir of /deploy/

Change-Id: I0f7ba59e052d875ae17e56fc83ef19f888994b5d
Closes-Bug: #1727791
This commit is contained in:
Maxime Guyot 2017-10-26 19:08:10 +02:00
parent c0b41f4ba6
commit c2e9f33589
3 changed files with 8 additions and 4 deletions

View File

@ -140,8 +140,8 @@ redirect 301 /doc-contrib-guide/ui-text-guidelines.html /doc-contrib-guide/ux-ui
redirect 301 /doc-contrib-guide/ui-text-guidelines /doc-contrib-guide/ux-ui-guidelines
# Redirect any deploy guide project directory back to the current stable index
{{ dir_to_page('/project-deploy-guide/(newton|ocata)', '/$1/deploy/') }}
{{ path_to_released_series('/project-deploy-guide', '/deploy/') }}
{{ dir_to_page('/project-deploy-guide/(newton|ocata|pike)', '/$1/deploy/') }}
{{ path_to_released_series('/project-deploy-guide/?$', '/deploy/') }}
# Redirect old install guide list pages to their new home
{{ path_to_page('/(havana|icehouse|juno|kilo|mitaka)/install-guide', '/$1/') }}

View File

@ -739,12 +739,10 @@
- name: openstack-ansible
service: OpenStack-Ansible Deployment
type: deployment
has_deployment_guide: true
- name: kolla-ansible
service: Kolla Deployment
type: deployment
has_deployment_guide: true
# - name: os-win
# service: Windows / Hyper-V library for OpenStack projects.

View File

@ -154,6 +154,12 @@
{{ dir_to_page('/project-deploy-guide', '/' + RELEASED_SERIES + '/deploy/') }}
{{ dir_to_page('/project-deploy-guide/newton', '/newton/deploy/') }}
{{ dir_to_page('/project-deploy-guide/ocata', '/ocata/deploy/') }}
/project-deploy-guide/openstack-ansible/pike/ 200
/project-deploy-guide/openstack-ansible/ocata/ 200
/project-deploy-guide/openstack-ansible/newton/ 200
/project-deploy-guide/kolla-ansible/pike/ 200
/project-deploy-guide/kolla-ansible/ocata/ 200
# Redirect old install guide list pages to their new home
{{ path_to_page('/havana/install-guide', '/havana/') }}