WMS server error. WMS request not enabled. Check wms/ows_enable_request settings

WMS server error. WMS request not enabled. Check wms/ows_enable_request settings
2011年12月19日
  当debug脚本提示 WMS server error. WMS request not enabled. Check wms/ows_enable_request settings 的内容的时候需要修改 mapfile 文件,需要在 WEB METADATA 后增加 "wms_enable_request" "GetMap GetFeatureInfo"
  如
  WEB
  IMAGEPATH "F:/mapfile/ms_tmp/"
  IMAGEURL "/ms_img/"
  METADATA
  WMS_TITLE "china" WMS_ACCESSCONSTRAINTS "none"
  WMS_ONLINERESOURCE "http://localhost/cgi-bin/mapserv.exe"
  WMS_SRS "EPSG:4236 EPSG:900913"
  WMS_ENCODING "GBK"
  [b] "wms_enable_request" "GetMap GetFeatureInfo"
  [/b] END
  END

你可能感兴趣的:(WMS server error. WMS request not enabled. Check wms/ows_enable_request settings)