In the web root of example2 place . Htaccess with (I assume they are not physically in the same folder on the same server).