in reply to mod-perl (mason) breaks DirectoryIndex apache2

Add these lines to the default sites-enabled virtual host configuration:

Funny that :) Not everyone has one of those to look at :)

Anywho, of interest might be these
https://httpd.apache.org/docs/2.2/mod/mod_dir.html#DirectoryIndex
https://httpd.apache.org/docs/2.2/mod/mod_dir.html#DirectorySlash
https://httpd.apache.org/docs/2.2/mod/mod_mime.html#multiviewsmatch
http://www.masonhq.com/htmlmason/wiki/HandlingDirectoriesWithDhandlers
Apache::Dir

  • Comment on Re: mod-perl (mason) breaks DirectoryIndex apache2

Replies are listed 'Best First'.
Re^2: mod-perl (mason) breaks DirectoryIndex apache2
by 3duke (Initiate) on Sep 25, 2013 at 13:16 UTC

    dhandlers were the important factor here, once I read through the dhandler section of the mason book again and on the fourth link there, I was able to get back on track. Thank you.

      ...Thank you.

      :) So what was the issue and the solution?

      The subdir didn't exist so dhandler wasn't called, so you added a location for subdir in your apache config, so dhandler would get called?