<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Thomas<br>
<br>
>I didn't realize that QGIS Server can't be used as a WFS Server<br>
<br>
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).<br>
<br>
Regards,<br>
Marco<br>
<br>
<br>
Am 14.05.2012 09:41, schrieb Thomas Dalbert:
<blockquote
cite="mid:DC2CF4E0-2548-4475-B8BD-48BA345F7D71@onuma.com"
type="cite">
<div>Hi Julian,</div>
<div><br>
</div>
<div>Thank you so much for your help.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thank you again,</div>
<div>Thomas</div>
<br>
<div>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-size:
medium; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
2; text-align: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; "><span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: medium; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: medium; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">
<div><font class="Apple-style-span"
color="#7A7A7A"><font
class="Apple-style-span" size="3"><span
class="Apple-style-span"
style="font-size: 11px; ">Thomas
Dalbert</span></font></font></div>
<div><font class="Apple-style-span"
color="#7A7A7A"><font
class="Apple-style-span" size="3"><span
class="Apple-style-span"
style="font-size: 11px; ">Onuma, Inc.</span></font></font></div>
<div><font class="Apple-style-span"
color="#7A7A7A" size="3"><span
class="Apple-style-span"
style="font-size: 11px; "><a
moz-do-not-send="true"
href="http://onuma.com">http://onuma.com</a></span></font></div>
<div><font class="Apple-style-span"
color="#7A7A7A"><font
class="Apple-style-span" size="3"><span
class="Apple-style-span"
style="font-size: 11px; "><a
moz-do-not-send="true"
href="mailto:dalbert@onuma.com">dalbert@onuma.com</a></span></font></font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></span>
</div>
<br>
<div>
<div>On May 10, 2012, at 8:57 PM, Julian Bogdani wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">Hi Thomas,
<div>I can confirm you that the 1.7.4-4 build from KyngChaos
is built with a working qgis-server.</div>
<div>Did you create the apache config file as in <a
moz-do-not-send="true"
href="http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial?">http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial?</a></div>
<div>Did you restart Apache and make sure apache is loading
the config file (alias qgis-mapserv/ is correctly
redirecting)?</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>
<div><IfModule mod_fastcgi.c> </div>
<div><br>
</div>
<div> FastCgiConfig -appConnTimeout 60 -idle-timeout 60
-init-start-delay 1 -minProcesses 2 -maxClassProcesses
20 -startDelay 5</div>
<div> AddHandler fastcgi-script .fcgi</div>
<div> Alias /qgis-mapserv/
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/</div>
<div> <Directory
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/></div>
<div> AllowOverride None</div>
<div> Options +ExecCGI -MultiViews +FollowSymLinks</div>
<div> Order allow,deny</div>
<div> Allow from all</div>
<div> </Directory></div>
<div><br>
</div>
<div></IfModule></div>
<div>
<pre><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">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</span></pre>
<pre><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">(<a moz-do-not-send="true" href="http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial">http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial</a> > Extensions to WMS > Map parameter).</span></pre>
<pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">If no map parameter is given qgis-server will look for a *.qgs file in the "server directory"</span></font></pre>
<pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">
</span></font></pre>
<pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">Hope this helps</span></font></pre>
<pre><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">
</span></pre>
<pre><span class="Apple-style-span" style="font-family: Helvetica; white-space: normal; ">-----</span></pre>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size:
medium; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">
<div>Julian Bogdani</div>
<div><a moz-do-not-send="true"
href="mailto:jbogdani@gmail.com">jbogdani@gmail.com</a></div>
<div><a moz-do-not-send="true"
href="http://bradypus.net/">http://bradypus.net</a></div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
</body>
</html>