Did you set up your pg_hba.conf file to allow connections from the Mapserver computer? I am getting a database connection error when going through the WMS, which is accessing the database from the Mapserver box.
Steven De Vriendt wrote: > Gregor, > I'm trying to access my wms in qgis. When I access this url in qgis: > http://80.201.239.208:8888/cgi-bin/mapserv?map=/etc/mapserver/wmsserver.map&version=1.1.0&service=wms&request=getcapabilities > I'm getting an error that qgis can't access the postgis db. > However, when I try to connect to postgis-db in qgis using same connection > params I can access it just fine...strange.. > > Steven > > On Nov 14, 2007 5:02 PM, Gregor Mosheh <[EMAIL PROTECTED]> wrote: > >> Steven De Vriendt wrote: >>> Gregor: >>> this is my layer-setup for postgis-wms.. >>> am I missing out something ? >> When you request the layer, what is your request? I ask because you have >> a wms_title, so I wonder whether you're requesting layer grens or layer >> gemeentgrens -- it should be grens. >> >> Other than that, looks great. What is it doing instead of working? When >> you hit mapserv directly via a manual WMS request, does it generate a >> blank image, or an error? Do you have a WMS URL pointing at this layer, >> which we could use to check? >> >> I might also recommend that you go over the WMS Server HOWTO on the >> website, just in case something got overlooked. Check the usual stuff: >> projections, wms_srs listing, read your WMS server's capabilities >> document and make sure it's sane, ... >> >> -- >> Gregor Mosheh / Greg Allensworth >> System Administrator, HostGIS cartographic development & hosting services >> http://www.HostGIS.com/ >> >> "Remember that no one cares if you can back up, >> only if you can restore." - AMANDA >> > -- Kyle Wilcox NOAA Chesapeake Bay Office 410 Severn Avenue Suite 107A Annapolis, MD 21403 office: (410) 295-3151 [EMAIL PROTECTED] "It is from the wellspring of our despair and the places that we are broken that we come to repair the world." - Murray Waas