Fix to htaccess across environments