Hello,
I've been following the instructions to enable lscache for all users (litemage and wordpress cache) and some things seem to be mising from your documentation for cPanel :
1) I create /usr/local/apache/conf/includes/lscache.conf containing :
What user, group and chmod should /lscache that file have ?
We use cagefs like most hosts do (minimum requirement for shared hosting security in our oppinion), what do we need to add so /lscache/ is accessible ? Does it have to be accessible for users or just by lsadmin ?
2) I create /usr/local/apache/conf/userdata/lscache_vhosts.conf and /usr/local/apache/conf/userdata/ssl/lscache_vhosts.conf
That contains :
and then run /scripts/ensure_vhost_includes --all-users
What happens when I add a new user ? Can I call it .lsccahe insead of lscache, if so do I have to put an antislash before the . to have :
or can I use directly :
What happens when I or a reseller adds a new user ? Do we have to create a /root/cpanel3-skel/.lscache ?
I've been following the instructions to enable lscache for all users (litemage and wordpress cache) and some things seem to be mising from your documentation for cPanel :
1) I create /usr/local/apache/conf/includes/lscache.conf containing :
Code:
<IfModule Litespeed>
CacheRoot /lscache/
</IfModule>
We use cagefs like most hosts do (minimum requirement for shared hosting security in our oppinion), what do we need to add so /lscache/ is accessible ? Does it have to be accessible for users or just by lsadmin ?
2) I create /usr/local/apache/conf/userdata/lscache_vhosts.conf and /usr/local/apache/conf/userdata/ssl/lscache_vhosts.conf
That contains :
Code:
<IfModule Litespeed>
CacheRoot lscache
</IfModule>
What happens when I add a new user ? Can I call it .lsccahe insead of lscache, if so do I have to put an antislash before the . to have :
Code:
<IfModule Litespeed>
CacheRoot \.lscache
</IfModule>
Code:
<IfModule Litespeed>
CacheRoot .lscache
</IfModule>
Last edited by a moderator: