[fusion-users] Passing username, password, db, and host to
MapServer
Pooter
pooter at winwen.cn
Thu Jan 14 22:18:20 EST 2010
Same the question.Anyone to help?
Bernhard Schneider wrote:
>
> 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
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
--
View this message in context: http://n2.nabble.com/Passing-username-password-db-and-host-to-MapServer-tp2061668p4396796.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list