[Mapserver-users] running v4 beta as a command line tool
niklas wörmann
nwoe at privat.utfors.se
Fri Jun 27 05:52:29 PDT 2003
I've tested on MapServer 3.6.4 for Windows, using:
$ mapserv "QUERY_STRING=map=c:\test\mymap.map&mode=map&foo=...." > myresult.gif
but if you try to open "myresult.gif" it crash...
so I opened this file with a text editor and deleted the first two lines(the headers), then it works!
regards
Eduardo Patto Kanegae
Hi!
i am running (trying to run) 4.o beta on windows 2000 advanced server, using IIS4
my string looks like this
MAPSERV.EXE "QUERY_STRING=MAP=C:\INETPUB\WWWROOT\MS_WS\EXAMPLE1.MAP&MODE=MAP" >MYRESULT.PNG
it does indeed produce a png "myresult.png" but it only contains the following message:
Content-type: text/html
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 4.0-beta1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msEvalRegex(): Regular expression error. String (C:\INETPUB\WWWROOT\MS_WS\EXAMPLE1.MAP) failed expression test.
</BODY></HTML>
what gives?
tia
niklas wörmann
älvsjö
sweden
More information about the MapServer-users
mailing list