Skip to content

Commit 553a564

Browse files
committed
Rewrite short .xml urls to full content paths
1 parent 1405794 commit 553a564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dispatcher/src/conf.d/rewrites/rewrite.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ RewriteCond %{REQUEST_URI} !^/saml_login
2828
RewriteCond %{REQUEST_URI} !^/system
2929
RewriteCond %{REQUEST_URI} !^/tmp
3030
RewriteCond %{REQUEST_URI} !^/var
31-
RewriteCond %{REQUEST_URI} (.html|.jpe?g|.png|.svg)$
31+
RewriteCond %{REQUEST_URI} (.html|.jpe?g|.png|.svg|.xml)$
3232
RewriteRule ^/(.*)$ /content/${CONTENT_FOLDER_NAME}/$1 [PT,L]

0 commit comments

Comments
 (0)