1 |
jpp |
1.1 |
diff -Nur smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav |
2 |
|
|
--- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav 2019-03-13 23:34:49.908000000 -0400 |
3 |
|
|
+++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav 1969-12-31 19:00:00.000000000 -0500 |
4 |
|
|
@@ -1,18 +0,0 @@ |
5 |
|
|
-{ |
6 |
|
|
- # vim: ft=perl: |
7 |
|
|
- my $status = $modMaxminddb{status} || 'disabled'; |
8 |
|
|
- my $path = $modMaxminddb{Path} || '/usr/share/GeoIP'; |
9 |
|
|
- if ( $status eq "enabled" ) |
10 |
|
|
- { |
11 |
|
|
- $OUT .= "LoadModule maxminddb_module modules/mod_maxminddb.so\n"; |
12 |
|
|
- $OUT .= "<IfModule mod_maxminddb.c>\n"; |
13 |
|
|
- $OUT .= " MaxMindDBEnable On\n"; |
14 |
|
|
- $OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n"; |
15 |
|
|
- $OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n"; |
16 |
|
|
- $OUT .= "</Ifmodule>\n"; |
17 |
|
|
- } |
18 |
|
|
- else |
19 |
|
|
- { |
20 |
|
|
- $OUT .= "# mod_maxminddb disabled\n"; |
21 |
|
|
- } |
22 |
|
|
-} |
23 |
|
|
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 |
24 |
|
|
--- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 1969-12-31 19:00:00.000000000 -0500 |
25 |
|
|
+++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_maxminddb 2019-03-13 23:34:49.908000000 -0400 |
26 |
|
|
@@ -0,0 +1,18 @@ |
27 |
|
|
+{ |
28 |
|
|
+ # vim: ft=perl: |
29 |
|
|
+ my $status = $modMaxminddb{status} || 'disabled'; |
30 |
|
|
+ my $path = $modMaxminddb{Path} || '/usr/share/GeoIP'; |
31 |
|
|
+ if ( $status eq "enabled" ) |
32 |
|
|
+ { |
33 |
|
|
+ $OUT .= "LoadModule maxminddb_module modules/mod_maxminddb.so\n"; |
34 |
|
|
+ $OUT .= "<IfModule mod_maxminddb.c>\n"; |
35 |
|
|
+ $OUT .= " MaxMindDBEnable On\n"; |
36 |
|
|
+ $OUT .= " MaxMindDBFile COUNTRY_DB $path/GeoLite2-Country.mmdb\n"; |
37 |
|
|
+ $OUT .= " MaxMindDBEnv COUNTRY_CODE COUNTRY_DB/country/iso_code\n"; |
38 |
|
|
+ $OUT .= "</Ifmodule>\n"; |
39 |
|
|
+ } |
40 |
|
|
+ else |
41 |
|
|
+ { |
42 |
|
|
+ $OUT .= "# mod_maxminddb disabled\n"; |
43 |
|
|
+ } |
44 |
|
|
+} |