<div dir="ltr">You can create multiple aliases in apache<br><div><br><IfModule mapcache_module><br>   <Directory /path/to/mapcache><br>      Order Allow,Deny<br>      Allow from all<br>   </Directory><br>   MapCacheAlias /mapcache_1 "/path/to/mapcache_1.xml"<br>   MapCacheAlias /mapcache_2 "/path/to/mapcache_2.xml"<br>   MapCacheAlias /mapcache_3 "/path/to/mapcache_3.xml"<br></IfModule><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 24, 2015 at 8:51 AM, geographika <span dir="ltr"><<a href="mailto:geographika@gmail.com" target="_blank">geographika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    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):<br>
    <br>
    <IfModule mapcache_module><br>
       <Directory "/ms4w/apps/mapcache/"><br>
          Order Allow,Deny<br>
          Allow from all<br>
       </Directory><br>
       MapCacheAlias /mapcache "C:/ms4w/apps/mapcache/mapcache.xml"<br>
    </IfModule><br>
    <br>
    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. <br>
    <br>
    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?<br>
    <br>
    Regards,<br>
    <br>
    Seth<br>
    <br>
    <div lang="x-western"> <font color="#888888">--<br>
        web:</font><a href="http://geographika.co.uk" target="_blank"><font color="#888888"> </font>http://geographika.co.uk</a><br>
      <font color="#888888">twitter: @geographika<br>
      </font><br>
    </div>
    <br>
  </div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">
        
        <table style="font-family:'exo 2.0','Helvetica Neue',Helvetica,sans-serif;font-size:13px;font-weight:lighter;margin:0;padding:18px 0 0 0" border="0" cellpadding="0" cellspacing="">
                
                <tbody>
                        <tr>
                                <td valign="top">
                                        <img src="http://www.firstbasesolutions.com/images/FBS-Logo.png" alt="FBS Logo" style="padding:0 18px 0 0;margin:0" border="0" height="72" width="84">
                                </td>
                                <td style="border-left:1px dotted #0e2853;padding:0 0 0 18px;margin:0" valign="top">
                                        <p style="margin-top:0">
                                                <b>Travis Kirstine</b>, Web Development Supervisor <br>
                                                <b>t </b>905‑477‑3600<i> x </i>301 <span style="color:#ccc">|</span> 
                                                <b>m </b>905‑534‑4798 <span style="color:#ccc">|</span> <a href="mailto:tkirstine@firstbasesolution.com" target="_blank">tkirstine@firstbasesolution.com</a>
                                        </p>
                                
                                        <p style="margin-bottom:0">
                                                <b>First Base Solutions Inc.</b><br>
                                                140 Renfrew Drive, Suite 100 <span style="color:#ccc">|</span> 
                                                Markham <span style="color:#ccc">|</span> 
                                                Ontario <span style="color:#ccc">|</span> L3R 6B3<br>
                                                <b>t</b> 905‑477‑3600 <span style="color:#ccc">|</span> 
                                                <b>f</b> 905‑477‑0892 <span style="color:#ccc">|</span> 
                                                <a href="http://www.firstbasesolutions.com" target="_blank">www.firstbasesolutions.com</a>
                                        </p>
                                </td>
                        </tr>
                </tbody>
                
        </table>
        
        

</div></div>
</div>