Previous Entry Share Next Entry
Субдомены определенного домена
rkzn

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} !^www [NC]
RewriteCond %{HTTP_HOST} ^(.+)\.blackstone\.ru$ [NC]
RewriteCond %{REQUEST_URI} !^/_subdomens
RewriteRule ^(.*) %{HTTP_HOST}$1
RewriteRule ^(.*)\.blackstone\.ru(.*) /_subdomens/$1/$2

ps. реализовано


?

Log in