<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Many thanks for the quick reply!<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>
         MapCacheAlias /mapcache2
      "C:/ms4w/apps/mapcache/mapcache2.xml"   <br>
      </IfModule><br>
      <br>
      I was getting the following errors in the log at first (even after
      a restart):<br>
      <br>
      [Mon Aug 24 14:59:34 2015] [error] [client 127.0.0.1] File does
      not exist: C:/ms4w/Apache/htdocs/mapcache2<br>
      <br>
      However after a few restarts of Apache everything started working
      correctly. <br>
      <br>
      Regards,<br>
      <br>
      Seth<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 24/08/2015 15:10, Travis Kirstine wrote:<br>
    </div>
    <blockquote
cite="mid:CAJD6UBNd9VSW8Z8zqkDxfa6HXACVEG12wauuRi8X6yugXxBnRg@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
              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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
              href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              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 moz-do-not-send="true"
                      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
                        moz-do-not-send="true"
                        href="mailto:tkirstine@firstbasesolution.com"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tkirstine@firstbasesolution.com">tkirstine@firstbasesolution.com</a></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 moz-do-not-send="true"
                        href="http://www.firstbasesolutions.com"
                        target="_blank">www.firstbasesolutions.com</a> </p>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>