MapServer demo error

Zenon Panoussis oracle at PROVOCATION.NET
Fri Aug 11 14:12:59 EDT 2006


Eric Venden wrote:

> The images are created on the webserver (they appear in the
> /tmp/ folder), but they are not posted to the web page properly.  I only
> have a red "x" where the images are supposed to be.  Any ideas?

It very much smells of a wrong path, probably caused by your WEB
settings in the mapfile. Look in the HTML source of the page you
get to see what the browser is receiving. Note that IMAGEPATH
expects an absolute path, while IMAGEURL expects a path relative
to the webserver's document root. Most probably the browser is
getting something like <img src="/path/to/images/path/to/images/image.png">
because of an absolute IMAGEURL.

Z


-- 
The best defence against logic is ignorance. The next best
is stupidity. Both can be used simultaneously.



More information about the mapserver-users mailing list