<div>Jeff, </div> <div> </div> <div>Thanks for the additional tip. </div> <div>I have tried various combinations that I could think of. </div> <div> </div> <div>When the line is "....cgi-bin/mapserv" then it displays the standard message</div> <div>"The page cannot be displayed...."</div> <div> </div> <div>When the line is "...cgi-bin/mapserv.exe" then get a query </div> <div>as to whether to allow mapserv.exe to run? When I answer yRUN </div> <div>then a black cmd window flashes by, but the window displayed by</div> <div>internet explorer does not change. </div> <div> </div> <div>So it looks like mapserv.exe is executing, may not recongnize</div> <div>that it is being executed as a cgi with a query_string? </div> <div> </div> <div>Normally does a black cmd window flash by when mapserv.exe</div> <div>executes? </div> <div> </div> <div>Thank you for your
thoughts on this configuration problem. </div> <div> </div> <div>Regards, </div> <div>- John </div> <div><BR><BR><B><I>Jeff McKenna <jmckenna@dmsolutions.ca></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">sometimes people are very quiet on this list...it might be worth your <BR>time to also try the main mapserver mailing list.<BR><BR>the only line of your explanation that startles me is:<BR><BR>"c:/ms4w/apache/cgi-bin/mapserv"<BR><BR>You MUST specify "mapserv.exe" on Windows. And also, like I said <BR>earlier, NO tweaking of apache or this demo is required if u use MS4W <BR>and the Itasca-MS4W application (i.e. you don't have to modify that <BR>above line at all).<BR><BR><BR>jeff<BR><BR><BR><BR>john rust wrote:<BR>> Yes some things in addition to consider... with this problem<BR>> <BR>> 1) Tomcat is installed (butshutdown)<BR>> 2) SQL Server is installed (but
end-process in taskmanager was performed)<BR>> 3) Oracle Express Edition is installed (but end-process in task manager <BR>> performed)<BR>> 4) Eclispe devlopment env. is installed but not up and running<BR>> 5) Derby embedded JDBC database installed (but no processes to start/stop)<BR>> <BR>> A service for one of these might be conflicting<BR>> with the cgi call to Mapserv? I did an end-process on sqlserver, oracle<BR>> and shutdown of tomcat. But there are a bunch of svchost.exe process's<BR>> running - which I don't know what they are doing....<BR>> Tasklist does not appear to work on Xp-Home edition.<BR>> When I click on the itasca demo file "index.html" and select Basic <BR>> Application<BR>> the black cmd window flashes by and no map is displayed. <BR>> <BR>> I believe the message in the black cmd window is:<BR>> <BR>> "This script can only be used to decode form results and<BR>> should be initiated as a CGI
process via a httpd server."<BR>> <BR>> When mapserv is executed on a windows system, isn't it supposed<BR>> to be minimized or in icon form? Or should one normally<BR>> see a black cmd window flash by while it does it's thing?<BR>> <BR>> If could glean a little more information from Windows/system<BR>> then understand what is going on and why mapserv thinks it<BR>> is not being invoked as a cgi? Any more insights form the Map Server<BR>> group would be greatly appreciated as to why the itasca demo is not<BR>> working on my Windows Xp-Home machine....Much Appreciate. <BR>> Some of the items mentioned above may be red-herrings.. but for<BR>> lack of any further direction to look for thought would at least mention <BR>> them.<BR>> <BR>> Regards,<BR>> John Rust<BR>> 763-424-7973<BR>> <BR>> <BR>> */Jeff McKenna <JMCKENNA@DMSOLUTIONS.CA>/* wrote:<BR>> <BR>> (please always respond to the mailing list)<BR>>
<BR>> The itasca package for MS4W requires no 'tweaking' of Apache. I'm not<BR>> sure if your Tomcat installation is causing issues.<BR>> <BR>> Maybe someone else has ideas (?)<BR>> <BR>> jeff<BR>> <BR>> <BR>> john rust wrote:<BR>> > Jeff,<BR>> ><BR>> > Thanks for the reply.<BR>> > Yes - I installed this demo also and get the same results as with<BR>> the<BR>> > workshop-demo.<BR>> > The controls display but no map is displayed.<BR>> ><BR>> > When I correct the "action= " to be the correct path for my system<BR>> > to be "c:/ms4w/apache/cgi-bin/mapserv"<BR>> > Then, I get the black cmd window with the message below...flashes<BR>> by...<BR>> ><BR>> > This script can only be used to decode form results and<BR>> > should be initiated as a CGI process via a httpd server.<BR>> ><BR>> > Isn't the cgi process supposed to be minimized, and *not* display
a<BR>> > black window.<BR>> ><BR>> > Hypothesis: For some reason in my config the cgi mapserv process<BR>> thinks<BR>> > its being executed not from an http server? I think there is<BR>> something<BR>> > in my config that is not quite correct... but I tweaked most of the<BR>> > things that I know about with windows and apache etc. It is as<BR>> > if apache is invoking mapserv not as a cgi process but just as an<BR>> > executable or something?<BR>> ><BR>> > Thanks for any pointers in this regards...<BR>> ><BR>> > - John<BR>> ><BR>> ><BR>> > -------------------------------------------------<BR>> > Demo config below...<BR>> ><BR>> ><BR>> ><BR>> ><BR>> <BR>> > onSubmit="submit_form()"><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> >
*/Jeff McKenna /* wrote:<BR>> ><BR>> > Actually are you aware that there is a pre-configured Itasca demo<BR>> > package available for download specifically for MS4W? Look for<BR>> > "MapServer Itasca Demo Application" on<BR>> > http://www.maptools.org/ms4w/index.phtml?page=downloads.html and use<BR>> > that.<BR>> ><BR>> > jeff<BR>> ><BR>> ><BR>> > john rust wrote:<BR>> > > I installed mS4W on Windows XP Home with the following software<BR>> > installed.<BR>> > ><BR>> > > Eclipse<BR>> > > Tomcat<BR>> > > Apache server<BR>> > > Derby Plug in for Eclipse (java database)<BR>> > > JRE 5.0<BR>> > ><BR>> > > New to the java scripting world, and decided to install the<BR>> > Itasca demo.<BR>> > ><BR>> > > It is installed in C:/ms4w/apache/htdocs/workshop/index.html etc.<BR>> > > This is what I have
for index.html in the demo…<BR>> > ><BR>> > ><BR>> ><BR>> > > action="c:/ms4w/apache/cgi-bin/mapserv.exe"<BR>> onSubmit="submit_form()"><BR>> > ><BR>> > ><BR>> > ><BR>> > ><BR>> > ><BR>> > ><BR>> > ><BR>> > > value="c:/ms4w/apps/workshop/itasca.map"><BR>> > ><BR>> > > value="c:/ms4w/apache/cgi-bin/mapserv.exe"><BR>> > ><BR>> > > value="c:/ms4w/apache/htdocs/workshop"><BR>> > ><BR>> > > value="c:/ms4w/apache/htdocs/workshop/temp/ms_temp"><BR>> > ><BR>> > > value="c:/ms4w/apache/htdocs/workshop/temp"><BR>> > ><BR>> > > These are values in the c:/ms4w/apache/conf/httpd.conf file<BR>> > > ServerRoot "c:/ms4w/apache"<BR>> > > Listen 80<BR>> > > ServerAdmin admin@local.domain<BR>> > > DocumentRoot "c:/ms4w/apache/htdocs"<BR>>
> ><BR>> > ><BR>> > ><BR>> > > This is the value I put into the Itasca.map file:<BR>> > > WMS_ONLINERESOURCE http://localhost/workshop/index.html<BR>> > ><BR>> > > Put cgi-bin onto the WINDOWS PATH statement.<BR>> > > Also moved the workshop files around to various directories.<BR>> > > Made various windows folders shareable on the network.<BR>> > ><BR>> > > When I click on the initialize (basic application) button am<BR>> > queried if<BR>> > > I want to run<BR>> > > C:/ms4w/apache/cgi-bin/mapserv.exe ?<BR>> > > I answer yes a coulpe times, but then **nothing** happens?<BR>> > ><BR>> > > What is wrong with my configuration?<BR>> > ><BR>> > > Regards,<BR>> > ><BR>> > > John Rust<BR>> > > 763-424-7973<BR>> > ><BR>> <BR>> <BR><BR><BR>-- <BR>Jeff McKenna<BR>DM Solutions
Group Inc.<BR>http://www.dmsolutions.ca<BR>_______________________________________________<BR>ms4w-users mailing list<BR>ms4w-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/ms4w-users<BR></BLOCKQUOTE><BR><p> 
                <hr size=1>Do you Yahoo!?<br>
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers">You're invited</a> to try the new Yahoo! Mail Beta.