1
0

geoip.conf 837 B

1234567891011121314151617181920212223242526
  1. #######################################################################
  2. ##
  3. ## GeoIP Module
  4. ## ---------------
  5. ##
  6. ## mod_geoip is a module for fast ip/location lookups. It uses MaxMind
  7. ## GeoIP / GeoCity databases. If the ip was found in the database the
  8. ## module sets the appropriate environments variables to the request,
  9. ## thus making other modules/fcgi be informed.
  10. ##
  11. server.modules += ( "mod_geoip" )
  12. ##
  13. ## mod_geoip will determine the database type automatically so if you
  14. ## enter GeoCity databse path it will load GeoCity Env.
  15. ##
  16. #geoip.db-filename = "/path/to/GeoCityLite.dat"
  17. ##
  18. ## If enabled, mod_geoip will load the database binary file to memory
  19. ## for very fast lookups. The only penalty is memory usage.
  20. ##
  21. #geoip.memory-cache = "disable"
  22. ##
  23. #######################################################################