Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- HTML::Mason handle nonexistent directories
June 14, 2005, 4:45 pm
rate this thread
I am trying to handle requests to nonexistent directories with a
dhandler in HTML::Mason but I'm not having much luck.
I have set decline_dirs => 0 in my handler.pl per
I have put mod_perl.c before mod_dir.c in the httpd.conf AddModule per
But still nothing. According to this page
http://www.masonbook.com/book/chapter-3.mhtml it should be possible
although it doesn't outline exactly how to accomplish it.
Somone also suggested using PerlTransHandler. Can anyone suggest the
best way to accomplish this? Hopefully something that has proven to be
successful in the past? Thanks!
Re: HTML::Mason handle nonexistent directories
In additional, you'll most likely need to add a line to your srm.conf
otherwise apache will send a text/plain header with any of the
nonexistent directories it serves. Add DefaultType text/html to your