fixed error documents and htaccess