[Mapserver-users] MapServer on Windows XP and IIS

Ed McNierney ed at topozone.com
Thu Jul 31 09:47:16 PDT 2003


Jeff -

If your Web server is configured correctly, there will be NO command window opening and closing.  You'll get that error text in a regular Web page that stays there.

I suspect that the directory in which mapserv.exe is installed does not let users execute programs (like CGI programs) from it.

	- Ed

-----Original Message-----
From: Jeff L. [mailto:nf10 at hotmail.com]
Sent: Thursday, July 31, 2003 10:27 AM
To: Ed McNierney; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] MapServer on Windows XP and IIS


Thanks Ed for your relpy.  MapServ is installed in the IIS of my windows XP 
machine. While trying to run it (localy from web browser pointing the 
"mapser.exe", the command window is opened then closed pretty fast. I have 
no idea about the content of the command window. I'm not sure what message 
was displayed there. At least if i know that was "No query information to 
decode. QUERY_STRING not set." It can get me going to the next steps 
(running the demo).


Thanks again

Jeff Lacoste


>From: "Ed McNierney" <ed at topozone.com>
>To: "Jeff L." <nf10 at hotmail.com>,<mapserver-users at lists.gis.umn.edu>
>Subject: RE: [Mapserver-users] MapServer on Windows XP and IIS
>Date: Thu, 31 Jul 2003 09:44:10 -0400
>
>Jeff -
>
>There's no problem - that's the way it's supposed to work!
>
>You can run MapServer from the command line with the "-v" switch, and 
>you'll get text output.  Normally CGI programs are not meant to be run from 
>the command line, and MapServer is no exception.
>
>If you properly configure your Web site to allow users to execute CGI 
>programs, you should be able to type the following in your browser:
>
>http://server.yourdomain.com/mapserv
>
>(replace the server and domain names with your names)
>
>and get the error message:
>
>"No query information to decode. QUERY_STRING not set."
>
>in your browser window.
>
>Until you get to that point, you haven't managed to get a basic CGI program 
>running, so there's no point in doing anything else yet!
>
>	- 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: Jeff L. [mailto:nf10 at hotmail.com]
>Sent: Thursday, July 31, 2003 7:29 AM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] MapServer on Windows XP and IIS
>
>
>Hi,
>
>I installed MapServer on Windows XO and IIS. When i try to execute the
>mapserv from the command window (C:\Inetpub\Scripts\MapServ), i have an
>error: "This script can only be used to decode form results and should be
>initiated as a CGI process via a httpd server ". I tried also to execute 
>the
>script from Internet Explorer. The result is a command window displayed 
>then
>closed fast.
>
>Any idea about the possible problem ?
>
>Thanks,
>
>Jeff Lacoste
>
>_________________________________________________________________
>The new MSN 8: advanced junk mail protection and 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail





More information about the MapServer-users mailing list