Apache-GeoIP
view release on metacpan or search on metacpan
Apache/Geo/IP.pm view on Meta::CPAN
=item PerlSetVar GeoIPDBFile "/path/to/GeoIP.dat"
This specifies the location of the F<GeoIP.dat> file.
If not given, it defaults to the location specified
upon installing the L<Geo::IP> module.
=item PerlSetVar GeoIPFlag Standard
Flags can be set to either I<STANDARD>, or for faster performance
(at a cost of using more memory), I<MEMORY_CACHE>. When using memory
cache you can force a reload if the file is updated by setting I<CHECK_CACHE>.
I<INDEX_CACHE> caches the most frequently accessed index portion of the database,
resulting in faster lookups than I<STANDARD>, but less memory usage than
I<MEMORY_CACHE> - this is useful for larger databases such as GeoIP
Organization and GeoIP City. Note, for GeoIP Country, Region and Netspeed databases,
I<INDEX_CACHE> is equivalent to I<MEMORY_CACHE>.
Multiple values of I<GeoIPFlag> can be set by specifying them
using I<PerlAddVar>. If no values are specified, I<STANDARD> is used.
=item PerlSetVar GeoIPType CITY_EDITION_REV1
Apache2/Geo/IP.pm view on Meta::CPAN
=item PerlSetVar GeoIPDBFile "/path/to/GeoIP.dat"
This specifies the location of the F<GeoIP.dat> file.
If not given, it defaults to the location specified
upon installing the L<Geo::IP> module.
=item PerlSetVar GeoIPFlag Standard
Flags can be set to either I<STANDARD>, or for faster performance
(at a cost of using more memory), I<MEMORY_CACHE>. When using memory
cache you can force a reload if the file is updated by setting I<CHECK_CACHE>.
I<INDEX_CACHE> caches the most frequently accessed index portion of the database,
resulting in faster lookups than I<STANDARD>, but less memory usage than
I<MEMORY_CACHE> - this is useful for larger databases such as GeoIP
Organization and GeoIP City. Note, for GeoIP Country, Region and Netspeed databases,
I<INDEX_CACHE> is equivalent to I<MEMORY_CACHE>.
Multiple values of I<GeoIPFlag> can be set by specifying them
using I<PerlAddVar>. If no values are specified, I<STANDARD> is used.
=item PerlSetVar GeoIPType CITY_EDITION_REV1
( run in 0.281 second using v1.01-cache-2.11-cpan-05444aca049 )