|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello NG,
I try to block an IP Range, in the httpd.conf I have following entries : <Directory "/var/www/htdocs/mydoc"> <Limit GET HEAD POST> order deny,allow allow from all deny from 192.168.0 </Limit> </directory> When I put only "deny from all" it works great. I tried also change the order but it doesn't work. I really don't know where I make an "error in reasoning"... I checked also : http://httpd.apache.org/docs/mod/mod_access.html#order Any hints? Many thanks in advance! B.Grogg |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Uzytkownik <benjamin.grogg@bluewin.ch> napisal w wiadomosci news:1118084387.611578.101220@f14g2000cwb.googlegr oups.com... > Hello NG, > > I try to block an IP Range, in the httpd.conf I have following > entries : > > <Directory "/var/www/htdocs/mydoc"> > <Limit GET HEAD POST> > order deny,allow > allow from all > deny from 192.168.0 Try to use instead CIDR notation (e.g. 192.168.0.0/24, 192.168.0.0/16). Regards Slawek, CCNA, BSCI |
|
![]() |
| Outils de la discussion | |
|
|