[ka-Map-users] "Cleaner" Apache Configuration for ka-map

Micah Cochran mcochran at ci.athens.al.us
Tue May 31 09:08:25 EDT 2005


I guess I didn't make it clear that I was referring to the installation
using the MS4W package. This is a cleaner way that is referred therein in
the MS4W installation. I am submitting this so someone might benefit from
these instructions or these might be used I in the next release for the
instructions.

Micah

-----Original Message-----
From: Jeff McKenna 
To: Micah Cochran


an even cleaner way is to use the ms4w download package for kamap 
(http://www.maptools.org/ms4w/index.phtml?page=downloads.html)   :)


jeff





Micah Cochran wrote:
> The documentation says that there is a cleaner way to configure ka-map. So
I
> want to tell you the cleaner way I configured it. I am doing this on
Windows
> (XP) machine using the MS4W. I configured it similarly to the way gmap is
> configured in this package. 
> 
> - I extracted ka-map's zip to C:\ms4w\apps\ka-map then 
> - copied the entire gmap folder's contents (C:\ms4w\apps\gmap) to
> C:\ms4w\apps\ka-map.
> - did the following variable modifications in config.php (I commented the
> others out using the // at the start of the line to comment the line out,
or
> you can delete them)
> 
> $szPHPMapScriptModule = 'php_mapscript_44.'.PHP_SHLIB_SUFFIX;
> $szPHPGDModule = 'php_gd2.'.PHP_SHLIB_SUFFIX;
> $aszMapFiles = array(
>   "gmap"   => array( "GMap", "gmap75.map",
>                      array( 15000000, 7500000, 3000000, 1000000 ),
>                      "PNG")
> 
> - added the following to Apache's http.conf in C:\ms4w\Apache\conf 
> Alias /ka-map/ "/ms4w/apps/ka-map/htdocs/"
> 
> <Directory "/ms4w/apps/ka-map/htdocs/">
>   AllowOverride None
>   Options Indexes FollowSymLinks Multiviews 
>   Order allow,deny
>   Allow from all
> </Directory>
> 
> - Used cygwin's shell to stop and start Apache web server
> 'net stop "Apache Web Server"' then 'net start "Apache Web Server"' (this
> can also be done by simply restarting the machine)
> 
> Happy Configuring!
> Micah Cochran
> 
> 
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
> 





More information about the ka-Map-users mailing list