[prev in list] [next in list] [prev in thread] [next in thread]
List: mason
Subject: [Mason] MasonDeclineDirs / DirectoryIndex not working
From: Brian Reichert <reichert () numachi ! com>
Date: 2007-07-27 15:24:39
Message-ID: 20070727152439.GE42736 () numachi ! com
[Download RAW message or body]
When I spun up my apache/mod_perl installation, before I configured it to
use Mason, DirectoryIndex was working for me.
My httpd.conf contains a global setting:
DirectoryIndex index.html index.html.var
When I then added my Mason configuration:
PerlRequire /var/www/html/handler.pl
SetHandler perl-script
PerlSetVar MasonDeclineDirs 0
DirectoryIndex index.html
PerlModule HTML::Mason::ApacheHandler
....
Now, instead of index.html files getting magically served, I get this error:
[Fri Jul 27 10:52:51 2007] [error] [client 172.20.219.242] Attempt
to serve directory: /var/www/html/foo/
I do have a foo/index.html; a request for that does get processed.
Is this the correct behavior?
Do I need to wrangle a dhandler for this?
Any advice is appreciated...
--
Brian Reichert <reichert@numachi.com>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic