
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/04/16 15:05, Lunar wrote:
isis:
Tim Wilson-Brown - teor transcribed 1.8K bytes:
Can we redirect globe.torproject.org to atlas.torproject.org? Are their search syntaxes similar enough that we can redirect fingerprint searches from Globe to Atlas? (Are there any other systems that automatically generate Globe links that we'll have to update?)
We could probably do this without so much effort, yes. For fingerprints the redirect would be from e.g.:
https://globe.torproject.org/#/relay/A10C4F666D27364036B562823E5830BC448E046... to https://atlas.torproject.org/#details/A10C4F666D27364036B562823E5830BC448E04...
For searches it would be:
https://globe.torproject.org/#/search/query=noether to https://atlas.torproject.org/#search/noether
However this means we either leave the Globe machine up and configure its Apache to do that, or we change the DNS for globe.torproject.org to point to the Atlas machine and tell Atlas' Apache instance to do that.
As far as I understand web technologies, the anchor is not sent to the HTTP server. So the rewriting can only be done via JavaScript and not through Apache.
If globe.torproject.org is kept as a separate virtual host, the rewriting code can be sent only to people visiting asking for globe.torproject.org. As this requires no change to Atlas' code, this solution feels cleaner to me.
Sounds good to me. I started writing that redirection code here: https://trac.torproject.org/projects/tor/ticket/18893 Please improve! Thanks! All the best, Karsten -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJXHxg6AAoJEC3ESO/4X7XBLacH/iONv8X+5wC8GcrxQqasAyFy PmVJXj2AeFlMRHf0CcC/6si2J/Y+8tv/d9i4O6uPHClP3xnm7WeMZQObEzSgm+0K taw9427x7ZzM2DfG51+2k3vzlH4XMt1eqgbWDI4XE/7E/8B3GnfWlQVdfY3rUTBF lqblHID1Fb3AT3vtUwi/Q8UOjTomaXCNUaNplvMlsB/IqPO970Z6SttTtoLyat76 P7dElguvK9CsKmgjvDtwR3DeppuxhY4xfpwW04VwXSgrfcxznDECAOpsHeS14naJ u4IFYj02oVxZaI+xYbHqZlYHDGICUngFCMZjCS4X0EKraht6b18wV21Tt2EelMQ= =AS+k -----END PGP SIGNATURE-----