> I'm experiencing a should-not-happen condition in apache 1.3.27, and
> wondered if anyone else could verify for me. In the case of a 403
> error caused by incorrect directory permissions, there is no error
> log entry. If the file is unreadable, the 403 goes in the error log.
> But if the directory has bogus permissions, there's no entry.
> This is on 1.3.27 I've tested this on 2 servers so far, and it seems
> consistent.
Yes, this is a very longstanding and very irritating omission. I don't
think I would be exagerating if I said this was the source of hundreds of
confused queries to the users mailing list and newsgroup.
I browsed through the default handler a while back trying to figure out
where this error was getting dropped, but I ran out of time and never got
back to it. Someone who knows the code better could probably find it
faster.
I'm experiencing a should-not-happen condition in apache 1.3.27, and wondered if anyone else could verify for me. In the case of a 403 error caused by...
Rich Bowen
rbowen@...
May 9, 2003 5:36 pm
... Yes, this is a very longstanding and very irritating omission. I don't think I would be exagerating if I said this was the source of hundreds of confused...
... Good quick sluthing. ... Having one error for each item in the DirectoryIndex (ie, one for index.html, index.htm, and index.php) seems like a small penalty...
Joshua Slive
joshua@...
May 9, 2003 6:23 pm
... Yes. I am also +1 on this, and have numerous 1.3 installations on which I can test it. -- Rich Bowen Apache - mod_perl - Perl - CGI ...
Rich Bowen
rbowen@...
May 9, 2003 6:53 pm
... With LogLevel set at debug, I'm just getting: [Fri May 9 15:33:11 2003] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html failed No...
Rich Bowen
rbowen@...
May 9, 2003 7:33 pm
... What does your DirectoryIndex directive look like? Try something like DirectoryIndex a b c d e ... As long as we are taking all this trouble, we might as...
Joshua Slive
joshua@...
May 9, 2003 7:36 pm
... Ah, yes, I get: [Fri May 9 16:10:43 2003] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html failed [Fri May 9 16:10:43 2003]...
Rich Bowen
rbowen@...
May 9, 2003 8:08 pm
... OK. Here is a tested patch, but I'll wait for a couple explicit +1s before committing. I'm not sure if perhaps the message should say "... because search ...
Joshua Slive
joshua@...
May 9, 2003 8:35 pm
... +1 from me (tested) ... the message is plenty long already...
Jeff Trawick
trawick@...
May 9, 2003 9:22 pm
... +1 ... That would not only help the newbies, it would help the "tech support" people who are faced with the beligerent newbies who insist that the ...
Rich Bowen
rbowen@...
May 11, 2003 12:28 am
... The # of entries would equal the # of values for DirectoryIndex. At least, that's what the original bug handled. -- ...
Jim Jagielski
jim@...
May 9, 2003 7:46 pm
... That's as designed, IIRC, though I cannot recall *why* we did it that way... -- ===========================================================================...
Jim Jagielski
jim@...
May 9, 2003 6:06 pm
... Then I would suggest that it is a bad design, and leads to a lot of user confusion. Unless there's a really good reason for this, it would be nice to have...