Frank,<br><br>when running the following in IE: <a href="http://localhost/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities">http://localhost/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities
</a><br><br>I get the following:<br><br><dl><dt>A message saying &quot;Internal Server Error&quot;</dt><dd>check the apache error log, you will probably
      find that it says &quot;Premature end of
      script headers&quot;</dd></dl>John J. Mitchell<br><br><br><div><span class="gmail_quote">On 11/24/06, <b class="gmail_sendername">Frank Warmerdam</b> &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">John Mitchell wrote:<br>&gt;<br>&gt; Hi Frank,<br>&gt;<br>&gt; So I need to copy everything from FWTools/bin to 
Apache2.2/cgi-bin and<br>&gt; instead of calling your &quot;mapserv_landsat&quot; script instead call<br>&gt; mapserv.exe within getCapabilitites and getMap WMS requests but how do I<br>&gt; reference the mapfile within these requests?
<br><br>John,<br><br>You would include MAP=C:\yourmap.map in the url.&nbsp;&nbsp;So a request might end up<br>looking like:<br><br><a href="http://maps.gdal.org/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities">
http://maps.gdal.org/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a><br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------
<br>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam
</a><br>and watch the world go round - Rush&nbsp;&nbsp;&nbsp;&nbsp;| President OSGeo, <a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell