09-16-06 06: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
Attachment: perlbal_errordocument_responsecode_patch.diff
This has been downloaded 0 time(s).
[ Post a follow-up to this message ]
|