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

G. Allegri giohappy at gmail.com
Wed Oct 19 03:30:02 EDT 2011


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.hugentobler at sourcepole.ch>

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20111019/8dad5676/attachment.html


More information about the Qgis-developer mailing list