Hi.
I have installed Litespeed extension trial via Plesk. I have disabled apache and nginx and everything works fine, but configs created by Plesk for vhosts under /var/www/vhosts/system/DOMAIN/conf/httpd.conf , which include apache directives are being completely ignored. Is this a normal behavior?
e.g. despite these rules in the file from above, I can access and open files with blocked extensions (code generated by Plesk's Wordpress extension):
Also, I've added some deny directives direclty to .htaccess (because of the issue above) and now I see in the logs such entries, when file access is being blocked:
So, my questions are:
1. How can I force LS to accept /var/www/vhosts/system/DOMAIN/conf/httpd.conf
2. What is [ACL] Access to context [/] is denied?
Appreciate any help.
Regards, Alex
I have installed Litespeed extension trial via Plesk. I have disabled apache and nginx and everything works fine, but configs created by Plesk for vhosts under /var/www/vhosts/system/DOMAIN/conf/httpd.conf , which include apache directives are being completely ignored. Is this a normal behavior?
e.g. despite these rules in the file from above, I can access and open files with blocked extensions (code generated by Plesk's Wordpress extension):
Apache config:
# "Block author scans"
# To remove this rule, revert this security measure on each WordPress installation on this domain
<LocationMatch "(?i:(?:wp-config\\.bak|\\.wp-config\\.php\\.swp|(?:readme|license|changelog|-config|-sample)\\.(?:php|md|txt|htm|html)))">
Require all denied
</LocationMatch>
# "Block access to potentially sensitive files"
# To remove this rule, revert this security measure on each WordPress installation on this domain
<LocationMatch ".+\\.(?i:psd|log|cmd|exe|bat|csh|ini|sh)$">
Require all denied
</LocationMatch>
Also, I've added some deny directives direclty to .htaccess (because of the issue above) and now I see in the logs such entries, when file access is being blocked:
Apache config:
2021-10-08 15:22:07 Error 46.00.00.00 403 GET /kop.sql HTTP/1.1 https://domain.com/kop.sql Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 999 Apache SSL/TLS access
2021-10-08 15:22:07 Error 000.000.000.000 403 GET /kop.sql HTTP/1.1 https://domain.com/kop.sql Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 999 Apache SSL/TLS access
2021-10-08 15:22:07 Error 000.000.000.000 403 GET /kop.sql HTTP/1.1 https://domain.com/kop.sql Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 821 Apache SSL/TLS access
2021-10-08 15:22:07 Error 000.000.000.000 403 GET /kop.sql HTTP/1.1 https://domain.com/kop.sql Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 821 Apache SSL/TLS access
2021-10-08 15:22:07 Error 000.000.000.000 403 GET /kop.sql HTTP/1.1 https://domain.com/kop.sql Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 999 Apache SSL/TLS access
2021-10-08 15:22:07 Error .044601 [INFO] [6171] [T0] [000.000.000.000:20298#APVH_domain.com:443] [ACL] Access to context [/] is denied! Apache error
2021-10-08 15:22:07 Error .516807 [INFO] [6171] [T0] [000.000.000.000:49318#APVH_domain.com:443] [ACL] Access to context [/] is denied! Apache error
2021-10-08 15:22:07 Error .670838 [INFO] [6171] [T0] [000.000.000.000:18430-1#APVH_domain.com:443>000.000.000.000] [ACL] Access to context [/] is denied! Apache error
2021-10-08 15:22:07 Error .932465 [INFO] [6171] [T0] [000.000.000.000:20298-1#APVH_domain.com:443>000.000.000.000] [ACL] Access to context [/] is denied! Apache error
2021-10-08 15:22:07 Error .296296 [INFO] [6172] [T0] [000.000.000.000:15326#APVH_domain.com:443] [ACL] Access to context [/] is denied!
1. How can I force LS to accept /var/www/vhosts/system/DOMAIN/conf/httpd.conf
2. What is [ACL] Access to context [/] is denied?
Appreciate any help.
Regards, Alex