Project

General

Profile

Actions

Bug #1420

closed

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

Added by Anonymous over 16 years ago. Updated almost 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by mike503 over 16 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/

Actions #2

Updated by Anonymous over 16 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

Actions #3

Updated by mike503 over 16 years ago

duh, what a simple temporary fix!

thanks for pointing out the obvious!

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

Actions #4

Updated by stbuehler almost 16 years ago

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

Fixed in r2155

Actions #5

Updated by Anonymous almost 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/

Actions

Also available in: Atom