Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:lisa-temp [2018/07/18 14:22] Lisa Clarke [Step 4. Check Correct IP is Set] |
litespeed_wiki:lisa-temp [2018/07/18 14:23] (current) Lisa Clarke [Step 5. Check DB by Lookup Command] |
||
---|---|---|---|
Line 74: | Line 74: | ||
==== Step 5. Check DB by Lookup Command ==== | ==== Step 5. Check DB by Lookup Command ==== | ||
- | A very useful MaxMind tool is downloaded and compiled with the source code release: ''%%mmdblookup%%''. Use this tool to view an entry in the database for a specific IP. For example, to see the country name definition for the IP address 47.22.54.182 enter from a command prompt in the openlitespeed directory: ''%%libmaxminddb/bin/mmdblookup --file /usr/local/share/GeoIP/GeoLite2-Country.mmdb --ip 47.22.54.182 -v%%'' The output is very detailed and can be informative as it shows you the information available in the database: | + | A very useful MaxMind tool is downloaded and compiled with the source code release: ''%%mmdblookup%%''. Use this tool to view an entry in the database for a specific IP. For example, to see the country name definition for the IP address 47.22.54.182 enter from a command prompt in the openlitespeed directory: |
+ | |||
+ | ''%%libmaxminddb/bin/mmdblookup --file /usr/local/share/GeoIP/GeoLite2-Country.mmdb --ip 47.22.54.182 -v%%'' | ||
+ | |||
+ | The output is very detailed and can be informative as it shows you the information available in the database: | ||
<code> | <code> |