Skip to content

Commit c97b075

Browse files
committed
Attempting to end any endless loops
1 parent 5ce032b commit c97b075

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ AddType text/vtt vtt
341341
# GitOps release notes version switch
342342

343343
RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes-1-([0-9]+)\.html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
344-
RewriteRule ^gitops/1\.(14|15|16)/release_notes/gitops-release-notes?(.*)\.html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
344+
RewriteRule ^gitops/1\.14/release_notes/gitops-release-notes-1-14\.html$ - [L]
345+
RewriteRule ^gitops/1\.15/release_notes/gitops-release-notes-1-15\.html$ - [L]
346+
RewriteRule ^gitops/1\.(14|15)/release_notes/gitops-release-notes?(.*)\.html$ gitops/1.$1/release_notes/gitops-release-notes-1-$1.html [L,R=302]
345347

346348
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
347349
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes-1-14.html [L,R=302]
@@ -390,8 +392,10 @@ AddType text/vtt vtt
390392
# Pipelines release notes version switch
391393

392394
RewriteRule ^pipelines/1\.(10|11|12|13|14|15)/release_notes/op-release-notes-1-([0-9]+)\.html$ pipelines/1.$1/about/op-release-notes.html [L,R=302]
393-
RewriteRule ^pipelines/1\.(16|17|17)/release_notes/op-release-notes?(.*)\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
394-
RewriteRule ^pipelines/1\.(16|17|17)/anput/op-release-notes\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
395+
RewriteRule ^pipelines/1\.16/release_notes/op-release-notes-1-16\.html$ - [L]
396+
RewriteRule ^pipelines/1\.17/release_notes/op-release-notes-1-17\.html$ - [L]
397+
RewriteRule ^pipelines/1\.(16|17)/release_notes/op-release-notes?(.*)\.html$ pipelines/1.$1/release_notes/pipelines-release-notes-1-$1.html [L,R=302]
398+
395399

396400

397401
# Pipelines landing page

0 commit comments

Comments
 (0)