improve error page/httpd logging and file permissions