Auto restarting apache when internal server error

This is a discussion on Auto restarting apache when internal server error within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, What is the best way to have the server's apache automatically restart and reload when the site starts ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-24-2007
Leon
 
Posts: n/a
Default Auto restarting apache when internal server error

Hi,

What is the best way to have the server's apache automatically restart
and reload when the site starts giving a 500 error?

Thanks,
Leon

  #2 (permalink)  
Old 04-24-2007
Purl Gurl
 
Posts: n/a
Default Re: Auto restarting apache when internal server error

Leon wrote:


> What is the best way to have the server's apache automatically restart
> and reload when the site starts giving a 500 error?


Write and install a "custom error handler" which handles a 500 error,
such as a C language, Perl language or other executable which issues
a system call for an Apache "graceful" restart.

http://www.4webhelp.net/tutorials/misc/errors.php

However, you will do better to repair whatever is causing this error.

Purl Gurl
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0