Jude,
This is how I have it configured in my server:
WEB
IMAGEURL "/temp/"
IMAGEPATH "/var/www/html/temp/"
END
As you can see, I'm using the abolute path.
Cheers from México
IC Carlos Ruiz
________________________________
From: Worth Lutz <w...@mindspring.com>
To: 'jude mwenda' <judemwe...@gmail.com>; mapserver-users@lists.osgeo.org
Sent: Monday, May 16, 2011 5:56 AM
Subject: RE: [mapserver-users] Please help
Try changing:
WEB
TEMPLATE "template.html"
IMAGEPATH "/var/www/judemaps/output/"
IMAGEURL "/output/"
END
To:
WEB
TEMPLATE "template.html"
IMAGEPATH "/var/www/judemaps/output/"
IMAGEURL "/judemaps/output/"
END
________________________________
From:mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of jude mwenda
Sent: Sunday, May 15, 2011 10:17
PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Please
help
Hi,
I am new to mapserver. I have been able to generate images, and on viewing
images folder i can see images that have been generated by mapserver. The only
problem comes in that on loading them via template the image is a broken path.
Any pointers on resolving this,
Mapfile http://dpaste.de/4bmw/
On accessing the images via
http://localhost/judemaps/output/parcels_map130551107432207.gif
they do load.
Any clue on what i am doing wrong.
the template has
<!-- MapServer Template -->
<html>
<head><title>Simple Mapserver Template HTML
Document</title></head>
<body bgcolor=#AAAAAA>
<h2>The image below was illustrated based on the instructions sent in the
mapfile.</h2>
<!-- When using Mapserver with a template, the Mapserver application looks
for the [img] tag within the template document to place the map -->
<img src="[img]" border=1>
</body>
</html>
--
Regards,
Jude Mwenda
Skype id: jmwenda
Twitter: www.twitter.com/judemwenda
Web: www.africangeogeek.com
"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe
________________________________
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1375 / Virus Database: 1500/3641 - Release Date: 05/16/11
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users