[Qgis-developer] [qgis webclient] malformed header from script. Bad header=credentials for dbname
Otto Dassau
dassau at gbd-consult.de
Sun Aug 25 08:27:23 PDT 2013
Thanks Andreas and Jürgen,
now it is working
Regards
Otto
Am Sun, 25 Aug 2013 16:52:32 +0200
schrieb Jürgen E. Fischer <jef at norbit.de>:
> 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
More information about the Qgis-developer
mailing list