<div dir="ltr">Hi Ivan,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 6:46 AM, Ivan Minčík <span dir="ltr"><<a href="mailto:ivan.mincik@gmail.com" target="_blank">ivan.mincik@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi all,<br>is anybody using QGIS Mapserver with Lighttpd and FastCGI ? Is QGIS projects update working without Lighttpd restart ?<br>
<br></div>Can somebody share Lighttpd config ?<br></div></div></blockquote><div><br></div><div>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).<br>
</div><div><br></div><div>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.<br>
<br></div><div>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.<br><br></div><div>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.<br>
</div><div><br>[0] <a href="https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py">https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py</a><br>[1] <a href="https://github.com/qgis/QGIS/tree/master/tests/testdata/qgis_local_server">https://github.com/qgis/QGIS/tree/master/tests/testdata/qgis_local_server</a><br>
[2] <a href="https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py#L164-L236">https://github.com/qgis/QGIS/blob/master/tests/src/python/qgis_local_server.py#L164-L236</a><br></div><div><br><div>Regards,<br>
</div><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div><br></div>Thanks a lot.<span class=""><font color="#888888"><br>

<div><div><div><br clear="all">-- <br><div dir="ltr">Ivan Minčík<br><a href="mailto:ivan.mincik@gmail.com" target="_blank">ivan.mincik@gmail.com</a>  GPG: 0x79529A1E  <a href="http://imincik.github.io/0x79529A1E.key" target="_blank">http://imincik.github.io/0x79529A1E.key</a><br>


<a href="mailto:ivan.mincik@gista.sk" target="_blank">ivan.mincik@gista.sk</a>     GPG: 0xD714B02C  <a href="http://imincik.github.io/0xD714B02C.key" target="_blank">http://imincik.github.io/0xD714B02C.key</a><br><br></div>



</div></div></div></font></span></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div></div></div>