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
|
Options +FollowSymLinks
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||||
RewriteCond %{HTTPS} !=on
|
RewriteCond %{HTTPS} !=on
|
||||||
RewriteRule ^(.*)$ https://%1/$1 [L]
|
RewriteRule ^(.*)$ https://zoff.me/$1 [L]
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} ^(.*\.)?zoff\.no$
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||||
RewriteRule ^/(.*)$ http://%zoff.me/$1 [L,NC,QSA]
|
RewriteRule ^(.*)$ https://zoff.me/$1 [L]
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} ^(.*zoff.me.*)$
|
RewriteCond %{HTTP_HOST} ^(.*zoff.me.*)$
|
||||||
RewriteCond %{HTTPS} !=on
|
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 %{HTTP_HOST} ^remote.zoff.me
|
||||||
RewriteCond %{REQUEST_URI} !/public/css
|
RewriteCond %{REQUEST_URI} !/public/css
|
||||||
|
|||||||
Reference in New Issue
Block a user