[Mapserver-users] running v4 beta as a command line tool

Ed McNierney ed@topozone.com
Wed, 25 Jun 2003 10:20:09 -0400


Niklas -

Just use the -v parameter to test that it runs at all:

	mapserv -v

from the command line.  You can also do:

	mapserv -QUERY_STRING="map=/foo/...."

from the command line.

It is very likely that both of these will work.  The most common causes of problems like yours are file and directory access permissions.  Make sure that the anonymous Web user account (usually IUSR_<machinename>) has permission to access and execute the mapserv.exe file.  Make sure, BTW, that your URL refers to "mapserv.exe", and not just "mapserv" since that's the name of the executable.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed@topozone.com
(978) 251-4242 

-----Original Message-----
From: niklas wörmann [mailto:nwoe@privat.utfors.se]
Sent: Wednesday, June 25, 2003 4:06 AM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] running v4 beta as a command line tool


Hi!
i am trying to track down the reason mapserver isn´t working on my windows 2000 server.

i remember seeing somewhere that it was indeed possible to run mapserver as a command line tool, specifying a map file and an output file

anyone know the syntax for this?


tia
niklas wörmann
älvsjö
sweden



_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users