Page MenuHomePhabricator

Redirect Toolforge Quarry page to Cloud VPS Quarry
Closed, ResolvedPublic

Description

Someone found http://tools.wmflabs.org/quarry/ and was confused that Quarry appeared to be broken.
We should redirect that directory to https://quarry.wmflabs.org/

(idk if it's more complicated than that)

Event Timeline

From Gerrit change 304764, I *think* this is Yuvi's attempt to move Quarry to Toolforge. There are quite some benefits, such as better redundancy, but some other concerns, such as isolation, can be painful.

At minimum, putting a big note at the top of http://tools.wmflabs.org/quarry/ seems reasonable. Better would be an HTTP 301 or 302 to https://quarry.wmflabs.org/.

Mentioned in SAL (#wikimedia-cloud) [2018-02-17T18:32:37Z] <zhuyifei1999_> added a simple catch-all redirect rule to lighttpd.conf and switch webservice from python2 on kubernetes to lighttpd on gridengine T175881

tools.quarry@tools-bastion-03:~$ cat .lighttpd.conf 
url.redirect = (
    "^/quarry(/.*)"  => "https://quarry.wmflabs.org$1" 
)
zhuyifei1999@zhuyifei1999-ThinkPad-X260:~$ curl -I http://tools.wmflabs.org/quarry/
HTTP/1.1 301 Moved Permanently
Server: nginx/1.13.6
Date: Sat, 17 Feb 2018 18:33:54 GMT
Connection: keep-alive
Location: https://quarry.wmflabs.org/
X-Clacks-Overhead: GNU Terry Pratchett

zhuyifei1999@zhuyifei1999-ThinkPad-X260:~$ curl -I http://tools.wmflabs.org/quarry/abcdefg
HTTP/1.1 301 Moved Permanently
Server: nginx/1.13.6
Date: Sat, 17 Feb 2018 18:33:55 GMT
Connection: keep-alive
Location: https://quarry.wmflabs.org/abcdefg
X-Clacks-Overhead: GNU Terry Pratchett