www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject Re: mod_proxy/1483: ProxyPass incorrectly re-maps relative paths in already-mapped documents
Date Wed, 26 Nov 1997 04:07:53 GMT
Synopsis: ProxyPass incorrectly re-maps relative paths in already-mapped documents

State-Changed-From-To: open-closed
State-Changed-By: marc
State-Changed-When: Tue Nov 25 20:07:53 PST 1997
State-Changed-Why:
That is not entirely a relative URL you are giving; it
has a full path, and the only thing it is relative to
is the current server.  A true relative URL would be
graphics/logo.gif or ../graphics/logo.gif, etc.

Apache does not do any parsing of the HTML to try to
find such things.  Any attempt is really doomed to failure,
because there are so many different places they could
be.  eg. anchors, Javascript, etc.

This could be called suboptimal, but it would be a _LOT_
of work to implement a correct HTML parser, and even then
it wouldn't be complete.  You really need the cooperation
of the remove site to use directory relative URLs, not just
server relative URLs.  This can be a pain, but...


Mime
View raw message