Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: proxy subdomains Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
moztop
Newbie
Newbie


Joined: 19 September 2008
Online Status: Offline
Posts: 2
Posted: 19 September 2008 at 8:39am | IP Logged Quote moztop

I have set up a reverse proxy rule to forward a subdomain to another server.
It works fine,:

mysite.mydomain.com:

RewriteEngine on
RewriteProxy ^(.*) http\://10.11.17.197/$1 [H I]

 

What if I want to do another?
myothersite.mydomain.com
I thought the host headers were passed on with[H], so that IIS would handle the request.

Back to Top View moztop's Profile Search for other posts by moztop
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Online
Posts: 4837
Posted: 22 September 2008 at 2:42am | IP Logged Quote Anton

Where does your rule reside? If it's in the root of mysite.mydomain.com, it won't work for myothersite.mydomain.com.
Please put .htaccess with the same code into the root of myothersite.mydomain.com to get it working.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
moztop
Newbie
Newbie


Joined: 19 September 2008
Online Status: Offline
Posts: 2
Posted: 22 September 2008 at 4:12am | IP Logged Quote moztop

I think that was my mistake. I put all the host headers on the same site on the proxy. Thinking I could rewrite them. I'll try individual sites in IIS for each sub domain.
Back to Top View moztop's Profile Search for other posts by moztop
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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 can vote in polls in this forum