[Qgis-user] QGIS Web Client for Windows 7

Andreas Neumann a.neumann at carto.net
Mon Mar 17 01:45:01 PDT 2014


Hi,

I am just very briefly following this thread. It would be great if the
Windows users of QGIS server and web client could complete the
documentation.

There are many more Windows users running into problems with the
configuration of QGIS server and web client than Linux users.
Eventually, people are getting there but then don't take the time to
correct/complete a proper documentation. This is a community-driven
project - so everybody has some reponsibility ...

Thanks and good luck with the configuration,
Andreas

Am 17.03.2014 07:55, schrieb Bernhard Ströbl:
> Hi Markus,
> 
> Am 14.03.2014 12:37, schrieb Markus Weidenbach:
>> Hi Bernhard,
>>
>> that´s the point ... *my QGIS Server is running*, please test following
>> link without QWC:
>> http://landconsult.no-ip.com/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:31467&REQUEST=GetMap&map=C:/OSGeo4W/apache/htdocs/QGIS-Web-Client-master/projects/wms_demo.qgs&BBOX=3453493.9,5358354.8,3461626.4,5363507.8&WIDTH=1000&HEIGHT=800&LAYERS=weg,bach&FORMAT=image/png
>>
>>
>> In your link, you missed the *.exe extension in qgis_mapserv.fcgi ....
>> but when running it in QWC the *.qgi is not loading, test following:
>> http://landconsult.no-ip.com/QGIS-Web-Client-master/site/qgiswebclient.html?map=C:/OSGeo4W/apache/htdocs/QGIS-Web-Client-master/projects/wms_demo.qgs
>>
> 
> I missed the .exe because it is not called by QWC!
> As I wrote: use firebfox with firebug and you'll see that QWC fails as
> follows:
> "NetworkError: 404 Not Found -
> http://landconsult.no-ip.com/cgi-bin/qgis_mapserv.fcgi?map=C:/OSGeo4W/apache/htdocs/QGIS-Web-Client-master/projects/wms_demo.qgs&&_dc=1395042577212&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings"
> 
> 
> So you misconfigured the path to your fcgi. In GlobalOptions.js line 13
> reads:
> var serverAndCGI = "/cgi-bin/qgis_mapserv.fcgi";
> 
> Bernhard
> 
>>
>>> OK, now I can access it. Use firebug in firefox to see what happens.
>>> If you do that you will realize that the error is that
>>> cgi-bin/qgis_mapsserv.fcgi is not accessible.
>>> http://landconsult.no-ip.com/cgi-bin/qgis_mapserv.fcgi?map=../projects/helloworld.qgs&&_dc=1394795203156&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings
>>>
>>>
>>>
>>> so first thing to do is to get your QGIS server running.
>>> GetProjectSettings or GetCapabilities must return something sensible.
>>> You can check this in your browser (or QGIS desktop). As soon as a
>>> GetMap request is successful (check this e.g. in QGIS desktop) you can
>>> start configuring QWC.
>>
>> Markus
>>
>>
> 
> 
> __________ Information from ESET Security, version of virus signature
> database 9549 (20140316) __________
> 
> The message was checked by ESET Security.
> 
>    part000.txt - is OK
> 
> http://www.eset.com
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list