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:lscwp:configuration:server_variables [2018/02/06 15:39]
Lisa Clarke Added usage details
litespeed_wiki:cache:lscwp:configuration:server_variables [2018/02/06 15:54]
Lisa Clarke
Line 1: Line 1:
-====== Server Variables for LSCWP ====== +#​REDIRECT ​litespeed_wiki:​cache:​lscwp:​configuration:​enabling_the_crawler#​limiting_the_crawler
- +
-The following server variables are now available. These give hosting providers the ability to set parameters for the use of certain functions within the plugin. +
- +
-Currently, the following variables are available for use with [[litespeed_wiki:​cache:​lscwp:​configuration:​crawler|the Crawler function]]:​ +
-  * ''​CRAWLER_USLEEP''​ puts a minimum allowed value on the **Delay** field. +
-  * ''​CRAWLER_LOAD_LIMIT''​ sets a default for the **Server Load Limit** field. +
-  * ''​CRAWLER_LOAD_LIMIT_ENFORCE''​ sets a maximum allowed value on the **Server Load Limit** field. +
- +
-To use these variables, add them one-per-line to the configuration file. For example: +
-<​code>​ +
-<​IfModule LiteSpeed>​ +
-CacheEngine On +
-SetEnv CRAWLER_USLEEP 1000 +
-SetEnv CRAWLER_LOAD_LIMIT 5.2 +
-</​IfModule>​ +
-</​code>​ +
- +
-Alternately,​ you can set them in Web Admin. +
- +
-{{:​litespeed_wiki:​cache:​lscwp:​configuration:​lscwp-admin-crawler.png?​600|}} +
- +
-Navigate to **Server > External App** and add the variables to the **Environment** setting, one per line, like so: +
-<​code>​ +
-CRAWLER_USLEEP=1000 +
-CRAWLER_LOAD_LIMIT=5.2 +
-</​code>​ +
  • Admin
  • Last modified: 2018/02/06 15:54
  • by Lisa Clarke