changes in trunk related to apache configuration format

8 views
Skip to first unread message

thomas bonfort

unread,
Jul 4, 2011, 11:15:10 AM7/4/11
to mod-geocache
Hi,

Due to quirks in the way apache handled some requests when using a
SetHandler+Location , the code in trunk and therefore in the upcoming
0.5 has been adapted and this has implied a change in the syntax used
to activate mod-geocache.

The old syntax:
<Location /geocache>
SetHandler geocache
GeoCacheConfigfile /path/to/directory/geocache.xml
</Location>

This will now fail, and must be replaced by:

<Directory "/path/to/directory/">
Order allow,deny
Allow from all
</Directory>
GeoCacheAlias /geocache "/home/tbonfort/dev/mod-geocache/geocache.xml"

These changes were required in order to support putting geocache at
the root of a webserver, i.e.:
GeoCacheAlias / "/home/tbonfort/dev/mod-geocache/geocache.xml"

A second change concerns the seeder. It has been substantially
rewritten as the first iteration was a mess. There should be no change
in behavior, but an additional software component, namely GEOS, is
needed for seeding an area given by a shapefile. This has the
advantage that we can used PreparedGeometries, which are much faster
when computing if a tile intersects a geographical area. The configure
script should do the necessary changes automatically, unless your
geos-config program is not on the default PATH.

regards,

thomas

Reply all
Reply to author
Forward
0 new messages