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

Pirmin Kalberer pi_ml at sourcepole.com
Mon Apr 4 07:09:23 EDT 2011


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

-- 
Pirmin Kalberer
Sourcepole  -  Linux & Open Source Solutions
http://www.sourcepole.com


More information about the Qgis-developer mailing list