Yashpal!!!!! You got RedHat 9.0????
I need it. Dheeraj Anand -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yashpal Nagar Sent: Saturday, February 28, 2004 3:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [LIH]http access control over LAN 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 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
