Re: DirectoryIndex ignored when using perl-handler

[prev] [thread] [next] [Date index for 2005/04/13]

From: Geoffrey Young
Subject: Re: DirectoryIndex ignored when using perl-handler
Date: 00:33 on 13 Apr 2005

William McKee wrote:
> Hi,
> 
> This message is probably coming at a bad time with the recent release of
> RC5. I'm still in the process of migrating from mp1 to mp2-RC4 at the
> moment. I have a directory which is setup to be served via
> ModPerl::Registry. When I try to open the path with only the directory
> name (e.g., http://localhost/), I receive a 404 error in my browser and
> get errors in my log like the following:
> 
>    Attempt to serve directory: /home/path/to/document/root/
> 
> If I put a filename in the url (e.g., http://localhost/index) or disable
> perl-handler, Apache is correctly serving the index file. Any ideas on
> why Apache would appear to be ignoring my DirectoryIndex setting?

yup :)

> This configuration had been working under mp1.

yes, because mp1 is configured to handle requests of type DIR_MAGIC_TYPE
whereas mp2 is not.  this is a bug or a feature, depending on whether you
think mp1 was correct or not :)

see

  http://www.masonhq.com/?HandlingDirectoriesWithDhandlers

for a good discussion, and a fixup handler that will likely fix your
problem.  you can also search the archives for the Apache::Dir discussion
that (IIRC) yielded that document.

--Geoff

(message missing)

DirectoryIndex ignored when using perl-handler
William McKee 00:06 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 00:33 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 13:54 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 19:14 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 00:21 on 14 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 14:08 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 17:51 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 15:39 on 27 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 20:35 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 04:39 on 21 May 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 05:39 on 21 May 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 16:07 on 22 May 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 14:43 on 23 May 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 15:56 on 24 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52