[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Database migration: display a 503 message
- Subject: [EP-tech] Database migration: display a 503 message
- From: J.Salter at leeds.ac.uk (John Salter)
- Date: Mon, 14 Mar 2016 16:33:49 +0000
I've been doing a bit of database migration today (between mysql versions more than 2 major releases apart - so I couldn't just setup a replication).
I've written some instructions about how to make a repository respond with a 503 (Service unavailable) status, and show a human-friendly message at the same time:
If anyone wants to review it / comment on it, please do.
It seems to work OK on 3.3.10 - and I can't see why it wouldn't work OK on other versions.
The main question I have is how Apache versions might change the code needed to allow a certain IP through. Any thoughts on this welcome!