httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Mod_proxy and javascript problem
Date Thu, 25 Aug 2005 15:05:19 GMT
On 8/25/05, Jérôme Tytgat <jerome.tytgat@asterion.fr> wrote:
> Hello community.
> 
> I'm trying to set up a reverse proxy under apache 2.0.54 (debian version).
> 
> The server i'm proxy reversing is a IIS 6.0 with class server on it (a
> microsoft application for school networking).
> 
> I'm using mod_security, rewriterules and proxy for the reverse proxy and some of
> virtual hosting because I'm masking 3 IIS server behind a linux/apache
> server.
> 
> Each server is reached as follow :
> 
> http://www.toto.net/ goes to server1 (1.0.2.1)
> http://www.toto.net/class goes to server2 (1.0.0.2)
> http://www.toto.net/prod goes to server3 (1.0.0.3)
> http://www.toto.net/sst goes to stats on the apache server
> 
> The big problem is that some javascript (.js) are not correctly interpreted
> on the browser, so the html page is broken.

This is probably because the javascript contains links using the
private names/paths rather than the public ones.  You can fix this
with mod_proxy_html:
http://apache.webthing.com/mod_proxy_html/

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message