28 Mar
2014
28 Mar
'14
2:26 p.m.
On 3/27/2014 10:08, Gabor Szabo wrote:
I was looking to set a catch-all route that will show "site is closed
It is usually better to do such things in your reverse proxy or load balancing layers, because one of the reasons the site can be closed is that the web app is not running. For example, if you're putting nginx in front of Dancer, you'd want to have an alternate configuration set up that let you switch the Dancer proxy stuff out for static content that appears no matter what URL was given on the site.