Frank,

when running the following in IE:
http://localhost/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

I get the following:

A message saying "Internal Server Error"check the apache error log, you will
probably find that it says "Premature end of script headers"John J. Mitchell


On 11/24/06, Frank Warmerdam <[EMAIL PROTECTED]> wrote:

John Mitchell wrote:
>
> Hi Frank,
>
> So I need to copy everything from FWTools/bin to Apache2.2/cgi-bin and
> instead of calling your "mapserv_landsat" script instead call
> mapserv.exe within getCapabilitites and getMap WMS requests but how do I
> reference the mapfile within these requests?

John,

You would include MAP=C:\yourmap.map in the url.  So a request might end
up
looking like:


http://maps.gdal.org/cgi-bin/mapserv.exe?MAP=C:\yourmap.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

Best regards,
--

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
[EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




--
John J. Mitchell

Reply via email to