1
lorchess.ru/.htaccess

13 lines
258 B
ApacheConf
Raw Normal View History

2014-01-24 13:10:13 +04:00
---
---
2014-07-01 19:09:10 +04:00
2014-01-24 13:10:13 +04:00
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
2014-07-01 19:09:10 +04:00
RewriteCond %{HTTP_HOST} ^site-lorchess\.rhcloud\.com$ [NC]
RewriteRule ^(.*)$ {{ site.url }}/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]