Ticket #1639 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Site redirection of WMS missing

Reported by: dantje Owned by: cbro@…
Priority: major Milestone:
Component: merkaartor Version:
Keywords: Cc:


When try to access a WMS that tell the client to redirect the request to another location, merkaartor stumbles.

Example:  http://warper.geothings.net/maps/export/479

"GET /maps/wms/479/?request=GetCapabilities HTTP/1.1

"HTTP/1.1 302 Found
Date: Sun, 08 Mar 2009 14:33:16 GMT
Server: Apache/2.2.9 (Unix) PHP/4.4.9 mod_ssl/2.2.11 OpenSSL/0.9.8c mod_fastcgi/2.4.6 Phusion_Passenger/2.0.5
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.0.5
X-Runtime: 1ms
Cache-Control: no-cache
Set-Cookie: _warper_session=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--ce8651861dd8fe0c47d9fe176b4bfb58b1bde269; path=/; HttpOnly
Location: http://warper.geothings.net/cgi/mapserv.cgi?map=/home/timwarp/warper.geothings.net/releases/20090227223219/db/mapfiles/479.map&styles=&layers=479&request=GetCapabilities
Content-Length: 247
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8


Merkaartor should try again with the new location.

Change History

comment:1 Changed 5 years ago by koying

  • Status changed from new to closed
  • Resolution set to fixed

(In [14097]) FIX : Handle redirection for TMS/WMS servers (fixes #1639)

Note: See TracTickets for help on using tickets.