[mapserver-users] Mapserver on Mandrake-Server

Tyler Mitchell TMitchell at lignum.com
Mon Sep 9 14:06:43 EDT 2002


Ewww..probably NOT the best place to put your temporary image files!
The web/mapserver needs to be able to write files in that folder and, I
assume, is not able to.
I suggest creating a folder i.e. /var/www/html/tmp and making it owned by
the apache (or nobody) user.  Others can comment on whether this is the
best way to do it or not.  (Or else point your imagepath to something like
/tmp perhaps?)  1) Have you changed the settings in httpd.conf so that your
alias "your.website/tmp" points to the same folder as the imagepath.
2) Where are you defining the imagepath and imageurl?  In the .map file?
In the .html template file?  Or both?  If both, then you better make sure
they match!

Let's know how it goes.

tyler


                                                                                                                     
                      Till Adams                                                                                     
                      <adams at terrestris.de>               To:       mapserverlist                                    
                      Sent by:                             <mapserver-users at lists.gis.umn.edu>                       
                      owner-mapserver-users at lists.        cc:                                                        
                      gis.umn.edu                         Fax to:                                                    
                                                          Subject:  [mapserver-users] Mapserver on Mandrake-Server   
                                                                                                                     
                      09/09/2002 09:43 AM                                                                            
                                                                                                                     
                                                                                                                     





Dear list,

I'm running mapserver on a Mandrake 8.2 Linux with Apache 1.3.x

My httpd.conf file says the document root directory is
/var/www/html/
but when I point to that directory as Imagepath, nothing happens -
that means my map, legend, scale etc, keep being red crosses.
I even searched for temporary png-files, but I didn't find any, so
I guess Mapserver doesn't produce them.

Mapserver itsself is working, because when I query the map (I can't see,
but I can click "Query" and then redraw the map) Mapserver returns results
in my templates and also the test worked well (local-host/cgi-bin/mapserv).
I really have no ideas any more what went wrong, because also my
configuration
went well - Mapserver.config finds gd files and also proj.

Any help?
Many thanks! :-)
Till



 -- -- -- terrestris jetzt online! www.terrestris.de -- -- --

-----

Dipl. Geogr. Till Adams
terrstris, Paulsen&Adams GbR
Meckenheimer Allee 166 * 53115 Bonn
Tel.: 0228 73 9647 * Fax.: 0228 73 6538
info at terrestris.de * www.terrestris.de










More information about the mapserver-users mailing list