Project

General

Profile

Bug #1420

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

Added by Anonymous almost 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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

#1

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

#2

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

#3

Updated by mike503 almost 12 years ago

duh, what a simple temporary fix!

thanks for pointing out the obvious!

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

#4

Updated by stbuehler over 11 years ago

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

Fixed in r2155

#5

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