AWS WordPress Lightsail Bitnami stack doesn’t update .httpaccess
-
Just passing this along as info. It is a bit different than the other forum posts I’ve seen.
Using WordPress on Lightsail.
I had to update
/opt/bitnami/apache/conf/vhosts/htaccess/wordpress-htaccess.confand add the section below to secure theusers.inifile.Restart the server after the change to pick this up. Also, need to restart the machine after initially setting up the WAF.
# END WordPress
# Wordfence WAF
<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 WAFMore info:
https://docs.bitnami.com/aws/apps/wordpress/administration/use-htaccess/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘AWS WordPress Lightsail Bitnami stack doesn’t update .httpaccess’ is closed to new replies.