Hi @likipadhy,
If you allow .htaccess files and place this into a folder with a configuration, you produce the same result that including this configuration inside htaccess.conf between Directory
tags. For example, if you put a .htaccess file with the content below inside /opt/bitnami/apps/wordpress/htdocs
:
<IfVersion >= 2.3>
Require all granted
</IfVersion>
is the same that including the content below inside htaccess.conf:
<Directory /opt/bitnami/apps/wordpress/htdocs/>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>
The only difference is that using htaccess.conf, you need to restart Apache every time to apply the changes.
We recommend avoid .htaccess files. However, you can allow .htaccess use if it is easier for you. In order to enable .htaccess you should change Allow Override None
to Allow Override All
into /opt/bitnami/apps/wordpress/conf/httpd-app.conf
and restart Apache.
I hope it helps.