1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/79externalSSLAccessStringGeoip smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/79externalSSLAccessStringGeoip |
2 |
|
|
--- smeserver-mod_maxminddb-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/79externalSSLAccessStringGeoip 2022-07-24 01:10:54.985000000 -0400 |
3 |
|
|
+++ smeserver-mod_maxminddb-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/79externalSSLAccessStringGeoip 2022-07-25 00:02:17.392000000 -0400 |
4 |
|
|
@@ -11,5 +11,6 @@ |
5 |
|
|
return unless defined $validFromGeoIP; |
6 |
|
|
$validFromGeoIP =~ s/,/|/g; |
7 |
|
|
$OUT .= " SetEnvIf MM_COUNTRY_CODE ^($validFromGeoIP) AllowCountries\n"; |
8 |
|
|
- $externalSSLAccess .= " env=AllowCountries"; |
9 |
|
|
-} |
10 |
|
|
+ $OUT .= "# prior apache 2.4 you could combine ip and env by doing \$externalSSLAccess .= ' env=AllowCountries'\n"; |
11 |
|
|
+ $OUT .= "# now you should add "Require env AllowCountries" in Files, Directory or Location section\n"; |
12 |
|
|
+ } |