Thanks Jukka, Robert,<br><br>Jukka was right... it was saved as mapserv.exe, but when I opened it with an editor, it was the appropriate XML...  I just assumed that it was downloading the binary itself and didn't bother downloading it.<br>
<br>Thanks!<br><br>Matt<br><br><div class="gmail_quote">On Wed, Jun 4, 2008 at 8:01 AM, Rahkonen Jukka <<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I believe everything is OK. Try saving the file mapserv.exe on your disk and open it with text editor.  It is just that WMS standard gives such a MIME type for GetCapabilities response that it is not often recognised as XML.<br>

<br>
-Jukka Rahkonen-<br>
<br>
> -----Alkuperäinen viesti-----<br>
> Lähettäjä: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a><br>
> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] Puolesta<br>
> Matthew Pettis<br>
> Lähetetty: 4. kesäkuuta 2008 15:56<br>
> Vastaanottaja: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> Aihe: [mapserver-users] Making mapserver into a WMS<br>
<div><div></div><div class="Wj3C7c">><br>
> Hi,<br>
><br>
> I'm trying to test ms4w as a WMS for use with OpenLayers.<br>
> Went through the tutorial at:<br>
><br>
> <a href="http://mapserver.gis.umn.edu/docs/howto/wms_server/#setup-a-ma" target="_blank">http://mapserver.gis.umn.edu/docs/howto/wms_server/#setup-a-ma</a><br>
> pfile-for-your-wms<br>
><br>
> I created a simple mapfile according to the specs (I think).<br>
> It is after the '===========' delimiter.  I called it with<br>
> the following<br>
> url:<br>
><br>
> <a href="http://localhost/cgi-bin/mapserv.exe?map=C:%5Cms4w%5CApache%5Chtdocs" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs</a><br>
> \tmp\map.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities<br>
><br>
> and it asked me to download the mapserv.exe application.  Not<br>
> what i expect.  I'm pretty sure everything else is in order,<br>
> because when I<br>
> call:<br>
><br>
> <a href="http://localhost/cgi-bin/mapserv.exe?map=C:%5Cms4w%5CApache%5Chtdocs" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs</a><br>
> \tmp\map.map&mode=map<br>
><br>
> I get the expected map in my browser.<br>
><br>
> Any ideas what is wrong or how I am screwing up the incantation?<br>
><br>
> Thanks,<br>
> Matt<br>
><br>
> ===========<br>
> MAP<br>
><br>
>     ################<br>
>     # Map attributes<br>
>     ################<br>
>   IMAGETYPE   PNG<br>
>   EXTENT      184056.505 4809728.25 767381.245 5478975.75<br>
>   SIZE        660 495<br>
>   IMAGECOLOR  255 255 255<br>
>   FONTSET     "C:/ms4w/Apache/htdocs/fonts/fonts.list"<br>
><br>
>   PROJECTION<br>
>     "init=epsg:26915"<br>
>   END<br>
><br>
>     ####################<br>
>     # Web settings<br>
>     ####################<br>
>   WEB<br>
>     IMAGEPATH   "C:/ms4w/Apache/htdocs/tmp/"<br>
>     IMAGEURL    "/tmp/"<br>
>     METADATA<br>
>         "wms_title"           "WMS Demo Server"<br>
>         "wms_onlineresource"  "<a href="http://localhost/cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe</a>?"<br>
>     END<br>
>   END<br>
><br>
>     ####################<br>
>     # State<br>
>     # Background shows through missing precincts to show<br>
> where no votes will be coming from<br>
>     ####################<br>
>   LAYER<br>
>     NAME              "state"<br>
>     METADATA<br>
>         "wms_title"           "state"<br>
>     END<br>
>     CONNECTIONTYPE    postgis<br>
>     CONNECTION        "user=postgres dbname=gisvote password=postgres"<br>
>     DATA              "the_geom from shp_state"<br>
>     STATUS            default<br>
>     TYPE              polygon<br>
><br>
>     CLASS<br>
>       NAME            "state"<br>
>       COLOR           200 200 200<br>
>     END<br>
><br>
>   END # Layer state<br>
><br>
> END<br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>It is from the wellspring of our despair and the places that we are broken that we come to repair the world.<br>-- Murray Waas