homepage Welcome to WebmasterWorld Guest from 54.196.57.4
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Block by .htaccess
abudesigns




msg:3861970
 7:43 pm on Mar 3, 2009 (gmt 0)

I was wondering if someone could point me in the right direction. I'm wondering if it is possible to block the entire state of Georgia from viewing my website. Is there a way to do this within the .htaccess file? Either by zip code, or IP address range?

I know it wont be 100% accurate, but it should do what I aiming for. Any feedback would be great.

 

jdMorgan




msg:3861975
 7:50 pm on Mar 3, 2009 (gmt 0)

Look into GeoIP services; IP addresses are not assigned by state, or even by country. It takes a huge and frequently-maintained database to even track to the country level -- something a single Webmaster simply cannot keep up with.

Jim

abudesigns




msg:3861980
 7:56 pm on Mar 3, 2009 (gmt 0)

Thanks Jim. I've actually been looking into geoip. It seems pretty strait forward to use.

jeffatrackaid




msg:3862079
 10:08 pm on Mar 3, 2009 (gmt 0)

What is the security issue you are trying to address? I would be very careful with blocking entire regions based on IP. You never know what search bots, proxies or other items may reside in that area.

abudesigns




msg:3862104
 10:40 pm on Mar 3, 2009 (gmt 0)

Its not a security issue. Its more an agreement with a partner that I will try and eliminate a particular geographical area. Any suggestions?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved