[ka-Map-users] "Cleaner" Apache Configuration for ka-map
Jeff McKenna
jmckenna at dmsolutions.ca
Tue May 31 11:57:06 EDT 2005
I think we are still misunderstanding each other. MS4W has several
packages available that you can download and extract at the same root as
your MS4W installation, and avoid doing the manual steps that you
mention. For example, if you already have the MS4W base installed at
C:/, to install GMAP the easiest way is to download the MS4W-gmap
package (http://www.maptools.org/dl/ms4w/gmap_ms4w.zip) and simply
extract that at C:/ and restart apache. The same goes for ka-Map, its
MS4W package is available at
http://www.maptools.org/dl/ms4w/kamap_0.1.1_ms4w.zip, and the
instructions are 1) extract it to the same root as your ms4w, and 2)
restart apache.
The important note is that if you downloaded the non-ms4w ka-map package
you would have to do some configuring, as you mentioned. The point of
these ms4w packages (all available on
http://www.maptools.org/ms4w/index.phtml?page=downloads.html) is to
avoid configuring.
jeff
Micah Cochran wrote:
> 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
>>
>
>
>
>
>
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the ka-Map-users
mailing list