[fusion-users]
Passing username, password, db, and host to MapServer
Bernhard Schneider
bernhard.schneider at ilu.ch
Wed Jun 11 12:07:20 EDT 2008
Hi everyone,
This may be a stupid question, but if someone still could point me in
the right direction...?
My Fusion application reads the map information from a map file. (I am
using MapServer 5.something.) The map file references a number of
layers in a PostgreSQL/PostGIS database. In the map file, information
on user, password, database, and host are given as follows:
CONNECTION "user=%PHP_AUTH_USER% password=%PHP_AUTH_PW% dbname=%DB%
host=localhost"
Is there a way to pass the information to connect to the database to
Fusion? Or should I use another way of referencing this information in
the map file? Or is there a documentation on this issue that I missed?
Thanks in advance.
Bernhard
More information about the fusion-users
mailing list