diff --git a/.s2i/httpd-cfg/01-commercial.conf b/.s2i/httpd-cfg/01-commercial.conf index 06aec541f988..f04702fcd0ea 100644 --- a/.s2i/httpd-cfg/01-commercial.conf +++ b/.s2i/httpd-cfg/01-commercial.conf @@ -141,13 +141,13 @@ AddType text/vtt vtt # ACS Redirects to go to the latest version - change here when a new version drops # it should probably be best to combine the next few lines in one reg exp but for clarity keeping them separate # the first one redirects - RewriteRule ^acs/?$ /acs/4.8/welcome/index.html [R=301] + RewriteRule ^acs/?$ /acs/4.9/welcome/index.html [R=301] # redirect to the latest release notes - RewriteRule ^acs/release_notes/?$ /acs/4.8/release_notes/47-release-notes.html [R=301,NE] + RewriteRule ^acs/release_notes/?$ /acs/4.9/release_notes/49-release-notes.html [R=301,NE] # redirect from ACS CLoud Service page - RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.8/installing/installing_ocp/init-bundle-ocp.html [NE,R=301] - RewriteRule ^acs/(\D.*)$ /acs/4.8/$1 [NE,R=301] - RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2|4\.3|4\.4|4\.5|4\.6|4\.7|4\.8)/?$ /acs/$1/welcome/index.html [L,R=301] + RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.9/installing/installing_ocp/init-bundle-ocp.html [NE,R=301] + RewriteRule ^acs/(\D.*)$ /acs/4.9/$1 [NE,R=301] + RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2|4\.3|4\.4|4\.5|4\.6|4\.7|4\.8|4\.9)/?$ /acs/$1/welcome/index.html [L,R=301] #redirect for 4.0 Manage vulneribility page RewriteRule ^(acs/(?:4\.0/)?)?operating/manage-vulnerabilities\.html$ /acs/4.0/operating/manage-vulnerabilities/vulnerability-management.html [NE,R=301] #redirect for missing 4.3 page diff --git a/_distro_map.yml b/_distro_map.yml index 987d3992b2d2..13dfeb858fed 100644 --- a/_distro_map.yml +++ b/_distro_map.yml @@ -346,6 +346,9 @@ openshift-acs: rhacs-docs-4.8: name: '4.8' dir: acs/4.8 + rhacs-docs-4.9: + name: '4.9' + dir: acs/4.9 microshift: name: Red Hat build of MicroShift author: OpenShift Documentation Project diff --git a/_templates/_page_openshift.html.erb b/_templates/_page_openshift.html.erb index 40d8d99e0b6f..ab4363198717 100644 --- a/_templates/_page_openshift.html.erb +++ b/_templates/_page_openshift.html.erb @@ -263,6 +263,7 @@ <%= distro %>