OK, thanks. I could not replicate the issue on my end afterwards, so can't say for sure what was it caused by. If I see the same misbehavior again I will definitely file a bug report.
Access control list can be found in /usr/local/lsws/conf/httpd-accesscontrol.conf, just add all the CloudFlare IPs there, and don't forget to copy the config to /usr/local/directadmin/custombuild/custom/openlitespeed/conf, so that it wouldn't get overwritten. Another setting name is "useIpInProxyHeader 2". It can be added to /usr/local/lsws/conf/httpd-includes.conf which is not overwritten by CustomBuild Please let us know if you still have any questions on it.
Thank you, it works.
But still the question is how to activate the webadmin?
As well as the question of how to deny access to the file to all and allow certain? In .htaccess records "allow,deny" do not work
You may find accessDenyDir{} and accessControl{} examples in /usr/local/lsws/Example/html/httpd_config.conf. WebAdmin can be activated in /usr/local/lsws/conf/httpd-defaults.conf, but I strongly suggest not doing so for the reasons mentioned above
when I change the disableWebAdmin parameter to 0,
WebAdmin does not work when I delete this parameter, it does not work either.
netstat -na |grep 7080 and netstat -na |grep 7080 - no output
found a solution
cp /usr/local/lsws/admin/fcgi-bin/admin_php5 /usr/local/lsws/admin/fcgi-bin/admin_php
ln -s /usr/local/lsws/admin/html.open /usr/local/lsws/admin/html
and include /usr/local/lsws/admin/conf/admin_config.conf
Entered the keys, but does not work
Also tried to make these settings in the user's personal virtualhost, also does not work.
There is no captcha in the logs.
Please make sure you're running OpenLiteSpeed 1.5.2, as 1.4.x did not have this feature at all. If you suspect it's a bug, I'd suggest contacting OpenLiteSpeed on this.