[mapserver-users] mapcache - problems on install

Helen San Segundo Navazo hsansegundo at meteo.cat
Mon May 14 00:35:57 PDT 2012


Hi ,
thanks, now it works, it was a access problem to the disk where the 
folder with the mapcache.xml file was,  I've changed the access to 
another disk and it works perfectly.
Now I can make some tests to understand how it works.
Thanks Steve for the explanation,
Helen

El 11/05/12 15:11, Stephen Woodbridge escribió:
> On 5/11/2012 8:22 AM, Helen San Segundo Navazo wrote:
>> Sorry for insisting but I don't understeand how mapcache works.
>>
>> When I invoke in the url http://localhost/mapcache/ apache reads the
>> MapCacheAlias so it goes to the path
>> /home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/ and read
>> mapcache.xml file?
>>
>> If I invoke http://localhost/mapcache/demo what's doing? reads/create a
>> demo folder inside the path
>> /home/curs/Desarrollo/Aplicaciones/mapserver-mapcache-18a50e2/ or goes
>> inside the mapcache.xml to a tag with "demo" value?
>>
>> I send a jpg with my structure of folders, is missing something?
>>
>> Maybe if I understand how mapcache works I would find what's the 
>> problem.
>> Thanks
>
> In the apache config you want to specify a MapCacheAlias, this should 
> be to a non-existent directory as apache will use this path to handoff 
> the request to the mapcache service handler. For example:
>
> MapCacheAlias /mapcache /usr/var/mapcache/mapcache.xml
>
> When mapcache gets the handoff it reads the mapcache.xml config file 
> which defines the various services, grids, etc that you have configured.
>
> If you have enabled the demo service for example:
>
> http://localhost/mapcache/demo
>
> Then mapcache will generate an html page the list the configured 
> services. And if you click on one of the servers like wms if you 
> configured that, it will generate a sample OpenLayers application 
> preconfigured to access that service. You can view the page source to 
> see how to setup OpenLayers to access that service.
>
> HTH,
>   -Steve W
> _______________________________________________
> 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