Solved the error too, it was a DMZ-IP-issue.<br>Now, I'm able to acces my WMS, can add the layer "grens", but it's not showing up in qgis.<br>I'm not suppose to handle all this on the list though. I'm working it out.
<br>Thanks for all your help !<br><br><div class="gmail_quote">On Nov 14, 2007 5:20 PM, Milo van der Linden <<a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
It seems that this might be a rights issue. Is the postGIS database
running on the same machine as qGIS? is the webserver on the same
machine as the database? Did you allow access to the postGIS database
in the pg_hba.conf? or is it set to localhost access only?<br>
<br>
Kind regards,<br>
<br>
Milo van der Linden<br>
<br>
<br>
Steven De Vriendt schreef:
<div><div></div><div class="Wj3C7c"><blockquote type="cite">Gregor, <br>
I'm trying to access my wms in qgis. When I access this url in qgis:<br>
<a href="http://80.201.239.208:8888/cgi-bin/mapserv?map=/etc/mapserver/wmsserver.map&version=1.1.0&service=wms&request=getcapabilities" target="_blank">http://80.201.239.208:8888/cgi-bin/mapserv?map=/etc/mapserver/wmsserver.map&version=1.1.0&service=wms&request=getcapabilities
</a><br>
I'm getting an error that qgis can't access the postgis db.<br>
However, when I try to connect to postgis-db in qgis using same
connection params I can access it just fine...strange..
<br>
<br>
Steven<br>
<br>
<div class="gmail_quote">On Nov 14, 2007 5:02 PM, Gregor Mosheh <<a href="mailto:gregor@hostgis.com" target="_blank">gregor@hostgis.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Steven De Vriendt wrote:<br>
> Gregor:<br>
> this is my layer-setup for postgis-wms..<br>
> am I missing out something ?<br>
<br>
</div>
When you request the layer, what is your request? I ask because you
have
<br>
a wms_title, so I wonder whether you're requesting layer grens or layer<br>
gemeentgrens -- it should be grens.<br>
<br>
Other than that, looks great. What is it doing instead of working? When<br>
you hit mapserv directly via a manual WMS request, does it generate a
<br>
blank image, or an error? Do you have a WMS URL pointing at this layer,<br>
which we could use to check?<br>
<br>
I might also recommend that you go over the WMS Server HOWTO on the<br>
website, just in case something got overlooked. Check the usual stuff:
<br>
projections, wms_srs listing, read your WMS server's capabilities<br>
document and make sure it's sane, ...<br>
<font color="#888888"><br>
--<br>
</font>
<div>
<div>Gregor Mosheh / Greg Allensworth
<br>
System Administrator, HostGIS cartographic development & hosting
services<br>
<a href="http://www.HostGIS.com/" target="_blank">http://www.HostGIS.com/</a><br>
<br>
"Remember that no one cares if you can back up,
<br>
only if you can restore." - AMANDA<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br>