[fusion-users] Passing username, password, db, and host to MapServer

Paul Deschamps pdeschamps at dmsolutions.ca
Fri Jan 15 10:02:46 EST 2010


Hi Bernhard,

To my knowledge none of the fusion widgets connect to any database. Are you
asking how you would create a FUSION widget that would include some
connection to this database?

All of the widgets would access your postgres layers through php_mapscript
which in turn would call on mapserver to make the connection for it.

Cheers

Paul.

On Wed, Jun 11, 2008 at 11:07 AM, Bernhard Schneider <
bernhard.schneider at ilu.ch> 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
>



-- 
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   pdeschamps at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20100115/58ad415c/attachment.html


More information about the fusion-users mailing list