| Author |
|
yvidan Newbie

Joined: 09 June 2010 Location: Israel
Online Status: Offline Posts: 4
|
| Posted: 17 June 2010 at 3:23am | IP Logged
|
|
|
if for example I have 3 websites
www.site1.com
www.site2.com
www.site3.com
I need an Isapi rewrite that in case user writes in www.site1.com they get www.site1.com
if user types in www.site2.com they get www.site1.com/www.site2.com
if user types in www.site3.com they get to http://www.site1.com/www.site2.com
How would I do something like that
please help
|
| Back to Top |
|
| |
Anton Admin Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 10487
|
| Posted: 17 June 2010 at 3:55am | IP Logged
|
|
|
Please try the following config:
[ISAPI_Rewrite]
RewriteCond Host: www\.site2\.com
RewriteRule .* http\://www.site1.com/www.site2.com [I,P]
RewriteCond Host: www\.site3\.com
RewriteRule .* http\://www.site1.com/www.site3.com [I,P]
__________________ Regards,
Anton
|
| Back to Top |
|
| |
|
|
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
|