Page MenuHomePhabricator

Configure apache rules for UrlShortener
Closed, ResolvedPublic

Description

Basically we need the following rules:

  • w.wiki 301 → https://meta.wikimedia.org/wiki/Special:UrlShortener
  • w.wiki/$code internal rewrite → https://meta.wikimedia.org/wiki/Special:UrlRedirector/$code

And that's it!

Event Timeline

Legoktm created this task.Apr 24 2016, 6:47 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 24 2016, 6:47 AM

Change 285932 had a related patch set uploaded (by Dereckson):
Apache Redirects for w.wiki

https://gerrit.wikimedia.org/r/285932

Change 295493 had a related patch set uploaded (by Giuseppe Lavagetto):
role::cache::text: handle url shortener requests

https://gerrit.wikimedia.org/r/295493

Change 295493 merged by BBlack:
role::cache::text: handle url shortener requests

https://gerrit.wikimedia.org/r/295493

Legoktm closed this task as Resolved.Jun 22 2016, 7:31 PM
Legoktm reassigned this task from Dereckson to Joe.
Legoktm added a subscriber: Dereckson.
Restricted Application added a project: Operations. · View Herald TranscriptJun 22 2016, 7:31 PM

Change 295632 had a related patch set uploaded (by Legoktm):
Have "https://w.wiki/" do a 301 to Meta-Wiki

https://gerrit.wikimedia.org/r/295632

Change 295632 merged by Giuseppe Lavagetto:
Have "https://w.wiki/" do a 301 to Meta-Wiki

https://gerrit.wikimedia.org/r/295632

Change 525534 had a related patch set uploaded (by Ema; owner: Ema):
[operations/puppet@production] ATS: w.wiki rewrite to meta

https://gerrit.wikimedia.org/r/525534

Change 525534 merged by Ema:
[operations/puppet@production] ATS: w.wiki rewrite to meta

https://gerrit.wikimedia.org/r/525534