httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1506474 - /httpd/httpd/trunk/server/core.c
Date Wed, 24 Jul 2013 09:51:15 GMT
Author: jorton
Date: Wed Jul 24 09:51:14 2013
New Revision: 1506474

URL: http://svn.apache.org/r1506474
Log:
* server/core.c (set_document_root): Improve error message for
  inaccessible docroot.

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1506474&r1=1506473&r2=1506474&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Wed Jul 24 09:51:14 2013
@@ -1481,7 +1481,9 @@ static const char *set_document_root(cmd
             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;



Mime
View raw message