www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Soffian <...@cimedia.com>
Subject documentation/2679: mod_rewrite docs for [proxy|P] include incorrect note
Date Thu, 23 Jul 1998 17:10:50 GMT

>Number:         2679
>Category:       documentation
>Synopsis:       mod_rewrite docs for [proxy|P] include incorrect note
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul 23 10:20:00 PDT 1998
>Originator:     jay@cimedia.com
>Release:        all
The docs for mod_rewrite under the [proxy|P] option include the following

Notice: You really have to put ProxyRequests On into your server configuration to prevent
proxy requests from leading to
            core-dumps inside the Apache kernel. If you have not compiled in the proxy module,
then there is no core-dump problem,
            because mod_rewrite checks for existence of the proxy module and if lost forbids
proxy URLs. 

I believe this to be incorrect under at least 1.2.6 and 1.3.any. I've used
this option w/o turning on ProxyRequests and have not experience a core dump.

I noticed this because when we turn on ProxyRequests, it allows external users
to use our servers as proxies, which is not what we want. Turning on ProxyRequests
and using a ProxyBlock * does not work because that prevents the internal proxy
requests that occur from mod_rewrite to fail. Using:

<Directory proxy:*>
order deny,allow
deny from all
allow from [addresses of this host]

also will not work because the IP comparision is done against the connecting
host, not against the IP of the localhost (this is a separate bug I am
about to submit).

Anyway, we solved the problem by not turning on ProxyRequests.
Use mod_rewrite's [proxy|P] option in a rewriterule but don't turn on
Verify and update the documentation.
[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. ]

View raw message