Created
August 29, 2018 22:34
-
-
Save landsman/ad9e04ff3061a6ef3a444223dd37be11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# fix one domain name with HTTPS | |
# | |
RewriteCond %{HTTP_HOST} ^studioartcz.cz [NC] | |
RewriteRule ^(.*)$ https://www.studioart.cz/$1 [L,R=301] | |
# fix for poor hosting without www_root setup | |
# | |
#RewriteRule (.*) web/$1 [L] | |
RewriteCond %{REQUEST_URI} !^/web | |
RewriteRule ^(.*)$ /web/$1 [NC,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment