[Geomoose-users] mapfile returned as WMS

Matej Mailing mailing at tam.si
Thu Jul 5 14:13:26 PDT 2012


Hi,

I am deploying a freshly downloaded 2.6 version and have an issue
where the requested Mapserver URL is:
http://SERVER_IP/cgi-bin/mapserv?MAP=mapfile.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Test&SRS=EPSG%3A4326&BBOX=258481.81142578,44453.71465683,845518.18857422,235546.28534317&WIDTH=1920&HEIGHT=625

My question is: why is the service WMS selected, even though I have a
source declared like:
        <map-source name="test" type="mapserver" reference="true">
                <file>mapfile.map</file>
                <layer name="Test" status="on"/>
        </map-source>

Also when I compare the Mapserver request to the previous GM version,
there was a mode=map parameter in the Mapserver request.

Now when I directly copy the URL that is open by the GM in the
browser, I get XML as a return that contains text:
"msWMSDispatch(): WMS server error. WMS request not enabled. Check
wms/ows_enable_request settings."

I am pretty lost here and any ideas of solving the issue are very welcome :-)

Thanks,
Matej


More information about the Geomoose-users mailing list