[mapserver-users] Unable to activate cache template in mapcache

thomas bonfort thomas.bonfort at gmail.com
Mon May 27 00:59:13 PDT 2013


Nicolas,
This needs documenting, but you should be able to activate it with
<cache name="media" type="disk" layout="template">
  <template>/home/tppostgis/Bureau/mapcache/tiles/{
tileset}_{grid}/{z}/{x}/{y}.png</template>
</cache>

--
thomas


On 26 May 2013 16:19, nmoyroud <nmoyroud at free.fr> wrote:

> Hello,
>
> In mapcache when I use a template for my cache, and restart apache2 it
> doesn't work. I get the following message : "disk cache media has no base
> directory or template".
> Here is my mapcache.xml file :
>    <cache name="media" type="disk">
>
>
> <template>/home/tppostgis/Bureau/mapcache/tiles/{tileset}_{grid}/{z}/{x}/{y}.png</template>
>    </cache>
> When I change for <base> instead of <template> I have no error in apache2.
> But I really need to work with a template scheme.
> I copied the mapcache.xml from the official doc and these is still the same
> problem ! I bang my head against wall for hours without any success :-)
> Thanks for your help.
>
> Nicolas
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Unable-to-activate-cache-template-in-mapcache-tp5055805.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130527/61940dab/attachment.html>


More information about the mapserver-users mailing list