httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David P. Donahue" <ddona...@ccs.neu.edu>
Subject [users@httpd] Blocking Addresses In Virtual Hosts
Date Fri, 17 Feb 2006 16:02:12 GMT
I've been trying to configure my Apache (1.3) to deny from specific 
addresses in my virtual hosts, but nothing seems to do the trick.  I'm 
testing my denying my old school's address and then proxying through 
them to see if I'm blocked, but no luck.  Below is a basic Virtual Host 
config on my server, what do I need to add to it to block access from 
certain addresses?

<VirtualHost *>
     ServerAdmin ddonahue@ccs.neu.edu
     DocumentRoot /home/www/.www/webusers/myerscreek
     ServerName www.myerscreek.org
     ServerAlias myerscreek.org
     DirectoryIndex index.html index.htm
     HostnameLookups On
     ErrorLog /var/log/apache/www.myerscreek.org-error_log
     LogLevel warn
     LogFormat "%h %l %u %t \"%!414r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\"$
     CustomLog /var/log/apache/www.myerscreek.org-access_log combined
</VirtualHost>

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