Re: [users@httpd] DirectoryIndex in *.conf WAS 403 Forbidden Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua Slive wrote:

DirectoryIndex and Options Indexes do not override each other.  They
are complementary.
That's what I initially thought.

I strongly suspect that you have a simple config or unix permissions
problem.

It must be config, because the unix permissions are correct.

 But there is not much that can be done at this point unless
you can use basic debugging tools.

You mean ktrace? Perhaps this is enough data from ktrace to determine what isn't going on?

  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.shtml"
  528 httpd    RET   lstat -1 errno 2 No such file or directory
  528 httpd    CALL  stat(0x18f44f8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.html"
  528 httpd    RET   stat -1 errno 2 No such file or directory
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.html"
  528 httpd    RET   lstat -1 errno 2 No such file or directory
  528 httpd    CALL  stat(0x18f44e0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.php"
  528 httpd    RET   stat -1 errno 2 No such file or directory
  528 httpd    CALL  lstat(0x18f45a8,0xbffff4a8)
  528 httpd    NAMI  "/Library"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45a8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45a8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45a8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45a8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.php"
  528 httpd    RET   lstat -1 errno 2 No such file or directory
  528 httpd    CALL  stat(0x18f44f8,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.shtml"
  528 httpd    RET   stat -1 errno 2 No such file or directory
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test"
  528 httpd    RET   lstat 0
  528 httpd    CALL  lstat(0x18f45c0,0xbffff4a8)
  528 httpd    NAMI  "/Library/WebServer/new_FTP-Server/test/index.shtml"
  528 httpd    RET   lstat -1 errno 2 No such file or directory
  528 httpd    CALL  sigprocmask(0x1,0,0x1179e64)
  528 httpd    RET   sigprocmask 0
  528 httpd    CALL  write(0x8,0xbfff9648,0x85)
  528 httpd    GIO   fd 8 wrote 133 bytes
"[Tue Feb 07 16:00:14 2006] [error] [client 198.65.202.94] Directory in\
       dex forbidden by rule: /Library/WebServer/new_FTP-Server/test/
      "
  528 httpd    RET   write 133/0x85
  528 httpd    CALL  read(0xd,0x18db228,0x1f40)
  528 httpd    RET   read -1 errno 35 Resource temporarily unavailable
  528 httpd    CALL  writev(0xd,0xbfffd790,0x2)
  528 httpd    GIO   fd 13 wrote 594 bytes
      "HTTP/1.1 403 Forbidden\r
       Date: Tue, 07 Feb 2006 21:00:14 GMT\r
Server: Apache/2.0.55 (Unix) PHP/4.4.2 mod_ssl/2.0.55 OpenSSL/0.9.7i\r
       Content-Length: 338\r
       Keep-Alive: timeout=15, max=100\r
       Connection: Keep-Alive\r
       Content-Type: text/html; charset=iso-8859-1\r
       \r
       <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
       <html><head>
       <title>403 Forbidden</title>
       </head><body>
       <h1>Forbidden</h1>
       <p>You don't have permission to access /test/
       on this server.</p>
       <hr>
<address>Apache/2.0.55 (Unix) PHP/4.4.2 mod_ssl/2.0.55 OpenSSL/0.9.7i \
       Server at clients.nutmegaudiopost.com Port 80</address>
       </body></html>
      "
  528 httpd    RET   writev 594/0x252
  528 httpd    CALL  write(0xc,0x18e5018,0xaa)
  528 httpd    GIO   fd 12 wrote 170 bytes
      "a.b.c.d - - [07/Feb/2006:16:00:14 -0500] "GET /test/ HTTP/1.1" 4\
03 338 "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8)\
        Gecko/20051229 Camino/1.0b2"
      "
  528 httpd    RET   write 170/0xaa
  528 httpd    CALL  getrusage(0,0xbffff890)
  528 httpd    RET   getrusage 0
  528 httpd    CALL  getrusage(0xffffffff,0xbffff890)
  528 httpd    RET   getrusage 0
528 httpd CALL select(0xe,0xbffff430,0xbffff4b0,0xbffff530,0xbffff428)
  390 httpd    RET   select 0
  390 httpd    CALL  wait4(0xffffffff,0xbffffa78,0x3,0)
  390 httpd    RET   wait4 0
  390 httpd    CALL  select(0,0,0,0,0xbffffa78)
  390 httpd    RET   select 0
  390 httpd    CALL  wait4(0xffffffff,0xbffffa78,0x3,0)
  390 httpd    RET   wait4 0
  390 httpd    CALL  select(0,0,0,0,0xbffffa78)
  390 httpd    RET   select 0
  390 httpd    CALL  wait4(0xffffffff,0xbffffa78,0x3,0)
  390 httpd    RET   wait4 0
  390 httpd    CALL  select(0,0,0,0,0xbffffa78)
  390 httpd    RET   select 0
  390 httpd    CALL  wait4(0xffffffff,0xbffffa78,0x3,0)
  390 httpd    RET   wait4 0
  390 httpd    CALL  select(0,0,0,0,0xbffffa78)
  390 httpd    RET   select 0
  390 httpd    CALL  wait4(0xffffffff,0xbffffa78,0x3,0)
  390 httpd    RET   wait4 0
  390 httpd    CALL  select(0,0,0,0,0xbffffa78)

 (One additional thing that might
be useful to see is an "ls -la" from inside the problem directory.)
-rwxrwxrwx 1 admin admin 16 Feb 7 13:05 index.txt
-rwxrwxrwx 1 admin admin 14 Jan 19 12:32 stats.php

Thanks for your patience!

-Jonathan

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux