I'm setting up a new Mason site on a shared server; the Mason configuration
stuff is all in the VirtualHost directive for each site. I've used the config
below. The site parses .html files properly for Mason tags, however it
completely ignores dhandlers. So if I try calling
www.mysite.com/nonexistent_file, I'm getting a "404 not found" rather than the
contents of the dhandler (which is in the component root). I can't figure it
out. What am I doing wrong?
Here's the relevant part of the VirtualHost config:
DocumentRoot /home/macs/public_html
PerlSetVar MasonCompRoot /home/macs/public_html
PerlSetVar MasonDataDir /usr/local/modperl/mason-data/macs
PerlHandler HTML::Mason::ApacheHandler
<FilesMatch "\.html$">
SetHandler perl-script
PerlSetVar Filter On
PerlHandler HTML::Mason::ApacheHandler
</FilesMatch>
Thanks,
-- Jackie Hamilton
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users