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.
/opt/bitnami/apps/magento/conf/httpd-app.conf file is the main application configuration file. It also sources the
htaccess.conf file. The content of the
.htaccess files have been moved to the
/opt/bitnami/apps/magento/conf/htaccess.conf file. So it seems you are including the changes in the proper files.
But, unfortunately, we were unable to reproduce the issue. I just add your block of code to
/opt/bitnami/apps/magento/conf/htaccess.conf and restarted Apache and I didn't obtain any syntax error
sudo /opt/bitnami/ctlscript.sh restart apache
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 81
Can you run the Bitnami Support Tool? Also, can you copy/paste here the syntax error you are obtaining?
Carlos R. Hernández