[Qgis-developer] [qgis webclient] malformed header from script. Bad header=credentials for dbname

Jürgen E. Fischer jef at norbit.de
Sun Aug 25 07:52:32 PDT 2013


Hi Otto,

On Sun, 25. Aug 2013 at 15:47:30 +0200, Otto Dassau wrote:
> I have some vector layers in a postgis2 database, provide them via QGIS
> server (ubuntu package from master) and visualize with QGIS webclient. In
> qgis-web-client-error.log I get following error

The credentials in the project file are incomplete and therefore the server
asks for username and password - which causes the webserver to complain that
that's not a HTTP header.

You should either complete the credentials into the project file, setup
pg_hba.conf of your database to trust connections from the webserver or use
the webservers user's .pgpass.


Jürgen


[1] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
[2] http://www.postgresql.org/docs/current/static/libpq-pgpass.html

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to QGIS                                IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list