Help with demo please

Richard Orth - osmoGIS Incorporated rco at OSMOGIS.COM
Thu Sep 29 11:59:25 EDT 2005


WS2003 has more protection. Its not good enough to make a folder 
executable, the mapserver program needs to be "registered" with the OS.

Richard C Orth

Gary Watry wrote:

>Hi
>
>Here is where I am at after reading all the posts with criteria of DEMO and IIS.
>
>1.) I am running windows server 2003 with IIS.
>
>Permission for
>cgi-bin is read/execute scripts and executables
>tmp is read/write
>
>2.) my directory structure is
>c:\inetpub\wwwroot\workshop
>
>3.) my index.html is as follows
>
><!-- EDIT THE FORM ACTION -->
>    <form name="demo" method="GET" action="\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="/workshop/itasca.map">
>      <input type="hidden" name="program" value="/cgi-bin/mapserv.exe">
>      <input type="hidden" name="root" value="/workshop">
>      <input type="hidden" name="map_web_imagepath"
>value="/inetpub/wwwroot/workshop/tmp/">
>      <input type="hidden" name="map_web_imageurl" value="/workshop/tmp/">
>
>4. I am usig mapserver-4.6.1-win32-php5.0.05.zip
>
>5.
>C:\>mapserv QUERY_STRING="layer=lakespy2&layer=dlgstln2&zoomsize=2&map=%2Finetpu
>b%2Fwwwroot%2Fworkshop%2Fitasca.map&program=%2Fcgi-bin%2Fmapserv.exe&root=%2Fwor
>kshop&map_web_imagepath=%2Finetpub%2Fwwwroot%2Ftmp%2F&map_web_imageurl=%2Ftmp%2F
>&map_web_template=itasca_basic.html" > temp.html
>
>msDrawMap(): Layer 1 (ctybdpy2), 0.311s
>msDrawMap(): Layer 4 (lakespy2), 0.270s
>msDrawMap(): Layer 5 (dlgstln2), 0.161s
>msDrawMap(): Drawing Label Cache, 0.000s
>msDrawMap() total time: 0.752s
>
>6. The results of running the demo in IE
>Basic Application - Page not found
>Adds second scale bar - Page not found
>Add pan control - Page not found
>Add frames - page not found - "this is the query page" along bottom and top
>adds dhtml rubber band box - red box for map, legend missing
>
>what do I try next?
>
>Gary L. Watry
>GIS Coordinator
>Center for Ocean-Atmospheric Prediction Studies
>FSU / COAPS
>Johnson Building, RM 215
>2035 East Paul Dirac Drive
>Tallahassee, Florida 32306-2840
>
>E-Mail: watry at coaps.fsu.edu
>
>  
>



More information about the mapserver-users mailing list