vivek khurana wrote:
deny from 192.168.1.79
Order deny,allow
Allow from 192.168.1.0/24

The problem here is that the allow statement is negating the deny statement because the allow statement is evaluated after deny. Just remove the allow statement here and it should work.




Change the above lines to

Order deny,allow
deny from 192.168.1.79
allow from 192.168.1.0/24

 When you specify "order deny,allow" deny directives
are executed before allow. Since in your case you have
written deny before specifying the order, deny
directive is getting orverriden by "allow
192.168.1.0/24" directive.


You are right about the problem happening but ...


I may be wrong, but i dont think the order of deny statement vis-a-vis allow statement matters here. What matter here the the order specified in the "Order" statement.

- Sandip

--
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.com        Home: http://www.sandipb.net

GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3


_______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to