Detail of .htaccess and handle error