Setting Paths

Brent Fraser bfraser at geoanalytic.com
Wed Nov 22 12:49:37 PST 2000


You need to do two things:
   1. set up a virtual directory, say  g:\_PublicWebSite\wwwroot\ms_demo\tmp
        to point to g:\tmp (you've likely already done this)
   2. Edit the  demo.map file.  In the WEB portion:
            IMAGEPATH "g:\_PublicWebSite\wwwroot\ms_demo\tmp\"
            IMAGEURL "/tmp/"

Leave the demo.html as it was delivered.

Brent
bfraser at geoanalytic.com
GeoAnalytic Inc.
#300 , 700 - 4th Avenue SW Calgary, AB
Canada T2P 3J4
Tel:  (403)213-2700 Fax:  (403)213-2707
www.geoanalytic.com


----- Original Message -----
From: "Kieran J. Ames" <kames at keyspanenergy.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, November 22, 2000 11:00 AM
Subject: Setting Paths


> Group,
> In getting the demo running, I'm running across some path issues that I
> don't understand.
> Running NT4.0 Mapserver 3.3.012
> The Mapserv executable is in g:\_PublicWebSite\cgi-bin\mapserv
> The demo is in g:\_PublicWebSite\wwwroot\ms_demo
> The tmp directory (for images) is in g:\tmp. All directories have
> appropriate read & write access and virtual directories are defined as
> well.
>
> The problem: the DEMO images are being written to
> g:\_PublicWebSite\wwwroot\ms_demo and not to the tmp directory I thought
> they'd be written to. I modified read and write access to get the page
> to work. If I then change the pointer tags in demo.html from
> SRC="[img]"     to   SRC="../../ms_demo/[img]"
> then it all seems to work properly. However, that doesn't seem to be the
> best way of doing things.
> I understand that there is no longer a mapserv.ini file. How can I get
> the files to write where I want them to?
> Thanks for the help (and Happy Thanksgiving to all).
> Kieran
>




More information about the MapServer-users mailing list