Probably not support in .htaccess file since OpenLiteSpeed support rewrite rules only, but you can set in the context.
https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
Hi,
What's the output of "sudo /usr/local/lsws/admin/misc/lsup.sh -v 1.7.3", this method should works.
Since you can't figure it out for a while, better raise a ticket with us support@litespeedtech.com
Hi,
Try service lsws restart to reload certificate with OpenLiteSpeed Web Server.
Certbot will auto add a renew in cronjob for you, but you still need to add a hook to restart web server. Check doc here...
Hi,
Please try changing the option with custombuild method. e.g.
https://help.poralix.com/articles/how-to-enable-modsecurity-for-openlitespeed-on-directadmin-server
Let us know if it works.
Best
HI,
Go to Web admin > Server Configuration > External App > lsphp.
Increase both Max Connections and PHP_LSAPI_CHILDREN from 10 to 20 should solve the issue.
Hi,
It usually happens when you set up the wrong Certificate path(invalid path) on HTTPS listener. Please share some setup screenshot so we can help more.
Best,
Eric
Hi,
Try using lsup method to upgrade to 1.7
https://openlitespeed.org/kb/how-to-upgrade-openlitespeed/#Method_2_lsupsh_Script
For example,
/usr/local/lsws/admin/misc/lsup.sh -v 1.7.3
Hi,
From server side, please follow the knowledge base to enable mod_security
https://openlitespeed.org/kb/openlitespeed-modsecurity-module/
Another thing to protect your site is reCAPTCHA,
https://openlitespeed.org/kb/recaptcha-with-openlitespeed/
Best
Hi @ubob ,
LiteSpeed is really lightweight, you can check litespeed process memory percentage.
ps aux | head -1; ps aux | grep litespeed | grep -v grep
It's quite normal to exceed 0.6GB for a woocommerce site. In general, DB and PHP spend the most.
Best,
Eric
Hi @jgorny ,
Try link the LSPHP73 binary to /usr/bin/php if it's not exist.
ln -s /usr/local/lsws/lsphp73/bin/php /usr/bin/php
Then run the php composer see if it works.
Best,
Eric