>Number: 1649
>Category: general
>Synopsis: .htaccess is searched UNDER DocumentRoot
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sun Jan 11 06:50:00 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2.5
>Environment:
FreeBSD ask.cs.msu.su 2.2.5-STABLE FreeBSD 2.2.5-STABLE #0: Mon Jan 5 23:04:41
MSK 1998 [EMAIL PROTECTED]:/usr/src/sys/compile/HEDGEHOG i386
Server is running with DocumentRoot = /home/laskavy/www/docs
>Description:
Here is the ktrace(1) output:
413 httpd GIO fd 3 read 7 bytes
"GET /\r"
413 httpd NAMI "/home/laskavy/www/data"
413 httpd NAMI "/.htaccess"
413 httpd NAMI "/home/.htaccess"
413 httpd NAMI "/home/laskavy/.htaccess"
413 httpd NAMI "/home/laskavy/www/.htaccess"
>How-To-Repeat:
run ktrace ./httpd; kdump -l | more under BSD, or truss ./httpd under Solaris
>Fix:
Maybe, this is not a bug, but it seems to me strange that
web server searches for .htaccess files UNDER the DocumentRoo
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]