help to config openlitespeed

ivanvb

Verified User
Joined
Jun 24, 2022
Messages
16
Please help i am trying to start with openlitespeed but cant understand the docs,
-
here say i must change the files on /usr/local/lsws/conf and not using webadmin

-
But here say i must create a custom folder ,
  1. The "official" way would be to use the CustomBuild custom directory method:
  2. cd /usr/local/directadmin/custombuild
    mkdir -p custom/ap2
    cp -Rp configure/ap2/conf custom/ap2

below showe me this path on the same page
"/usr/local/directadmin/data/users/admin/domains/bindutesting.xyz.cust_openlitespeed" #CUSTOM

i am really confused my english is not perfect can you help me to understand or maybe link a better guide please.

Thanks you
 
Please don't doublepost, keep it in your original post:
 
i checked but still dont work for me, i copied the whole files from /usr/local/lsws/conf/ to /usr/local/directadmin/data/templates/
and customized the .conf files i need.
1.I am doing well?
2. how i can check if my domain is taking those configurations'
3. the page load but i think is not working well because i cant load 20 clients and it show me
This test was aborted because it reached the error threshold.
how i can log for check what is failing?
thanks you very much for your kind help.
 
I don't use litespeed, but I think you must copy:
/usr/local/directadmin/data/templates/openlitespeed_NEEDED_TEMPLATE
to
/usr/local/directadmin/data/templates/custom/
and modify them.
You can test updated templates at one account, just by adding any subdomain to any domain in this accout (it will run rewrite of all user virtualhost)
if all ok and works as you expected - you can run:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
or maybe
echo "action=rewrite&value=openlitespeed" >> /usr/local/directadmin/data/task.queue
i don't tested litespeed.
or generally:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Back
Top