RE: [users@httpd] Mod_proxy and javascript problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:jerome.tytgat@xxxxxxxxxxx] 
Sent: Friday, August 26, 2005 2:06 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux