Patch: Errordocument and Responsecode directives for the web_server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > Patch: Errordocument and Responsecode directives for the web_server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Patch: Errordocument and Responsecode directives for the web_server  
Jonty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:44 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register