[mapserver-users] MapCache configuration issue

Michael Smith MichaelS at abag.ca.gov
Fri Aug 10 11:44:15 PDT 2012


I have MapServer installed and configured to act as a WMS and it is working fine. The problem I am having comes when I try to enable MapCache. When I uncomment the MapCache line in httpd.conf to enable the module and restart Apache it fails with the error 'failed to parse file... unexpected closing tag </mapcache>.' This seems odd as I have an opening <mapcache> tag in mapcache.xml.

My guess is that I made an error when configuring mapcache.xml for my service. Unfortunately, since Apache will not start with MapCache enabled, there is nothing in error.log describing what is going on.

I am running MapServer 6.1-dev, from MS4W 3.0.4-dev, on Windows Server 2003 Service Pack 2. The images being served are JPEG hillshades using the NAD83 UTM Zone10N projection. I am not trying to reproject the image. The httpd.conf was modified to load the module and points to the location of mapcache.xml and the directory where the tiles will be saved is open to all users to read, write, and execute.

I have attached the GetCapabilities output for the server and the mapcache.xml config file. Did I completely miss something in the documentation when building the cache config?

- Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapcache.xml
Type: text/xml
Size: 2245 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120810/872c0658/attachment-0002.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapServer_GetCapabilities_request.xml
Type: text/xml
Size: 4529 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120810/872c0658/attachment-0003.xml>


More information about the mapserver-users mailing list