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

Jeff McKenna jmckenna at dmsolutions.ca
Fri May 27 18:05:19 EDT 2005


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