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

Ed McNierney ed at topozone.com
Wed Jun 25 10:20:09 EDT 2003


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 at topozone.com
(978) 251-4242 

-----Original Message-----
From: niklas wörmann [mailto:nwoe at privat.utfors.se]
Sent: Wednesday, June 25, 2003 4:06 AM
To: mapserver-users at 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 at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list