Hello Till!

Note that when I was testing beta2 on Windows I had to use a full path to the included file (or I would get that internal server error.

jeff




Till Adams wrote:
Dear list,

I'm playing around with that new mapserver INCLUDE parameter and UMN v4.10 beta3

Requesting for a map via the WMS getmap all I get is an "internal server error"

My Mapfile starts "normal" and ends like that:

MAP

[............]


#------------------------------------------------------------------------------
# Start of Legend
#------------------------------------------------------------------------------

LEGEND
STATUS ON
KEYSIZE 20 10
LABEL
COLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 9
END # ENDE LABEL
END   #LEGEND

#-------------------------------------------------------------------------------
# Start of layer definitions #
#-------------------------------------------------------------------------------


INCLUDE "riv.map"

#-------------------------------------------------------------------------------
END #End of Mapfile
#-------------------------------------------------------------------------------

In the nclude I have the complete layer definition. As one file the mapfile with that request works. Is the syntax correct or is it not possible to include files wherever I want to??

Till





--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca

Reply via email to