Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reverse Proxy with JS files Not Working

807567May 21 2009 — edited May 23 2009
I have up and running Web Server 7 U5 on Windows 2003.

The config is very basic with a rewrite of /idm to host.internal.com/idm. I used the browser interface for these. I didn't touch the files myself.

Everything is working fine except the .JS files.

The relevant config lines in obj.conf are:

NameTrans fn="map" from="/idm" name="reverse-proxy-/idm" to="http:/idm
....
<Object name="reverse-proxy-/idm">

Route fn="set-origin-server" server="host.internal.com"

</Object>

As I mentioned all the html seems to be re-written OK except in the JS files.

My JS file has:
window.location.href='http://host.internal.com/idm/user/questionLogin.jsp?accountId=' + id;

This is not re-written so the end user browser is directed to a page he can't get to behind the proxy.

Any Thoughts?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2009
Added on May 21 2009
13 comments
433 views