Differences
This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
litespeed_wiki:cache:lscwp:configuration:server_variables [2018/02/02 19:46] Lisa Clarke created |
litespeed_wiki:cache:lscwp:configuration:server_variables [2018/02/06 15:39] Lisa Clarke Added usage details |
||
---|---|---|---|
Line 8: | Line 8: | ||
* ''CRAWLER_LOAD_LIMIT_ENFORCE'' sets a maximum allowed value on the **Server Load Limit** field. | * ''CRAWLER_LOAD_LIMIT_ENFORCE'' sets a maximum allowed value on the **Server Load Limit** field. | ||
- | More information regarding syntax and usage coming soon. | + | 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> |