Suman, The Apache service is run as the local system user or another user defined in the Connexion properties of your Apache service. Once you know this user make sure he has the authorization to read the mapfile and the parent directories. Steve
Steve Toutant, M. Sc. Analyste en géomatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de santé publique du Québec 945, avenue Wolfe Québec, Qc G1V 5B3 Tél.: (418) 650-5115 #5281 Fax.: (418) 654-3144 [email protected] http://www.inspq.qc.ca "Suman Chatterjee" <[email protected]>@lists.osgeo.org Envoyé par : [email protected] 29/06/2009 01:01 PM A "Alan Boudreault" <[email protected]> cc [email protected] Objet RE: [mapserver-users] unable to access the map file 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:[email protected]] Sent: Monday, June 29, 2009 10:22 AM To: [email protected] 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 ******************************************************************************************************************* 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. ******************************************************************************************************************* _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
