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