|
@@ -116,14 +116,23 @@ DirectoryIndex index.php index.html index.htm
|
|
RewriteCond %{REQUEST_URI} !=/favicon.ico
|
|
RewriteCond %{REQUEST_URI} !=/favicon.ico
|
|
RewriteRule ^ index.php [L]
|
|
RewriteRule ^ index.php [L]
|
|
|
|
|
|
|
|
+ ## local
|
|
# RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1
|
|
# RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1
|
|
- # maison quentin
|
|
|
|
|
|
+ ## maison quentin
|
|
# RewriteCond %{REMOTE_ADDR} !^86\.68\.188\.175
|
|
# RewriteCond %{REMOTE_ADDR} !^86\.68\.188\.175
|
|
- # materio
|
|
|
|
|
|
+ ## materio
|
|
# RewriteCond %{REMOTE_ADDR} !^212\.198\.136\.215
|
|
# RewriteCond %{REMOTE_ADDR} !^212\.198\.136\.215
|
|
- # maison bach
|
|
|
|
|
|
+ ## maison bach
|
|
# RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145
|
|
# RewriteCond %{REMOTE_ADDR} !^82\.230\.62\.145
|
|
- # RewriteRule !maintenance http://www.materio.com/maintenance [L,R=302]
|
|
|
|
|
|
+ # RewriteRule !maintenance http://www.materio.com/maintenance [L,R=302,E=nocache:1]
|
|
|
|
+
|
|
|
|
+ ## http://mark.koli.ch/2010/12/set-cache-control-and-expires-headers-on-a-redirect-with-mod-rewrite.html
|
|
|
|
+ ## Set the response header if the "nocache" environment variable is set
|
|
|
|
+ ## in the RewriteRule above.
|
|
|
|
+ # Header always set Cache-Control "no-store, no-cache, must-revalidate" env=nocache
|
|
|
|
+ ## Set Expires too ...
|
|
|
|
+ # Header always set Expires "Thu, 01 Jan 1970 00:00:00 GMT" env=nocache
|
|
|
|
+
|
|
|
|
|
|
# Rules to correctly serve gzip compressed CSS and JS files.
|
|
# Rules to correctly serve gzip compressed CSS and JS files.
|
|
# Requires both mod_rewrite and mod_headers to be enabled.
|
|
# Requires both mod_rewrite and mod_headers to be enabled.
|