Search the web
Sign In
New User? Sign Up
new-httpd
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
403's not getting logged?   Message List  
Reply | Forward Message #44071 of 56488 |
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.

Specifically:
Directory is 755, file is 644, everything happy

Directory is 755, file is 600, 403 entry in access log, and a
"permission denied" error in error log.

Directory is 700, file is 644, 403 entry in access log, no entry made in
error log.

--
Rich Bowen - rbowen@...
... and another brother out of his mind, and another brother out at New
York (not the same, though it might appear so)
Somebody's Luggage (Charles Dickens)



Fri May 9, 2003 5:36 pm

rbowen@...
Send Email Send Email

Forward
Message #44071 of 56488 |
Expand Messages Author Sort by Date

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@...
Send Email
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...
Joshua Slive
joshua@...
Send Email
May 9, 2003
5:42 pm

... hurray for truss! /1: -> directory_walk(0x15a170, 0x0, 0x0, 0x0) /1: -> ap_os_is_path_absolute(0x15a938, 0x0, 0x0,...
Jeff Trawick
trawick@...
Send Email
May 9, 2003
6:05 pm

... 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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
May 9, 2003
8:35 pm

... +1 from me (tested) ... the message is plenty long already...
Jeff Trawick
trawick@...
Send Email
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@...
Send Email
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@...
Send Email
May 9, 2003
7:46 pm

... That's as designed, IIRC, though I cannot recall *why* we did it that way... -- ===========================================================================...
Jim Jagielski
jim@...
Send Email
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...
Rich Bowen
rbowen@...
Send Email
May 9, 2003
6:34 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help