[mapserver-users] Multiple MapCache configuration files

geographika geographika at gmail.com
Mon Aug 24 05:51:00 PDT 2015


Hi,

As per the configuration guide I have a single xml configuration file 
for all MapCache layers. This is set in httpd.conf (I'm using ms4w, and 
running on a Windows server):

<IfModule mapcache_module>
    <Directory "/ms4w/apps/mapcache/">
       Order Allow,Deny
       Allow from all
    </Directory>
    MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"
</IfModule>

However I'm using MapCache on a development server and hosting several 
different applications. I create the xml file dynamically for each 
application, however with this approach I either have to change the 
above path and restart Apache, or merge all the xml files together to a 
single file.

Is there anyway to change which xml file is used using a querystring, or 
is there any other suggested approach to handling multiple mapcache.xml 
files?

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150824/06f3b224/attachment.htm>


More information about the MapServer-users mailing list