[Mapserver-users] Problems running Perl Mapscript under mod_perl

Eric Bridger eric at gomoos.org
Thu May 15 09:53:18 EDT 2003


Sorry Mark,
But Jason's patches still have some problems.  We noticed exactly the same problems you
describe below.  We have been scratching our heads and hope to do some serious debugging on the
issue this week.  I guess it's good to know that the bug is reproducible.  Not some configuration
issue of ours.


At 10:06 AM 05/15/2003 +0100, Mark Cave-Ayland wrote:
>Hi everyone,
>
>After reading the various posts last month, I thought it was time to try
>installing mapscript with mod_perl to see how fast it would go. I've
>managed to install Jason's patches to add the new writeImage method (see
>http://lists.gis.umn.edu/pipermail/mapserver-users/2003-March/002246.htm
>l) and followed the given example to obtain the filehandle for
>writeImage, but I'm still experiencing what seems to be some form of
>buffering problem.
>
>I seem to be getting various symptoms ranging from outputting partial
>PNGs (with or without content-type headers!) to outputting nothing apart
>from a simple response (no content type) with no body. Mostly I seem to
>be getting the latter. Having read various other parts of the thread,
>I've tried enabling autoflush and flushing the file descriptor after the
>writeImage but any combinations of these don't seem to have any effect.
>
>Can anyone suggest why these buffering problems are happening for me
>under mod_perl, whereas running as a perl CGI the correct PNG is output
>every time? I'm guessing that since other people on the list have
>managed it then I must have misconfigured something somewhere.... The
>system setup is as follows:
>
>Red Hat 7.3 base
>Apache 1.3.23
>Mod_perl 1.26
>Mapserver 3.6.5
>
>
>Many thanks,
>
>Mark.
>
>---
>
>Mark Cave-Ayland
>Webbased Ltd.
>Tamar Science Park
>Derriford
>Plymouth
>PL6 8BX
>England
>
>Tel: +44 (0)1752 764445
>Fax: +44 (0)1752 764446
>
>
>This email and any attachments are confidential to the intended
>recipient and may also be privileged. If you are not the intended
>recipient please delete it from your system and notify the sender. You
>should not copy it or use it for any purpose nor disclose or distribute
>its contents to any other person.
>
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list