[MS4W-Users] Fwd: MapServer 6.0.0-beta6 upgrade package available

Alan Boudreault aboudreault at mapgears.com
Fri Apr 15 11:52:06 EST 2011


That's right. The single backslash is also supported, unless it is at the end 
of the string, since a ' or a " is following it.

Alan

On April 15, 2011 11:14:29 am Andrew Ross wrote:
> ---------- Forwarded message ----------
> From: Andrew Ross <rummagebin at gmail.com>
> Date: Fri, Apr 15, 2011 at 11:11 AM
> Subject: Re: [MS4W-Users] MapServer 6.0.0-beta6 upgrade package available
> To: Brent Fraser <bfraser at geoanalytic.com>
> 
> 
> Thanks, that solves the problem.  In fact this:
> 
> '\\\\mycoumputer\\myshare\\mypath'
> 
> appears to work as well as this:
> 
> '\\\\mycoumputer\myshare\mypath'
> 
> notice the double backslashes throughout the first path.  Is there a
> section in the documentation regarding UNC paths? seems like it would be
> necessary at this point.
> 
> Thanks again,
> 
> Andrew
> 
> On Fri, Apr 15, 2011 at 10:42 AM, Brent Fraser 
<bfraser at geoanalytic.com>wrote:
> > I noticed that due to parsing changes in mapserver 6,  I had to change
> > 
> >    IMAGEPATH 'C:\inetpub\wwwroot\tmp\'
> > 
> > to
> > 
> >    IMAGEPATH 'C:\inetpub\wwwroot\tmp\\'
> > 
> > Note the double backslash at the end.  In the old string, likely the
> > parser is interpreting the backslash as an "escape" character, including
> > the quote in the string and looking for a close quote (and failing).
> > 
> > Perhaps UNC paths would work if you used FOUR backslashes (so the parser
> > will include two in the string):
> > 
> > '\\\\mycoumputer\myshare\mypath'
> > 
> > Best Regards,
> > Brent Fraser
> > 
> > On 4/15/2011 7:13 AM, andrew_peru wrote:
> >> Not sure if I'm to provide feedback by answering this e-mail, I guess
> >> you'll
> >> let me know if not.
> >> 
> >> In the meantime this version will fail to load a map file if it contains
> >> UNC
> >> paths.  Switched all my paths to letter drives and it loads no problem.
> >> 
> >> --
> >> View this message in context:
> >> http://osgeo-org.1803224.n2.nabble.com/MS4W-Users-MapServer-6-0-0-beta6-
> >> upgrade-package-available-tp6274382p6276285.html Sent from the
> >> ms4w-users mailing list archive at Nabble.com.
> >> _______________________________________________
> >> MS4W-Users mailing list
> >> MS4W-Users at lists.maptools.org
> >> http://lists.maptools.org/mailman/listinfo/ms4w-users

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


More information about the MS4W-Users mailing list