htaccess again …

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-02-13 12:47:41 +01:00
parent 2d4301ad40
commit 8e432ea544

View File

@ -71,6 +71,17 @@ DirectoryIndex index.php index.html index.htm
# downloaded.
RewriteRule "(^|/)\." - [F]
# custom
RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR]
RewriteCond %{HTTP_HOST} ^materio\.fr [OR]
RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR]
RewriteCond %{HTTP_HOST} ^materio\.net [OR]
RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR]
RewriteCond %{HTTP_HOST} ^materio\.eu [OR]
RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
# If your site can be accessed both with and without the 'www.' prefix, you
# can use one of the following settings to redirect users to your preferred
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
@ -87,16 +98,6 @@ DirectoryIndex index.php index.html index.htm
# RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
# RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
# custom
# RewriteCond %{HTTP_HOST} !^basebeta\.materio\.com [NC]
# RewriteCond %{HTTP_HOST} !^www\.materio\.fr [NC]
# RewriteCond %{HTTP_HOST} !^materio\.fr [NC]
# RewriteCond %{HTTP_HOST} !^www\.materio\.net [NC]
# RewriteCond %{HTTP_HOST} !^.materio\.net [NC]
# RewriteCond %{HTTP_HOST} !^www\.materio\.eu [NC]
# RewriteCond %{HTTP_HOST} !^.materio\.eu [NC]
# RewriteRule ^ http://www.materio.com%{REQUEST_URI} [L,R=301]
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and