Line 2: |
Line 2: |
| <!-- here we define the contrib name variable --> | | <!-- here we define the contrib name variable --> |
| <!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want--> | | <!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want--> |
− | {{#vardefine:contribname| {{lc: {{#titleparts: {{BASEPAGENAME}} |1}} }} }} | + | {{#vardefine:contribname| smeserver-mod_maxminddb }} |
− | {{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts: {{BASEPAGENAME}} |1}} }} }} | + | {{#vardefine:smecontribname| smeserver-mod_maxminddb }} |
| <!-- we define the language --> | | <!-- we define the language --> |
| {{#vardefine:lang| {{lc: {{#titleparts: {{PAGENAME}} | | -1}} }} |en }} | | {{#vardefine:lang| {{lc: {{#titleparts: {{PAGENAME}} | | -1}} }} |en }} |
Line 19: |
Line 19: |
| ===Maintainer=== | | ===Maintainer=== |
| <!-- here you need to file your username and name --> | | <!-- here you need to file your username and name --> |
− | [[User:YOURUSERNAME|YOURNAME]] | + | [[User:Unnilennium|Jean-Philippe Pialasse]] |
| | | |
| === Version === | | === Version === |
| <!-- keep this first element as is, you can add some if needed --> | | <!-- keep this first element as is, you can add some if needed --> |
| {{#smeversion: {{#var:smecontribname}} }} | | {{#smeversion: {{#var:smecontribname}} }} |
− | {{#smeversion: {{#var:contribname}} }} | + | {{#smeversion: libmaxminddb }} |
| | | |
| === Description === | | === Description === |
− | <!-- add a description here -->
| + | This contrib enable the new Geoip2 plugin from Maxmind in order to let your apache server to get full capacity of geoip with recent db. |
| + | |
| + | The contrib also plan to help you restrict usage of server-manager, user-manager, or any other contrib depending on your client localisation. This is not miraculous, as a good vpn could override this protection and some ip might be incorrectly localized, but would at least stop a huge amount of scan and bruteforce. |
| | | |
| | | |
Line 36: |
Line 38: |
| === Configuration === | | === Configuration === |
| you can list the available configuration with the followinf command : | | you can list the available configuration with the followinf command : |
− | config show {{#var:contribname}} | + | config show modMaxminddb |
| | | |
| 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 : |
Line 45: |
Line 47: |
| ! | | ! |
| |- | | |- |
− | |DbName | + | |Path |
− | |nextcloud | + | |/usr/share/GeoIP |
| |string | | |string |
− | |for mysql db
| |
− | |-
| |
− | |DbPassword
| |
− | |GENERATED
| |
− | |string
| |
− | |for mysql db
| |
− | |-
| |
− | |DbUser
| |
− | |nextcloud
| |
− | |string
| |
− | |for mysql db
| |
− | |-
| |
− | |access
| |
− | |private
| |
− | |private, public
| |
| | | | | |
| |- | | |- |
Line 69: |
Line 56: |
| |enabled,disabled | | |enabled,disabled |
| |} | | |} |
− |
| |
− |
| |
| | | |
| === Uninstall === | | === Uninstall === |
Line 84: |
Line 69: |
| Only released version in smecontrib are listed here. | | Only released version in smecontrib are listed here. |
| | | |
− | {{ #smechangelog: {{#var:smecontribname}} }} | + | {{#smechangelog: {{#var:smecontribname}} }} |
| | | |
| | | |
| <!-- list of category you want to see this page in --> | | <!-- list of category you want to see this page in --> |
| [[Category: Contrib]] | | [[Category: Contrib]] |
− |
| |
| <!-- Please keep there the template revision number as is --> | | <!-- Please keep there the template revision number as is --> |
− | [[contribtemplate::2| ]]
| |
− | [[contriblang:: {{#var:lang}} | ]]
| |