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

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jan 22 06:18:16 PST 2020


Also, if the underlying data is PostGIS, you should check the exact 
query being made against your PostGIS database (see the "CPL_DEBUG" 
setting at https://mapserver.org/fr/optimization/debugging.html ).  Once 
you get the exact query being sent to PostGIS, you can then connect to 
your database with psql utility and execute the same query, to make sure 
there is no problem.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/



On 2020-01-22 10:12 a.m., Jeff McKenna wrote:
> Hi Jo,
> 
> Are you passing the problem extents to the shp2img utility?  Such as:
> 
>    shp2img -m osm-transp-en-default.map -e -9.1433 38.7460 -9.1406 
> 38.7487 -o ttt.png -all_debug 5
> 
> If that doesn't help, then I would start from the beginning: execute a 
> GetCapabilities request and make sure you remove all "WARNING" messages.
> 
> -jeff
> 
> 
> 




More information about the MapServer-users mailing list