google-templateswordpress

Understand default .htaccess file configuration

One of our main goals is to configure Bitnami applications in the most secure way. For this reason, we moved the configuration in the .htaccess files to the main application configuration files and set the AllowOverride option to None by default.

NOTE: The Apache Software Foundation also recommends this configuration. To quote: “For security and performance reasons, do not set AllowOverride to anything other than None in your block. Instead, find (or create) the block that refers to the directory where you’re actually planning to place a .htaccess file.”

The location of the .htaccess file is /opt/bitnami/apache/conf/vhosts/htaccess/wordpress-htaccess.conf.

Last modification October 30, 2019