On 21.01.07 14:35, Israel Brewster wrote:
> I have a perl script running in apache 1.3 which generates a .png  
> image. If i run it normally (using system perl), it works. When I try  
> running it under mod_perl however (increased performance, works under  
> chrooting), the first line of the png file data (the image headers)  
> gets cut off, making it so the system no longer recognizes it a an  
> image, and all I get is a bunch of giberish on the screen. Is there  
> something I can do to fix this? Thanks.

what if you try to run it as CGI?

I think that the first line should give server the content type, optionally
following a few header lines, and then the image...
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to