[mapserver-users] CGI Error
Thomas, Cord
cthomas at rand.org
Tue Oct 29 13:52:39 PST 2002
Steve
I saw the source too, but not being familiar with CGI dynamics, i am not
sure where to look for the cause. DAn Martin has helped a bit, but i am
still without an answer.
Two questions -
1 - i noted that the setting "Content-type" is not the same case as many of
the content-type statements i have seen in other sources. i wonder if this
might be a problem? i do not know if the standards are specific on this.
2 - is there a diagram explaining what happens/what the path of execution
is for mapserv binary. i understand the .map file is a
template/configuration for the mapserver, but, being new to the cgi process,
i am not sure the path of execution - which would help me debug this
problem:
client request -> web server -> cgi process -> process request -> web
server -> client
in that path - how does the .map file fit in with say the remaining html
files?
Cord
-----Original Message-----
From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
Sent: Tuesday, October 29, 2002 12:53 PM
To: mapserver-users at lists.gis.umn.edu; cthomas at rand.org
Subject: RE: [mapserver-users] CGI Error
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