[Tilecache] updating conf without restarting web server?

Sebastian E. Ovide sebastian.ovide at gmail.com
Wed Nov 3 07:18:37 EDT 2010


Hi Ivan,

I dont't know if I am running in wsgi... I running the default installation
on ubuntu 10.10 (apt-get install tilecache) with apache mod_fcgi...

ScriptAlias /tilecache /usr/lib/cgi-bin/tilecache.fcgi

what script should I modify ?

thanks

On Wed, Nov 3, 2010 at 11:10 AM, Ivan Mincik <ivan.mincik at gista.sk> wrote:

> On 11/03/2010 11:45 AM, manel.clos at ajgirona.cat wrote:
>
>> Hi Sebastian,
>>
>> if you are running on wsgi, you can modify your script to intercept a
>> special url like:
>>
>>     if environ['PATH_INFO'] == "/reload_config":
>>         theService = Service.load(cfgs)
>>         content = "Config reload OK"
>>         start_response('200 OK',[('Content-type','text/plain'),
>>                                  ('Pragma','no cache'),
>>                                  ('Cache-Control','no-cache,
>> must-revalidate')])
>>         return content
>> When in a normal request theService will be reused.
>>
>>  One note from my experience:
> in wsgi script, You should use 'processes=1' parameter in WSGIDaemonProcess
> otherwise it will not work correctly (at least in my case).
>
>
> --
> Ivan Mincik, Gista s.r.o.
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache
>



-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20101103/4572e0a0/attachment.html


More information about the Tilecache mailing list