<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've been working through the tutorial files that I
downloaded from <A
href="http://terrasip.gis.umn.edu/projects/tutorial">http://terrasip.gis.umn.edu/projects/tutorial</A>.
I was able to work with all of the first examples, but I started getting the
"premature script header: mapserv" errors when I got to example
2-1.</FONT></DIV>
<DIV><FONT face=Arial size=2>If I use the shp2img program to try to
create a map from the .map files, I find that it also works up through example
1-8, but if I try it on example 2-1 it crashes (I get a windows pop up box
saying that the program has encountered a problem and needs to close
whether I run the mapserv cgi or I run shp2img on the
mapfile). Running the mapserv CGI leaves the
"premature script header" error in my web logs, running shp2img gives me no
further error message. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm posting the two map files, one working, one not
working... maybe somebody has an idea of what is causing the crash and how I
might fix it... </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The map files are exactly out of the tutorials with
the exception of changing some pathnames to match my system's web root,
etc.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks so much for any suggestions, and thanks for
the suggetions you've all already offered. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Jeff</FONT></DIV></BODY></HTML>