Apache Proxy and Browser Issues
Good day,
I inherited a fairly functional website setup using Apache 2.2 that made use of mod_proxy and mod_balancer to pass requests from a proxy server to one of my two backend servers. My proxy server drive crashed however, and I've been stuck trying to re-create the proxy and balancer setup. I'm at a state now where the proxying is working mostly, but my java is failing when accessed through IE yet works without issue in Firefox. The failure is coming on AJAX update calls. The balancer/proxy setup: ProxyRequests On <Proxy balancer://balancer> BalancerMember http://site1:80 BalancerMember http://site2:80 </Proxy> ProxyPass / balancer://balancer/ ProxyPassReverse / balancer://balancer/ The apache access log, first from IE: Code:
"POST /assets/assets/includes/file.php HTTP/1.1" 404 3332 Code:
"POST /assets/includes/file.php HTTP/1.1" 200 132 Code:
Class.function(element1, element2, branch+"/assets/includes/file.php", PostString); My question is, how can I convince IE to behave the same way that Firefox is? Thank you in advance, and apologies if I mis-posted the topic here. |
Ok I have to revise my assessment of what is happening. This is not, as I thought, a browser issue.
Instead, what is happening is the following. If I connect to the site using the host entry I created for myself to simulate a dns entry, the site operates normally. If I connect to the site through the direct IP address, then when it comes time to pass headers to java script for processing, it fails as it passes the entire header rather than the main site. Examples: Code:
dns/assets posted to java function: Code:
ip/assets posted to java function: Any insight is very much appreciated, thanks. |
Issue actually resolved courtesy of finding an old hardcoded value for ip that the scripts were using. Le sigh
|
All times are GMT -5. The time now is 09:49 AM. |