You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2011/02/14 21:49:57 UTC

svn commit: r1070660 - /httpd/httpd/trunk/server/config.c

Author: covener
Date: Mon Feb 14 20:49:56 2011
New Revision: 1070660

URL: http://svn.apache.org/viewvc?rev=1070660&view=rev
Log:
Log a hint about the directory needing to be executable
when we hit EACCESS searching for htaccess files.

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

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1070660&r1=1070659&r2=1070660&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Mon Feb 14 20:49:56 2011
@@ -2034,8 +2034,9 @@ AP_CORE_DECLARE(int) ap_parse_htaccess(a
                 && !APR_STATUS_IS_ENOTDIR(status)) {
                 ap_log_rerror(APLOG_MARK, APLOG_CRIT, status, r,
                               "%s pcfg_openfile: unable to check htaccess file, "
-                              "ensure it is readable",
-                              filename);
+                              "ensure it is readable and that '%d' " 
+                              "is executable",
+                              filename, d);
                 apr_table_setn(r->notes, "error-notes",
                                "Server unable to read htaccess file, denying "
                                "access to be safe");



Re: svn commit: r1070660 - /httpd/httpd/trunk/server/config.c

Posted by Eric Covener <co...@gmail.com>.
>> +                              "ensure it is readable and that '%d' "
>
> %s

thanks, already making it's way across the net :)

Re: svn commit: r1070660 - /httpd/httpd/trunk/server/config.c

Posted by Jeff Trawick <tr...@gmail.com>.
On Mon, Feb 14, 2011 at 3:49 PM,  <co...@apache.org> wrote:
> Author: covener
> Date: Mon Feb 14 20:49:56 2011
> New Revision: 1070660
>
> URL: http://svn.apache.org/viewvc?rev=1070660&view=rev
> Log:
> Log a hint about the directory needing to be executable
> when we hit EACCESS searching for htaccess files.
>
> Modified:
>    httpd/httpd/trunk/server/config.c
>
> Modified: httpd/httpd/trunk/server/config.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1070660&r1=1070659&r2=1070660&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/server/config.c (original)
> +++ httpd/httpd/trunk/server/config.c Mon Feb 14 20:49:56 2011
> @@ -2034,8 +2034,9 @@ AP_CORE_DECLARE(int) ap_parse_htaccess(a
>                 && !APR_STATUS_IS_ENOTDIR(status)) {
>                 ap_log_rerror(APLOG_MARK, APLOG_CRIT, status, r,
>                               "%s pcfg_openfile: unable to check htaccess file, "
> -                              "ensure it is readable",
> -                              filename);
> +                              "ensure it is readable and that '%d' "

%s

> +                              "is executable",
> +                              filename, d);
>                 apr_table_setn(r->notes, "error-notes",
>                                "Server unable to read htaccess file, denying "
>                                "access to be safe");