httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry" <he...@ix.netcom.com>
Subject Re: [users@httpd] .htaccess question - IP blockage
Date Fri, 13 Feb 2004 13:36:08 GMT

Thanks for the response, but now if I do:

order deny,allow
deny from badguys.com
allow from goodguy.badguys.com
allow from all

badguys.com is not blocked!

-Hank

----- Original Message ----- 
From: "Jeroen Lankheet" <Jeroen.Lankheet@logicacmg.com>
To: <users@httpd.apache.org>
Sent: Friday, February 13, 2004 8:03 AM
Subject: RE: [users@httpd] .htaccess question - IP blockage


> Reverse allow and deny
> then first deny all you need to deny
> then allow everything you need to allow
> 
> deny from 192.168
> allow from 192.168.10.1
> order deny, allow
> 
> -----Original Message-----
> From: Henry [mailto:henry@ix.netcom.com]
> Sent: vrijdag 13 februari 2004 13:56
> To: users@httpd.apache.org
> Subject: [users@httpd] .htaccess question - IP blockage
> 
> 
> 
> As I mentioned earlier,   I do IP blocking with:
> 
> order allow,deny
> allow from all
> deny from y.y
> deny from x.x.x.x
> deny from somecompany.com
> 
> Is there any way to block an entire subnet, say (for example) "192.168.*",
> but at the same time, allow access to a specific host in that net, say
> "192.168.1.123"?  I've tried all sorts of  "deny from/allow from" in
> different order, but can't find a solution.
> 
> Thanks,
> 
> -Hank
> 
> ---------------------------------------------------------------------
> 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
> 
> This e-mail and any attachment is for authorised use by the intended recipient(s) only.
It may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.
> 
> ---------------------------------------------------------------------
> 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
> 
> 

---------------------------------------------------------------------
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