Commit 0adfe31b authored by Richard Bowen's avatar Richard Bowen
Browse files

Attemps to clarify a rather cryptic error message.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1084698 13f79535-47bb-0310-9956-ffa450edef68
parent 7b0c1bd3
Loading
Loading
Loading
Loading
+3 −2
Changes for modules/mappers/mod_rewrite.c: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -4728,8 +4728,9 @@ static int hook_fixup(request_rec *r)
    if (!(ap_allow_options(r) & (OPT_SYM_LINKS | OPT_SYM_OWNER))) {
        /* FollowSymLinks is mandatory! */
        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
                     "Options FollowSymLinks or SymLinksIfOwnerMatch is off "
                     "which implies that RewriteRule directive is forbidden: "
                     "Options FollowSymLinks or SymLinksIfOwnerMatch is off, "
                     "so the RewriteRule directive is also forbidden "
                     "due to its similar ability to circumvent directory restrictions : "
                     "%s", r->filename);
        return HTTP_FORBIDDEN;
    }