[mapserver-users] unable to access the map file

Alan Boudreault aboudreault at mapgears.com
Mon Jun 29 10:11:33 PDT 2009


Honestly, I don't really remember how file permissions are handled under 
Windows. There is surely a GUI that you can access via "right click -> 
property" on the file or something like that. You should verify if the 
"others" than the file owner can read the file. You could have to check  the 
tree directory, maybe it's a directory that have a restricted permission.

Alan

On June 29, 2009 01:01:51 pm Suman Chatterjee wrote:
> Hi Alan,
> My map file cannot be read by the web application user. But how to
> correct it? I am using IE 7. What is the user account for web
> application user in case of Apache?
> I am looking forward for your reply.
> Thanks
> Suman
> -----Original Message-----
> From: Alan Boudreault [mailto:aboudreault at mapgears.com]
> Sent: Monday, June 29, 2009 10:22 AM
> To: mapserver-users at lists.osgeo.org
> Cc: Suman Chatterjee
> Subject: Re: [mapserver-users] unable to access the map file
>
> Hi,
>
> If you are sure that the path is good, did you check the file
> permissions?
> Does the mapfile can be read by your web application user ?
>
> Alan
>
> On June 29, 2009 11:13:04 am 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\mapserver
>
> > demo\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.
> >
> >
> >
> > Thanks
> >
> > Suman
>
> ************************************************************************
> ***
>
> >**************************************** This e-mail and any files or
> > attachments transmitted with it contains Information that is
>
> confidential
>
> > and privileged. This document may contain Protected Health Information
> > (PHI) or other information that is intended only for the use of the
> > individual(s) and entity(ies) to whom it is addressed. If you are the
> > intended recipient, further disclosures are prohibited without proper
> > authorization. If you are not the intended recipient, any disclosure,
> > copying, printing, or use of this information is strictly prohibited
>
> and
>
> > possibly a violation of federal or state law and regulations. If you
>
> have
>
> > received this information in error, please delete it and notify Hamid
> > Khaleghipour at 972-450-2868 immediately. Thank you.
>
> ************************************************************************
> ***
>
> >****************************************

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com



More information about the MapServer-users mailing list