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?
The message is something like you have chosen to open mapserv which is an: application/vnd.ogc.se_xml my request was http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&service=wms&version=1.1.1&request=getmap&layers=dbap Also i am having trouble getting the wrapper to work but this is not my priority yet. On 7/2/07, Ludwig M Brinckmann <[EMAIL PROTECTED]> wrote:
On 02/07/07, Bradley Mclain <[EMAIL PROTECTED]> wrote: > > Also just thought that I'd mention that my Mapserver is not properly set > up as a WMS and it will be quite difficult to do so so I'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 " > http://labs.metacarta.com/wms/vmap0" but shouldn't there be a > "cgi-bin/mapserv?map=" somewhere. The form the URL looks at the beginning is irrelevant for a servers compliance with the WMS protocol. There are many -- reasonably well documented -- ways how the 'cgi-bin/mapserv?/map=' can be hidden. See http://mapserver.gis.umn.edu/docs/howto/cgi-wrapper-script. But the first thing to test is if your server works at all -- outside the OpenLayers client. Run something like http://www.yunnanexplorer.com/cgi-bin/wms?request=getmap&service=wms&version=1.1&layers=earthquakes 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. Once this is working, you can add your server to your OpenLayers client as a WMS server (the HttpRequest bit will not work). HTH Ludwig
_______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
