Rick Bolen (HM) wrote: > The file contains just the html contents of the search results. > > Where would the content type be set? > > What component would be responsible for setting it? > > Thanks, > > Rick
Mason components don't generally have a .pl extension (in my experience anyway, not that there's any reason why they couldn't), so first of all, make sure that the search area itself is using Mason, and doesn't use something else like Mod_perl::Registry(?) or straigh CGI to run. You can set content type in a component, by calling: $r->content_type('text/html'); Or you can tell Apache to add it with the directive: DefaultType text/html -Oli
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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