I'm seeing changed behavior between 2.1 and previous releases, under the following example config:
<VirtualHost *:8080> ProxyRequests on ProxyRemote * http://proxy:8080 ProxyBlock blocked </VirtualHost> In a request for http://requested/ I can see that mod_proxy compares the addresses for blocked with those of proxy as opposed to comparing addresses for blocked and requested. I've attached a patch that resolves the hostname in the URI and hands that off separately to ap_proxy_checkproxyblock(). Not quite sure of the pool usage though. In the event that we're forwarding to another proxy and no ProxyBlocks are in the config, the lookup of the URI hostname is avoided. -- Eric Covener [EMAIL PROTECTED]
proxy_http-remote_blocks-3.diff
Description: Binary data