You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Dan Davis <ju...@davis-tech.net> on 2002/02/09 07:12:08 UTC
mod_dir/9775: last character of each directory and file is stripped
>Number: 9775
>Category: mod_dir
>Synopsis: last character of each directory and file is stripped
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Feb 08 22:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: junkmail2@davis-tech.net
>Release: 2.0.28
>Organization:
apache
>Environment:
Red Hat Linux release 7.1 2.4.2 kernel
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
>Description:
With
DocumentRoot /web01/blb/html
DirectoryIndex index.html
I receive the following when attempting http://192.168.0.3/
Browser: You don't have permission to access /index.html on this server.
Log File:
[Fri Feb 08 21:07:07 2002] [error] [client 192.168.0.254] (2)No such file or directory: file permissions deny server access: /web0/bl/htm/index.htm
If I set DocumentRoot to /web011/blb/html and attempt the same URL, the log file reports:
[Fri Feb 08 21:55:26 2002] [error] [client 192.168.0.254] File does not exist: /web011/blb/html/
Demonstrating that the DocumentRoot is really wrong, but all other characters are correct. Notice that the permissions problem isn't even an issue.
>How-To-Repeat:
If I am still on-line.
http://63.180.48.89/
If not, e-mail me and ask. I'll open up SSH to you so you can review my .conf and error_log.
>Fix:
You give me a breif overview of how the URL is processed and where to look and I will dig through the code and find what I can.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]