Subdomain full redirection

This commit is contained in:
Abhorrent_Anger 2019-01-26 16:04:47 +02:00
parent 0c3f90c0ce
commit 4b9da59c96
1 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ Options -Indexes
RewriteEngine On RewriteEngine On
RewriteBase / RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteCond %{HTTP_HOST} !^pube\.tk$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] RewriteRule ^(.*)$ https://pube.tk/$1 [R=301,L]