httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] desy access if browser machine doesn't tell his hostname
Date Fri, 25 Oct 2002 23:42:13 GMT
Harald Falkenberg wrote:

> Hi,
> in httpd.conf we configured
> 	HostnameLookups on
> In the past we noticed attacks from host, that do not have an IP-address
> resulotion to a valid hostname.
> Question: is ther a way to desy access for certain areas when the hostname
> is not available?

This is not a good idea, because you'll deny access to a bunch of people 
coming from clueless ISPs.  But if you really want to:

SetEnIfNoCase Remote_Host [a-z]+ got_hostname
Order allow,deny
allow from all
deny from env=got_hostname


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message