[Qgis-developer] QgisMapserver - need to restart Apache on every
project file change ?
kimaidou
kimaidou at gmail.com
Mon Apr 4 07:39:56 EDT 2011
Thanks Pirmin and Andreas,
Now I have 2 different ways I can use according to specific needs.
Cheers
2011/4/4 Andreas Neumann <a.neumann at carto.net>
> 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.
>
> Andreas
>
>
> 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)
> Switzerland
> _______________________________________________
> 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/20110404/2f0fb240/attachment-0001.html
More information about the Qgis-developer
mailing list