httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Identifying banned networks correctly, but unable to block access
Date Tue, 12 Oct 2010 17:32:36 GMT
On Tue, Oct 12, 2010 at 12:42 PM, Philip Prindeville
<philipp_subx@redfish-solutions.com> wrote:
>  I'm trying to use mod_geoip and mod_setenvif to blacklist certain
> countries.  The tests seem to work an correctly identify the sources... it's
> the mod_authz_host part that's tripping me up.
>
> And the end of my mod_setenvif.conf I have:
>
> LogFormat "is_a_bogon=%{is_a_bogon}e CC=%{GEOIP_COUNTRY_CODE}e" env
> CustomLog logs/env_log env env=is_a_bogon
>
> <Directory "/var/www/html">
>    Deny from env=is_a_bogon
> </Directory>

What's the effective value of "Order" at this point (hopefully 'allow, deny')

Do you have Allow in htaccess or <location> that might be getting merged in?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message