<p class="MsoNormal"><span style="" lang="EN-GB">Hi,</span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;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.</span></p>





<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;Both
servers access successfully to Postgis data from an php application using
pgsql, but only test server can access to Postgis data using Mapserver. </span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;<br>I'm using
ms4w on both servers. Test server and Postgis server are under Windows XP.
Production server is under Windows Server 2003.</span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;- The
mapfiles are identical on both servers except for the connection string to
Postgis (I used both IP addresses and domain name, no difference)</span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;- 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).</span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;-
pg_hba.conf has been edited to accept access from both servers</span></p>

<p class="MsoNormal"><span style="" lang="EN-GB">- listen_addresses
= &#39;*&#39; in postgresql.conf</span></p>



<p class="MsoNormal"><span style="" lang="EN-GB">&nbsp;Does someone
can help me?</span></p>

<p class="MsoNormal"><span style="" lang="EN-GB">Thank you!</span></p>

<p class="MsoNormal"><span style="" lang="EN-GB">Frank</span></p>