RE: Compile Apache 2.2.21 with proxy-html

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

 



> Description: Apache2 filter module for HTML links rewriting
> mod_proxy_html is an output filter to rewrite HTML links in a proxy
> situation, to ensure that links work for users outside the proxy. It
> serves the same purpose as Apache's ProxyPassReverse directive does for
> HTTP headers, and is an essential component of a reverse proxy.
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Origin: Ubuntu

BTW, I take issue with that description. It's not "an essential component of a reverse proxy"; it's what you use in desperation if you really need your proxy to present a different path than the backend, or the backend generates content with absolute links to its own server address (naughty!). And you still may have problems if the content generated is sufficiently sophisticated (e.g.: JavaScript which creates self-ref links dynamically) that mod_proxy_html can't address it. Truly a last resort - much better if you can just do:

ProxyPass /foo http://backend/foo
ProxyPassReverse /foo http://backend/foo


---------------------------------------------------------------------
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