[ms4w-users] New user to MS4W configuration problem with Itasca/Demo

john rust imgahn2u at yahoo.com
Wed Jul 5 16:13:08 EDT 2006


 
  Oh... I forgot to mention. 
   
  When I click on index.html it comes up fine and then when I run the basic application 
  a black windows cmd window apears after I answer yes to "Do you want to execute..."
  The line in the black windows cmd window flashes by so fast.. but I think it says
  the same thing as when I execute directly from windows Cmd.
  "This script can only be used to decode form results and
should be initiated as a CGI process via a httpd server."
   
  However, 
  when I bring up index.html by typeing this at the web browser
  "http://localhost/workshop/index.html" and click the basic aplication, 
  it does not query me to see if I want to execute mapserv... and
  nothing apparently happens.  
   
  Any assistance or insight is greatly appreciated!
   
  Regards, 
   
  John Rust
  763-424-7973
   
   
   
   
   
   
   
   
   
  

john rust <imgahn2u at yahoo.com> wrote:
    I installed mS4W on Windows XP Home with the following software installed.  
   
  Eclipse
  Tomcat
  Apache server
  Derby Plug in for Eclipse (java database)
  JRE 5.0
   
  New to the java scripting world, and decided to install the Itasca demo. 
   
  It is installed in C:/ms4w/apache/htdocs/workshop/index.html etc.  
  This is what I have for index.html in the demo

   
       <form name="demo" method="GET" action="c:/ms4w/apache/cgi-bin/mapserv.exe" onSubmit="submit_form()">
   
        <input type="hidden" name="layer" value="lakespy2">
        <input type="hidden" name="layer" value="dlgstln2">
        <input type="hidden" name="zoomsize" value=2>
   
        <!-- EDIT THESE HIDDEN VARIABLES -->
        <input type="hidden" name="map" value="c:/ms4w/apps/workshop/itasca.map">
        <input type="hidden" name="program" value="c:/ms4w/apache/cgi-bin/mapserv.exe">
        <input type="hidden" name="root" value="c:/ms4w/apache/htdocs/workshop"> 
        <input type="hidden" name="map_web_imagepath" value="c:/ms4w/apache/htdocs/workshop/temp/ms_temp">
        <input type="hidden" name="map_web_imageurl" value="c:/ms4w/apache/htdocs/workshop/temp">
   
  These are values in the c:/ms4w/apache/conf/httpd.conf file
  ServerRoot "c:/ms4w/apache"
  Listen 80
  ServerAdmin admin at local.domain
  DocumentRoot "c:/ms4w/apache/htdocs"
  <Directory "c:/ms4w/Apache/htdocs">
   
   
  This is the value I put into the Itasca.map file: 
  WMS_ONLINERESOURCE http://localhost/workshop/index.html
   
  Put cgi-bin onto the WINDOWS PATH statement.  
  Also moved the workshop files around to various directories. 
  Made various windows folders shareable on the network. 
   
  When I click on the initialize (basic application) button am queried if I want to run 
  C:/ms4w/apache/cgi-bin/mapserv.exe ?
  I answer yes a coulpe times, but then *nothing* happens? 
   
  What is wrong with my configuration? 
   
  Regards, 
   
  John Rust
  763-424-7973
   
   
    
---------------------------------
  Yahoo! Music Unlimited - Access over 1 million songs. Try it free. _______________________________________________
ms4w-users mailing list
ms4w-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users


 				
---------------------------------
Want to be your own boss? Learn how on  Yahoo! Small Business. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20060705/e92b94ad/attachment-0001.html


More information about the ms4w-users mailing list