Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscache:geoip-support [2019/01/08 18:57]
Jackson Zhang
litespeed_wiki:cache:lscache:geoip-support [2019/01/08 18:58] (current)
Jackson Zhang
Line 1: Line 1:
 ===== How to enable geolocation for LSCache ===== ===== How to enable geolocation for LSCache =====
  
-LSCache supports GEOIP. You should ​follow ​[[litespeed_wiki:​cache:​common:​geoip-support|this wiki]] to enable GeoIP module on LSWS and test it to ensure ​it is working. Then you can use different rewrite rules to meet your cache need. +LSCache supports GEOIP. You should [[litespeed_wiki:​cache:​common:​geoip-support|enable GeoIP module]] on LSWS firstly ​and test it to ensure ​the module ​is working. Then you can use different rewrite rules to meet your cache need. 
  
-For example, to make cache vary by GEO_COUNTRY,​ you can add the following rewrite rules to your “.htaccess” file:+For example, to make cache vary by ''​GEO_COUNTRY''​, you can add the following rewrite rules to your “.htaccess” file:
   ​   ​
   <​IfModule LiteSpeed>​   <​IfModule LiteSpeed>​
 
litespeed_wiki/cache/lscache/geoip-support.txt · Last modified: 2019/01/08 18:58 by Jackson Zhang