[Qgis-developer] QgisMapserver - need to restart Apache on every
project file change ?
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Wed Oct 19 02:01:45 EDT 2011
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 Dienstag, 18. Oktober 2011, 19.23:28 schrieb 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 returned, otherwise a new cache entry is created and
> returned.
> I would expect this should work, but before I will build the trunk version
> I would like to know if it's solved indeed.
>
> thanks,
> Giovanni
--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer
mailing list