On Wed, Feb 27, 2002 at 08:51:26AM -0900, hcir wrote: > i have mod_perl working with a number of scripts and Apache. i have a > script using Chart.pm to return a graphic which works when using perl > but when i use it under mod_perl my browser displays the text > representation of the graphic (using $g->cgi_jpeg(\@data);) > > any ideas on what i need to do differently?
I'm not familiar w/ Chart.pm, but my guess would be that the content-type is not getting set to image/jpeg under mod_perl, and is defaulting to text/html. rick
