Can not active Full WAF mode in OpenLiteSpeed (Cyberpanel)
-
Hi,
I am using Ninjafirewall on my WP site. But I can’t active Full WAF mode
Oops! Full WAF mode is not enabled yet.
Make sure you followed the instructions and restarted Openlitespeed.Log in to your Openlitespeed admin dashboard, click on “Virtual Host”, select your domain, add the following instructions to the “php.ini Override” section in the “General” tab, and restart Openlitespeed:
php_value auto_prepend_file "/home/www.optimizewp.net/public_html/wp-content/nfwlog/ninjafirewall.php"
I asked on Cyberpanel forum and the MOD told me put this code into the vHost file:
phpIniOverride { php_value auto_prepend_file "/home/www.optimizewp.net/public_html/wp-content/nfwlog/ninjafirewall.php" }
But it does not work.
I also search here and put into the .htaccess file the code below
# BEGIN NinjaFirewall <IfModule Litespeed> php_value auto_prepend_file "/home/www.optimizewp.net/public_html/wp-content/nfwlog/ninjafirewall.php" </IfModule> # END NinjaFirewall
But still can’t active the Full WAF mode.
Of course, after make change I restart PHP and reboot VPS also but it didn’t work.
Could you please help?
Thanks
- The topic ‘Can not active Full WAF mode in OpenLiteSpeed (Cyberpanel)’ is closed to new replies.