[mapserver-users] CGI Error

Steve Lime steve.lime at dnr.state.mn.us
Tue Oct 29 15:53:16 EST 2002


You could use a perl script and the lwp module to get output (headers
and all) from MapServer. You could also write a wrapper script in
whatever language that sets the appropriate environment variables for
mapserv and the executes it. 

In checking the source code MapServer always sets output mime type to
"text/html". Only in the WMS feature info output is "text/plain" used
(appropriately). There may be a source code problem but at first glance
I don't see it. I'd need example headers to debug it.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Thomas, Cord" <cthomas at rand.org> 10/29/02 01:39PM >>>
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