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 2002/09/23 14:23:27 UTC
DO NOT REPLY [Bug 12920] New: -
server-status needs "r" access to DocumentRoot directory
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12920>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12920
server-status needs "r" access to DocumentRoot directory
Summary: server-status needs "r" access to DocumentRoot directory
Product: Apache httpd-1.3
Version: 1.3.26
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: gallou@cict.fr
Server-status should not depend on any file system, but it does.
Generally, I don't give httpd "r" access to directories, only "x". But
"http://my.server/server-status" returns a 403 error (Forbidden) if httpd can't
read the DocumentRoot directory. Chmod'ing it (chmod o+r) restores the correct
behavior.
My httpd.conf contains the standard:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 130.120.72.15
</Location>
Of course, httpd does not run under the root account, and the DocumentRoot does
not belong to it.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org