Re: [Qgis-user] QGIS Mapserver with Lighttpd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/2014 08:37 PM, Larry Shaffer wrote: > Hi Ivan, > > On Wed, Jul 9, 2014 at 6:46 AM, Ivan Minčík wrote: > >> Hi all, is anybody using QGIS Mapserver with Lighttpd and FastCGI ? Is >> QGIS projects update working without Lighttpd restart ? >> >> Can somebody share Lighttpd config ? >> > > The labeling unit tests use qgis_local_server.py [0] to auto-launch and > control a lighttpd/spawn-fcgi configuration [1] of independent processes. > You can see the parameters passed to the start/stop/restart shell scripts > here [2], for Debian and Mac (sorry no Windows yet, but please contribute > one if you can). > > Note: this is a local-only setup, merely to save PNGs of server output to > compare against control images and other rasterized output. It is by no > means secure, or robust; but, it is a working setup from which you can > start. Also, it uses very minimal resources. > > Good luck, and please contribute any working configs you come up with for > a production setup, so they can be included in the Server Tutorial. > > I am planning on adding a lighttpd/spawn-fgi and Nginx/(spawn-fgi or > uWSGI) setup configs section for the Server Tutorial, just not sure when. > > [0] > https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py > > [1] > https://github.com/qgis/QGIS/tree/master/tests/testdata/qgis_local_server > [2] > https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py#L164-L236 > > Regards, > > Larry Shaffer Dakota Cartography Black Hills, South Dakota Thanks a lot Larry. - -- Ivan Minčík ivan.min...@gmail.com GPG: 0x79529A1E http://imincik.github.io/0x79529A1E.key ivan.min...@gista.skGPG: 0xD714B02C http://imincik.github.io/0xD714B02C.key -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTvmCBAAoJEPfdLsR5UpoeaA8H/iSpK2YTSAi0DV5+K9XZNP52 AL4wiFUe55UXS/838OIXOi8VzsMEQBgPHI/+njTNqb/dNuRTD8L8I89XZnFONkl3 CAtmw6y7JM1oDfOnCrBfR1FHOtooffosEAzpqI5pfrlGDU9f9czv0R6nTR7ZEi7m 0x6WTbt7Gn8iahlIQm5rIhApqaqnI6Ij37EDUkWahoEtRsWCaoEYWXzbBdeiqM2J 1ljoe+05SjRrzmoEYBvKWiSypMOxheSeYJXuVbl/UVhe/95aTmZWzZG7Xac2lcCq 3afLCM9PxPVo92nQ/qJCPo9AmGoyFuRhD90TbXuH2qKGQqS8tIKeOmpuTifGdAY= =OJ7t -END PGP SIGNATURE- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS Mapserver with Lighttpd
Hi Ivan, On Wed, Jul 9, 2014 at 6:46 AM, Ivan Minčík wrote: > Hi all, > is anybody using QGIS Mapserver with Lighttpd and FastCGI ? Is QGIS > projects update working without Lighttpd restart ? > > Can somebody share Lighttpd config ? > The labeling unit tests use qgis_local_server.py [0] to auto-launch and control a lighttpd/spawn-fcgi configuration [1] of independent processes. You can see the parameters passed to the start/stop/restart shell scripts here [2], for Debian and Mac (sorry no Windows yet, but please contribute one if you can). Note: this is a local-only setup, merely to save PNGs of server output to compare against control images and other rasterized output. It is by no means secure, or robust; but, it is a working setup from which you can start. Also, it uses very minimal resources. Good luck, and please contribute any working configs you come up with for a production setup, so they can be included in the Server Tutorial. I am planning on adding a lighttpd/spawn-fgi and Nginx/(spawn-fgi or uWSGI) setup configs section for the Server Tutorial, just not sure when. [0] https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py [1] https://github.com/qgis/QGIS/tree/master/tests/testdata/qgis_local_server [2] https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py#L164-L236 Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota > > Thanks a lot. > > -- > Ivan Minčík > ivan.min...@gmail.com GPG: 0x79529A1E > http://imincik.github.io/0x79529A1E.key > ivan.min...@gista.sk GPG: 0xD714B02C > http://imincik.github.io/0xD714B02C.key > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS Mapserver with Lighttpd
Hi all, is anybody using QGIS Mapserver with Lighttpd and FastCGI ? Is QGIS projects update working without Lighttpd restart ? Can somebody share Lighttpd config ? Thanks a lot. -- Ivan Minčík ivan.min...@gmail.com GPG: 0x79529A1E http://imincik.github.io/0x79529A1E.key ivan.min...@gista.sk GPG: 0xD714B02C http://imincik.github.io/0xD714B02C.key ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user