It's possible to add headers with other methods, but using .htaccess files is certainly a good method.
You can have one .htaccess file per directory, which is logical, since two files with the same name aren't allowed. They contain instructions/settings for Apache, just like httpd.conf, but on a...