Changes

Jump to navigation Jump to search
645 bytes added ,  07:07, 25 July 2022
Line 42: Line 42:  
Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :
 
Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :
 
{| class="wikitable"
 
{| class="wikitable"
 +
!db
 +
!key
 
!property
 
!property
 
!default
 
!default
 
!values
 
!values
!
+
!role
 
|-
 
|-
 +
|configuration
 +
|modMaxminddb
 
|Path
 
|Path
 
|/usr/share/GeoIP
 
|/usr/share/GeoIP
Line 52: Line 56:  
|
 
|
 
|-
 
|-
 +
|configuration
 +
|modMaxminddb
 
|status
 
|status
 
|enabled
 
|enabled
 
|enabled,disabled
 
|enabled,disabled
 +
|-
 +
|configuration
 +
|http-admin
 +
|ValidFromGeoIP
 +
|(empty)
 +
|country code coma separated
 +
|list of whitelisted country allowed to access, e.g.: CA,FR
 +
|-
 +
|configuration
 +
|http-admin
 +
|GeoIPManager
 +
|
 +
|
 +
|enable geoip access to server-manager
 +
|-
 +
|configuration
 +
|http-admin
 +
|GeoIPUser
 +
|
 +
|
 +
|enable geoip access to user-manager if installed
 +
|-
 +
|configuration
 +
|http-admin
 +
|GeoIPPassword
 +
|enabled
 +
|
 +
|enable geoip access to user-password
 
|}
 
|}
 
==== Allow access to a specific country ====
 
==== Allow access to a specific country ====
Line 72: Line 106:  
   $OUT ="
 
   $OUT ="
 
     <Location /server-manager>
 
     <Location /server-manager>
 +
        Require env AllowCountries
 +
    </Location>
 +
    <Location /server-common>
 
         Require env AllowCountries
 
         Require env AllowCountries
 
     </Location>
 
     </Location>
Line 107: Line 144:  
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
 +
=== References ===
 +
* https://github.com/maxmind/mod_maxminddb/issues/42
    
=== Bugs ===
 
=== Bugs ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu