Yes you can do this easily. Configure your access.con file to allow from whatever address banks you wish. I've done something similar to this allowing from several ranges of IP addresses. I'm sure there is an easier way but here is what I've done:
<Directory /home/httpd/html> Deny from all #the above will deny everyone from accessing the default web page #now we must add who will have rights t it Allow from IP_ADDRESS_HERE #the above will allow a specific ip address or a bank of addresses #you can specify one, two, or three octets depending how far you want to allow #access from that network AllowOverride AuthConfig #the above will allow you to setup user/password authentication #just an additional level of security. Must still setup htpasswd file </Directory> #we're finished. Ok... so it doens't directly answer your question however I hope it's enough to get you started. Frank >"Ashley M. Kirchner" wrote: > >>> Is it possible to block access to one's website by checking the IP >>> address? For whatever political reason at a company I do consulting for, I've >>> been asked to deny access to their website to any visitor that doesn't >>> originate in the US. Now I realize someone sitting in Australia could use some >>> proxy in the US to get to someone else's site, but they're not too concerned >>> about that. They just want to outright block any IP that's not a US one. This >>> only for WWW access. >> _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list