Hello, I'm trying to use the URL Rewrite Module as a reverse proxy. I have a camera device that I want to access from outside of the network, this was possible with ISA Server but we no longer have it.
Here is what I'm after:
---------------------------
External network browser requests http://camera.domain.com/camera1/
IIS 7.0 sends this request to camera1's IP which is http://192.168.1.53/
----------------------------
Internally when I hit the camera's web interface, it loads several other pages using frames and java script. Internally, when I request http://192.168.1.53/ it redirects me to http://192.168.1.53/view/index.shtml and loads many other pages (which I can see using Fiddler2).
Is it possible for me to use Rewrite module to do this? I was using URL Rewriter from codeplex but I couldn't get it to work 100%. I imported my rule and it looks like this:
<
rewrite>
<rules>
<rule name="ptz1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://192.168.1.53/{R:1}" />
</rule>
</rules>
</rewrite>
My request didn't work I got a 404 from the external world, I could use some help getting this ironed out! Thanks.