ckissi Member Aug 30, 2017 #1 Aug 30, 2017 #1 I've configured the OLS to use GeoIP database on the server level. Is it possible to enter rewrite rules to filter out traffic from specific countries or can I do that only in e.g. PHP with a usage of the $_SERVER variable?
I've configured the OLS to use GeoIP database on the server level. Is it possible to enter rewrite rules to filter out traffic from specific countries or can I do that only in e.g. PHP with a usage of the $_SERVER variable?
P Pong Administrator Aug 30, 2017 #2 Aug 30, 2017 #2 yes, you can do it on web server level through rewrite rules.
ckissi Member Aug 30, 2017 #3 Aug 30, 2017 #3 Pong said: yes, you can do it on web server level through rewrite rules. Click to expand... Can you please send any example? I have used rules mentioned in apache tuts and they don't work.
Pong said: yes, you can do it on web server level through rewrite rules. Click to expand... Can you please send any example? I have used rules mentioned in apache tuts and they don't work.
P Pong Administrator Sep 8, 2017 #4 Sep 8, 2017 #4 You can refer to some rewrite examples: http://dev.maxmind.com/geoip/legacy/mod_geoip2/#Redirecting_a_client_based_on_country We will write a wiki for open Litespeed later.
You can refer to some rewrite examples: http://dev.maxmind.com/geoip/legacy/mod_geoip2/#Redirecting_a_client_based_on_country We will write a wiki for open Litespeed later.