I have added a new directory with a dhandler to get files from a database. The problem is I get 404s unless the file matches the pattern as you can see below. I'd like to have Mason handle all requests to this directory so I up this near the top of my virtual host:
<Directory /mnt/public_html/test.com/fileStorage/ > SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler </Directory> httpd.conf: ----snip---- <FilesMatch "\.pl$"> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny Allow from all </FilesMatch> <FilesMatch "(\.mas|\.html|\.txt|handler|\.m\.pdf)$"> SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler DefaultType text/html </FilesMatch> <FilesMatch "(\.mas|handler)$"> SetHandler perl-script # PerlModule Apache2::Const PerlResponseHandler Apache2::Const::NOT_FOUND(); #"sub {return Apache2::Const::NOT_FOUND}" </FilesMatch> ----snip---- I'm stuck.... ------------------------------------------------------------------------- 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 Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users