Where to place .htaccess file?

I have two sites, X and Y. The absolute paths (and apache document roots) are: /srv/www/X and /srv/www/Y

I have a rather full .htaccess file with a ton of setenvifcase's. Can I just put the .htaccess file in /srv (or /srv/www) and cover both sites, or must I put a copy of this .htaccess file in each of my document roots to protect each individual site? TIA.

 

 

 

 

Top