You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by rs...@apache.org on 1998/09/10 10:07:04 UTC

Re: mod_proxy/2890: When using ProxyPass/ProxyPassReverse relative source strings are not parsed.

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: When using ProxyPass/ProxyPassReverse relative source strings are not parsed.

State-Changed-From-To: open-closed
State-Changed-By: rse
State-Changed-When: Thu Sep 10 01:07:03 PDT 1998
State-Changed-Why:
A few hints:

1. > ProxyPass /www_tenfold http://www.10fold.com
   > ProxyPassReverse /www_tenfold http://www.10fold.com
   You should write this with trailing slashes 
   to avoid other problems, i.e.:
   ProxyPass        /www_tenfold/ http://www.10fold.com/
   ProxyPassReverse /www_tenfold/ http://www.10fold.com/

2. > Should the directives if used include the use of altering relative paths like
   > "/images/foo.gif" to "http://www.10fold.com/images/foo.gif"?
   The answer is "no". Because ProxyPass only maps URL
   namespaces and not HTML content. So, when there
   are absolute URLs in the documents referencing
   something aoutside your mapped area you're lost.
   The only solution then is to write a CGI which
   does the document conversion itself. Currently
   for Apache 1.3 there is no way to post-process
   the content.