mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
More .me redirects
This commit is contained in:
15
.htaccess
15
.htaccess
@@ -1,16 +1,23 @@
|
||||
Options +FollowSymLinks
|
||||
RewriteEngine on
|
||||
RewriteBase /
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteRule ^(.*)$ https://%1/$1 [L]
|
||||
RewriteRule ^(.*)$ https://zoff.me/$1 [L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^(.*\.)?zoff\.no$
|
||||
RewriteRule ^/(.*)$ http://%zoff.me/$1 [L,NC,QSA]
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteRule ^(.*)$ https://zoff.me/$1 [L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^(.*zoff.me.*)$
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [L]
|
||||
RewriteRule ^/?(.*) https://zoff.me/$1 [L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^zoff.no
|
||||
RewriteRule ^/?(.*) https://zoff.me/$1 [L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^remote.zoff.no
|
||||
RewriteRule ^/?(.*) https://remote.zoff.me/$1 [L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^remote.zoff.me
|
||||
RewriteCond %{REQUEST_URI} !/public/css
|
||||
|
||||
Reference in New Issue
Block a user