www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Johnsson <johns...@interval.com>
Subject mod_userdir/1850: References to /~user loop extending file name until too long.
Date Fri, 20 Feb 1998 18:18:47 GMT

>Number:         1850
>Category:       mod_userdir
>Synopsis:       References to /~user loop extending file name until too long.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Feb 20 10:20:00 PST 1998
>Last-Modified:
>Originator:     johnsson@interval.com
>Organization:
apache
>Release:        1.3b5
>Environment:
This occurs on two systems:
uname -a = SunOS interval 5.4 Generic_101945-10 sun4m sparc
gcc 2.7.2.3

uname -a = SunOS morgan 4.1.2 1 sun4c
gcc 2.5.8
>Description:
Relevant config items:
UserDir public_html web /share/IntervalShare/Projects/*/public_html /share/Inte
rvalShare/Projects/*/web
 
DirectoryIndex index.cgi index.html index.htm

References to /~user eventually fail with name too long. Access log shows

johnsson-pc.interval.com - - [20/Feb/1998:10:07:52 -0800] "GET /~johnsson/ HTTP/1.0" 200 200
"Mozilla/4.04 [en] (Win95; U)" -
johnsson-pc.interval.com - - [20/Feb/1998:10:07:52 -0800] "GET /~johnsson/index.cgi/ HTTP/1.0"
200 210 "Mozilla/4.04 [en] (Win95; U)" -
johnsson-pc.interval.com - - [20/Feb/1998:10:07:52 -0800] "GET /~johnsson/index.cgi/index.cgi/
HTTP/1.0" 200 220 "Mozilla/4.04 [en] (Win95; U)" -
johnsson-pc.interval.com - - [20/Feb/1998:10:07:53 -0800] "GET /~johnsson/index.cgi/index.cgi/index.cgi/
HTTP/1.0" 200 230 "Mozilla/4.04 [en] (Win95; U)" -
johnsson-pc.interval.com - - [20/Feb/1998:10:07:53 -0800] "GET /~johnsson/index.cgi/index.cgi/index.cgi/index.cgi/
HTTP/1.0" 200 240 "Mozilla/4.04 [en] (Win95; U)" -

Note that this occurs whether index.cgi exists or not. If it exists it is not
opened (utime not updated).

This all worked fine with 1.3b3 with the same config files. Changing the
DirectoryIndex directive to a single file has no effect. Changing the
UserDir directive to a single (simple) directory makes the problem go away.
>How-To-Repeat:

>Fix:
See what changed between b3 and b5 in handling multiple UserDir items
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message