Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Having non-stop issues with reverse proxies...

$
0
0

I'm trying to alter some things in my development environment and running into a few issues. For starters, I'm running two different versions of IIS on two different versions of Windows, but everything has been working fine.

Here's the basic layout of the network:
Desktop/Server: Windows 7 - IIS 7 - 192.168.1.2 (This server also has 'live' access via the internet)
Laptop: Windows 8 - IIS 8 - 192.168.1.3

I do most of my testing and development on the laptop before moving things to the server and already have multiple web applications running on the server. For ease of testing I created a little 'hub' style site that is able to load each of the apps into an iFrame instead of loading a bunch of windows/tabs. Because each application is on a different port, I can't access things like their history due to Cross-Site Scripting, but I assume reverse proxies would solve these issues. I've been looking up solutions for awhile and so far the results are either an Error 500 or more commonly Error 404 for everything I've tried from inside IIS and from manually editing the 'web.config' file.

What I want to accomplish is the following from the laptop:
"Hub Site" URL: 192.168.1.3/hub
Have each app load via 192.168.1.3/hub/apps/APPNAME (or 192.168.1.2/hub/apps/APPNAME if the first isn't possible)
   192.168.1.3/hub/apps/api displays 192.168.1.2:10000
   192.168.1.3/hub/apps/grid displays 192.168.1.2:10001
   192.168.1.3/hub/apps/test displays 192.168.1.2:10002
   etc.

Before people comment about it being two different systems, all the proxy testing I did was from both systems and still nothing worked. If it's not possible, I'm ok with creating the hub on the desktop and just having the hub on the laptop be a meta refresh to that one when I need it. Essentially I don't care what system I have to access this on as long as I can get around the following error:

Blocked a frame with origin "http://192.168.1.2" from accessing a frame with origin "http://192.168.1.2:10000". Protocols, domains, and ports must match.

I get the above error when running from either system. I can provide more information if required and I want to apologize for (probably) confusing post as well as thank anyone in advance that's able to help me.

--EDIT--

I just realized I posted a similar topic to this about 2 years ago, but since this issue still remains I'll leave this post here. Original Post is available at http://forums.iis.net/p/1178596/1983713.aspx?Using+Rewrite+to+mask+ports. I'll read over that one again, do some more testing and if it works I'll remove this post.


Viewing all articles
Browse latest Browse all 2482

Trending Articles