Migrating from Windows to Linux: trouble with mapfiles
Steven De Vriendt
gisaalter at GMAIL.COM
Wed Nov 14 07:55:14 PST 2007
Gregor:
this is my layer-setup for postgis-wms..
am I missing out something ?
LAYER
NAME "grens"
METADATA
"wms_title" "gemeentegrens"
END
CONNECTIONTYPE postgis
CONNECTION "host=****** <http://80.201.239.208/> port=**** dbname=*****
user=****** password=*****"
DATA "the_geom from alrgemline"
TYPE LINE
CLASS
NAME "KadScan"
COLOR 221 221 221
OUTLINECOLOR 238 238 238
END
PROJECTION
"init=epsg:31300"
END
On Nov 14, 2007 4:06 PM, Steven De Vriendt <gisaalter at gmail.com> wrote:
> Ok, thanks all.
> With the help from Kyle"s file I was able to access my mapserver, still I
> do get an error
>
> msEvalRegex(): Regular expression error. String
> (/etc/mapserver/wmsserver.map?) failed expression test.
>
> I will search the archives whats causing this...
>
> Thanks !
>
>
>
>
> On Nov 14, 2007 4:02 PM, Ed McNierney < ed at topozone.com> wrote:
>
> > Steven -
> >
> > In addition to Kyle's example and info, one of the most likely problems
> > is that you're moving from an operating system that is not case-sensitive to
> > one that is. If your mapfile refers to the file XYZZY and on Windows you
> > have a file named xyzzy, that file will be found. On Linux it will not be
> > found, as XYZZY and xyzzy are two different filenames.
> >
> > - Ed
> >
> > Ed McNierney
> > TopoZone.com
> >
> > ________________________________
> >
> > From: UMN MapServer Users List on behalf of Steven De Vriendt
> > Sent: Wed 11/14/2007 9:24 AM
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: [UMN_MAPSERVER-USERS] Migrating from Windows to Linux: trouble
> > with mapfiles
> >
> >
> > Hi list,
> >
> > I'm migrating from windows to linux (ubuntu) but I have some trouble
> > getting a map-file to work.
> > I want to be able to access my server as wms but I'm not sure what to
> > look out for when
> > making a map-file. I'm having trouble with path-names etc...
> >
> > Can someone give me an example of a working mapfile for Linux ?
> >
> > That would be great !
> >
> > Thanks !
> >
> > Steven
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071114/f2418a64/attachment.htm>
More information about the MapServer-users
mailing list