correction de la suggestion car ErrorDocument 503 http... force une 302, pas top
This commit is contained in:
parent
27fdf0555f
commit
1112427563
|
@ -639,10 +639,11 @@ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R=permanent]
|
||||||
|
|
||||||
# mettre un site en maintenance (code 503) avec des exceptions
|
# mettre un site en maintenance (code 503) avec des exceptions
|
||||||
RewriteCond %{REMOTE_ADDR} !^192\.0\.2\.129
|
RewriteCond %{REMOTE_ADDR} !^192\.0\.2\.129
|
||||||
RewriteRule ^.*$ /maintenance.html [R=503,L]
|
RewriteRule ^.*$ / [R=503,L]
|
||||||
ErrorDocument 503 http://maintenance.evolix.org/
|
ErrorDocument 503 "Maintenance temporaire, veuillez patienter. Merci."
|
||||||
Header Set Cache-Control "no-cache, no-store"
|
#ErrorDocument 503 http://maintenance.evolix.org/
|
||||||
Header Set Pragma "no-cache"
|
#Header Set Cache-Control "no-cache, no-store"
|
||||||
|
#Header Set Pragma "no-cache"
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Pour supprimer un Query String avec une Rewrite Rule : <https://www.philipphoffmann.de/blog/2012/08/16/how-to-discard-the-query-string-in-a-rewriterule-apache-mod_rewrite/>
|
Pour supprimer un Query String avec une Rewrite Rule : <https://www.philipphoffmann.de/blog/2012/08/16/how-to-discard-the-query-string-in-a-rewriterule-apache-mod_rewrite/>
|
||||||
|
|
Loading…
Reference in a new issue