[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    How to block access by country, by unresolved IP, and etc...???
From:       "Apolinaras \"Apollo\" Sinkevicius" <apsinkus () yahoo ! com>
Date:       2002-03-28 19:40:52
[Download RAW message or body]

I need help.
I host couple of big files on my server which are pretty darn popular. They 
are hoging my bandwidth, so but I do not want to drop them.
1. I would like to only allow poeple from USA, UK, Germany, Canada access 
those file on my Apache (since those are the countries we have clients in). 
How can I achieve that? Something like Allow directive . What I have now 
does not seem to work.
<Directory "/mysql">
deny from all
allow from .com
allow from .ca
allow from .net
allow from .org
allow from .de
allow from .uk
</Directory>

2. I would like to block access from any unresolved host users (the ones 
who's IP can not be resolved into a host). How can that be done for just 
one directory?

Your help is greatly appreciated.
Apollo 


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic