The following reply was made to PR general/5252; it has been noted by GNATS.
From: vsolve apache <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: general/5252: Date: Wed, 10 Nov 1999 03:53:09 -0800 (PST) Hi, We suggest the following changes in the httpd.conf file for "deny from all" inside a <Directory: proxy:*> to work. Uncomment the "ProxyRequests on" line in httpd.conf file.setting the ProxyRequests directive to on allows Apache to function as a proxy server. ie., in httpd.conf file <IfModule mod_proxy.c> ProxyRequests on <Directory proxy:*> order allow,deny deny from all </Directory> ........ ........ ........ </IfModule> # End of proxy directives. regards, vsolve_apache. >Subject: > general/5252: Directory proxy:* deny doesn't work > Date: > 4 Nov 1999 17:19:51 -0000 > From: > Jonathan Marshall <[EMAIL PROTECTED]> > To: > [EMAIL PROTECTED] >Number: 5252 >Category: general >Synopsis: Directory proxy:* deny doesn't work >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Nov 4 09:20:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.6 >Environment: Linux 2.2.10, RedHat 6.0 gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). mod_proxy, with a custom patch >Description: I want to deny proxy requests coming from a specific IP address. I have the following in my config: <Directory proxy:*> order allow,deny deny from 123.45.6.78 </Directory> where 123.45.6.78 is a test IP address that I want to deny. Yet all requests from that IP address succeed. It leaves that IP address in the logs too. When I use "deny from all", it still lets the requests through! I've looked through the bug reports and found a couple of mentions of similar problems, but no solutions that worked for me. I've tried variations, such as Files, DirectoryMatch, Location, and LocationMatch, all to no avail. >How-To-Repeat: mod_proxy, with "deny from all" inside a <Directory: proxy:*> >Fix: No... ===== __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com