fixed davhandler usage of httpd

davhandler failed when trying to send an error page