I am using the same .htaccess file on my local, and live servers, and want to use the same file on my test server (to made code management easier).
Currently though I have to have a different file, because my test server has htaccess password access on it, AuthType Basic.
Is there a way to either have 2 .htaccess files in the same folder (different names of course) - so that I can add the extra file on the test server, or, somehow make the AuthType conditional based on where it is, ie in a certain folder or under a certain http host? This way the same file can be used but it will act differently depending on where you are viewing it from.
Help and advice much appreciated.