Ticket #1420 (closed defect: fixed)

Opened 11 months ago

Last modified 3 months ago

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

Reported by: pratham.kumar@… Owned by: jan
Priority: normal Milestone: 1.5.0
Component: core Version: 1.4.18
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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.

Attachments

Change History

follow-up: ↓ 2   Changed 9 months ago by 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/

in reply to: ↑ 1   Changed 9 months ago by pratham.kumar@…

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.

  Changed 9 months ago by mike503

duh, what a simple [temporary] fix!

thanks for pointing out the obvious!

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

  Changed 5 months ago by stbuehler

  • status changed from new to closed
  • resolution set to fixed

Fixed in [2155]

  Changed 3 months ago by anonymous

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/

Add/Change #1420 (Lighttpd + mod_magnet throws default 503 page with the custom one.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.