Reverse Proxy or URL Rewrite

Feb 8, 2009 at 8:48 PM
Hello,

I am hoping you can answer a few questions about your product...

I am currently running 2 internal webservers with IIS6.0.  I have ARP entries published that make the web pages accessible from an external URL.

I am struggling to find a solution for this issue.  I have exhausted all of my resources including my 3rd party software vendor, D-Link, etc...

Here is a snapshot of the issue:  If you visit the link webtools.luceresearch.com you will be prompted with a login page.  For this purpose log in with the username Test and password CC3Demo and context LUCE.  Once logged in, click on the Reporting link at the top of the page in the blue bar.  Notice it will launch a new window with a request to the internal IP address of my webserver, 172.16.1.5/voxco.reporting.webetc....  This results in a page cannot be displayed error.  I have heard that I may be able to resolve this issue with some sort of ISAPI URL rewrite or using a Reverse Proxy, but I have the slightest idea on how to continue.

I would greatly appreciate any ideas, suggestions, or help you can provide.  I am desperate for resolution!

Thanks in advance for your time.
Coordinator
Feb 8, 2009 at 11:29 PM
Yes you can use a reverse proxy to proxy the requests as another URL.  For example

RewriteRule ^(.*)$   http://172.16.1.5/$1 [P]

Will reverse proxy all requests to the internal IP address 172.16.1.5.

So for example if the requested URL is

http://externalsite.com/some/reporting/site.html

it will be requested internally as

http://172.16.1.5/some/reporting/site.html


Feb 9, 2009 at 4:45 PM

Thank you for your reply.  I am extremely grateful that you answer your user questions!

Just a few more for my understanding if I may:

I have 2 webservers internally (172.16.1.5 and 172.16.1.11) both accessible via public IP addresses (216.253.206.205 and 216.253.206.200).  Both webservers are running IIS6.0.  Do I need to install your software on each webserver to act as a Reverse Proxy? 

As with above: If you visit the link webtools.luceresearch.com you will be prompted with a login page.  For this purpose log in with the username Test and password CC3Demo and context LUCE.  Once logged in, click on the Reporting link at the top of the page in the blue bar.  Notice it will launch a new window with a request to the internal IP address of my webserver, 172.16.1.5/voxco.reporting.webetc.... If I click on the monitoring link, that will request to the secondary webserver internal IP 172.16.1.11/monitoringblahblah/site.htm.  How would this be handled with your application? 

Can you verify this is all I would have in my rewriter.rules text file? 

RewriteEngine On

#
# test the reverse proxy
RewriteRule ^(.*)$   http://172.16.1.5/$1 [P]

Do I need any other code to make this function?

Thanks again for helping!  I truly appreciate it.