Error log executing scripts?

2002-01-04 Thread Magnús Þór Jónsson
Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. For example, if there is a image missing Apache excutes a script that generates a replacement image? Thanx in

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
Magnús Þór Jónsson wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. For example, if there is a image missing Apache excutes a script that generates

RE: Error log executing scripts?

2002-01-04 Thread Matt Sergeant
-Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Magnús Þór Jónsson wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
however, althoughit is possible to intercept the actual errors Apache (and mod_perl) generates, it is rather complex, and really not the proper approach here. Really? I would have thought it could make an interesting caching technique - on a 404 you try and generate the file, and

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
Tatushiro er, Tastuhiko I mean. (sorry :) --Geoff

Re: Error log executing scripts?

2002-01-04 Thread Paul Lindner
On Fri, Jan 04, 2002 at 01:13:37PM -, Matt Sergeant wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. There is a way to redirect errors