[mapserver-users] unable to access the map file
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Jun 29 08:59:26 PDT 2009
Suman Chatterjee wrote:
> Hi all,
>
> I have just started using mapserver. It was running well till last week.
> The Itasca application was also running. But all of a sudden the
> application is not working. Although the maps are being created in the
> temp folder but it is not being displayed in the browser. I tried with
> typing
>
> http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map&mode=map
> <http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map&mode=map>
>
>
>
> But it is displaying the error message
>
>
>
> msLoadMap(): Unable to access file.
> (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).
>
>
>
> I tried by changing the backslash to forward slash in the path but I am
> still getting the same error message.
>
>
>
> I don’t know what is going wrong.
>
> Any help in this regard will be highly appreciated. I require to solve
> it urgently.
>
Since you are using MS4W you can download the "MapServer Itasca Demo
Application" add-on application from the MS4W downloads page [1],
extract it at your drive root, restart Apache, and look on localhost for
a new link to the application - no configuration needed. Note: use MS4W
3.0 beta3 with this Itasca application.
[1] http://www.maptools.org/ms4w/index.phtml?page=downloads.html
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list