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: help with reverse proxy Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wischmidt
Newbie
Newbie


Joined: 14 July 2008
Online Status: Offline
Posts: 23
Posted: 16 July 2008 at 6:30am | IP Logged Quote wischmidt

Please help me, how can I do this?
A Webserver MS IIS should work as a reverse proxy server and answer all requests to xx.xx.27.32 with sides from server (ibm http) xx.xx.75.106.
The communication between this two servers should running through ssl.

I have tested this and a lot of other terms with no success:

  RewriteCond %HTTPS(on)|.*
  RewriteCond %{SERVER_PORT} 443
  RewriteRule (.*) https\://xx.xx.73.106$1 [P,L] 
this
  RewriteProxy (.*) http\://xx.xx.73.106$1 [I,R] 
or this
 RewriteRule (.*) http(?1s:)\://xx.xx.73.106$1 [I,P]

thank you
Back to Top View wischmidt's Profile Search for other posts by wischmidt
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Online
Posts: 428
Posted: 16 July 2008 at 7:10am | IP Logged Quote Vyacheslav

Hi wischmidt!

Please try the following solution:
Code:
RewriteBase /
RewriteCond %{HTTPS} on
RewriteCond %{SERVER_PORT} 443
RewriteCond %{HTTP_HOST} ^xx\.xx\.27\.32$
RewriteProxy (.*) https://xx.xx.75.106/$1


__________________
Kind regards!
Vyacheslav.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
wischmidt
Newbie
Newbie


Joined: 14 July 2008
Online Status: Offline
Posts: 23
Posted: 16 July 2008 at 7:38am | IP Logged Quote wischmidt

Thank you,
but I still get the error 500

Back to Top View wischmidt's Profile Search for other posts by wischmidt
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Online
Posts: 428
Posted: 16 July 2008 at 7:53am | IP Logged Quote Vyacheslav

Ok. Please provide your rewrite.log and error.log.

__________________
Kind regards!
Vyacheslav.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
wischmidt
Newbie
Newbie


Joined: 14 July 2008
Online Status: Offline
Posts: 23
Posted: 16 July 2008 at 10:43am | IP Logged Quote wischmidt

Sorry, but I think I have posted in the wrong forum and very ashamed. we have isapi_rewrite 2.x and therefore no rewrite.log and error.log is available, for this version certainly do I need other parameters.

Sorry for that.
Back to Top View wischmidt's Profile Search for other posts by wischmidt
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6449
Posted: 17 July 2008 at 5:40am | IP Logged Quote Yaroslav

To run communication through SSL you need to add remote certificate to the globally trusted list on proxy machine (done through Internet Explorer settings for example).
And disable friendly error messages to see real error text returned by proxy module.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
wischmidt
Newbie
Newbie


Joined: 14 July 2008
Online Status: Offline
Posts: 23
Posted: 17 July 2008 at 7:04am | IP Logged Quote wischmidt

Clap Thank you, for helping me
it works, I have copied the certificate to the globally trusted list on proxy computer, and adappted the terms for isapi_rewrite2 in httpd.ini

RewriteCond Host: ^xx\.xx\.27\.32:?.*
RewriteProxy (.*) https\://xx.xx.73.106/$1 [C]
RewriteRule (.*) / [F,I,O]


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

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