Small update, WMS is properly working now I can request it and it returns the correct layers. the wrapper is not working at all but it can probably wait till last. I have tried to get openlayers to import the WMS data but it won't
<br><br>This is is the code i&#39;ve used:<br><br>var mapservwms = new OpenLayers.Layer.WMS(&quot;De Bortoli Mapserver&quot;, [&#39;<a href="http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&amp;service=wms&amp;version=1.1.1&amp;request=getmap&amp;layers=dbap" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbwwms.map&amp;service=wms&amp;version=1.1&amp;request=getmap&amp;layers=dbwap,bcadbd,hcadbd&#39;])</a><br><br>however it does not work, i just get a blank screen
<br><br><div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com">bradleym06@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok after some mucking around i managed to get the request to return a file save message, however it returns this even when i use getmap not just getcapabilities. Any idea why it is doing this?<br><br>The message is something like you have chosen to open mapserv which is an: application/vnd.ogc.se_xml
<br><br>my request was <a href="http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&amp;service=wms&amp;version=1.1.1&amp;request=getmap&amp;layers=dbap" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&amp;service=wms&amp;version=1.1.1&amp;request=getmap&amp;layers=dbap
</a><br><br>Also i am having trouble getting the wrapper to work but this is not my priority yet.<div><span class="e" id="q_113896ecdfff6796_1"><br><br><div><span class="gmail_quote">On 7/2/07, <b class="gmail_sendername">
Ludwig M Brinckmann</b> &lt;<a href="mailto:ludwigbrinckmann@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ludwigbrinckmann@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span>On 02/07/07, <b class="gmail_sendername">

Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bradleym06@gmail.com</a>&gt; wrote:</span><div><span><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></span><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>
</blockquote></div><br>
</span></div></blockquote></div><br>