[mapserver-users] Question on MapServer tutorials

graham_allan graham.allan at crowderconsult.co.uk
Tue Nov 3 06:47:54 EST 2009


Dear all,

 

I'm currently trying to follow the MapServer tutorials
<http://mapserver.org/tutorial/example1-1.html#example1-1>  by Pericles S.
Nacionales, I have successful downloaded and installed both the tutorial
data and MS4W <http://maptools.org/ms4w/>  distribution but when I try the
URL in the first example
<http://mapserver.org/tutorial/example1-1.html#example1-1>  I get the
following error:

 

msLoadMap(): Unable to access file.
(/ms4w/apps/tutorial/htdocs/example1-1.map) 

 

I'm running Windows Vista and have amended the example1-1.map file in
C:\ms4w\apps\tutorial\mapfiles as required.

 

If I amend the URL to: 

 

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/mapfiles/exampl
e1-1.map
<http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/tutorial/mapfiles/examp
le1-1.map&layer=states&mode=map> &layer=states&mode=map

 

The map is displayed as shown in the tutorial, however, I'm not sure if the
problem is due to a configuration error on may part or whether the URL in
the tutorial is wrong (this seems unlikely).

 

Does anybody know which configuration files/options I need to amend?

 

 

 

 

Thanks

 

 

Graham

 



Crowder & Co Ltd, Registered Office: Post Office House, 99-105 Argyle Street, Birkenhead, Merseyside, CH41 6AD. 
Telephone: 0151 647 7772
Registered in England and Wales, No. 3003604.     VAT No. GB618952020
This e-mail is confidential and intended solely for the use of the individual to whom it is addressed.  Any views or opinions presented are solely those of the author and do not necessarily represent those of Crowder & Co Ltd. If you are not the intended recipient of this e-mail you may not copy, use, forward or disclose its contents to any other person ; please delete the message and attachments from your system.

For more information visit our web site at http://www.crowderconsult.co.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091103/6e29d536/attachment.html


More information about the mapserver-users mailing list