What Apache Configuration file did you modify? Are you introducing the changes in the file /opt/bitnami/apps/wordpress/conf/htaccess.conf? Please use this file if you're using a different one.
Does this files exist? Did you create it using htpasswd? Please find the whole documentaion in the link below:
I would also add the line below to explain why you don't allow the access to certain files:
ErrorDocument 403 "For security reasons, this file is not accessible."
Remember to restart Apache to load all the changes by running the command:
sudo /opt/bitnami/ctlscript.sh restart apache
Was my answer helpful? Click on