Skip to main content
Version: 3.14.x.x LTS

Loading the database

The database is installed by the nevisProxy package within the /opt/nevisproxy/etc/ip2location.csv file. To load the library, configure the following filter in your web.xml file:

<filter>
<filter-name>LoadGoeLocationFilter</filter-name>
<filter-class>ch:nevis:navajo:apglue:httpd_${HTTPD_LIB_VERSION}_x:servlet:ApacheConfigFilter</filter-class>
<filter-lib>@PKG_HOME@/webapp/WEB-INF/lib/libApache${HTTPD_LIB_VERSION}_Servlet.so.1</filter-lib>
<init-param>
<param-name>ServerConfig</param-name>
<param-value>
LoadModule qos_module @PKG_HOME@/lib/libmodqos_ap_${HTTPD_LIB_VERSION}.so.1
QS_ClientGeoCountryDB @PKG_HOME@/etc/ip2location.csv
</param-value>
</init-param>
</filter>

<filter>
<filter-name>LogCountryCode</filter-name>
<filter-class> ch::nevis::isiweb4::filter::delegation::DelegationFilter</filter-class>
<init-param>
<param-name>DelegateToProxyLog</param-name>
<param-value>ENV:QS_Country:country</param-value>
</init-param>
</filter>