Activating error 503 from a shell script

During deployment of a new version of a website you might want to have your server returning an error 503 (temporarily unavailable). here a solution

Tagged with: , ,
Posted in Web Development