Click here to get back home

Problem with mapserver

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem with mapserver AJ 03-04-2005
Get Chitika Premium
Posted by AJ on March 4, 2005, 7:18 pm
Please log in for more thread options
I'm an Italian student excuse for my inglish.
I've a problem with mapserver on linux operative system: I've made a .map
file with a web object like:

....
WEB
TEMPLATE "es_templ.html"
IMAGEPATH "/var/www/html/tmp/tmp_a"
IMAGEURL "/tmp/tmp_a"
END
....

When I go to the my page on the browser it give to me an error:

msSaveImageGD(): Unable to access file. Unable to open file
/var/www/html/tmp/tmp_aes711099547694303.gif for writing

Somebody can help me to understand what's wrong?
Thank you very much.
Gianfranco, ITALIA.




Posted by giswork on March 4, 2005, 2:08 pm
Please log in for more thread options
Sounds like your permissions are wrong.



Posted by AJ on March 5, 2005, 12:04 am
Please log in for more thread options
Yes, but the permission for tmp and tmp_a are 777: they are on for writing,
reading and execute to evrybody!




Posted by Shaun Walbridge on March 4, 2005, 4:56 pm
Please log in for more thread options
You need to have trailing slashes after the directory names, like so:

IMAGEPATH "/var/www/html/tmp/tmp_a/"
IMAGEURL "/tmp/tmp_a/"

hth
Shaun


Posted by AJ on March 5, 2005, 1:21 pm
Please log in for more thread options
OK, now the error is:

msSaveImageGD(): Unable to access file. Unable to open file
/var/www/html/tmp/tmp_a/es711099547694303.gif for writing

! What can I do?




Similar ThreadsPosted
Problem compiling MapServer November 29, 2004, 4:15 am
Problem with MAPSERVER-ECW files on LINUX August 13, 2005, 12:21 pm
MapServer 4.4.1 installation/evaluation January 5, 2005, 10:12 am
mapserver .map file creation October 22, 2005, 4:55 pm
mapserver local data July 5, 2005, 8:08 am
zoom to select with Mapserver September 4, 2005, 5:55 pm
mapserver and spatial operations February 14, 2006, 5:00 am
UMN MapServer WFS-Layer Filter August 17, 2006, 9:40 am
UMN Mapserver: how to add icons or images to a map tutorial July 15, 2005, 9:47 am
print map to a defined scale with Mapserver August 23, 2005, 6:20 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap