can't enable firewall
-
hello
before anything i have to say i using “IWFHost” for my wordpress website.
first i try the recommanded configuration by wordfence which is:
“Apache+mod_php” after download .htaccess backup file and click on continue button im back to the first page for configuration with some error on top of it which is said if you using lightspeed you have to wait and …
i checked my .htaccess and see below code generated:
# Wordfence WAF
<IfModule mod_php5.c>
php_value auto_prepend_file ‘/home/toranjtr/public_html/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
im checked of public_html and found this file “wordfence-waf.php” but this “configuring button” display on top of dashboard.anyway i try to use second method and place auto_prepend_file on php.ini because i dont have any php.ini in my public_html and other places i contact my host support and they say i can create php.ini and place it in public_html so i create empty php.ini file by notepad and then add this code : auto_prepend_file = ‘/home/(myuser)/public_html/wordfence-waf.php’
but nothing happen still so i add one more code to my .htaccess to read this php.ini file
“SetEnv PHPRC /home/user/public_html/sitename/php.ini”
but nothing happen either.
so i desperately come here and hoped someone here can help me to fix this problem.
The topic ‘can't enable firewall’ is closed to new replies.