Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Site redirection of WMS missing #1639

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Site redirection of WMS missing #1639

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: dantje
[Submitted to the original trac issue database at 11.58pm, Saturday, 7th March 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 4.13pm, Monday, 16th March 2009]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant