Skip to content

Commit 1fa1b46

Browse files
committed
Moved the rewrite rule to execute before other rules kick
1 parent 0a16306 commit 1fa1b46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ AddType text/vtt vtt
141141
RewriteRule ^acs/?$ /acs/3.73/welcome/index.html [R=301]
142142
# redirect to the latest release notes
143143
RewriteRule ^acs/release_notes/?$ /acs/3.73/release_notes/373-release-notes.html [R=301,NE]
144-
RewriteRule ^acs/(\D.*)$ /acs/3.73/$1 [NE,R=301]
145-
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73)/?$ /acs/$1/welcome/index.html [L,R=301]
146144
# redirect from ACS CLoud Service page
147145
RewriteRule ^acs/installing/install-ocp-operator.html /acs/3.73/installing/installing_ocp/init-bundle-ocp.html [NE,R=301]
146+
RewriteRule ^acs/(\D.*)$ /acs/3.73/$1 [NE,R=301]
147+
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73)/?$ /acs/$1/welcome/index.html [L,R=301]
148148

149149
# this pipeline redirect has to come before the latest kicks in generically
150150
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=301]

0 commit comments

Comments
 (0)