Where does the .htaccess file go?


I have found several topics discussing how to handle the .htaccess file during deployment, etc but I just need to add an .htaccess file to a live site and I am not worried about how to handle the file in different envirionments.

Does anybody know where this file should be placed? Root of the site? web directory? Somewhere else? I can’t seem to find this information anywhere in the documentation.

Any help would be greatly appreciated.


In the web directory indeed