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

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

 



I have had a breakthrough, though I do not have a solution yet. In my .conf file, there is a line that reads

DirectoryIndex index.html index.php index.shtml.
Beneath that line, later in the .conf file, I have this:

<VirtualHost *:80>
   DocumentRoot /Library/WebServer/new_FTP-Server/
   <Directory /Library/WebServer/new_FTP-Server/>
     AllowOverride None
     Options Indexes ExecCGI IncludesNoExec
     Order allow,deny
     Allow from all
   </Directory>
</VirtualHost>

So, what I believe is going on here is this. Even though I have a line that reads "Options Indexes" inside the <Directory> tags, which are inside the <VirtualHost> tags, the DirectoryIndex line at the top of the .conf file is overriding the "Options Indexes" later in the file. Could this be? If so, why? If the DirectoryIndex line should not (or does not) override the "Options Indexes" line later in the file, then I guess I am back at the original problem.

Thanks for your help everyone!

-Jonathan
Jonathan S. Abrams wrote:

Joshua Slive wrote:

On 2/7/06, Jonathan S. Abrams <j.abrams@xxxxxxxxxxxxxxxxxxx> wrote:
Joshua Slive wrote:
Other than that, you will need to get into more serious debugging like
running "strace httpd -X" and seeing what syscall is failing.

Does strace exist for Tiger server?  When I type man strace, I get
nothing.  When I typed in the command you suggested, the response I got
was -bash: strace: command not found.


Try "ktrace".  I've never used it, but that is supposed to work.

Well, after reading the man page, I determined that I need to type

ktrace -idg 390

Unfortunately, the output in terminal reads ktrace: ktrace.out: Operation not permitted

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