>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:     [EMAIL PROTECTED]
>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 <[EMAIL PROTECTED]> 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!         ]



Reply via email to