[Mapserver-users] CGI Error - ANY GUESSES?
Howard Mark
MHoward at spaceimaging.com
Thu Jun 19 10:23:15 PDT 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C33687.7775E6EA
Content-Type: text/plain; charset="iso-8859-1"
I feel really stupid about this. I have a perfectly good mapserver install
on a W2K machine. I'm putting together another demo on a laptop - same OS.
I copied everything I need to the new machine and have IIS running with the
same virtual directories and permissions.
I keep getting an error message running the app in a IE window.
<<<<<<<<<
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
>>>>>>>>
If I run the request on the command line - I get an HTML document just fine
and the map image is created as well.
C:\>c:\Inetpub\Scripts\mapserv.exe
"QUERY_STRING=map=C:/inetpub/scripts/demosimple.map&layer=county"
Content-type: text/html
<!-- MapServer version 3.6.6-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT INPUT=EPPL7 IN
PUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<html>
<head><title>MapServer Demo Interface</title></head>
<BODY BGCOLOR="#C4D1DD">
<img SRC="http:\\webgroup-lt\tmp\DEMO10560415982068.jpg" width=600
height=600 bo
rder=0>
</BODY>
</html>
ANY IDEAS ????
TIA
Mark
********************************************************************************
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the
message and its attachments and notify Space Imaging immediately.
********************************************************************************
------_=_NextPart_001_01C33687.7775E6EA
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C33655.29055040">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEve=
ry>
<w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
<w:UseMarginsForDrawingGridOrigin/>
<w:Compatibility>
<w:FootnoteLayoutLikeWW8/>
<w:ShapeLayoutLikeWW8/>
<w:AlignTablesRowByRow/>
<w:ForgetLastTabAlignment/>
<w:DoNotUseHTMLParagraphAutoSpacing/>
<w:LayoutRawTableWidth/>
<w:LayoutTableRowsApart/>
</w:Compatibility>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
{mso-style-update:auto;
mso-style-next:Normal;
margin-top:6.0pt;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
text-indent:.2in;
mso-pagination:widow-orphan;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
font-weight:bold;
mso-bidi-font-weight:normal;
font-style:italic;
mso-bidi-font-style:normal;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle16
{mso-style-type:personal-compose;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:black;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>I feel real=
ly
stupid about this. I have a perfectly good mapserver install on a W2K machi=
ne. I’m
putting together another demo on a laptop – same OS.<o:p></o:p></span=
></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>I copied ev=
erything
I need to the new machine and have IIS running with the same virtual
directories and permissions.<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>I keep gett=
ing an
error message running the app in a IE window.<o:p></o:p></span></font></spa=
n></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><<<=
;<<<<<<<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>CGI Error<o=
:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>The specifi=
ed CGI
application misbehaved by not returning a complete set of HTTP headers. The
headers it did return are:<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>>>>=
;>>>>><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>If I run th=
e request
on the command line – I get an HTML document just fine and the map im=
age is
created as well. <o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>C:\>c:\I=
netpub\Scripts\mapserv.exe
"QUERY_STRING=3Dmap=3DC:/inetpub/scripts/demosimple.map&layer=3Dco=
unty"<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Content-typ=
e:
text/html<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><!-- Map=
Server
version 3.6.6-dev OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP SUP=
PORTS=3DPROJ
SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT INPUT=3DEPPL7 IN=
<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>PUT=3DOGR I=
NPUT=3DGDAL
INPUT=3DSHAPEFILE --><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><html>=
;<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><head>=
;<title>MapServer
Demo Interface</title></head><o:p></o:p></span></font></span></=
p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><BODY
BGCOLOR=3D"#C4D1DD"><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><img
SRC=3D"http:\\webgroup-lt\tmp\DEMO10560415982068.jpg" width=3D600
height=3D600 bo<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>rder=3D0>=
;<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'></BODY&g=
t;<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'></html&g=
t;<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>ANY IDEAS ?=
???<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>TIA <o:p></=
o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><![if !supp=
ortEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 color=3Dblack
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Mark<o:p></=
o:p></span></font></span></p>
</div>
<FONT SIZE=3D3><BR>
<BR>
***************************************************************************=
*****<BR>
This message is intended only for the use of the Addressee and may<BR>
contain information that is PRIVILEGED and CONFIDENTIAL.<BR>
<BR>
If you are not the intended recipient, you are hereby notified that any<BR>
dissemination of this communication is strictly prohibited. If you have<BR>
received this communication in error, please erase all copies of the<BR>
message and its attachments and notify Space Imaging immediately.<BR>
***************************************************************************=
*****<BR>
</FONT>
</body>
</html>
------_=_NextPart_001_01C33687.7775E6EA--
More information about the MapServer-users
mailing list