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

31 lines
1.1 KiB
ApacheConf
Raw Permalink Normal View History

2018-12-12 06:27:50 +00:00
# Options +FollowSymlinks
2017-04-14 12:31:29 +00:00
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
2018-12-12 06:04:47 +00:00
# Redirection des fichiers static pour fitness.sanchez-mathieu.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]
2018-12-12 06:04:47 +00:00
# Redirection des fichiers static pour fitness.sanchez-mathieu.test
RewriteCond %{HTTP_HOST} ^fitness.sanchez-mathieu.test$
RewriteCond %{DOCUMENT_ROOT}/static%{REQUEST_URI} -f
RewriteRule ^(.*)$ static/$1 [L,E=END:1]
2018-12-13 05:42:08 +00:00
# Redirection des fichiers static pour cauweb.fr
RewriteCond %{HTTP_HOST} ^cauweb.fr$
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]