In we trust
.htaccess files are for people that do not have rights to edit the main server configuration file. They are intrinsically slower and more complicated than using the main config. Please see the howto in the httpd documentation for further details.
Disclaimer: While dropping the snippet into an
.htaccess file is most of the time sufficient, there are cases when certain modifications might be required. Use at your own risk.