Setting up GMAP for MS4W
Bart van den Eijnden
bartvde at XS4ALL.NL
Mon Feb 28 15:31:11 EST 2005
first of all, it would be better to ask this question on the MS4W list.
Fast answer, to install an MS4W application you have to do:
-place the application specific conf file in the /ms4w/httpd.d directory
-place the application specific pkg.html file in the /ms4w/apache/htdocs
-place the application in /ms4w/apps/
If you have downloaded MS4W, you don't need to setup any aliases in Apache
conf files. It is preconfigured. Btw never use the same name for an alias
as in your example, Apache does not like that.
The problem is that the MS4W GMap application is a bit outdated (2003!),
there was an update on this to work with Mapserver/Mapscript 4, but not as
an MS4W package, see gmap-ms40.zip on:
Hope this gets you started, if not please continue on the MS4W list.
On Mon, 28 Feb 2005 14:25:28 -0600, Lahn Pra <frstylrz at JUNO.COM> wrote:
> Hi.. I'm a bit confused as to how to set up GMAP_ms4w for a precompiled
> version of MS4W that I installed. I got the MS4W(4.4.1) and GMAP from
> maptools.org. I read the GMAP installations. I extracted into the root
> created a c:\tmp\ms_tmp folder like it asked. Next, it says to create an
> alias in the Apache configuration. I'm new to MapServers (Web Servers in
> general) and not too familiar as to what this means. I'm assuming that I
> supposed to insert an 'Alias' pointing to the ms_tmp file.."?" into the
> c:\ms4w\httpd.d -httpd_gmap.conf file? or the c:\apache\conf -httpd.conf
> I've tried both. Changes in the httpd.conf file resulted in errors. The
> Mapserver ended up loading pages with missing images. My
> file looks like this...
> Alias /gmap/ "/ms4w/apps/gmap/htdocs/"
> Alias /gmap/ "/ms4w/tmp/ms_tmp"
> I made the changes and restarted the apache server. It doesn't work. In
> addition.. when I do try to access the Gmap link, I get the following
> Warning: dl(): Unable to load dynamic
> library '/ms4w/Apache/php/extensions/php_mapscript_36.dll' - The
> module could not be found. in C:\ms4w\apps\gmap\htdocs\gmap75.phtml on
> Fatal error: Call to undefined function: ms_getversion() in
> C:\ms4w\apps\gmap\htdocs\gmap75.php3 on line 51
> I think I may be doing this entirely wrong. If someone can help, tha'd be
> great. Thanks.
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the mapserver-users