Frank,<br><br>when running the following in IE: <a href="http://localhost/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities">http://localhost/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
</a><br><br>I get the following:<br><br><dl><dt>A message saying "Internal Server Error"</dt><dd>check the apache error log, you will probably
find that it says "Premature end of
script headers"</dd></dl>John J. Mitchell<br><br><br><div><span class="gmail_quote">On 11/24/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>
> 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>><br>> Hi Frank,<br>><br>> So I need to copy everything from FWTools/bin to
Apache2.2/cgi-bin and<br>> instead of calling your "mapserv_landsat" script instead call<br>> mapserv.exe within getCapabilitites and getMap WMS requests but how do I<br>> reference the mapfile within these requests?
<br><br>John,<br><br>You would include MAP=C:\yourmap.map in the url. 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&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities">
http://maps.gdal.org/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities</a><br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------
<br>I set the clouds in motion - turn up | 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 | President OSGeo, <a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell