www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Goerwitz <Richard_Goerw...@Brown.EDU>
Subject mod_proxy/1483: ProxyPass incorrectly re-maps relative paths in already-mapped documents
Date Wed, 26 Nov 1997 02:46:50 GMT

>Number:         1483
>Category:       mod_proxy
>Synopsis:       ProxyPass incorrectly re-maps relative paths in already-mapped documents
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 25 18:50:01 PST 1997
>Last-Modified:
>Originator:     Richard_Goerwitz@Brown.EDU
>Organization:
apache
>Release:        1.2.4 + SSL patches
>Environment:
Linux 2.0.32 (RedHat 4.2+), GCC 2.7.2
>Description:
Given a conf containing "ProxyPass /other.machine.edu http://other.machine.edu",
Apache 1.2.4 fetches & maps the following URL into the namespace of the current
server:

  https://current.server.edu/other.machine.edu/index.html <-
     http://other.machine.edu/index.html

Unfortunately, if http://other.machine.edu/index.html has any relative links
on it, they do not work.  For example, if http://other.machine.edu/index.html
has a link like <IMG SRC="/graphics/logo.gif">, this link should be mapped as
follows:

  /graphics/logo.gif ->
     https://current.server.edu/other.machine.edu/graphics/logo.gif <-
        http://other.machine.edu/graphics/logo.gif

Unfortunately, this is what happens:

  /graphics/logo.gif ->
     https://current.server.edu/graphics/logo.gif

Normally such mappings result in "broken" links.
>How-To-Repeat:

>Fix:
No suggestions; I'm only now looking at the source.  But I'd be happy to try
out patches for you, and try to work things out.

I feel really stupid - as if I've missed something obvious.  If so, then this
is a documentation bug, and not a software bug, seeing as I did not find a ready
solution to the problem in the documentation.

I'd be happy to help rewrite the relevant section of the docs, if that turns out
to be the problem.

Thanks...
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message