If you save it as a .xml file and open it you should see that It is actually a valid xml error, the problem is with Apache not recognizing it and instead picking the only recognizable file name out of the URL to name the file with.<br>
<br>It looks as if apache in MS4W is configured with the correct mime types to handle this, so not sure where else to look...<br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 11:57 AM, Brian Fischer <span dir="ltr"><<a href="mailto:bfischer@houstoneng.com" target="_blank">bfischer@houstoneng.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just experienced this as well. Can we add something to the MapServer mapfile to return a valid WMS XML error message? I'm not familiar on how to do this. This would fix the browser thinking it is an .exe file.<br>
<br>
Brian Fischer, CFM<br>
Principal | GIS Project Manager<br>
Houston Engineering, Inc.<br>
O <a href="tel:763.493.4522" value="+17634934522">763.493.4522</a> | D <a href="tel:763.493.6664" value="+17634936664">763.493.6664</a> | M <a href="tel:763.229.2734" value="+17632292734">763.229.2734</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:geomoose-users-bounces@lists.osgeo.org">geomoose-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:geomoose-users-bounces@lists.osgeo.org">geomoose-users-bounces@lists.osgeo.org</a>] On Behalf Of Ed Boesenberg<br>
Sent: Friday, June 29, 2012 12:20 PM<br>
To: <a href="mailto:eadam@co.lincoln.or.us">eadam@co.lincoln.or.us</a>; 'Jim Klassen'<br>
Cc: <a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br>
Subject: Re: [Geomoose-users] Problem using Firefox Page Info to debug Mapfile<br>
<br>
Thanks Eli, that's what I needed.<br>
<br>
<br>
-----Original Message-----<br>
From: Eli Adam [mailto:<a href="mailto:eadam@co.lincoln.or.us">eadam@co.lincoln.or.us</a>]<br>
Sent: Friday, June 29, 2012 12:36 PM<br>
To: Jim Klassen<br>
Cc: Ed Boesenberg; <<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>><br>
Subject: Re: [Geomoose-users] Problem using Firefox Page Info to debug Mapfile<br>
<br>
> That is your error message.<br>
<br>
So if the .exe is your error message, save it and open it in a text editor.<br>
It is not really an executable.<br>
<br>
Eli<br>
<br>
><br>
> Either it is a WMS request and it wants to download the error message<br>
> or, less likely, if none of your local layers are working, it could be<br>
> mapserv.exe is not recognized as a cgi by the web server.<br>
><br>
> The first case is caused by the WMS spec sending responses as a wms<br>
> unique content type instead of as text/xml so the browser isn't aware<br>
> it in fact could render it.<br>
><br>
> Jim<br>
><br>
><br>
><br>
> On Jun 29, 2012, at 8:34, "Ed Boesenberg"<br>
> <<a href="mailto:eboesenberg@niraengineers.com">eboesenberg@niraengineers.com</a>><br>
> wrote:<br>
><br>
> I am testing out 2.6 and I am getting a pink screen on a custom layer<br>
> I loaded. In the past I was to be able to paste the link from Firefox<br>
> -> Page Info into another tab and see the MapServer error message. In<br>
> my current Firefox (version 13) I am not able to get the MapServer<br>
> error message instead Firefox asks me to save mapserv.exe somewhere.<br>
><br>
><br>
><br>
> Is there a setting in Firefox I need to change to allow me to see the<br>
> MapServer error message?<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
><br>
><br>
> Ed<br>
><br>
><br>
><br>
> PS<br>
><br>
> Awhile back I volunteered to help in writing the new documents for GM 2.6.<br>
> Life got a little busy after I volunteered and was unable to help.<br>
> Sorry for the blank commitment and I hope to help in other ways in the<br>
future.<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
><br>
><br>
> _______________________________________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
><br>
<br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
</div></div></blockquote></div><br>