[Qgis-user] QGIS Server on Mac

Marco Hugentobler marco.hugentobler at sourcepole.ch
Mon May 14 01:17:24 PDT 2012


Hi Thomas

 >I didn't realize that QGIS Server can't be used as a WFS Server

QGIS server can be used as a WFS server (readonly at the moment). But 
you need a more recent version (1.8 will contain it, or maybe one of the 
nightly builds).

Regards,
Marco


Am 14.05.2012 09:41, schrieb Thomas Dalbert:
> Hi Julian,
>
> Thank you so much for your help.
>
> Looking in detail over the instructions, I mixed up the two config 
> files that are described to add the instructions: mapserv_fcgi and 
> qgis-mapserver because I had previously also installed MapServer from 
> KyngChaos. This mixup must have caused the issues.
>
> It all works now fine although I didn't realize that QGIS Server can't 
> be used as a WFS Server and I need to serve vector data. So I ended up 
> going back to MapServer again for this. But I'm still quite glad your 
> information got me on the right track to get QGIS Server running.
>
> Thank you again,
> Thomas
>
> Thomas Dalbert
> Onuma, Inc.
> http://onuma.com
> dalbert at onuma.com <mailto:dalbert at onuma.com>
>
> On May 10, 2012, at 8:57 PM, Julian Bogdani wrote:
>
>> Hi Thomas,
>> I can confirm you that the 1.7.4-4 build from KyngChaos is built with 
>> a working qgis-server.
>> Did you create the apache config file as in 
>> http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial?
>> Did you restart Apache and make sure apache is loading the config 
>> file (alias qgis-mapserv/ is correctly redirecting)?
>>
>> I remember I had some issues setting up the first time qgis-server. 
>> Try to change the "Options" statement in the apache config file to 
>> match the below example (my current - working- configuration), 
>> restart apache and test.
>>
>> <IfModule mod_fastcgi.c>
>>
>>   FastCgiConfig -appConnTimeout 60 -idle-timeout 60 -init-start-delay 
>> 1 -minProcesses 2 -maxClassProcesses 20 -startDelay 5
>>   AddHandler fastcgi-script .fcgi
>>   Alias /qgis-mapserv/ /Applications/QGIS.app/Contents/MacOS/fcgi-bin/
>> <Directory /Applications/QGIS.app/Contents/MacOS/fcgi-bin/>
>>     AllowOverride None
>>     Options +ExecCGI -MultiViews +FollowSymLinks
>>     Order allow,deny
>>     Allow from all
>> </Directory>
>>
>> </IfModule>
>> The server directory is the fcgi-bin folder. You can keep unchanged the project file path, but you should provide in this case the full path to the qgis project using the "map" URI parameter
>> (http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial  >  Extensions to WMS>  Map parameter).
>> If no map parameter is given qgis-server will look for a *.qgs file in the "server directory"
>>
>> Hope this helps
>>
>> -----
>> Julian Bogdani
>> jbogdani at gmail.com <mailto:jbogdani at gmail.com>
>> http://bradypus.net <http://bradypus.net/>
>>
>>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120514/9e093253/attachment.html>


More information about the Qgis-user mailing list