I am using openSUSE Linux. I failed to create a virtual host so I put my project to the document root at /srv/www/htdocs
.
The .htaccess File is not getting loaded. My website does still load without an internal server error (status code 500) if I add garbage to the .htaccess file.
I added this block in /etc/apache2/httpd.conf
:
<Directory "/srv/www/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
and restarted apache2, but the .htaccess file is still not producing a server error, so it was not loaded.