وردپرس

Cannot enable Extended Protection mode after migrating from Litespeed to Apache


I migrated a website from a Litespeed server to an Apache one, running PHP 8.1.2, and even tho it seems it made the changes on the .htaccess file, it’s still displaying the dialog asking to enable Extended Protection, and if I go to Firewall, it still says basic.

This is what was added to the .htaccess file:

# Wordfence WAF
<IfModule mod_php5.c>
php_value auto_prepend_file '/var/www/url/wordfence-waf.php'
</IfModule>
<IfModule mod_php7.c>
php_value auto_prepend_file '/var/www/url/wordfence-waf.php'
</IfModule>
<IfModule mod_php.c>
php_value auto_prepend_file '/var/www/url/wordfence-waf.php'
</IfModule>
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>

# END Wordfence WAF

I’m going to send the report by email too.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا