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

Yahoo aerials not loading in Potlatch #2950

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments
Closed

Yahoo aerials not loading in Potlatch #2950

openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments

Comments

@openstreetmap-trac
Copy link

Reporter: NE2
[Submitted to the original trac issue database at 9.53am, Tuesday, 11th May 2010]

Potlatch is currently not displaying the Yahoo aerials. They load fine in JOSM, and other WMSes work in Potlatch.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 1.01pm, Tuesday, 11th May 2010]

Looks to me as if Yahoo have broken their crossdomain.xml. I've enquired on their Flash dev list.

@openstreetmap-trac
Copy link
Author

Author: woodpeck
[Added to the original trac issue at 6.48am, Wednesday, 12th May 2010]

Is there a trick that would make it work on my machine (e.g. re-route requests to whatever.yahoo.com to localhost, set up Apache/mod_proxy to inject a crossdomain.xml of my liking - what would I hace to redirect and what would the crossdomain.xml have to be)?

Disregard this as soon as bug is fixed.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 8.06am, Wednesday, 12th May 2010]

I think the file you need to replace is maps.yahooapis.com/crossdomain.xml , and it needs to be replaced with a permissive crossdomain.xml - the one from http://api.flickr.com/crossdomain.xml is a good example (yes, the same Flickr owned by Yahoo).

Interestingly, maps.yahooapis.com/crossdomain.xml was returning something non-permissive yesterday; today it's returning HTTP error 999 (!).

@openstreetmap-trac
Copy link
Author

Author: woodpeck
[Added to the original trac issue at 3.08pm, Wednesday, 12th May 2010]

Yes - works. Configure local Apache with mod_rewrite, mod_proxy (make sure to "Allow from localhost" in mod_proxy config), then save aforementioned crossdomain.xml to /tmp and add

RewriteRule /crossdomain.xml /tmp/crossdomain.xml
ProxyPass / http://api.maps.yahoo.com/

to your local site config. Modify your /etc/hosts to include

127.0.0.1 maps.yahooapis.com

and you again have working Yahoo images in Potlatch. Not that I'm suggesting everyone do this, but if you really really need it now... ;-)

@openstreetmap-trac
Copy link
Author

Author: NE2
[Added to the original trac issue at 9.16pm, Wednesday, 12th May 2010]

They're back :)

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 8.16am, Thursday, 13th May 2010]

Yay. I like the sort of bug that somehow fixes itself.

@openstreetmap-trac
Copy link
Author

Author: NE2
[Added to the original trac issue at 7.36pm, Monday, 12th July 2010]

I may be wrong, but it looks like this is happening again.

@openstreetmap-trac
Copy link
Author

Author: NE2
[Added to the original trac issue at 11.08pm, Monday, 12th July 2010]

Aerials are back...

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