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

Andreas Neumann a.neumann at carto.net
Mon Apr 4 07:15:12 EDT 2011

 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.


 On Mon, 4 Apr 2011 13:09:23 +0200, Pirmin Kalberer wrote:
> Hi Kimaidou,
> Am Montag, 4. April 2011, um 11.20:57 schrieb 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 any qgis 
>> project +
>> data as a new server.
> You can run QGIS Mapserver as CGI instead of FastCGI. Then it reloads
> on every
> request. On Ubuntu, the only thing you have to do is
> cd /usr/lib/cgi-bin/ && sudo ln -s mapserv.fcgi qgis_mapserv.cgi
> Pirmin

 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)

More information about the Qgis-developer mailing list