GeoIp filter, how to use ?

Discussion in 'General OpenLiteSpeed Discussion' started by ckissi, Aug 30, 2017.

  1. ckissi

    ckissi Member

    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?
     
  2. Pong

    Pong Administrator

    yes, you can do it on web server level through rewrite rules.
     
  3. ckissi

    ckissi Member

    Can you please send any example? I have used rules mentioned in apache tuts and they don't work.
     
  4. Pong

    Pong Administrator

Share This Page