Added .htaccess environment rules