Dear All,

I want to block a HTTP access , to particular node say 192.168.1.79 for a local web server.
Rest of the network 192.168.1.0/24 will be having HTTP access. Apache server is on 192.168.1.1


iptables is Ok, contstraint is we need to block by httpd.conf only.

I have tried the following in httpd.conf

######
NameVirtualHost 192.168.1.1
<VirtualHost *>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/mydoc
   ServerName mydomain.com
   ErrorLog logs/mydomain-error_log
   CustomLog logs/mydomain-access_log common
<Directory "/var/www/mydoc">
Options Indexes FollowSymLinks
AllowOverride AuthConfig
deny from 192.168.1.79
Order deny,allow
Allow from 192.168.1.0/24
</Directory>
</VirtualHost>
##########


Problem is "Deny from" with in <Directory> ....</Directory> not seemed to be working at all?

Any pointers where i am wrong ?? I am using apache 2.0, on RH 9.0

Regards,
-Yash


_______________________________________________ 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