[Geomoose-users] Problem using Firefox Page Info to debug Mapfile

Jim Klassen klassen.js at gmail.com
Fri Jun 29 18:17:05 PDT 2012


Apache isn't sending a name.  The browser is picking the name from the URL.

On Jun 29, 2012, at 14:41, TC Haddad <tchaddad at gmail.com> wrote:

> 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.
> 
> It looks as if apache in MS4W is configured with the correct mime types to handle this, so not sure where else to look...
> 
> On Fri, Jun 29, 2012 at 11:57 AM, Brian Fischer <bfischer at houstoneng.com> wrote:
> 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.
> 
> Brian Fischer, CFM
> Principal | GIS Project Manager
> Houston Engineering, Inc.
> O 763.493.4522 | D 763.493.6664 | M 763.229.2734
> 
> 
> -----Original Message-----
> From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Ed Boesenberg
> Sent: Friday, June 29, 2012 12:20 PM
> To: eadam at co.lincoln.or.us; 'Jim Klassen'
> Cc: geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] Problem using Firefox Page Info to debug Mapfile
> 
> Thanks Eli, that's what I needed.
> 
> 
> -----Original Message-----
> From: Eli Adam [mailto:eadam at co.lincoln.or.us]
> Sent: Friday, June 29, 2012 12:36 PM
> To: Jim Klassen
> Cc: Ed Boesenberg; <geomoose-users at lists.osgeo.org>
> Subject: Re: [Geomoose-users] Problem using Firefox Page Info to debug Mapfile
> 
> > That is your error message.
> 
> So if the .exe is your error message, save it and open it in a text editor.
> It is not really an executable.
> 
> Eli
> 
> >
> > Either it is a WMS request and it wants to download the error message
> > or, less likely, if none of your local layers are working, it could be
> > mapserv.exe is not recognized as a cgi by the web server.
> >
> > The first case is caused by the WMS spec sending responses as a wms
> > unique content type instead of as text/xml so the browser isn't aware
> > it in fact could render it.
> >
> > Jim
> >
> >
> >
> > On Jun 29, 2012, at 8:34, "Ed Boesenberg"
> > <eboesenberg at niraengineers.com>
> > wrote:
> >
> > I am testing out 2.6 and I am getting a pink screen on a custom layer
> > I loaded.  In the past I was to be able to paste the link from Firefox
> > -> Page Info into another tab and see the MapServer error message.  In
> > my current Firefox (version 13) I am not able to get the MapServer
> > error message instead Firefox asks me to save mapserv.exe somewhere.
> >
> >
> >
> > Is there a setting in Firefox I need to change to allow me to see the
> > MapServer error message?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Ed
> >
> >
> >
> > PS
> >
> > Awhile back I volunteered to help in writing the new documents for GM 2.6.
> > Life got a little busy after I volunteered and was unable to help.
> > Sorry for the blank commitment and I hope to help in other ways in the
> future.
> >
> >
> >
> >
> >
> > _______________________________________________
> > Geomoose-users mailing list
> > Geomoose-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/geomoose-users
> >
> >
> > _______________________________________________
> > Geomoose-users mailing list
> > Geomoose-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/geomoose-users
> >
> 
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
> 
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120629/bbf88527/attachment-0001.html>


More information about the Geomoose-users mailing list