Opened 20 years ago

Closed 20 years ago

#631 closed defect (duplicate)

default onlineresource is wrong

Reported by: refractions Owned by: mapserverbugs
Priority: high Milestone:
Component: WMS Server Version: 4.1
Severity: normal Keywords:
Cc:

Description

When I do not specify a wms_onlineresource, mapserver kindly generates one for
me. Unfortunately, the one it generates is not right! It is the same both in the
top level and in the GetMap, GetCapabilites sections.

It should be:

http://mapserver.refractions.net/cgi-bin/mapserv?map=/home/www/mapserv/maps/postgis.map&

It comes out as:

http://mapserver.refractions.net/cgi-bin/mapserv?

Since the WMS instance is slaved to the map file, the map file reference has to
be there. Many clients (CadCorp, for example) read the capabilities, and then
use the onlineresource from from the capabilities to procede to the GetMap, etc.

Change History (1)

comment:1 by dmorissette, 20 years ago

Resolution: duplicate
Status: newclosed

*** This bug has been marked as a duplicate of 643 ***
Note: See TracTickets for help on using tickets.