Re: [mapserver-users] Multiple MapCache configuration files

2015-08-24 Thread geographika

Hi,

Many thanks for the quick reply!


   
  Order Allow,Deny
  Allow from all
   
   MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"
   MapCacheAlias /mapcache2 "C:/ms4w/apps/mapcache/mapcache2.xml"


I was getting the following errors in the log at first (even after a 
restart):


[Mon Aug 24 14:59:34 2015] [error] [client 127.0.0.1] File does not 
exist: C:/ms4w/Apache/htdocs/mapcache2


However after a few restarts of Apache everything started working 
correctly.


Regards,

Seth






On 24/08/2015 15:10, Travis Kirstine wrote:

You can create multiple aliases in apache


   
  Order Allow,Deny
  Allow from all
   
   MapCacheAlias /mapcache_1 "/path/to/mapcache_1.xml"
   MapCacheAlias /mapcache_2 "/path/to/mapcache_2.xml"
   MapCacheAlias /mapcache_3 "/path/to/mapcache_3.xml"



On Mon, Aug 24, 2015 at 8:51 AM, geographika > wrote:


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):


   
  Order Allow,Deny
  Allow from all
   
   MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"


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



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapserver-users




--
FBS Logo

*Travis Kirstine*, Web Development Supervisor
*t *905‑477‑3600/ x /301 | *m *905‑534‑4798 | 
tkirst...@firstbasesolution.com 


*First Base Solutions Inc.*
140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3
*t* 905‑477‑3600 | *f* 905‑477‑0892 | www.firstbasesolutions.com 





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Multiple MapCache configuration files

2015-08-24 Thread Travis Kirstine
You can create multiple aliases in apache


   
  Order Allow,Deny
  Allow from all
   
   MapCacheAlias /mapcache_1 "/path/to/mapcache_1.xml"
   MapCacheAlias /mapcache_2 "/path/to/mapcache_2.xml"
   MapCacheAlias /mapcache_3 "/path/to/mapcache_3.xml"



On Mon, Aug 24, 2015 at 8:51 AM, geographika  wrote:

> 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):
>
> 
>
>   Order Allow,Deny
>   Allow from all
>
>MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"
> 
>
> 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
>
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
[image: FBS Logo]

*Travis Kirstine*, Web Development Supervisor
*t *905‑477‑3600* x *301 | *m *905‑534‑4798 |
tkirst...@firstbasesolution.com

*First Base Solutions Inc.*
140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3
*t* 905‑477‑3600 | *f* 905‑477‑0892 | www.firstbasesolutions.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Multiple MapCache configuration files

2015-08-24 Thread geographika

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):



   
  Order Allow,Deny
  Allow from all
   
   MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"


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


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users