msLoadMap():
Frank Warmerdam
warmerdam at POBOX.COM
Mon Nov 8 07:36:21 PST 2004
nasir maan wrote:
> Hi All,
>
> I got error message
>
> msLoadMap(): Unable to access file.
> (http://localhost/tutorial/example1-1.map)
>
> against
>
> *http://localhost/cgi-bin/mapserv.exe?map=http://localhost/tutorial/example1-1.map&mode=map*
> <http://localhost/cgi-bin/mapserv.exe?map=http://localhost/tutorial/example1-1.map&mode=map>
Nasir,
You need to give a filesystem path, not an url to the map.
eg.
http://localhost/cgi-bin/mapserv.exe?map=http:/u/web/tutorial/example1-1.map&mode=map
Or whatever the local filesystem path to the mapfile is.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list