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





--- Comment #16 from imacat <[EMAIL PROTECTED]>  2008-08-14 09:12:16 PST ---
    Hi.  This is imacat from Taiwan.

    I made several tests tonight.  This is the least httpd.conf to work.  As a
result, I think this bug can be closed if the patch#22401 is applied in 2.0,
2.2 and 2.3 branches.

    Please tell me if you need any more information, of if I could be of any
help.  Thank you.

[EMAIL PROTECTED] ~ % 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
[EMAIL PROTECTED] ~ % cat /tmp/apache/htdocs/privatedetective.txt
Sherlock Holmes is a private detective.
[EMAIL PROTECTED] ~ % cat /tmp/apache/httpd.conf
User imacat
Group nogroup
DocumentRoot /tmp/apache/htdocs
PidFile /tmp/apache/httpd.pid
Listen 50080
ErrorLog /tmp/apache/error_log
LogLevel debug
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule access_compat_module modules/mod_access_compat.so

<DirectoryMatch ^/tmp/apache/htdocs/private>
  Deny from all
</DirectoryMatch>
[EMAIL PROTECTED] ~ % /tmp/apache-2.3-20080814101449/bin/httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
[EMAIL PROTECTED] ~ % /tmp/apache-2.3-20080814101449/bin/httpd -f
/tmp/apache/httpd.conf
[EMAIL PROTECTED] ~ % 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 200 OK
Date: Thu, 14 Aug 2008 16:11:26 GMT
Server: Apache/2.3.0-dev (Unix)
Last-Modified: Wed, 06 Aug 2008 04:34:10 GMT
ETag: "238f6a-28-453c3156c7480"
Accept-Ranges: bytes
Content-Length: 40
Connection: close
Content-Type: text/plain

Sherlock Holmes is a private detective.
Connection closed by foreign host.
[EMAIL PROTECTED] ~ % kill $(</tmp/apache/httpd.pid)
[EMAIL PROTECTED] ~ % cat /tmp/apache/error_log
[Fri Aug 15 00:11:22 2008] [notice] Apache/2.3.0-dev (Unix) configured --
resuming normal operations
[Fri Aug 15 00:11:22 2008] [info] Server built: Aug 14 2008 23:47:15
[Fri Aug 15 00:11:22 2008] [debug] prefork.c(960): AcceptMutex: sysvsem
(default: sysvsem)
[EMAIL PROTECTED] ~ %


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to