[UMN_MAPSERVER-USERS] mapfile configuration problem -- MapServer for IIS

Zhonghai Wang zhonghaiw at GMAIL.COM
Wed May 24 11:55:55 EDT 2006


Hi Nicolas,

thanks so much for your info. After I enabled the CGI extension, it works
well. But if I tried to open the application using this url:

http://192.168.252.20/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/demo.map

the application can not be opened, the following error message is returned
instead:

***
CGI Error The specified CGI application misbehaved by not returning a
complete set of HTTP headers.
****

I am a newbie in Windows server things, I very appreciate it if you light me
a little bit more.

zhonghai

On 5/24/06, Fortin,Nicolas [SteFoy] <nicolas.fortin at ec.gc.ca> wrote:
>
>  Hi
>
> Did you enabled CGI extensions in IIS? If not, you can do this in the IIS
> Manager under the Web Services Extensions folder.
>
> Nicolas
>
>  -----Message d'origine-----
> *De :* UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] *De
> la part de* Zhonghai Wang
> *Envoyé :* 24 mai 2006 11:19
> *À :* MAPSERVER-USERS at LISTS.UMN.EDU
> *Objet :* Re: [UMN_MAPSERVER-USERS] mapfile configuration problem --
> MapServer for IIS
>
>  thanks guys, after I set the imageurl as http://localhost/ms_tmp,
> MapServer works well again. URL should be a real URL, that's it.
>
> I am trying now to install MapServer with IIS 6 on Windows 2003, the same
> configurations as on WinXP do not work on Windows 2003 any more, and I can
> not even open the mapserver initial page.
>
> I've searched in our list achieves, somebody says that there may be some
> problems with IIS 6, but I still can not figure out where the problem is.
>
> could anyone give me clues?
>
> thanks for any tips.
>
> zhonghai
>
> On 5/24/06, Till Adams <adams at terrestris.de> wrote:
> >
> > Zhongai,
> >
> > your imageurl should be an URL, not a path, e.g.
> >
> > http://localhost/ms_tmp
> >
> > Leave the last slash in your imagepath. It is also ok only to use
> > forward slashes.
> >
> > Cheers, Till
> >
> > Zhonghai Wang schrieb:
> >
> > > Hi guys,
> > >
> > > I am trying to install MapServer with IIS, and I've done all the
> > > things following this doc:
> > >
> > > http://mapserver.gis.umn.edu/docs/howto/setupiis/?searchterm=IIS
> > >
> > > but there are some problems with the mapfile path configuration, I set
> >
> > > the paths like this:
> > >
> > > 1. IMAGEPATH "C:\ms4w\tmp\ms_tmp\"
> > >     IMAGEURL "C:\ms4w\tmp\ms_tmp\"
> > > 2. TEMPLATE "/ms4w/apps/Demo/tmps/demomap.html"
> > > 3. LOG "C:/ms4w/LogFiles/MapServer.log" -- this one works well.
> > > 4. IMAGE "C:/ms4w/apps/Demo/images/KeyMap.gif" -- for the reference
> > > map (in the Reference object)
> > >
> > > the IMAGEURL and IMAGE paths do not work, because the generated map
> > > images, scalebar and reference map are already there,
> > > and the browser can not find and display them. did I made some
> > > mistakes when I set the paths?
> > >
> > > P.S: in the Internet Services Manager I set the ms_tmp and tmp folder
> > > readable and writable.
> > >
> > > thanks for any tips
> > >
> > > zhonghai
> >
> >
> > --
> > ******************************************
> > *  released: AmeiN! ArcMap-Export-2-UMN  *
> > *        LiveLinux 'WebGIS on CD'        *
> > *         http://www.terrestris.de        *
> > ******************************************
> >
> > ------------------------------------------
> >
> > Dipl. Geogr. Till Adams
> > terrestris, H. Paulsen& T. Adams GbR
> > Siemensstr. 8 * 53121 Bonn
> > Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
> > info at terrestris.de * http://www.terrestris.de
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060524/6f8cba8f/attachment.html


More information about the mapserver-users mailing list