Perlbal - Patch: Errordocument and Responsecode directives for the web_server

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > September 2006 > Patch: Errordocument and Responsecode directives for the web_server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Patch: Errordocument and Responsecode directives for the web_server
Jonty

2006-09-16, 1:13 pm

Hi,

This patch adds errordocument and responsecode directives to the
web_server mode of perlbal.

Errordocument functions in a similar manner to the apache directive -
showing a predefined page upon encountering a 404. If the predefined
page cannot be found, a normal 404 error will occur.

Responsecode forces the web_server mode to ALWAYS return the same
response code as long as a real page or errordocument can be served.

We use these two functions in combination to display a 503 site
maintenance page that can be easily switched on while having no
dependencies on the backend cluster or fileservers.

Cheers,
Jonty Wareing

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com