internal server error 500

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Sep 9 05:16:06 EDT 2004


Hi,

the bug report is a Chameleon bug report. Are you using Chameleon?

Can you run ogrinfo on your shapefile? Maybe it is a 3D shapefile which
Mapserver might crash on. Which Mapserver version are you using?

Is your shapefile in lat/lon (WGS84)? Check the extent of your map file
with the extent of your shapefile (can also be done using ogrinfo). First
start simple without PROJECTION definitions.

Best regards,
Bart

> Hi All!
>
> I have a problem with running MapServer perfectly.
> It seems to be working, but if I try to test the example below I get error
> message: 500 - internal server error.
>
> All the settings seems to be fine. If I change the status from default to
> on, it is working but I can see only a gray rectangle. Not the contents of
> the shapefile, althoug the extents has to be right, because that is the
> original example!. :(
> I found a bug report (http://www.maptools.org/bugzilla/show_bug.cgi?id=620
> ) about extracting shapfiles, do you think that causes my problem also? If
> it is, then how should I fix it?
>
> Thx:
> Ferenc Speiser
>
> MAP
>   IMAGETYPE      PNG
>   EXTENT         201621.496941 -294488.285333 1425518.020722 498254.511514
>   SIZE           400 300
>   SHAPEPATH      "c:\data"
>   IMAGECOLOR     240 240 240
>
>   PROJECTION
>     "proj=laea"
>     "ellps=clrk66"
>     "lat_0=45"
>     "lon_0=-100"
>   #
>   # Alternatively, you can specify an EPSG code.
>   # "init=epsg:2163"
>   #
>   END
>
>   # Start of LAYER DEFINITIONS
> ---------------------------------------------
>   LAYER # States polygon layer begins here
>     NAME         states
>     DATA         states_ugl
>     STATUS       default
>     TYPE         POLYGON
>
>     PROJECTION
>       "init=epsg:4326"
>     END
>
>     CLASS
>       COLOR        232 232 232
>       OUTLINECOLOR 32 32 32
>     END
>   END # States polygon layer ends here
>   # End of LAYER DEFINITIONS -------------------------------
>
> END # end of map file/object
>
>
>
> University of Veszprém
> Department of Automation
>



More information about the mapserver-users mailing list