[OSM-dev] Problem configuring Cgimap for OSM API

Arjen de Korte arjendk at gmx.net
Fri Aug 31 15:41:48 BST 2012


Hi Jan,

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"

However this doesn't seem to work, or I've misunderstood how it works. 
Indeed it isn't documented in the wiki.

I'll look into it again and if anyone else on this list has experience 
with CGImap I'd be happy to hear about it!

Kind regards,
Arjen.


On 31/08/12 16:16, Jan Schejbal wrote:
> Am 2012-08-30 00:03, schrieb Arjen de Korte:
>> I see "database name not specified", so something could be wrong there,
>> but also a message "Premature end of script headers: map" - I don't know
>> what that means.
>
> Looks like cgimap doesn't know where to find your database. Did you tell
> it through some config file or something? If not, try to find out where
> to set it, and if it isn't yet documented in the wiki (I think it
> isn't!) please document it.
>
> Kind regards,
> Jan
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev



More information about the dev mailing list