From: Joe Orton Date: Wed, 24 Jul 2013 09:51:14 +0000 (+0000) Subject: * server/core.c (set_document_root): Improve error message for X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a918086eeb460105c73a536e366c2aaee1113f;p=thirdparty%2Fapache%2Fhttpd.git * server/core.c (set_document_root): Improve error message for inaccessible docroot. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1506474 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 1a07fd9709d..cf0e6c13eb9 100644 --- a/server/core.c +++ b/server/core.c @@ -1481,7 +1481,9 @@ static const char *set_document_root(cmd_parms *cmd, void *dummy, conf->ap_document_root = arg; } else { - return "DocumentRoot must be a directory"; + return apr_psprintf(cmd->pool, + "DocumentRoot '%s' is not a directory, or is not readable", + arg); } } return NULL;