In my system Settings/Server Templates I have created a new template with the following extra to apache:
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
allow from all
# Disable htaccess starting at web root (Should be by default set to None)
When I create a virtual server with this template, those options are added automaticaly by virtualmin to the directive and htaccess file is read by apache:
AllowOverride None Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
How can I disable the use .htaccess in apache2?
Thanks in advance.