Re: Permissions with Apache 2.2

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

 



On 12/18/06, Larry <rapp@xxxxxxx> wrote:
On Sun, 17 Dec 2006 22:10:52 -0500, you wrote (with possible editing):

>On 12/17/06, Larry <rapp@xxxxxxx> wrote:
>
>> I know it is looking in the correct directory, because the favicon is
>> displayed along with the 403 message. Anyone see what I am doing
>> wrong?
>
>Not telling us what's in the apache error log to start.

Not sure how much of it you want, but here is a portion of it from
yesterday:

Just the part that occurs at the same time as the request that
receives an error would have sufficed.

[Sun Dec 17 11:53:56 2006] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: C:/Websites/Weather III/
[Sun Dec 17 11:54:10 2006] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: C:/Websites/
[Sun Dec 17 11:54:30 2006] [error] [client 127.0.0.1] Directory index
forbidden by Options directive: C:/Websites/GNWCA/
[Sun Dec 17 11:54:30 2006] [error] [client 127.0.0.1] File does not
exist: C:/Websites/GNWCA/favicon.ico

There is no favicon in GNWCA.  Everything points to the options
directive, but that is copied from the tutorial.

As you say, things are quite clear here.  If you make a request for a
directory, apache first checks the DirectoryIndex directive for files
to search for in that directory (usually index.html).  If it can't
find any of those files, it will attempt to provide a directory
listing.  But if you Options directive for that directory doesn't
include the "Indexes" option, then you will get a 403 error.

More info here:
http://wiki.apache.org/httpd/Recipes/DirectoryListings

Joshua.

---------------------------------------------------------------------
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