[mapserver-users] 500 Internal Server Error

Gregor at HostGIS gregor at hostgis.com
Wed Mar 4 19:55:50 EST 2009


> And a few more question: what libraries i need to put in the server?
> Where i can find some documentation about the libraries mapserver
> need?

A technique I find handy for debugging mapserver problems, a bit more 
useful than "Internal server error", is to go into the Unix shell and 
use shp2img. Are you able to get into a shell?

I'd use something similar to one of these:
   shp2img -o test.png -m mapfile.map
   shp2img -o test.png -m mapfile.map -d 999
   shp2img -o test.png -m mapfile.map -l lakes,streets

When that fails, it'll give you more information as to what went wrong. 
For example, it will give hints as to shapefiles being transferred in 
ASCII mode, or the TEMPDIR not being writable.

-- 
Gregor Mosheh / Greg Allensworth    BS, A+, Network+, Security+, Server+
System Administrator, Lead Programmer
HostGIS development & hosting services, http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA


More information about the mapserver-users mailing list