[mapserver-users] CGI Error
Martin, Daniel
DMartin at erac.com
Tue Oct 29 13:30:04 PST 2002
I'm not familiar with Resin, but I have also had this same, seemingly random
problem with headers. Only, I was on IIS. The browser ends up showing the
entire text of the web page (similar to an HTML encode) instead of a
rendered web page. This is indeed due to malformed headers. But I never
was able to narrow down the cause. Luckily for me, it went away after an
upgrade.
However, it is extremely important to note the difference between invalid
data being sent from the CGI executable to the web server (as is Armando's
problem) from invalid headers being sent from the server to the client
browser (which is the problem you are having). In Armando's case, nothing
is being returned to IIS by the CGI application called. IIS always returns
this "header" error message when it gets nothing back. IIS simply fails to
mention the whole story which is it got nothing back, including headers.
Usually this error should say "Hey, your CGI application blew up."
Unfortunately, the error you mention is still a mystery to me.
-Dan
> -----Original Message-----
> From: Thomas, Cord [mailto:cthomas at rand.org]
> Sent: Tuesday, October 29, 2002 1:40 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: RE: [mapserver-users] CGI Error
>
>
> Armando
>
> I have asked on this list before about CGI headers too.
>
> Though, i am working on Linux/Resin combination - I have a
> similar HTTP
> header problem. My problem is that i believe the mapserver
> is replying with
> a content-type of text, not html - which screws up a mozilla browser.
>
> Any way we can get a debug of the http header?
>
> Cord
>
> -----Original Message-----
> From: Armando Scalise [mailto:AScalise at geovue.com]
> Sent: Tuesday, October 29, 2002 10:52 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] CGI Error
>
>
> I am trying to install MS in a new machine, and I am getting
> the following
> error:
>
> CGI Error.
> The specified CGI application misbehaved by not returning a
> complete set of
> HTTP headers.
>
> Is this an error related to MS? or th IIS? Any hints as to
> where I should
> look at???
>
> Cheers
>
> Armando Scalise
> geoVue
> 200 Lincoln Street 5th Floor
> Boston, Massachusetts 02111 USA
> p 617.451.2520 x122
> f 617.486.3066
> www.geoVue.com
> LOCATION INTELLIGENCE
> ascalise at geovue.com
>
More information about the MapServer-users
mailing list