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
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Example of proxy configuration Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Radek
Newbie
Newbie


Joined: 19 January 2010
Location: Poland
Online Status: Offline
Posts: 2
Posted: 19 January 2010 at 4:18am | IP Logged Quote Radek

Hello!

I am testing ISAPI Rewrite and I can't configure my application to act as a proxy. My case is:
1.
http://system.ff.pl (http://system.ff.pl/SomePage, http://system.ff.pl/SomePage/33) working on ip x.x.x.x ->  to server ip y.y.y.y

2.
http://system.ff.pl/club (http://system.ff.pl/club/SomePage, http://system.ff.pl/club/SomePage/33) working on ip x.x.x.x ->  to server ip y.y.y.y

I need to maintain the original host name (H parameter).
Thanks for help

radek

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


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 19 January 2010 at 5:44am | IP Logged Quote Anton

Do you need this to work on v2 or v3 of ISAPI_Rewrite?
The v2 config will be:

[ISAPI_Rewrite]

RewriteCond Host: 10\.10\.10\.10
RewriteProxy (.*) http\://20.20.20.20$1 [H]

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


Joined: 19 January 2010
Location: Poland
Online Status: Offline
Posts: 2
Posted: 19 January 2010 at 6:07am | IP Logged Quote Radek

Can You post config fo v3 too?
Back to Top View Radek's Profile Search for other posts by Radek
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 19 January 2010 at 8:30am | IP Logged Quote Anton

For v3 is will be:

RewriteBase /
RewriteCond %{HTTP_HOST} ^10\.10\.10\.10$
RewriteProxy (.*) http://20.20.20.20/$1 [H]

__________________
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