dkirkby / desipano

360 degree panoramas of the DESI focal plane
MIT License
0 stars 0 forks source link

Redirect Poster QR URL #6

Open dkirkby opened 1 year ago

dkirkby commented 1 year ago

The focalplane poster has a QR code that points to https://data.desi.lbl.gov/public/epo/desifp/ which corresponds to the local file /global/cfs/cdirs/desi/public/epo/desifp/index.html

This issue is to redirect that URL to https://dkirkby.github.io/desipano/

dkirkby commented 1 year ago

The best option is probably a permanent server-side 301 redirect but that requires access to the .htaccess file which I don't have. Checking with Ben...

dkirkby commented 1 year ago

A server-side redirect seems too complicated at NERSC, so I will use a client-side redirect instead, with the following added to the <head> section:

<meta http-equiv="refresh" content="0; url=https://dkirkby.github.io/desipano/" />