[mapserver-users] cgi-error: End of script output before headers mapserv

Johannes Paul johannespaul92 at gmail.com
Wed Jan 22 03:01:49 PST 2020


Hello,
my mapserver is having a very strange behaviour, which I can't explain, nor
debug.
I'm using mapserver 7.0.0 along with apache http server 2.4.6.

Most of the time, the server is working just fine, i.e. when I request a
typical URL, I get my image back:

http://10.0.0.22/cgi-bin/mapserv?map=/var/www/html/osm-transp-en-default.map&VERSION=1.1.0&REQUEST=getmap&SERVICE=wms&STYLES=&BBOX=-9.143,38.746,-9.140,38.748&HEIGHT=256&WIDTH=256&LAYERS=default&FORMAT=image/png&SRS=EPSG:4326&TRANSPARENT=true

but then, when I slightly change bbox values, I get an internal server
error (500):

http://10.0.0.22/cgi-bin/mapserv?map=/var/www/html/osm-transp-en-default.map&VERSION=1.1.0&REQUEST=getmap&SERVICE=wms&STYLES=&BBOX=-9.1433,38.7460,-9.1406,38.7487&HEIGHT=256&WIDTH=256&LAYERS=default&FORMAT=image/png&SRS=EPSG:4326&TRANSPARENT=true

I don't get any mapserver error log, but I do get an apache error log
saying:
[cgi:error] End of script output before headers: mapserv

This is really an strange behaviour which I can't explain.
Did anyone already experienced a similar situation ?
Thanks
Jo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200122/35a1b3a0/attachment.html>


More information about the mapserver-users mailing list