[mapserver-users] MapCache configuration issue

thomas bonfort thomas.bonfort at gmail.com
Fri Aug 10 12:16:02 PDT 2012


Hi,
you're missing the closing / in <default_format> => </default_format>

--
thomas

On Fri, Aug 10, 2012 at 8:44 PM, Michael Smith <MichaelS at abag.ca.gov> wrote:
> 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
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list