• Resolved petersm05

    (@petersm05)


    I have installed Wordfence but I cannot configure WAF It keeps returning to <Click Here to Configure>

    I am selfhosting in Ubuntu 22.04.4 LTS.

    Apache/PHP8.1.

    .htaccess includes:

    # Wordfence WAF
    <IfModule mod_php5.c>
    	php_value auto_prepend_file '/var/www/html/wordpress/wordfence-waf.php'
    </IfModule>
    <IfModule mod_php7.c>
    	php_value auto_prepend_file '/var/www/html/wordpress/wordfence-waf.php'
    </IfModule>
    <IfModule mod_php.c>
    	php_value auto_prepend_file '/var/www/html/wordpress/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

    php.ini includes:

    auto_prepend_file = '/var/www/html/wordpress/wordfence-waf.php'

    Within the wordpress directory exists the file “wordfence-waf.php” with 777 rights.

    What am I missing?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WAF Not Optimizing’ is closed to new replies.