Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#2950 closed defect (fixed)

Yahoo aerials not loading in Potlatch

Reported by: NE2 Owned by: richard@…
Priority: critical Milestone:
Component: potlatch (flash editor) Version:
Keywords: Cc:

Description

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

Change History (8)

comment:1 Changed 9 years ago by Richard

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

comment:2 Changed 9 years ago by woodpeck

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.

comment:3 Changed 9 years ago by Richard

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 (!).

comment:4 Changed 9 years ago by woodpeck

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... ;-)

comment:5 Changed 9 years ago by NE2

Resolution: fixed
Status: newclosed

They're back :)

comment:6 Changed 9 years ago by Richard

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

comment:7 Changed 9 years ago by NE2

Resolution: fixed
Status: closedreopened

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

comment:8 Changed 9 years ago by NE2

Resolution: fixed
Status: reopenedclosed

Aerials are back...

Note: See TracTickets for help on using tickets.