LITESPEED_ON = NULL for a single vhost (all others are fine)

Simon

New Member
#1
Hi There, We are running OpenLiteSpeed 1.4.46 on AWS using the pre-built EC2 template and have 7 vhosts, all wordpress, all configured the exact same way. I have triple checked the config for the vhost and i have it correct.

Any ideas here?

The cache module is enabled at the server config level (by default, have not touched this)

# 0
checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize 10000000
maxStaleAge 200
qsCache 1
reqCookieCache 1
respCookieCache 1
ignoreReqCacheCtrl 1
ignoreRespCacheCtrl 0
enableCache 0
expireInSeconds 3600
enablePrivateCache 0
privateExpireInSeconds 3600

Vhost where ls cache is not working:

Server Variables
SERVER_SOFTWARE = LiteSpeed
DOCUMENT_ROOT = /home/user/www/site-not-working/html
X-LSCACHE = on,crawler
LSWCP_TAG_PREFIX = 99b
WP_SITEURL = https://site-not-working.com
WP_HOME = https://site-not-working.com
WP_CONTENT_DIR = /home/user/www/site-not-working/html/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /home/user/www/site-not-working/html/wp-content
LSCWP_CONTENT_FOLDER = wp-content
LSCWP_DIR = /home/user/www/site-not-working/html/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 36000.0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_OLS
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = NULL
LITESPEED_ON_IN_SETTING = true
LSCACHE_ADV_CACHE = NULL
LSWCP_TAG_PREFIX = 99b

All other sites are working well:

Server Variables
SERVER_SOFTWARE = LiteSpeed
DOCUMENT_ROOT = /home/user/www/site-is-working/html
X-LSCACHE = on,crawler
LSWCP_TAG_PREFIX = 042
WP_SITEURL = https://site-is-working.com
WP_HOME = https://site-is-working.com
WP_CONTENT_DIR = /home/user/www/site-is-working/html/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /home/user/www/site-is-working/html/wp-content
LSCWP_CONTENT_FOLDER = wp-content
LSCWP_DIR = /home/user/www/site-is-working/html/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 36000.0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_OLS
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = true
LITESPEED_ON_IN_SETTING = true
LSCACHE_ADV_CACHE = true
LSWCP_TAG_PREFIX = 042
 

Simon

New Member
#3
Top