[mapserver-users] Installing mod_mapcache on Apache 2.4.4
Rahkonen Jukka
jukka.rahkonen at mmmtike.fi
Mon Jun 10 00:25:27 PDT 2013
Hi,
In case this could help someone, I found that for some reason the instructions for installing Mapcache on Apache version >2.4 did not work for me.
The document http://www.mapserver.org/trunk/mapcache/install.html suggests to use the new access control syntax which is described in a similar way also in this Apache document http://www.mapserver.org/trunk/mapcache/install.html
The syntax to use nowadays is like
<IfModule mapcache_module>
<Directory /path/to/directory>
Require all granted
</Directory>
MapCacheAlias /mapcache "/path/to/directory/mapcache.xml"
</IfModule> "
However, with that configuration my Apache v. 2.4.4 (Unix) on CentOS told that there is no permission to /mapcache. After changing back to the Apache <2.4 syntax I can access Mapcache
<Directory /path/to/directory>
Order Allow,Deny
Allow from all
</Directory>
-Jukka Rahkonen-
More information about the MapServer-users
mailing list