[mapserver-users] install issues

Frank Warmerdam warmerdam at pobox.com
Sat Nov 22 13:58:32 PST 2008


Chris h wrote:
> Now when I access the system by means of the following URL's I get the 
> respective errors:
> http://localhost/cgi-bin/mapserv?map=world.map&request=getcapabilities&service=wms
> or
> http://localhost/cgi-bin/mapserv?map=world.map&mode=browse&layers=all&mode=map 
> 
> msLoadMap(): Unable to access file. (world.map)
> 
> Im not sure but I think this is a postgres permission issue or something along 
> those line. 
> 
> Any ideas? 
> 
> Best regards and thanks for any insights. 

Chris,

Try providing the full path to the map file.  Something like

http://localhost/cgi-bin/mapserv?map=/opt/maps/world.map&mode=browse&layers=all&mode=map 


Otherwise it will only work if your world.map happens to be in the currently
working directory of the mapserv process (I have no idea where that would
normally be).

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