You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "V.Zavadsky" <za...@im.bas-net.by> on 1998/09/27 12:57:32 UTC

general/3085: Access FORBIDDEN where requesting a directory without index.html or /server-info

>Number:         3085
>Category:       general
>Synopsis:       Access FORBIDDEN where requesting a directory without index.html or /server-info
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Sep 27 04:00:01 PDT 1998
>Last-Modified:
>Originator:     zavadsky@im.bas-net.by
>Organization:
apache
>Release:        1.3.2
>Environment:
Linux - Slakware 3.5 kernel 2.0.35 
egcs 1.0.3
Libc 5 release # 44
>Description:
This is mostly a problem of Linux rather than Apache.
When Apache is compiled with module PHP with certain configurations of PHP I recieved
access forbidden for directories without index.html or special locations like /server-info,
server-status etc.
I started to search for the bug (I added a lot of debugging loggin to http_request.c, the error log
in different situations, log is rather self explanory and is enclosed  ). So: stat returns different values when 
called in different situation. I believe that this is a libc error and will try to find it.
But, in my opinion, it is wrong that Apache even call stat for /usr/local/apache/share/htdocs/server-info
when tried to serve this "document".
Moreover, when I created such a diriectory, instead of returning /server-info the server returned to me directory listing.
This is a really wrong behavior.
The log:
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/
[Sun Sep 27 10:59:57 1998] [debug] mod_charset.c(1645): Entering mod-charset handler, URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 10:59:57 1998] [debug] mod_charset.c(1876): set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 10:59:57 1998] [debug] mod_charset.c(2000): exiting set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/index.html
[Sun Sep 27 10:59:57 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 10:59:57 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(744): [client 127.0.0.1] calling stuff /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1
[Sun Sep 27 10:59:57 1998] [error] [client 127.0.0.1] access to /mathlib/index.html failed by http request
[Sun Sep 27 10:59:57 1998] [debug] http_request.c(912): [client 127.0.0.1] inside ap_die
[Sun Sep 27 11:07:24 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 11:07:25 1998] [crit] make_sock: could not bind to port 80
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(1085): [client 127.0.0.1] enter inside process internal with null filename
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(1111): [client 127.0.0.1]  inside process internal with null filename
[Sun Sep 27 11:07:27 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 11:07:27 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(1124): [client 127.0.0.1]   process internal  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(1158): [client 127.0.0.1] inside  process internal  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/
[Sun Sep 27 11:07:27 1998] [debug] mod_charset.c(1645): Entering mod-charset handler, URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:27 1998] [debug] mod_charset.c(1876): set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:27 1998] [debug] mod_charset.c(2000): exiting set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/index.html
[Sun Sep 27 11:07:27 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 11:07:27 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(744): [client 127.0.0.1] calling stuff /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:27 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:28 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1
[Sun Sep 27 11:07:28 1998] [error] [client 127.0.0.1] access to /mathlib/index.html failed by http request
[Sun Sep 27 11:07:28 1998] [debug] http_request.c(912): [client 127.0.0.1] inside ap_die
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(1085): [client 127.0.0.1] enter inside process internal with null filename
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(1111): [client 127.0.0.1]  inside process internal with null filename
[Sun Sep 27 11:07:30 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 11:07:30 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(1124): [client 127.0.0.1]   process internal  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(1158): [client 127.0.0.1] inside  process internal  with not null filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/
[Sun Sep 27 11:07:30 1998] [debug] mod_charset.c(1645): Entering mod-charset handler, URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:30 1998] [debug] mod_charset.c(1876): set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:30 1998] [debug] mod_charset.c(2000): exiting set_charset (after subrequest tests): URI: /mathlib/ FILENAME: /usr/local/apache/share/htdocs/mathlib ARGS: (null) PATH_INFO: / MIMETYPE: httpd/unix-directory FLAGS: SUBREQ: NO
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /mathlib/index.html
[Sun Sep 27 11:07:30 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 11:07:30 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(744): [client 127.0.0.1] calling stuff /usr/local/apache/share/htdocs/mathlib/
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/mathlib/index.html
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1
[Sun Sep 27 11:07:30 1998] [error] [client 127.0.0.1] access to /mathlib/index.html failed by http request
[Sun Sep 27 11:07:30 1998] [debug] http_request.c(912): [client 127.0.0.1] inside ap_die
[Sun Sep 27 11:08:05 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=17278)
[Sun Sep 27 11:08:05 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 11:46:11 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 11:46:12 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 11:46:13 1998] [info] created shared memory segment #0
[Sun Sep 27 11:46:13 1998] [notice] Apache/1.3.2 (Unix) PHP/3.0.4 configured -- resuming normal operations
[Sun Sep 27 11:46:13 1998] [info] Server built: Sep 27 1998 11:06:55
[Sun Sep 27 11:47:43 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=104)
[Sun Sep 27 11:47:43 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 13:03:30 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:03:31 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:03:32 1998] [info] created shared memory segment #0
[Sun Sep 27 13:03:32 1998] [notice] Apache/1.3.2 (Unix) PHP/3.0.4 configured -- resuming normal operations
[Sun Sep 27 13:03:32 1998] [info] Server built: Sep 27 1998 11:06:55
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(1085): [client 127.0.0.1] enter inside process internal with null filename
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(1111): [client 127.0.0.1]  inside process internal with null filename
[Sun Sep 27 13:04:53 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 13:04:53 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(1124): [client 127.0.0.1]   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(1158): [client 127.0.0.1] inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(322): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1
[Sun Sep 27 13:04:53 1998] [error] [client 127.0.0.1] access to /server-info/ failed by http request
[Sun Sep 27 13:04:53 1998] [debug] http_request.c(912): [client 127.0.0.1] inside ap_die
[Sun Sep 27 13:08:08 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=100)
[Sun Sep 27 13:08:08 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 13:10:58 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:10:59 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:11:00 1998] [info] created shared memory segment #128
[Sun Sep 27 13:11:00 1998] [notice] Apache/1.3.2 (Unix) configured -- resuming normal operations
[Sun Sep 27 13:11:00 1998] [info] Server built: Sep 27 1998 13:08:28
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(1085): [client 127.0.0.1] (2)No such file or directory: enter inside process internal with null filename
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(557): [client 127.0.0.1] (2)No such file or directory: enter location walk  /server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(1111): [client 127.0.0.1] (2)No such file or directory:  inside process internal with null filename
[Sun Sep 27 13:11:04 1998] [debug] http_core.c(2660): [client 127.0.0.1] (2)No such file or directory: enter core translate internal with null filename
[Sun Sep 27 13:11:04 1998] [debug] http_core.c(2691): [client 127.0.0.1] (2)No such file or directory:  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(1124): [client 127.0.0.1] (2)No such file or directory:   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(1158): [client 127.0.0.1] (2)No such file or directory: inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(322): [client 127.0.0.1] (2)No such file or directory: enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(190): [client 127.0.0.1] (2)No such file or directory: called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(219): [client 127.0.0.1] (2)No such file or directory: get_path_info: stat returns -1
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(247): [client 127.0.0.1] (2)No such file or directory: get_path_info: ENOENT or ENOTDIR
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 13:11:04 1998] [debug] http_request.c(557): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:17:58 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=1651)
[Sun Sep 27 13:17:58 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 13:18:07 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:18:08 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:18:09 1998] [info] created shared memory segment #256
[Sun Sep 27 13:18:09 1998] [notice] Apache/1.3.2 (Unix) configured -- resuming normal operations
[Sun Sep 27 13:18:09 1998] [info] Server built: Sep 27 1998 13:17:50
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(1089): [client 127.0.0.1] (2)No such file or directory: enter inside process internal with null filename
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(561): [client 127.0.0.1] (2)No such file or directory: enter location walk  /server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(1115): [client 127.0.0.1] (2)No such file or directory:  inside process internal with null filename
[Sun Sep 27 13:18:13 1998] [debug] http_core.c(2660): [client 127.0.0.1] (2)No such file or directory: enter core translate internal with null filename
[Sun Sep 27 13:18:13 1998] [debug] http_core.c(2691): [client 127.0.0.1] (2)No such file or directory:  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(1128): [client 127.0.0.1] (2)No such file or directory:   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(1162): [client 127.0.0.1] (2)No such file or directory: inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(326): [client 127.0.0.1] (2)No such file or directory: enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(190): [client 127.0.0.1] (2)No such file or directory: called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(219): [client 127.0.0.1] (2)No such file or directory: get_path_info: stat returns -1, errno 2
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(247): [client 127.0.0.1] (2)No such file or directory: get_path_info: ENOENT or ENOTDIR defined
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(251): [client 127.0.0.1] (2)No such file or directory: get_path_info: ENOENT or ENOTDIR
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0, errno 0
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 13:18:13 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:20:46 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=2088)
[Sun Sep 27 13:20:46 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 13:20:56 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:20:57 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:20:58 1998] [info] created shared memory segment #384
[Sun Sep 27 13:20:58 1998] [notice] Apache/1.3.2 (Unix) PHP/3.0.4 configured -- resuming normal operations
[Sun Sep 27 13:20:58 1998] [info] Server built: Sep 27 1998 13:20:33
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(1089): [client 127.0.0.1] enter inside process internal with null filename
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(1115): [client 127.0.0.1]  inside process internal with null filename
[Sun Sep 27 13:21:02 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 13:21:02 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(1128): [client 127.0.0.1]   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(1162): [client 127.0.0.1] inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(326): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1, errno 0
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(247): [client 127.0.0.1] get_path_info: ENOENT or ENOTDIR defined
[Sun Sep 27 13:21:02 1998] [error] [client 127.0.0.1] access to /server-info/ failed by http request
[Sun Sep 27 13:21:02 1998] [debug] http_request.c(916): [client 127.0.0.1] inside ap_die
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(1089): [client 127.0.0.1] enter inside process internal with null filename
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(1115): [client 127.0.0.1]  inside process internal with null filename
[Sun Sep 27 13:22:24 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 13:22:24 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(1128): [client 127.0.0.1]   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(1162): [client 127.0.0.1] inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(326): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0, errno 0
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/index.html
[Sun Sep 27 13:22:24 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 13:22:24 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(748): [client 127.0.0.1] calling stuff /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(326): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns -1, errno 0
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(247): [client 127.0.0.1] get_path_info: ENOENT or ENOTDIR defined
[Sun Sep 27 13:22:24 1998] [error] [client 127.0.0.1] access to /server-info/index.html failed by http request
[Sun Sep 27 13:22:24 1998] [debug] http_request.c(916): [client 127.0.0.1] inside ap_die
[Sun Sep 27 13:23:31 1998] [info] httpd: removed PID file /usr/local/apache/var/run/httpd.pid (pid=3633)
[Sun Sep 27 13:23:31 1998] [notice] httpd: caught SIGTERM, shutting down
[Sun Sep 27 13:25:15 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:25:16 1998] [info] mod_unique_id: using ip addr 192.168.210.1
[Sun Sep 27 13:25:17 1998] [info] created shared memory segment #512
[Sun Sep 27 13:25:17 1998] [notice] Apache/1.3.2 (Unix) configured -- resuming normal operations
[Sun Sep 27 13:25:17 1998] [info] Server built: Sep 27 1998 13:24:49
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(1089): [client 127.0.0.1] (2)No such file or directory: enter inside process internal with null filename
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(561): [client 127.0.0.1] (2)No such file or directory: enter location walk  /server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(1115): [client 127.0.0.1] (2)No such file or directory:  inside process internal with null filename
[Sun Sep 27 13:25:22 1998] [debug] http_core.c(2660): [client 127.0.0.1] (2)No such file or directory: enter core translate internal with null filename
[Sun Sep 27 13:25:22 1998] [debug] http_core.c(2691): [client 127.0.0.1] (2)No such file or directory:  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(1128): [client 127.0.0.1] (2)No such file or directory:   process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(1162): [client 127.0.0.1] (2)No such file or directory: inside  process internal  with not null filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(326): [client 127.0.0.1] (2)No such file or directory: enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(190): [client 127.0.0.1] (2)No such file or directory: called get_path_info /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(219): [client 127.0.0.1] get_path_info: stat returns 0, errno 0
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(240): [client 127.0.0.1] get_path_info: path found, returning OK
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(561): [client 127.0.0.1] enter location walk  /server-info/index.html
[Sun Sep 27 13:25:22 1998] [debug] http_core.c(2660): [client 127.0.0.1] enter core translate internal with null filename
[Sun Sep 27 13:25:22 1998] [debug] http_core.c(2691): [client 127.0.0.1]  exit core translate  with not null filename /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(748): [client 127.0.0.1] calling stuff /usr/local/apache/share/htdocs/server-info/
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(326): [client 127.0.0.1] enter walk a directory with filename /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(190): [client 127.0.0.1] called get_path_info /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/server-info/index.html
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(219): [client 127.0.0.1] (2)No such file or directory: get_path_info: stat returns -1, errno 2
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(247): [client 127.0.0.1] (2)No such file or directory: get_path_info: ENOENT or ENOTDIR defined
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(251): [client 127.0.0.1] (2)No such file or directory: get_path_info: ENOENT or ENOTDIR
[Sun Sep 27 13:25:22 1998] [debug] http_request.c(216): [client 127.0.0.1] get_path_info: calling stat with /usr/local/apache/share/htdocs/s

>How-To-Repeat:
create a directory server-info in htdocs
Try to request /server-info
>Fix:
Avoid to call stat when use special handlers  like /server-info, server-status etc

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]