]>
Commit | Line | Data |
---|---|---|
51b49ca1 ER |
1 | # GeoIP module. |
2 | # | |
3 | # Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip | |
7da3b830 ER |
4 | # |
5 | # mod_geoip is a module for fast ip/location lookups. It uses MaxMind | |
6 | # GeoIP / GeoCity databases. If the ip was found in the database the | |
7 | # module sets the appropriate environments variables to the request, | |
8 | # thus making other modules/fcgi be informed. | |
51b49ca1 ER |
9 | |
10 | server.modules += ( | |
11 | "mod_geoip" | |
12 | ) | |
13 | ||
7da3b830 ER |
14 | # |
15 | # mod_geoip will determine the database type automatically so if you | |
16 | # enter GeoCity database path it will load GeoCity Env. | |
17 | # | |
51b49ca1 ER |
18 | #geoip.db-filename = "/usr/share/GeoIP/GeoIP.dat" |
19 | ||
7da3b830 ER |
20 | # |
21 | # If enabled, mod_geoip will load the database binary file to memory | |
22 | # for very fast lookups. The only penalty is memory usage. | |
23 | # default: disabled | |
24 | # | |
51b49ca1 | 25 | #geoip.memory-cache = "enable" |