Apache Server configuration support - Auto restarting apache when internal server error

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2007 > Auto restarting apache when internal server error





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 Auto restarting apache when internal server error
Leon

2007-04-24, 1:24 pm

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

Purl Gurl

2007-04-24, 7:18 pm

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com