Map file in browse mode and Content-type: text/html msReturnPage(): error

Afifa Naz a_naz at ECE.CONCORDIA.CA
Fri Mar 4 15:38:57 PST 2005


Hi:

when I try to display my map in browse mode , I get this error

Content-type: text/html msReturnPage(): Unable to access file. demo.html

what is the cause of this?

My demo.html is in htm l folder, this is the code in .map file
WEB
  TEMPLATE        "demo.html"
        IMAGEPATH "html/tmp/"
        IMAGEURL "/tmp/"
END

I tried to define my IMAGEPATH as absolute that is /var/www/html/tmp but
no difference. I have also tried IMAGEPATH as  tmp, but i still get the
same error.

This is my map in map mode :
 http://132.205.108.60/cgi-bin/mapserv?map=montreal.map&mode=map

Thanks

Afifa



More information about the MapServer-users mailing list