You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/11/14 18:43:31 UTC

DO NOT REPLY [Bug 46214] New: mod_authz_host (trunk) writes noisy and strange error logs

https://issues.apache.org/bugzilla/show_bug.cgi?id=46214

           Summary: mod_authz_host (trunk) writes noisy and strange error
                    logs
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ErrorMessage
          Severity: normal
          Priority: P1
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: takashi@lans-tv.com


mod_authz_host outputs error logs for each Require directives.
For example, if httpd.conf is:

<Location /server-info>
        SetHandler server-info
        Require ip 10.0.0.0/8
        Require ip 172.16.0.0/15
        Require ip 192.168.0.0/16
</Location>

when I access server-info from 127.0.0.1 error log says:

[Sat Nov 15 02:32:56 2008] [error] [client 127.0.0.1] access to /server-info
failed, reason: ip address list does not meet 'require'ments for user '(null)'
to be allowed access
[Sat Nov 15 02:32:56 2008] [error] [client 127.0.0.1] access to /server-info
failed, reason: ip address list does not meet 'require'ments for user '(null)'
to be allowed access
[Sat Nov 15 02:32:56 2008] [error] [client 127.0.0.1] access to /server-info
failed, reason: ip address list does not meet 'require'ments for user '(null)'
to be allowed access
[Sat Nov 15 02:32:56 2008] [error] [client 127.0.0.1] client denied by server
configuration: /home/aptest/apache2-trunk/htdocs/server-info


Noisy...


Further more, even if finally access is granted, error log reads "access to
/server-info failed".
Under that configuration when I access server-info from 192.168.0.1:

[Sat Nov 15 02:33:04 2008] [error] [client 192.168.0.1] access to /server-info
failed, reason: ip address list does not meet 'require'ments for user '(null)'
to be allowed access
[Sat Nov 15 02:33:04 2008] [error] [client 192.168.0.1] access to /server-info
failed, reason: ip address list does not meet 'require'ments for user '(null)'
to be allowed access


Strange!!!


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46214] mod_authz_host (trunk) writes noisy and strange error logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46214

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Eric Covener <co...@gmail.com> 2011-08-07 14:07:59 UTC ---
Thanks Takashi -- i actually removed these messages entirely in r1154706 since
they don't add anything to the smarter messages in mod_authz_core which is
calling into mod_authz_host repeatedly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46214] mod_authz_host (trunk) writes noisy and strange error logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46214

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2010-07-17 05:19:59 EDT ---
The loglevel for these messages has been changed from error to debug in
r964156. But we should improve the wording, too.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org