Hi! I installed OLS with WordPress in Debian 12. I added and activated the Litespeed plugin in WordPress cirrectly. Created a vhost in OLS. I read the docs about lscache. If I'm not wrong, it is possible to only activate the cache module in server configuration level, without any parameters. Then, in the vhost configuration I activate the cache module and add the parameters:
enableCache 1
checkPublicCache 1
storagePath $VH_ROOT/lscache
Then restart OLS. That should do the magic, right? I run a curl -I to my site and do not get any hit nor miss.
Now, if I change, under the vhost configuration, the storagePath to $SERVER_ROOT/cachedata boom! It now works.
I check the ownership and permissions of both directories, the one in $VH_ROOT/lscache and in $SERVER_ROOT/cachedata and are identical.
I do not want to use $SERVER_ROOT/cachedata, I need to cache things under every virtual host web home directory.
What is my mistake?
enableCache 1
checkPublicCache 1
storagePath $VH_ROOT/lscache
Then restart OLS. That should do the magic, right? I run a curl -I to my site and do not get any hit nor miss.
Now, if I change, under the vhost configuration, the storagePath to $SERVER_ROOT/cachedata boom! It now works.
I check the ownership and permissions of both directories, the one in $VH_ROOT/lscache and in $SERVER_ROOT/cachedata and are identical.
I do not want to use $SERVER_ROOT/cachedata, I need to cache things under every virtual host web home directory.
What is my mistake?