[OSM-dev] Problem configuring Cgimap for OSM API
Jan Schejbal
jan.mailinglisten at googlemail.com
Fri Aug 31 16:25:44 BST 2012
Am 2012-08-31 16:41, schrieb Arjen de Korte:
>
> Thanks for your reply. I tried to set the database name by setting the
> environment variables in /env/environment as described in the README:
>
> DB_HOST="localhost"
> DB_NAME="openstreetmap"
> DB_USER="openstreetmap"
> DB_PASS="pass"
Additionally I would like to note that putting the database password
into a global environment variable sounds REALLY dangerous.
You should probably set the variables in the server settings. Actually,
the example does that (see lighttpd.conf) and there it uses "CGIMAP_"
instead of "DB_" as a prefix. Try that.
Kind regards,
Jan
More information about the dev
mailing list