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