Ticket #2747 (closed defect: fixed)
mode=map parameter causes WMS requests to give an error
| Reported by: | agxs | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.1 release |
| Component: | WMS Server | Version: | 5.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If a GetCapabilities? request is sent such as:
http://<hostname>/mapserv?map=<mapfile>&mode=map&REQUEST=GetCapabilities?&service=WMS&version=1.1.1
The following error is returned in 5.2:
mapserv() : Web application error. SERVICE=WMS requested, but that OGC web service is not enabled in this build. Please rebuild MapServer with appropriate options.
This error is not returned in versions previous to 5.2
When the parameter mode=map is removed then the request works correctly.
Ticket created upon request by Daniel Morissette on #mapserver on freenode.
Change History
Note: See
TracTickets for help on using
tickets.
