Initial Commit
This commit is contained in:
33
.htaccess
Normal file
33
.htaccess
Normal file
@@ -0,0 +1,33 @@
|
||||
ServerSignature off
|
||||
|
||||
#Deny displaying directory tree
|
||||
IndexIgnore */*
|
||||
Options -Indexes
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^www.opiskelijaradio.fi$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^opiskelijaradio.com$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^www.opiskelijaradio.com$
|
||||
RewriteRule ^(.*)$ https://opiskelijaradio.fi/$1 [R=301,QSA,NC,L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^www.h.opiskelijaradio.fi$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^h.opiskelijaradio.com$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^www.h.opiskelijaradio.com$
|
||||
RewriteRule ^(.*)$ https://h.opiskelijaradio.fi/$1 [R=301,QSA,NC,L]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^www.y.opiskelijaradio.fi$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^y.opiskelijaradio.com$ [OR]
|
||||
RewriteCond %{HTTP_HOST} ^www.y.opiskelijaradio.com$
|
||||
RewriteRule ^(.*)$ https://y.opiskelijaradio.fi/$1 [R=301,QSA,NC,L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ / [R=307,NC,L,QSA]
|
||||
|
||||
</IfModule>
|
||||
|
||||
#(c)2020-2022 Waren Group
|
||||
#Last updated: 24.4.2022
|
Reference in New Issue
Block a user