Hi,
I have installed openlitespeed
According to the guide need to install separate the plugin
https://docs.litespeedtech.com/lsws/cp/directadmin/configuration/ its built in
but I see its working without that and store data under :
/usr/local/lsws/cachedata/priv/
My first question need or not plugin to be installed ?
Second question how to setup cache in separate disk ?
I created
Set Server-Level Cache Root
Add the following lines to the /etc/httpd/conf/extra/httpd-includes.conf file.
<IfModule Litespeed>
CacheRoot /mnt/dns1lscashe/cachedata #extra disk
</IfModule>
/usr/local/directadmin/data/templates/custom/cust_httpd.CUSTOM.2.pre
Set Virtual-Host-Level Cache Root for all Virtual Hosts
Create a /usr/local/directadmin/data/templates/custom/cust_httpd.CUSTOM.2.pre file
<IfModule Litespeed>
CacheRoot lscache
</IfModule>
Apply these changes to all Virtual Hosts by running the following command:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
but remains to cache under /usr/local/lsws/cachedata/priv/
There is any way to change that
I just need to have cache in dedicate extra disk only for this scope
I have installed openlitespeed
According to the guide need to install separate the plugin
https://docs.litespeedtech.com/lsws/cp/directadmin/configuration/ its built in
but I see its working without that and store data under :
/usr/local/lsws/cachedata/priv/
My first question need or not plugin to be installed ?
Second question how to setup cache in separate disk ?
I created
Set Server-Level Cache Root
Add the following lines to the /etc/httpd/conf/extra/httpd-includes.conf file.
<IfModule Litespeed>
CacheRoot /mnt/dns1lscashe/cachedata #extra disk
</IfModule>
/usr/local/directadmin/data/templates/custom/cust_httpd.CUSTOM.2.pre
Set Virtual-Host-Level Cache Root for all Virtual Hosts
Create a /usr/local/directadmin/data/templates/custom/cust_httpd.CUSTOM.2.pre file
<IfModule Litespeed>
CacheRoot lscache
</IfModule>
Apply these changes to all Virtual Hosts by running the following command:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
but remains to cache under /usr/local/lsws/cachedata/priv/
There is any way to change that
I just need to have cache in dedicate extra disk only for this scope
Last edited: