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">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.<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">
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 class="q">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 class="q"><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>