Unfortunately, for the moment, I think that you cannot make it work unless you 
apply Nick's patch to mod_proxy.

The problem is that you need to set ProxyPreserveHost On AND remove the /class 
or /docs prefix from Location headers of redirections. If you set 
ProxyPreserveHost On, the host part of the Location header will be the same no 
matter what backend server actually serves the request. That why you need to 
execute the ProxyPassReverse in a <Location> context.

Off hand I do not see any easy solution to your problem.
- Your HTML code is broken so mod_proxy_html cannot parse it correctly. That 
excludes using mod_proxy_html
- You cannot execute ProxyPassReverse in <Location> context, which excludes 
setting ProxyPreserveHost On.

I'm out of suggestions.

-ascs

-----Original Message-----
From: Jérôme Tytgat [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 2:06 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Mod_proxy and javascript problem

Ouch it's hurt :(

Ok if I set up a new domain name like class.toto.net and proxy it instead of a 
Location, do you think this will work ?

Thanks.

Jerome.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to