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