You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jon Drukman <js...@gamespot.com> on 1998/09/01 01:23:41 UTC

documentation/2933: documentation of "ProxyPass" is incorrect

>Number:         2933
>Category:       documentation
>Synopsis:       documentation of "ProxyPass" is incorrect
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Aug 31 16:30:02 PDT 1998
>Last-Modified:
>Originator:     jsd@gamespot.com
>Organization:
apache
>Release:        1.3.1
>Environment:
FreeBSD 2.2.7
>Description:
if you are trying to mirror a website (eg: replicate something outside
a firewall) you need a ProxyPass directive.  the one in the docs currently
is broken:

ProxyPass / http://foo.com

will only work for top level entries.  anything below it returns a "Host not
found" error from the proxy.  quite confusing.
>How-To-Repeat:

>Fix:
add a trailing slash:

ProxyPass / http://foo.com/

fixes it completely.

i can't believe i spent 30 minutes figuring that out!
>Audit-Trail:
>Unformatted:
[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!         ]