You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2011/03/23 20:49:03 UTC
svn commit: r1084698 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Author: rbowen
Date: Wed Mar 23 19:49:02 2011
New Revision: 1084698
URL: http://svn.apache.org/viewvc?rev=1084698&view=rev
Log:
Attemps to clarify a rather cryptic error message.
Modified:
httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1084698&r1=1084697&r2=1084698&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Wed Mar 23 19:49:02 2011
@@ -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;
}