Litespeed Webserver and Full WAF not working
-
Hi,
I was upgrading my webserver from Apache with PHP-FPM (PHP 7.4) to LiteSpeed Webserver with Apache and FastCGI.
During Activate Full WAF-Mode, NinjaFirewall recommends LiteSpeed as automated setup.
It creates the entry in .htaccess:# BEGIN NinjaFirewall <IfModule Litespeed> php_value auto_prepend_file "/var/www/vhosts/XXX.de/YYY.de/wp-content/nfwlog/ninjafirewall.php" </IfModule> # END NinjaFirewall
It shows following message:
Oops! Full WAF mode is not enabled yet.
Make sure your HTTP server support the php_value auto_prepend_file directive in .htaccess files. Maybe you need to restart your HTTP server to apply the change, or simply to wait a few seconds and reload this page?I waited and reloaded, even restarted the server but NF is still in WordPress WAF mode.
I tried all setup methods. But NF still shows me WP WAF mode.I checked whether my server configuration supports the php_value auto_prepend_file directive in .htaccess files and I think it should, because I checked in the phpinfo-file and there is an entry in line “auto_prepend_file” with the correct path.
I switched back to Apache only and NinjaFirewall is showing me Full WAF mode. Switching again to LS is staying in WP WAF mode.
I could provide you both phpinfo-files from Apache only and LiteSpeed if it could help?
Can you help me finding out the problem? Maybe it’s even a bug in NinjaFirewall, or why is phpinfo showing me that the ninjafirewall.php is auto_prepend_file?Thanks for your help!
The page I need help with: [log in to see the link]
- The topic ‘Litespeed Webserver and Full WAF not working’ is closed to new replies.