httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41867] <DirectoryMatch> Matches Files
Date Sat, 09 Aug 2008 01:44:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=41867


imacat <imacat@mail.imacat.idv.tw> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #9 from imacat <imacat@mail.imacat.idv.tw>  2008-08-08 18:44:49 PST ---
    Hi.  This is imacat from Taiwan.

(In reply to comment #8)
> That is odd, I couldn't reproduce it, could you please post your httpd.conf in
> full (and logs with debug on)?

    I attached the terminal log below, including the httpd.conf, with "LogLevel
debug".  Maybe I forgot to load some module or set some configuration?  Please
tell me if you need any more information, or if I could be of any help.  Thank
you.

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/httpd.pid
Listen 50080
ErrorLog /tmp/apache/error_log
LogLevel debug
LoadModule access_compat_module
/tmp/httpd-2.3-20080807161439/modules/aaa/.libs/mod_access_compat.so

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

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

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<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>
</body></html>
Connection closed by foreign host.
imacat@rinse ~ % kill $(</tmp/apache/httpd.pid)
imacat@rinse ~ % cat /tmp/apache/error_log
[Sat Aug 09 02:39:54 2008] [notice] Apache/2.3.0-dev (Unix) configured --
resuming normal operations
[Sat Aug 09 02:39:54 2008] [info] Server built: Aug  8 2008 02:14:45
[Sat Aug 09 02:39:54 2008] [debug] prefork.c(960): AcceptMutex: sysvsem
(default: sysvsem)
[Sat Aug 09 02:39:59 2008] [crit] [client 127.0.0.1] configuration error: 
couldn't check user: /privatedetective.txt
[Sat Aug 09 02:40:02 2008] [info] removed PID file /tmp/apache/httpd.pid
(pid=21062)
[Sat Aug 09 02:40:02 2008] [notice] caught SIGTERM, shutting down
imacat@rinse ~ %


-- 
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


Mime
View raw message