Check if you can edit in Manual mode?
If you scroll down the manual page, can you see
accessControl{
allow ALL
}
If so, update it to
accessControl {
allow ALL, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 104.16.0.0/12T...
No problem, happy to help.
By the way, we would appreciate if you can left us a the positive feedback on Google https://t.co/YhmP3MFl4f?amp=1
Thank you in advance :)
Here's the example log I saw when I clicking the suspend button from web admin
tail -f /usr/local/lsws/logs/error.log
2020-09-10 01:49:12.117329 [NOTICE] [LocalWorker::workerExec] VHost:_AdminVHost suExec check uid 997 gid 33 setuidmode 2.
2020-09-10 01:49:12.117467 [INFO]...
Hi,
I tried v1.6.15 no issue. Then upgrade to v1.7.4, tried it again, still no issue. No issue here means no need to restart web server.
If you feel it's a bug and reproducible, please submit a ticket to bug@litespeedtech.com
Correct me if I am wrong, I guess the config was generated by aapanel so you can not write anything via OLS config. You might want to contact aapanel see if they have an option for user to whitelist IP on OLS config.
Hi,
a2 commands is for apache only.
Well, you can also update the openlitespeed config directly, or even a shell command to change it. But there's no existing script/module like a2disconf/a2enconf for OLS.
Best,
Eric
1. https://docs.litespeedtech.com/cloud/images/wordpress/#web-server-control-panel-access
2. Sure, if you don't want it at all. rm -rf /var/www/phpmyadmin/, it won't affect wordperss.
To add extra headers, check https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/.
About PHP version, you can find the php.ini file and set expose_php = Off. FYI, lsphp should be off by default.
Hi,
How about
RewriteCond %{HTTP_HOST} ^12\.34\.56\.789$
RewriteRule ^(.*)$ http://www.domainname.com/$1 [L,R=301]
Remember to restart web server
service lsws restart
Best
Hi,
Check doc here https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-secure-phpmyadmin.
You can 1. change URL, 2. strict IP or 3. password required.
Best,
Eric
Please check your wordpress home and site URL are set to www domain.
If you setup wordpress site with www domain, then it should auto redirect IP to the www domain without extra configuration.
Hi,
Yes it's possible, please check doc https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-create-additional-virtual-hosts
The easiest way to me is via command,
/bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/vhsetup.sh ) -d...