I'm trying to use Mason do some JSON stuff for me, but the content is served as unparsed text (I can set it in mime.types and get it as application/json, but Mason still hasn't touched it...).
Any ideas where I'm going wrong with my config? my httpd.conf: AddType application/json json <FilesMatch "(\.mas|\.html|handler|\.m\.pdf|\.txt)$"> SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler DefaultType text/html </FilesMatch> <FilesMatch "(\.json)$"> SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler DefaultType application/json </FilesMatch> (Also tried with below:) <Files *.json> SetHandler perl-script PerlResponseHandler HTML::Mason::ApacheHandler DefaultType application/json </Files> file is "/flotr.json" ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users