Refactor .htaccess file for 2 envs