Bug #1420
closedLighttpd + mod_magnet throws default 503 page with the custom one.
Description
I'm using mod_magnet for taking down the site for maintenance purposes. The maintenance page returns 503 as the HTTP status code. Lighttpd adds the default "503 - Service Not Available" to the page.
-- pratham.kumar
Updated by mike503 almost 17 years ago
yeah this is annoying, as I was hoping to use lighty for this.
also mentioned here too:
http://johnleach.co.uk/words/archives/2007/01/10/251/
Updated by Anonymous almost 17 years ago
Replying to mike503:
yeah this is annoying, as I was hoping to use lighty for this.
also mentioned here too:
http://johnleach.co.uk/words/archives/2007/01/10/251/
I know, I read your article before submitting this article :)
For now I'm just hiding the h1 tag using CSS.
-- pratham.kumar
Updated by mike503 almost 17 years ago
duh, what a simple temporary fix!
thanks for pointing out the obvious!
(that's not my website, btw :))
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Fixed in r2155
Updated by Anonymous over 16 years ago
Another interesting fix is just to put out a div with display:none at the end to hide any additional content that lighttpd tacks on. I discuss this strategy in brief here: http://blog.innerfence.com/2008/06/10/simple-maintenance-mode-scripts-for-lighttpd/
Also available in: Atom