MapServer 5.0.0, GDAL 1.5.0 and HDF5 1.6.6 problem
Frank Warmerdam
warmerdam at POBOX.COM
Tue Jan 22 06:42:24 PST 2008
Maarten Plieger wrote:
> The Apache error log looks like this: Appache Error Log:
> [Tue Jan 22 11:45:34 2008] [error] [client 145.23.130.25] malformed
> header from script. Bad header=szFilenname /nobackup/users/pl:
> mapserverhdf.cgi
> [Tue Jan 22 11:45:34 2008] [error] Failed to change_hat to
> 'HANDLING_UNTRUSTED_INPUT'
Maarten,
Line 360 of gdal/frmts/hdf5/hdf5imagedataset.cpp is:
printf("szFilenname %s\n",szFilename);
Try commenting this line out and rebuilding/installing the GDAL 1.5.0.
I think this printf is getting emitted and it is screwing up the http headers
for your return result.
I have created a bug ticket for this problem, and will correct for the next
release:
http://trac.osgeo.org/gdal/ticket/2166
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the MapServer-users
mailing list