[Mapserver-users] RE: DEMO HELP

Hong, Sung-Hyuk SHHong at mednet.ucla.edu
Mon Jul 21 09:54:45 EDT 2003


Finally, I found the problem to the below demo installation problem.
The demo instruction point 2.1 "The demo_init.html file" must include that
the tmp directory must be owned by "nobody" and have write rights when
installing under apache:

mkdir tmp   # under the htdocs directory
chown nobody tmp
chmod 766 tmp

Sung

-----Original Message-----
From: Hong, Sung-Hyuk
To: 'mapserver-users at lists.gis.umn.edu'
Sent: 7/18/03 2:14 PM
Subject: [Mapserver-users] RE: DEMO HELP

I installed the mapserver 3.5 with wms support and its demo Itasca 3.5
The initial url request is 

http://myserver/cgi-bin/mapserv?map=/usr/local/apache2/htdocs/itasca/dem
o.map&layer=lakespy2&layer=dlgstln2&zoomsize=2&program=/cgi-bin/mapserv&
map_web_imagepath=/usr/local/apache2/htdocs/tmp/&map_web_imageurl=/tmp/

No image is displayed.  The server log file states

File does not exist:
/usr/local/apache2/htdocs/tmp/DEMO105856275212105.gif, referer:
http://neo.crump.ucla.edu:1122/cgi-bin/mapserv?map=%2Fusr%2Flocal%2Fapac
he2%2Fhtdocs%2Fitasca%2Fdemo.map&layer=lakespy2&layer=dlgstln2&zoomsize=
2&program=%2Fcgi-bin%2Fmapserv&map_web_imagepath=%2Fusr%2Flocal%2Fapache
2%2Fhtdocs%2Ftmp%2F&map_web_imageurl=%2Ftmp%2F

However, if I do add '&mode=map' to the end of the above url, it
displays a map.  

Thus, the mapserv is not able to publish temporary images to /htdocs/tmp
directory.  

Help!  Thank you in advance

Sung
_______________________________________________
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