2018-11-26 05:38:47 +00:00
|
|
|
Options +FollowSymlinks
|
|
|
|
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteBase /
|
|
|
|
|
|
|
|
RewriteCond %{ENV:REDIRECT_END} ^1$
|
|
|
|
RewriteRule ^ - [L]
|
|
|
|
|
|
|
|
# Redirection non-www vers www
|
|
|
|
# RewriteCond %{HTTP_HOST} ^eldotravo.fr$
|
|
|
|
# RewriteRule ^(.*)$ http://www.eldotravo.fr/$1 [R=301,L,E=END:1]
|
|
|
|
|
2018-11-27 04:59:21 +00:00
|
|
|
# Redirection des fichiers static pour contact.sanchez-mathieu.test
|
|
|
|
RewriteCond %{HTTP_HOST} ^contact.sanchez-mathieu.test
|
2018-11-26 05:38:47 +00:00
|
|
|
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
|
|
|
|
RewriteRule ^(.*)$ static/$1 [L,E=END:1]
|
|
|
|
|
2018-11-27 04:59:21 +00:00
|
|
|
# Redirection des fichiers static pour contact.sanchez-mathieu.fr
|
|
|
|
RewriteCond %{HTTP_HOST} ^contact.sanchez-mathieu.fr
|
|
|
|
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
|
|
|
|
RewriteRule ^(.*)$ static/$1 [L,E=END:1]
|
2018-11-26 05:38:47 +00:00
|
|
|
|
|
|
|
# Redirection de toutes les requêtes vers Index.php
|
|
|
|
RewriteRule ^ index.php [L,E=END:1]
|