WEB<br>                TEMPLATE        &quot;map.html&quot;<br>                IMAGEPATH       &quot;/var/www/cem/tmp/ms_tmp/&quot;<br>                IMAGEURL        &quot;/tmp/ms_tmp/&quot;<br>                LOG             &quot;/var/www/cem/tmp/mapserver.log&quot;<br>
                METADATA<br>                        #&quot;MAPFILE_ENCODING&quot; &quot;ISO-8859-1&quot;<br>                        &quot;wms_title&quot;                     &quot;WMS CEN-RF&quot;<br>                        &quot;wms_onlineresource&quot;            &quot;<a href="http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities">http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a>&quot;<br>
                        &quot;wms_srs&quot;                       &quot;EPSG:32632 EPSG:4269 EPSG:4326&quot;<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">&lt;<a href="mailto:pal.kristensen@statkart.no">pal.kristensen@statkart.no</a>&gt;</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>
&gt;<br>
&gt; I must say that this issue arised when I moved the website to another<br>
&gt; webserver... same OS, debian lenny, but different arch 32bit -&gt; amd64.<br>
&gt; The 32 bit machine was hosting only one website.<br>
&gt;<br>
&gt; Te new amd64 webserver hosts two sites (name based virtual host) so the<br>
&gt; wms<br>
&gt; request is served by a virtual host (Apache 2.2), same ip address for two<br>
&gt; dns. Could it be a dns related issue? does mapserv bin complains about<br>
&gt; virtual hosts?<br>
&gt;<br>
&gt; Since I switched from the old machine to the new I can&#39;t get no wms layer<br>
&gt; with QGis even with the version request variable (it was there from the<br>
&gt; start).<br>
&gt;<br>
&gt; This is my WMS link:<br>
&gt;<br>
&gt; <a href="http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities" target="_blank">http://193.206.192.55/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a><br>

&gt;<br>
&gt; <a href="http://www.catastocen.apat.it" target="_blank">www.catastocen.apat.it</a> is the dns name.<br>
&gt;<br>
&gt; If you substitute the numeric address with the dns one mapserver returns a<br>
&gt; binary file...<br>
&gt;<br>
&gt; thanks for responding<br>
&gt; regards<br>
&gt;<br>
&gt; raffaele<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2009/3/6 paalkr &lt;<a href="mailto:pal.kristensen@statkart.no">pal.kristensen@statkart.no</a>&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi!<br>
&gt;&gt;<br>
&gt;&gt; This is fixed in ticket #2528, and applied in MapServer 5.2.0. Version is<br>
&gt;&gt; a<br>
&gt;&gt; optional parameter in the GetCapabilities request, as described in the<br>
&gt;&gt; WMS<br>
&gt;&gt; 1.1.1 specification, chapter 7.1.2, table 4. In earlier version of<br>
&gt;&gt; MapServer<br>
&gt;&gt; the version parameter was treated as mandatory.<br>
&gt;&gt;<br>
&gt;&gt; You can resolve your issue in to different ways:<br>
&gt;&gt; 1) Add a &amp;version=1.1.1 to your service URL in Qgis<br>
&gt;&gt; 2) Upgrade to MapServer 5.2.0 or later.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Pål Kristensen<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cassiel wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi you all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am getting this error using Mapserver 5.0.3 on debian lenny when<br>
&gt;&gt; &gt; querying<br>
&gt;&gt; &gt; for WMS available layers on Qgis.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Querying with iceweasel on debian works , i.e. the proper xml file is<br>
&gt;&gt; &gt; returned, while it does not on Mac OS X.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any hints?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards<br>
&gt;&gt; &gt; Raffaele<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; mapserver-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <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>

&gt;&gt; Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapserver-users mailing list<br>
&gt;&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<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>