rules about second domain

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 22 Oct 2013, 20:05

rules about second domain

22 Oct 2013, 20:10


User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: rules about second domain

23 Oct 2013, 09:09

Hello,

Try using:

Code: Select all
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP:Host} !^www\.xxx\.com$ [NC]
RewriteCond %{HTTP:Host} ^(.+)\.xxx\.com$ [NC]
RewriteRule ^$ http://www.xxx.com/%1/index.aspx [NC,P]


Regards
Andrew

User avatar
Posts: 3
Joined: 22 Oct 2013, 20:05

Re: rules about second domain

23 Oct 2013, 11:32

:D @HeliconAndrew thks a lot

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 22 guests