I am trying to use an .htaccess file to create clan URL for my website. I want to test it on my local version of the site and the upload to the server if I succeed.
The question is, where do I have to put the .htaccess file? (I am using LAMP)
Right now my page's index.php file is in var/www/project/
Should I place the .htaccess file here, and can I have multiple .htaccess files?
If I have another project in folder var/www/project2 and want to set redirect rules for that site too, and some of the rules are different than the ones set on the first project, how can I handle that?