Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: RewriteProxy configuration Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
hades666
Newbie
Newbie


Joined: 27 July 2010
Online Status: Offline
Posts: 6
Posted: 26 August 2010 at 1:31pm | IP Logged Quote hades666

Hi All,

Got a content portal on an external vendor called 3232345df4fsdf5vzsdfgs6vf.contentvendor.com.

Now what I am trying to do is host the public DNS on our corporate webserver and just proxy their content like such.

#PROXY domain root to content vendor site

  RewriteCond Host: ^blog\.mycompany\.com

  RewriteProxy (.*) http\://3232345df4fsdf5vzsdfgs6vf.contentvendor.com$1

#Redirect domain root to /apps/signon

  RewriteCond Host: ^blog\.mycompany\.com

  RewriteRule ^(/)?$ http\://blog.mycompany.com/apps/signon [L]

Now the above is not completely correct at the moment but I cannot get the reverseProxy to work....

Any ideas?

-Hades666

Back to Top View hades666's Profile Search for other posts by hades666
 
hades666
Newbie
Newbie


Joined: 27 July 2010
Online Status: Offline
Posts: 6
Posted: 26 August 2010 at 2:11pm | IP Logged Quote hades666

So i have gotten a little further but still can't get the RewriteProxy to load.

#PROXY domain root to content vendor site

  RewriteCond Host: ^blog\.mycompany\.com

  RewriteProxy (^.*)$ http\://3232345df4fsdf5vzsdfgs6vf.contentvendor.com$1 [F,I,U]

#Redirect domain root to /apps/signon

  RewriteCond Host: ^blog\.mycompany\.com

  RewriteRule ^(/)?$ http\://blog.mycompany.com/apps/signon [U,I,RP]

As well, we are using the full version of ISAPI 2.0.

-Hades666

Back to Top View hades666's Profile Search for other posts by hades666
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10489
Posted: 27 August 2010 at 4:09am | IP Logged Quote Anton

Please try to fix your rules as follows:

#Redirect domain root to /apps/signon
RewriteCond Host: ^blog\.mycompany\.com
RewriteRule /? http\://blog.mycompany.com/apps/signon [U,I,RP]

RewriteCond Host: blog\.mycompany\.com
RewriteProxy (.*) http\://3232345df4fsdf5vzsdfgs6vf.contentvendor.com$1 [F,I,U]

If something doesn't work, please tell what request you make and what response/error you get.

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

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 cannot vote in polls in this forum