1 |
diff -Nur smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb |
2 |
--- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-13 23:50:57.967000000 -0400 |
3 |
+++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-14 00:04:13.010000000 -0400 |
4 |
@@ -8,7 +8,19 @@ |
5 |
$OUT .= "<IfModule mod_maxminddb.c>\n"; |
6 |
$OUT .= " MaxMindDBEnable On\n"; |
7 |
$OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n"; |
8 |
+ $OUT .= " MaxMindDBFile CITY_DB $path/GeoLite2-City.mmdb\n"; |
9 |
$OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n"; |
10 |
+ $OUT .= " MaxMindDBEnv REGION_CODE CITY_DB/subdivisions/0/iso_code\n"; |
11 |
+ $OUT .= " MaxMindDBEnv MM_COUNTRY_CODE CITY_DB/country/iso_code\n"; |
12 |
+ $OUT .= " MaxMindDBEnv MM_COUNTRY_NAME CITY_DB/country/names/en\n"; |
13 |
+ $OUT .= " MaxMindDBEnv MM_CITY_NAME CITY_DB/city/names/en\n"; |
14 |
+ $OUT .= " MaxMindDBEnv MM_LONGITUDE CITY_DB/location/longitude\n"; |
15 |
+ $OUT .= " MaxMindDBEnv MM_LATITUDE CITY_DB/location/latitude\n"; |
16 |
+ $OUT .= " MaxMindDBEnv MM_CONTINENT_CODE CITY_DB/continent/code\n"; |
17 |
+ $OUT .= " MaxMindDBEnv MM_CONTINENT_NAME CITY_DB/continent/names/en\n"; |
18 |
+ $OUT .= " MaxMindDBEnv MM_REGION_CODE CITY_DB/subdivisions/0/iso_code\n"; |
19 |
+ $OUT .= " MaxMindDBEnv MM_REGION_NAME CITY_DB/continent/names/en\n"; |
20 |
+ |
21 |
$OUT .= "</Ifmodule>\n"; |
22 |
} |
23 |
else |