<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body 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:
<blockquote
cite="mid:8d2ea9d70711140808tb05ba46hc9fb46ac658885d3@mail.gmail.com"
type="cite">Gregor, <br>
I'm trying to access my wms in qgis. When I access this url in qgis:<br>
<a moz-do-not-send="true"
href="http://80.201.239.208:8888/cgi-bin/mapserv?map=/etc/mapserver/wmsserver.map&version=1.1.0&service=wms&request=getcapabilities">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
moz-do-not-send="true" href="mailto:gregor@hostgis.com">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 class="Ih2E3d">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 class="Wj3C7c">Gregor Mosheh / Greg Allensworth
<br>
System Administrator, HostGIS cartographic development & hosting
services<br>
<a moz-do-not-send="true" 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>
</body>
</html>