Skip to content

Commit 3d0c2e2

Browse files
Update 01-commercial.conf
1 parent 64a522f commit 3d0c2e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ AddType text/vtt vtt
136136
RewriteRule ^rosa/4/(.*)$ /rosa/$1 [NE,R=301]
137137

138138
# ACS Redirects to go to the latest version - change here when a new version drops
139-
RewriteRule ^acs/(\D.*)$ /acs/3.66/$1 [NE,R=301]
139+
# it should probably be best to combine the next few lines in one reg exp but for clarity keeping them separate
140+
# the first one redirects
141+
RewriteRule ^acs/?$ /acs/3.66/welcome/index.html [R=301]
142+
RewriteRule ^acs/(\D.*)$ /acs/3.66/$1 [NE,R=301]
143+
RewriteRule ^acs/(3\.65|3\.66)/?$ /acs/$1/welcome/index.html [L,R=301]
140144

141145
# this pipeline redirect has to come before the latest kicks in generically
142146
RewriteRule ^container-platform/latest/pipelines/creating-applications-with-cicd-pipelines.html /container-platform/4.7/cicd/pipelines/creating-applications-with-cicd-pipelines.html [NE,R=302]

0 commit comments

Comments
 (0)