Displaying 2 results from an estimated 2 matches for "geoipen".
Did you mean:
geoip
2016 Aug 28
0
.htaccess file
...tOS are you using?
For 7.x, and I think 6.x, there is a much simpler way of doing this, using
mod_geoip from the Epel repository.
It rejects all unwanted HTTP connections using 403 responses. Here's an
example geoip.conf file, which is what I'm using:
----
<IfModule mod_geoip.c>
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat MemoryCache
GeoIPOutput Env
# Proxies
SetEnvIf GEOIP_COUNTRY_CODE A1 BlockCountry
#Country blocks
SetEnvIf GEOIP_COUNTRY_CODE TR BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE IR BlockCountry
#... more countries using the two char country code
</...
2016 Aug 28
6
.htaccess file
Hello,
My home system on a DSL line is getting worn out by bad behavior robots.
Awhile back, I created a .htaccess file that block countries by IP blocks.
Its 2MB in size.
I have been running Linux since Slackware 1.0 and moved to Redhat around
2.0. I started after running a BBS using a doorway for newsgroups. Been
hooked ever since.
So, today, I tried following the directions for