This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: RewriteProxy configuration
Author
Message |
hades666
Newbie


Joined: 27 July 2010
Posts: 6
Posted: 26 August 2010 at 1:31pm

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
 
hades666
Newbie


Joined: 27 July 2010
Posts: 6
Posted: 26 August 2010 at 2:11pm

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 27 August 2010 at 4:09am

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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