I have a local LAMP stack (without the MySQL. LAP stack? Anyways..) and I am using this as a development environment for a production website. The site is placed in a sub-directory of the Apache2 document root and managed by Git.
My Issue is: I have a .htaccess file tracked in that subdir by Git for URL rewriting on the production server. On my local test site, these rewrite rules break almost everything (because the site is in a subdir, not the doc-root).
Is there any way to override/disable that .htaccess file without modifying anything in the subdir?
My doc root is /var/www/
with the site being hosted at /var/www/foo/
.