httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 41867] <DirectoryMatch> Matches Files
Date Thu, 07 Aug 2008 18:44:49 GMT

imacat <> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |ASSIGNED

--- Comment #7 from imacat <>  2008-08-07 11:44:47 PST ---
    Hi.  This is imacat from Taiwan.

(In reply to comment #5)
> Created an attachment (id=22401)
 --> ( [details]
> Please try this patch and let me know if this does what you expect.

    I suppose this patch works for this issue.  Maybe you could apply this
patch to the 2.2, 2.0 and 1.3 branches.

    However, the result is still not OK.  It now says "couldn't check user",
where I do not know what it means at all.  This seems to be specific to the 2.3
branch, while 2.2 works fine.  I attached the log below.  Should I file a new
bug on this?

imacat@rinse ~ % ls -l /tmp/apache/htdocs
total 8
drwxr-xr-x 2 imacat users 4096 Aug  6 12:42 private
-rw-r--r-- 1 imacat users   40 Aug  6 12:34 privatedetective.txt
imacat@rinse ~ % cat /tmp/apache/htdocs/privatedetective.txt
Sherlock Holmes is a private detective.
imacat@rinse ~ % cat /tmp/apache/httpd.conf
DocumentRoot /tmp/apache/htdocs
PidFile /tmp/apache/
Listen 50080
ErrorLog /tmp/apache/error_log
LoadModule access_compat_module

<DirectoryMatch ^/tmp/apache/htdocs/private>
  Deny from all
imacat@rinse ~ % ls -l /tmp/httpd-2.3-20080807161439/CHANGES
-rw-r--r-- 1 imacat users 18559 Aug  8 00:14
imacat@rinse ~ % /tmp/httpd-2.3-20080807161439/httpd -f /tmp/apache/httpd.conf
imacat@rinse ~ % telnet localhost 50080
Connected to localhost.
Escape character is '^]'.
GET /privatedetective.txt HTTP/1.1
Host: localhost
Connection: close

HTTP/1.1 500 Internal Server Error
Date: Thu, 07 Aug 2008 18:37:18 GMT
Server: Apache/2.3.0-dev (Unix)
Content-Length: 538
Connection: close
Content-Type: text/html; charset=iso-8859-1

<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
Connection closed by foreign host.
imacat@rinse ~ % kill $(</tmp/apache/
imacat@rinse ~ % cat /tmp/apache/error_log
[Fri Aug 08 02:37:14 2008] [notice] Apache/2.3.0-dev (Unix) configured --
resuming normal operations
[Fri Aug 08 02:37:18 2008] [crit] [client] configuration error: 
couldn't check user: /privatedetective.txt
[Fri Aug 08 02:37:24 2008] [notice] caught SIGTERM, shutting down
imacat@rinse ~ %

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message