CAU-Web-Fall-2018-Project-1/.htaccess

21 lines
669 B
ApacheConf
Raw Normal View History

2017-04-14 12:31:29 +00:00
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{ENV:REDIRECT_END} ^1$
RewriteRule ^ - [L]
# Redirection non-www vers www
2017-06-04 09:00:10 +00:00
# RewriteCond %{HTTP_HOST} ^eldotravo.fr$
# RewriteRule ^(.*)$ http://www.eldotravo.fr/$1 [R=301,L,E=END:1]
2017-04-14 12:31:29 +00:00
# Redirection des fichiers static pour www.eldotravo.fr
2018-10-31 04:47:01 +00:00
RewriteCond %{HTTP_HOST} ^fitness.sanchez-mathieu.fr$
2017-04-14 12:31:29 +00:00
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
RewriteRule ^(.*)$ static/$1 [L,E=END:1]
2017-06-04 09:00:10 +00:00
# RewriteRule ^haute-garonne/toulouse/installation-entretien-climatisation /haute-garonne/toulouse/climatisation.php [L]
2017-04-14 12:31:29 +00:00
# Redirection de toutes les requêtes vers Index.php
RewriteRule ^ index.php [L,E=END:1]