Hi Peter,
thanks for your response.
I added as first line the code in .htaccess file, created the file .user.ini and added the code and changed the path to the wordfence-waf.php file.
I re-run the config but still. I noticed that the code in .htaccess has been removed, I added it again.