[Qgis-user] QGIS web client on centos

Jan Koopmann jan_koopmann at web.de
Tue Mar 26 10:08:44 PDT 2013


Hello!

We are trying to set up a QGIS-web-client on CENTOS 6.
The latest versions of QGIS, qgis_mapserver and qgis-web-client are
installed 
and as browser we are using firefox (konqeuror could not handle the
example-maps from uster or jena).

Installing the QGIS-Server worked out well and it is running on all PCs in
the loacal network. 
The browser is replying to GetCapabilities an GetMap Requests as it should
e.g. drawing a map 
in an specified BoundingBox.

Also loading the service in QGIS as WMS-Layer is working fine (at least for
QGIS 1.7.0 on CENTOS 6 
and Windows, but there is no map showing using QGIS 1.8.0 on the
Windows-PC...).

But running the qgis-web-client is not working. 
I have read through almost every post here and tried all the hints but still
I donĀ“t get beyond the 
omnious map-loading-screen.

I am trying on the "helloword.qgs"-project, in which project-settings I
switched to absolute paths.

The GlobalOptions.js was modified accordingly (the path to the
ServerAndCGI-var was set to "qgis/qgis_maserv.fcgi" 
and the var useGetProjectSettings was set to "false"; 
the EPSG-Code was not changed beacuse it fits the project-file). 

The "/etc/ld.so.conf" leads to the according directory
("/etc/ld.so.conf.d/") to which I added a qgis.conf-file which leads 
to the QGIS-libs ("usr/lib/qgis/").

I am not using any rewrite rules.
apache has full rights on all files in the qgis-web-client-directory.

Looking at the apache/httpd-logs there are no entries in the error.log.
The access.log though shows that from clicking on the link in the index.html
there is an access to qgis_mapserver.fcgi which also looks as it should:

"""
::1 - - [26/Mar/2013:17:03:56 +0100] "GET /qgis-web-client/site/index.html
HTTP/1.1" 200 4375 "-" "Mozilla/5.0 (X11; Linux i686; rv:17.0)
Gecko/20130308 Firefox/17.0"
-
+::1 - - [26/Mar/2013:17:04:30 +0100] "GET
/qgis-web-client/site/qgiswebclient.html?map=/var/www/qgis-web-client/projects/helloworld.qgs
HTTP/1.1" 304 - "http://localhost/qgis-web-client/site/index.html"
"Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Firefox/17.0"
+::1 - - [26/Mar/2013:17:04:33 +0100] "GET
/qgis/qgis_mapserv.fcgi?map=/var/www/qgis-web-client/projects/helloworld.qgs&&_dc=1364313873443&SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities
HTTP/1.1" 200 3907
"http://localhost/qgis-web-client/site/qgiswebclient.html?map=/var/www/qgis-web-client/projects/helloworld.qgs"
"Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Firefox/17.0"
"""

First I call the index.html.
Then I click on the "helloworld"-link (changed the path there, so it leads
to the project-file).
The GIS-Browser-site is getting loaded (I can see the layout e.g. buttons,
frames...) but neither layers 
nor a map or even the title are added and I am stuck on the loading-splash.

Adding SERVICE, REQUEST, LAYERS, FORMAT or BBOX etc to the initial link in
the index.html did not help either.

If there is more information needed, I will add it immediately.

I am sure that you will help me :)

Greetings,
Jan!




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/QGIS-web-client-on-centos-tp5043049.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list