<div>Hi Nicolas,</div>
<div>&nbsp;</div>
<div>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:</div>
<div>&nbsp;</div>
<div><a href="http://192.168.252.20/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/demo.map">http://192.168.252.20/cgi-bin/mapserv.exe?map=/ms4w/apps/Demo/demo.map</a></div>
<div>&nbsp;</div>
<div>the application can not be opened, the following error message is returned instead:</div>
<div>&nbsp;</div>
<div>***</div>
<h1>CGI Error</h1>
<div>The specified CGI application misbehaved by not returning a complete set of HTTP headers.</div>
<div>****</div>
<div>&nbsp;</div>
<div>I am a newbie in Windows server things, I very appreciate it if you light me a little bit more.</div>
<div>&nbsp;</div>
<div>zhonghai<br>&nbsp;</div>
<div><span class="gmail_quote">On 5/24/06, <b class="gmail_sendername">Fortin,Nicolas [SteFoy]</b> &lt;<a href="mailto:nicolas.fortin@ec.gc.ca">nicolas.fortin@ec.gc.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div><span><font face="Arial" color="#0000ff" size="2">Hi</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Did you enabled CGI extensions in IIS? If not, you can do this in the IIS Manager under the Web Services Extensions folder.</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">Nicolas</font></span></div>
<blockquote style="MARGIN-RIGHT: 0px">
<div></div>
<div lang="fr" dir="ltr" align="left"><font face="Tahoma" size="2">-----Message d'origine-----<br><b>De&nbsp;:</b> UMN MapServer Users List [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">
MAPSERVER-USERS@LISTS.UMN.EDU</a>] <b>De la part de</b> Zhonghai Wang<br><b>Envoyé&nbsp;:</b> 24 mai 2006 11:19<br><b>À&nbsp;:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">
MAPSERVER-USERS@LISTS.UMN.EDU</a><br><b>Objet&nbsp;:</b> Re: [UMN_MAPSERVER-USERS] mapfile configuration problem -- MapServer for IIS<br><br></font></div></blockquote></div>
<div><span class="e" id="q_10b670017f473b52_1">
<div>thanks guys, after I set the imageurl as <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/ms_tmp" target="_blank">http://localhost/ms_tmp</a>, MapServer works well again. URL should be a real URL, that's it.
</div>
<div>&nbsp;</div>
<div>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.</div>
<div>&nbsp;</div>
<div>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. </div>
<div>&nbsp;</div>
<div>could anyone give me clues?</div>
<div>&nbsp;</div>
<div>thanks for any tips.</div>
<div>&nbsp;</div>
<div>zhonghai</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 5/24/06, <b class="gmail_sendername">Till Adams</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:adams@terrestris.de" target="_blank">adams@terrestris.de</a>
&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Zhongai,<br><br>your imageurl should be an URL, not a path, e.g.<br><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/ms_tmp" target="_blank">
http://localhost/ms_tmp</a><br><br>Leave the last slash in your imagepath. It is also ok only to use<br>forward slashes.<br><br>Cheers, Till<br><br>Zhonghai Wang schrieb:<br><br>&gt; Hi guys,<br>&gt;<br>&gt; I am trying to install MapServer with IIS, and I've done all the 
<br>&gt; things following this doc:<br>&gt;<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mapserver.gis.umn.edu/docs/howto/setupiis/?searchterm=IIS" target="_blank">http://mapserver.gis.umn.edu/docs/howto/setupiis/?searchterm=IIS
</a><br>&gt;<br>&gt; but there are some problems with the mapfile path configuration, I set <br>&gt; the paths like this:<br>&gt;<br>&gt; 1. IMAGEPATH &quot;C:\ms4w\tmp\ms_tmp\&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL &quot;C:\ms4w\tmp\ms_tmp\&quot;
<br>&gt; 2. TEMPLATE &quot;/ms4w/apps/Demo/tmps/demomap.html&quot;<br>&gt; 3. LOG &quot;C:/ms4w/LogFiles/MapServer.log&quot; -- this one works well. <br>&gt; 4. IMAGE &quot;C:/ms4w/apps/Demo/images/KeyMap.gif&quot; -- for the reference
<br>&gt; map (in the Reference object)<br>&gt;<br>&gt; the IMAGEURL and IMAGE paths do not work, because the generated map<br>&gt; images, scalebar and reference map are already there, <br>&gt; and the browser can not find and display them. did I made some
<br>&gt; mistakes when I set the paths?<br>&gt;<br>&gt; P.S: in the Internet Services Manager I set the ms_tmp and tmp folder<br>&gt; readable and writable. <br>&gt;<br>&gt; thanks for any tips<br>&gt;<br>&gt; zhonghai<br>
<br><br>--<br>******************************************<br>*&nbsp;&nbsp;released: AmeiN! ArcMap-Export-2-UMN&nbsp;&nbsp;*<br>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LiveLinux 'WebGIS on CD'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*<br>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.terrestris.de/" target="_blank">
http://www.terrestris.de</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*<br>******************************************<br><br>------------------------------------------<br><br>Dipl. Geogr. Till Adams<br>terrestris, H. Paulsen&amp; T. Adams GbR <br>Siemensstr. 8 * 53121 Bonn
<br>Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:info@terrestris.de" target="_blank">info@terrestris.de</a> * <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.terrestris.de/" target="_blank">
http://www.terrestris.de</a><br><br></blockquote></div><br></span></div>
<div>
<blockquote></blockquote></div></div></blockquote></div><br>