Odd mapserv CGI problem

Avi A Blackmore sysadmin at SATSHOT.COM
Wed Mar 9 16:27:33 EST 2005


I'm having a very peculiar problem with Mapserver 4.0.1.  Given a valid
mapfile, which points to valid index and shape files (for vector layers), the
shp2img program returns the correct image.

However, when I try to run the same query (same extents, map file, and the
like) through the CGI mapserv program via a browser, the program returns...a
copy of itself.  As in, a copy of the ELF 32-bit binary executable.

I have no idea whatsoever why it does this, especially since the mapfile is
known to be correct (it's automatically generated by a Java webapp), and
works for shp2img.  Any ideas on where to start looking?

Thanks,
Avi Blackmore
Agri ImaGIS Technologies
System Administrator



More information about the mapserver-users mailing list