Commit d7b3f410 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

Merge r1506474 from trunk:

* server/core.c (set_document_root): Improve error message for
  inaccessible docroot.

Submitted by: jorton
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1747057 13f79535-47bb-0310-9956-ffa450edef68
parent f68d97e9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1559,7 +1559,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;