Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-19 Thread Marco Hugentobler
Hi Giovanni QGIS server uses the QFileSystemWatcher class ( http://doc.qt.nokia.com/4.7/qfilesystemwatcher.html) to check if a configuration file has changed. So in newer versions, changes to the published project files should be picked up without restarting apache. Regards, Marco Am

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-19 Thread G. Allegri
Thanks Marco, I supposed it watching the source code. But what about the need to reload apache if I send a different MAP request (i.e. a differnet configuration file)? It should work too, am I wrong? giovanni 2011/10/19 Marco Hugentobler marco.hugentob...@sourcepole.ch Hi Giovanni QGIS

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-19 Thread Marco Hugentobler
Hi Giovanni It should work too, am I wrong? Yes, the MAP parameter should be considered too. Regards, Marco Am Mittwoch, 19. Oktober 2011, 09.30:02 schrieb G. Allegri: Thanks Marco, I supposed it watching the source code. But what about the need to reload apache if I send a different MAP

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-18 Thread G. Allegri
I haven't found the time to setup a fresher qgismapserver, but looking at the source code in trunk I can't see what's causing this. It seems that, inside the fcgi loop, a configuration for a requested MAP confipath is searched inside the cache instance. In case it's found the result is directly

[Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-04-04 Thread kimaidou
Hi all, Marco, I am testing Qgis mapserver on a demo server. I realized I needed to restart Apache so that an server side project file has been modified to see the changes in the WMS. Is it normal, or is it a misconfiguration on my side ? NB : I am using ubuntu 10.10, and symbolic links to add

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-04-04 Thread Andreas Neumann
Yes - but it comes at a price: the CGI version does not profit from the caching mechanism and thus will be a lot slower. Also, it has to load QGIS server and libraries for each request. For medium complex to complex projects this will be way too slow. Andreas On Mon, 4 Apr 2011 13:09:23

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-04-04 Thread kimaidou
Thanks Pirmin and Andreas, Now I have 2 different ways I can use according to specific needs. Cheers 2011/4/4 Andreas Neumann a.neum...@carto.net Yes - but it comes at a price: the CGI version does not profit from the caching mechanism and thus will be a lot slower. Also, it has to load