Bug #1420

Lighttpd + mod_magnet throws default 503 page with the custom one.

Added by Anonymous almost 3 years ago. Updated about 2 years ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.5.0
Missing in 1.5.x:

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

History

Updated by mike503 almost 3 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 3 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 3 years ago

duh, what a simple temporary fix!

thanks for pointing out the obvious!

(that's not my website, btw :))

Updated by stbuehler over 2 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2155

Updated by Anonymous about 2 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