[ms4w-users] Baisc Windows question....
Barbara H. Carroll
geografx at sprynet.com
Mon Nov 20 10:29:11 EST 2006
Thanks for the response - I had found your URL and that was a help to me...
So far this is what I have for windows installation:
DocumentRoot=/ms4w/Apache/htdocs/ - so is /var/www/htdocs the same thing?
If you run phpinfo.php from the DocumentRoot it will give you quite a bit of
Programs need to have the extent added to them in order to run ie
/cgi-bin/mapserv.exe rather than /cgi-bin/mapserv
In the book on page 21 they talk about /home/mapdata/hello.map - where is
/home/mapdata/ supposed to be located?
I REALLY appreciated you adding the data files to your posting - I haven't
downloaded them yet, but will later today.
I want to learn how to use MapServer capabilities. This is really
frustrating for me!!!
From: Anthony Gangemi [mailto:gangemia at usq.edu.au]
Sent: Sunday, November 19, 2006 11:56 PM
To: Barbara H. Carroll; ms4w-users at lists.maptools.org
Subject: RE: [ms4w-users] Baisc Windows question....
I'm also using this book with Windows and I've started the process. You
can find my code modifications at the following URL:
In the mapfiles and template files, you will see the file path
modifications and other minor changes/additions I've made to fit my
Some of the issues I've found whilst using this book with Windows XP
page 21, the listing for line 04 for Windows must be: <form method =POST
Therefore wherever you see "/cgi-bin/mapserv", append it with ".exe"
page 53, listing 3-2, after line 007 add the following:
<input type="hidden" name="map_web_imagepath" value="/ms4w/tmp/">
page 54, listing 3-3, after line 49 add the the following:
<input type="hidden" name="map_web_imagepath"
Adding these lines make my applications work. There are probably more
changes/additions as you get deeper into the book. So far I'm on
chapter 4 and I still have issues with the chapter 4 code that I need to
resolve (will investigate this when I find time).
University of Southern Queensland, Toowoomba, Australia
Faculty of Engineering and Surveying
From: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of Barbara H.
Sent: Monday, 20 November 2006 7:39 am
To: ms4w-users at lists.maptools.org
Subject: [ms4w-users] Baisc Windows question....
Hi MS4W Users,
This is my first question to the mailing list and I'm afraid it's a VERY
basic one. I'm currently going through the exercises from Bill Kropla's
MapServer: Open Source GIS Development". It's assuming a linux/unix
installation. I have no clue what to change the parameters to so it
will work with a windows installation.
IMAGEPATH '/var/www/htdocs/tmp/' - I gather this is /ms4w/tmp/ms_tmp/
IMAGEURL '/tmp/' and this is /ms_tmp/
What do I change the variables to and where to I put them? Is there
anything else I need to do so this will work. The basic mapserver is
working without errors.
Thanks so much for your help
More information about the ms4w-users