Set up htaccess to handle errors