Last modified: 2011-04-15 19:20:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27620, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25620 - Need to set up squid-friendly rewrite rules for payments server downtime
Need to set up squid-friendly rewrite rules for payments server downtime
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-23 13:39 UTC by Arthur Richards
Modified: 2011-04-15 19:20 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Arthur Richards 2010-10-23 13:39:46 UTC
When the payments server goes down for maintenance, testing, etc. we used to use Apache rewrite rules to redirect a user to a 'Downtime' page.  Now that Squid is handling web requests, we need to configure Squid to be able to emulate this behavior.
Comment 1 Arthur Richards 2010-10-23 17:33:43 UTC
Hacktually, forget the squid.  We'll use iptables to redirect people to lighttpd running a non-standard port serving only DownTime.html.  Proof of concept in place, need to script it so we can easily go up/down.
Comment 2 Arthur Richards 2010-10-23 19:25:43 UTC
Wrote init.d script to bring up/down downtime with optional white-listable ipaddress to still get web access to the box.  Works nicely.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links