[Mapserver-users] Problem with drawing tif files

Norbert Thieme norbert.thieme at ilmenau.baw.de
Tue Apr 20 10:32:21 EDT 2004


Hi,

I'm still testing the new version and now I got a new problem. When 
map->draw() (in php/mapscript) is called then the script seems to be 
aborted but without an error. With the version 4.0.2 the same mapfile 
and script works fine.

Because of that I tried to send the mapfile directly to the mapserv - 
cgi with mode=map and there I get a apache error:

Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request.


And in the log say:

....  Premature end of script headers: /srv/www/cgi-bin/mapserv4


I think it's strange that only the old version of the mapscript works 
with the *.tif. Because of that I thought that the mapfile is OK but now 
I'm not sure.

Has anyone an idea? Could there be something wrong with the permission?
Or something with the mapfile?:

MAP
   IMAGETYPE      PNG
   STATUS ON
   SIZE 400 400
   EXTENT 3250470.029539 5221162.578925 3942023.41747 6113902.660721
   UNITS METERS
   TRANSPARENT ON
   SHAPEPATH      '../daten/shapes'
   IMAGECOLOR     255 255 255

   PROJECTION
      "init=epsg:31467"
   END

   WEB
     MINSCALE 100
     MAXSCALE 8200000
     IMAGEPATH '/srv/www/htdocs/mapserv_tmp/'
     IMAGEURL '/mapserv_tmp/'
     LOG '/srv/www/htdocs/mapserv_anw/mapserv_log.log'
   END

   LAYER
     NAME "TK2"
     STATUS DEFAULT
     TYPE RASTER
     DEBUG ON
     DATA "../tk500/kachel/s3_01_03.tif"
     PROJECTION
         "init=epsg:31468"
     END
   END
END


Thanks in advance,
Norbert







More information about the mapserver-users mailing list