Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .s2i/httpd-cfg/01-commercial.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions _distro_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <openshift-docs@redhat.com>
Expand Down
1 change: 1 addition & 0 deletions _templates/_page_openshift.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
<%= distro %>
</a>
<select id="version-selector" onchange="versionSelector(this);">
<option value="4.9">4.9</option>
<option value="4.8">4.8</option>
<option value="4.7">4.7</option>
<option value="4.6">4.6</option>
Expand Down
1 change: 1 addition & 0 deletions index-commercial.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ <h2>Red Hat Advanced Cluster Security for Kubernetes</h2>
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Select version<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<li><a href="acs/4.9/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.9</a></li>
<li><a href="acs/4.8/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.8</a></li>
<li><a href="acs/4.7/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.7</a></li>
<li><a href="acs/4.6/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.6</a></li>
Expand Down