• Resolved moeraem

    (@moeraem)


    Hi
    I can’t Optimize Wordfence Firewall, it saying we can’t access .htaccess
    I tried to make it manuel, but didn’t success because we don’t use Cpanel.

    Is there any configuration that i can get and paste it into .htaccess?

    Kind Regards
    Moe

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @moeraem,

    Can you check Wordfence -> Tools -> Diagnostics -> Filesystem, to see if the web server can read/write to the various directories?

    You can edit the .htaccess manually and add the following line:

    auto_prepend_file = '/path/to/wordfence-waf.php'

    Remember to change /path/to/ to the absolute path of your document root. (For example, /var/www/wordfence-waf.php)

    Dave

    Thread Starter moeraem

    (@moeraem)

    Hi Dave

    Yes everything is ok for read/write

    I have tried to add this to .htaccess
    auto_prepend_file = ‘/var/www/vhosts/nytorv11.dk/web/wordfence-waf.php’

    But it gives Internal Server Error

    Is there anything wrong there?

    Kind Regards
    Moe

    Hi again,

    Can you access the PHP error_log by any chance?

    Dave

    Thread Starter moeraem

    (@moeraem)

    Yes, I can access it
    What should i do there?

    • This reply was modified 7 years, 2 months ago by moeraem.
    • This reply was modified 7 years, 2 months ago by moeraem.

    Hi again!

    Can you upload the entire error_log to a site like pastebin.com and link the file here?

    Dave

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Optimize Wordfence Firewall’ is closed to new replies.