<div dir="ltr">Hi,<div><br></div><div>several days, I'm fighting QGIS server - on lightttpd now on Apache server with *same* result: WFS GetFeatureType request does not return any data.</div><div><br></div><div>I created project, set all necessary metadat, coordinate systems, made sure data are in readable path etc...</div><div><br></div><div>I've published the service using qgis_mapserver.fcgi - WMS works (GetCapabilitiers, GetMap, GetFeatureInfo), but WFS works just for GetCapabilitiers, GetFeatureType request returns just the first response element</div><div><br></div><div><wfs:FeatureCollection xmlns:wfs="<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>" xmlns:ogc="h .....><br></div><div><br></div><div>and that's all - not even the closing tag. It seems, the server refuses to work in the middle of construction of the response :-(</div><div><br></div><div>I have</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">   </span>FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH /var/www/qgis</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>FcgidInitialEnv QGIS_DEBUG 1</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>FcgidInitialEnv QGIS_SERVER_LOG_FILE  /tmp/qgis-server.log</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>FcgidInitialEnv QGIS_SERVER_LOG_LEVEL  1</div></div><div><br></div><div><br></div><div>but  /tmp/qgis-server.log is empty (even created)<br></div><div><br></div><div>In the apache error log, only following lines can be found:</div><div><div>Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.</div><div>Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.</div><div>Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.</div><div>Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.</div><div>Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.</div><div>ERROR 4: Unable to open /var/www/html/tmp/pokus/vrstva.shp or /var/www/html/tmp/pokus/vrstva.SHP.</div></div><div><br></div><div><br></div><div>BUT, accessing the file vrstva.shp from <a href="http://localhost/tmp/pokus/vrstva.shp">http://localhost/tmp/pokus/vrstva.shp</a> works, apache user can read it and, as I already said: WMS GetMap and GetFeatureInfo works</div><div><br></div><div>I've tested QGIS mapserver 2.12 and 2.8 on lightttpd as well as apache, with old projects as well as completely new with just one line in shapefile - same result all the time.  Ubuntu 15.10 btw. </div><div><br></div><div>Any hint?</div><div><br></div><div>Thanks</div><div><br></div><div>Jachym</div></div>