arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1506474.patch

0943f8
--- a/server/core.c	2013/07/24 09:49:38	1506473
0943f8
+++ b/server/core.c	2013/07/24 09:51:14	1506474
0943f8
@@ -1481,7 +1481,9 @@
0943f8
             conf->ap_document_root = arg;
0943f8
         }
0943f8
         else {
0943f8
-            return "DocumentRoot must be a directory";
0943f8
+            return apr_psprintf(cmd->pool, 
0943f8
+                                "DocumentRoot '%s' is not a directory, or is not readable",
0943f8
+                                arg);
0943f8
         }
0943f8
     }
0943f8
     return NULL;