[Mapserver-users] CGI returns malformed headers

Martin, Daniel DMartin at erac.com
Fri Mar 7 17:29:24 EST 2003


AFAIK putting dll libraries in the path on Windows isn't enough.  I believe
they must be in C:\WINNT\System32.  But, if you prove me wrong I'd love to
know about it.

-Dan


> -----Original Message-----
> From: Brantley Hobbs [mailto:bhobbs at itos.uga.edu]
> Sent: Friday, March 07, 2003 4:13 PM
> To: Martin, Daniel; mapserver-users at lists.gis.umn.edu
> Subject: RE: [Mapserver-users] CGI returns malformed headers
> 
> 
> Well, one thing that I did differently between my workstation and the
> development server was to place those libraries in their own directory
> and just add it to the path.  This worked well enough for the
> mapserver.exe -v command to work properly, so I assumed that this was
> OK.  I'm just a little suspicious of dropping a bunch of unknown
> libraries into system32.
> 
> When I tried to copy them over, it complained that xmlparse.dll was in
> use when it tried to copy over it.
> 
> Anyway, I'll sort that out and reply back when I know something.  I'll
> have to reboot in order to free up the original xmlparse.dll so that I
> can overwrite it.  <sigh>  Windows is such a pain.
> 
> B.
> 
> > -----Original Message-----
> > From: Martin, Daniel [mailto:DMartin at erac.com] 
> > Sent: Friday, March 07, 2003 5:09 PM
> > To: Brantley Hobbs; mapserver-users at lists.gis.umn.edu
> > Subject: RE: [Mapserver-users] CGI returns malformed headers
> > 
> > 
> > Usually this is caused by problems with the libraries that 
> > should be installed into C:\WINNT\SYSTEM32.  Either:
> > A) You didn't install the libraries.
> > B) You have an older version of the libraries than your build needs.
> > C) You installed libwww_dll.zip when you actually needed 
> > ms35_libs.dll.
> > 
> > Go to http://mapserver.gis.umn.edu/win32binaries.html, find 
> > the build you chose, and download the appropriate library.  
> > Extract into C:\Winnt\SYSTEM32 and chose YES if it asks to 
> overwrite.
> > 
> > Hope that helps,
> > -Dan Martin
> > 
> > > -----Original Message-----
> > > From: Brantley Hobbs [mailto:bhobbs at itos.uga.edu]
> > > Sent: Friday, March 07, 2003 3:43 PM
> > > To: mapserver-users at lists.gis.umn.edu
> > > Subject: [Mapserver-users] CGI returns malformed headers
> > > 
> > > 
> > > All,
> > > 
> > > I'm new to the mapserver app and I've run into a problem I
> > > can't seem to
> > > figure out.
> > > 
> > > On my personal workstation, I'm able to run the demo app 
> just fine. 
> > > When I moved the app to our development server for more 
> > general use, I 
> > > find that the webserver is now reporting that the CGI isn't 
> > returning 
> > > a complete set of headers.  I've tried the CGI with both 
> Apache and 
> > > IIS, with the same results.  I know that the demo app works,
> > > because I set up
> > > the directory structure on my workstation to be identical to the
> > > directory structure on the server and everything works fine there.
> > > 
> > > I have verified that the server (both Apache and IIS) has 
> > write access 
> > > to the image output directory.
> > > 
> > > Here is a mapserver.exe -v output: 
> C:\Inetpub\scripts>mapserv.exe -v
> > > MapServer version 3.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
> > OUTPUT=WBMP
> > > SUPPORTS=P
> > > ROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT 
> INPUT=TIFF
> > > INPUT=EPPL7
> > > INPUT=JPEG INPUT=OGR INPUT=SHAPEFILE
> > > 
> > > I have also tried to add a line to the .map file to have 
> > some sort of 
> > > logging mechanism, but the CGI isn't even creating the log.
> > > 
> > > Can someone give me some pointers here?
> > > 
> > > Thanks,
> > > Brantley Hobbs
> > > 
> > > _______________________________________________
> > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > > 
> > 
> 



More information about the mapserver-users mailing list