Edited rewrite except, to include htaccess files