[mapserver-users] MapServer-Postgis connection problem

Francis Langelier langelierfrancis at gmail.com
Fri Mar 14 02:42:52 PDT 2008


Hi,

 I have two MapServer installations that access a PostGIS database. One is a
test server located in the same domain as Postgis and one is a production
server located in a separate domain from Postgis.

 Both servers access successfully to Postgis data from an php application
using pgsql, but only test server can access to Postgis data using
Mapserver.


I'm using ms4w on both servers. Test server and Postgis server are under
Windows XP. Production server is under Windows Server 2003.

 - The mapfiles are identical on both servers except for the connection
string to Postgis (I used both IP addresses and domain name, no difference)

 - MapServer works fine on both servers. I don't get any error, It's only
postgis data that aren't drawn on production server (raster work fine).

 - pg_hba.conf has been edited to accept access from both servers

- listen_addresses = '*' in postgresql.conf

 Does someone can help me?

Thank you!

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080314/d217503e/attachment.htm>


More information about the MapServer-users mailing list