I am also in need of this feature, in my case it&#39;s an Administrator panel that will control MapCache options.<div><br><div>As a suggestion maybe create an option in MapCache configuration file (by default false) that on request to an apache process will check if the last modified date of the configuration file was changed and if yes then reload the configuration and after that continue processing. </div>
<div><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort <span dir="ltr">&lt;<a href="mailto:tbonfort@terriscope.fr">tbonfort@terriscope.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
AFAIK, this isn&#39;t possible. Inside an apache module, the configuration<br>
is considered read-only as it is shared between multiple worker<br>
threads/processed spawned by httpd.<br>
<br>
apachectl configtest &amp;&amp; apachectl graceful will restart the server<br>
gracefully, i.e. without aborting ongoing requests, and will load the<br>
new configuration for subsequent requests.<br>
<br>
--<br>
thomas<br>
<div><div class="h5"><br>
On Mon, Dec 5, 2011 at 23:37, John Taranu<br>
&lt;<a href="mailto:jtaranu@firstbasesolutions.com">jtaranu@firstbasesolutions.com</a>&gt; wrote:<br>
&gt; Thomas,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Is there a better way force MapCache to reload its configuration script than<br>
&gt; restarting apache?  I’m working on an application that will use two<br>
&gt; load-balanced web servers running MapCache, all pointing to a single central<br>
&gt; tile repository and a single central .xml configuration file.  The<br>
&gt; configuration file will occasionally be edited, either with deletions or<br>
&gt; additional tilesets.  Both web servers need to reload the updated<br>
&gt; configuration .xml.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Is it possible to set up MapCache to check if the config file was recently<br>
&gt; updated and, if so, reload the config .xml?  It looks like this is currently<br>
&gt; enabled under FastCGI, but not under Apache.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; John<br>
</div></div>_______________________________________________<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" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br></div></div>