httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David P. Donahue" <>
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 *>
     DocumentRoot /home/www/.www/webusers/myerscreek
     DirectoryIndex index.html index.htm
     HostnameLookups On
     ErrorLog /var/log/apache/
     LogLevel warn
     LogFormat "%h %l %u %t \"%!414r\" %>s %b \"%{Referer}i\" 
     CustomLog /var/log/apache/ combined

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message