On 02/07/07, <b class="gmail_sendername">Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com">bradleym06@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also just thought that I&#39;d mention that my Mapserver is not properly set up as a WMS and it will be quite difficult to do so so I&#39;d rather use the cgi mode of Mapserver. However when looking at the Mapserver examples I failed to see anything at all which resembled this. It calls &quot;
<a href="http://labs.metacarta.com/wms/vmap0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://labs.metacarta.com/wms/vmap0</a>&quot; but shouldn&#39;t there be a &quot;cgi-bin/mapserv?map=&quot; somewhere.
</blockquote><div><br>The form the URL looks at the beginning is irrelevant for a servers compliance with the WMS protocol.<br><br>There are many -- reasonably well documented -- ways how the &#39;cgi-bin/mapserv?/map=&#39; can be hidden. See 
<br><a href="http://mapserver.gis.umn.edu/docs/howto/cgi-wrapper-script">http://mapserver.gis.umn.edu/docs/howto/cgi-wrapper-script</a>.<br><br>But the first thing to test is if your server works at all -- outside the OpenLayers client. Run something like
<br><br><a href="http://www.yunnanexplorer.com/cgi-bin/wms?request=getmap&amp;service=wms&amp;version=1.1&amp;layers=earthquakes">http://www.yunnanexplorer.com/cgi-bin/wms?request=getmap&amp;service=wms&amp;version=1.1&amp;layers=earthquakes
</a><br><br>in your browser (substituting your layer names and your URL). If your server works, you should get a map image, if not an XML error message.<br><br>Once this is working, you can add your server to your OpenLayers client as a WMS server (the HttpRequest bit will not work).
<br><br>HTH<br><br>Ludwig<br><br><br><br>&nbsp;</div></div><br>