В файле GlobalOptions.js как указано в инструкции прописал путь на qgis_mapserv.fcgiTo start with the client configuration, please copy one of the "site/js/GlobalOptions.js.templ" template files into "site/js/GlobalOptions.js". If you use different paths, please adjust them accordingly on this landing page (site/index.html) and in the file "site/js/GlobalOptions.js". You will also have to install QGIS Server (FCGI) and Apache with the FCGID module. You will have to configure Apache for FCGI use any your document locations.
Код: Выделить всё
var serverAndCGI = "/cgi-bin/qgis_mapserv.fcgi";
Код: Выделить всё
#!/bin/bash
if [ ! -z "$1" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ale/apps/lib ; export LD_LIBRARY_PATH
QGIS_PROJECT_FILE=/home/ale/public_html/asti/QGIS-Web-Client/projects/asti.qgs \
QGIS_DEBUG=1 \
QGIS_LOG_FILE=/tmp/qgis.log \
QUERY_STRING=$1 \
/home/ale/apps/bin/qgis_mapserv.fcgi
else
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ale/apps/lib ; export LD_LIBRARY_PATH
QGIS_PROJECT_FILE=/home/ale/public_html/asti/QGIS-Web-Client/projects/asti.qgs \
QGIS_DEBUG=1 \
QGIS_LOG_FILE=/tmp/qgis.log \
/home/ale/apps/bin/qgis_mapserv.fcgi
fi
Код: Выделить всё
GET http://192.168.1.96/cgi-bin/qgis_mapserv.fcgi?map=/home/web/qgis-web-client/projects/helloworld.qgs&&_dc=1403203625008&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings 404 (Not Found)
Код: Выделить всё
Uncaught TypeError: Cannot read property 'getPath' of null
Код: Выделить всё
[Thu Jun 19 19:33:29 2014] [notice] Apache/2.2.14 (Win32) mod_fcgid/2.3.6 configured -- resuming normal operations
[Thu Jun 19 19:33:29 2014] [notice] Server built: Sep 28 2009 22:41:08
[Thu Jun 19 19:33:29 2014] [notice] Parent: Created child process 1560
[Thu Jun 19 19:33:29 2014] [notice] Child 1560: Child process is running
[Thu Jun 19 19:33:29 2014] [notice] Child 1560: Acquired the start mutex.
[Thu Jun 19 19:33:29 2014] [notice] Child 1560: Starting 64 worker threads.
[Thu Jun 19 19:33:29 2014] [notice] Child 1560: Starting thread to listen on port 80.
[Thu Jun 19 22:47:02 2014] [error] [client 192.168.1.254] script not found or unable to stat: C:/OSGeo4W/bin/qgis_mapserv.fcgi, referer: http://192.168.1.96/qgis-web-client-master/site/qgiswebclient.html?map=/home/web/qgis-web-client/projects/helloworld.qgs
Код: Выделить всё
[Thu Jun 19 19:34:10 2014] [error] [client 192.168.1.254] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Thu Jun 19 19:34:10 2014] [error] [client 192.168.1.254] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Thu Jun 19 19:34:10 2014] [error] [client 192.168.1.254] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
[Thu Jun 19 19:34:10 2014] [error] [client 192.168.1.254] Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.\r
[Thu Jun 19 19:34:10 2014] [error] [client 192.168.1.254] Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.\r
На этом пока и остановился.... искал мануалы на тему установки клиента так конкретного ничего не нашел(( Надеюсь на форуме общими усилиями прийти к какому либо результату...