We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ef921 commit abdbc59Copy full SHA for abdbc59
src/Framework/bin/.htaccess
@@ -45,6 +45,15 @@
45
AddType image/webp .webp
46
</IfModule>
47
48
+## Redirection limit
49
+<IfModule mod_rewrite.c>
50
+ RewriteEngine On
51
+ RewriteCond %{ENV:REDIRECT_COUNT} <2
52
+ RewriteRule ^ - [E=REDIRECT_COUNT:%{ENV:REDIRECT_COUNT}1]
53
+ RewriteCond %{ENV:REDIRECT_COUNT} >=2
54
+ RewriteRule ^ public/page/error.html [L]
55
+</IfModule>
56
+
57
## UTF-8 encoding
58
AddDefaultCharset utf-8
59
AddCharset utf-8 .atom .css .js .json .rss .xml
0 commit comments