Passing username, password, db, and host to MapServer

1 message Options
Embed this post
Permalink
Bernhard Schneider

Passing username, password, db, and host to MapServer

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users