WEB TEMPLATE "map.html" IMAGEPATH "/var/www/cem/tmp/ms_tmp/" IMAGEURL "/tmp/ms_tmp/" LOG "/var/www/cem/tmp/mapserver.log" METADATA #"MAPFILE_ENCODING" "ISO-8859-1" "wms_title" "WMS CEN-RF" "wms_onlineresource" " http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities " "wms_srs" "EPSG:32632 EPSG:4269 EPSG:4326" END # Metadata END # Web
Here it is one of the two wms_onlineresource links I am using two apache environment variable to point to rf_mapserv or elf_mapserv (they are symlinks to mapserv..) in order to return two different mapfile as explained in the mapserver doc. regards raffaele 2009/3/7 paalkr <pal.kristen...@statkart.no> > > Hi! > > Have you set the ows_onlineresource parameter in the WEB element in the > mapfile? > > Regards, > Pål Kristensen > > > > Cassiel wrote: > > > > I must say that this issue arised when I moved the website to another > > webserver... same OS, debian lenny, but different arch 32bit -> amd64. > > The 32 bit machine was hosting only one website. > > > > Te new amd64 webserver hosts two sites (name based virtual host) so the > > wms > > request is served by a virtual host (Apache 2.2), same ip address for two > > dns. Could it be a dns related issue? does mapserv bin complains about > > virtual hosts? > > > > Since I switched from the old machine to the new I can't get no wms layer > > with QGis even with the version request variable (it was there from the > > start). > > > > This is my WMS link: > > > > > http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities > > > > www.catastocen.apat.it is the dns name. > > > > If you substitute the numeric address with the dns one mapserver returns > a > > binary file... > > > > thanks for responding > > regards > > > > raffaele > > > > > > > > 2009/3/6 paalkr <pal.kristen...@statkart.no> > > > >> > >> Hi! > >> > >> This is fixed in ticket #2528, and applied in MapServer 5.2.0. Version > is > >> a > >> optional parameter in the GetCapabilities request, as described in the > >> WMS > >> 1.1.1 specification, chapter 7.1.2, table 4. In earlier version of > >> MapServer > >> the version parameter was treated as mandatory. > >> > >> You can resolve your issue in to different ways: > >> 1) Add a &version=1.1.1 to your service URL in Qgis > >> 2) Upgrade to MapServer 5.2.0 or later. > >> > >> Regards, > >> Pål Kristensen > >> > >> > >> Cassiel wrote: > >> > > >> > Hi you all, > >> > > >> > I am getting this error using Mapserver 5.0.3 on debian lenny when > >> > querying > >> > for WMS available layers on Qgis. > >> > > >> > Querying with iceweasel on debian works , i.e. the proper xml file is > >> > returned, while it does not on Mac OS X. > >> > > >> > Any hints? > >> > > >> > Regards > >> > Raffaele > >> > > >> > _______________________________________________ > >> > mapserver-users mailing list > >> > mapserver-users@lists.osgeo.org > >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://n2.nabble.com/msWMSDispatch%28%29%3A-WMS-server-error.-Incomplete-WMS-request%3A-VERSION-parameter-missing-tp2435750p2436095.html > >> Sent from the Mapserver - User mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> mapserver-users mailing list > >> mapserver-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > > > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > -- > View this message in context: > http://n2.nabble.com/msWMSDispatch%28%29%3A-WMS-server-error.-Incomplete-WMS-request%3A-VERSION-parameter-missing-tp2435750p2442129.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users