> -----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 log.
> > 
> > For example, if there is a image missing Apache excutes a 
> script that
> > generates a replacement image?
> 
> well, you can do just about anything you want :)
> 
> 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 store in that slot in the
filesystem. A cache cleanup daemon runs to clean out TTL'd files.

Warning: don't try and implement this in a commercial application - it's
patented by vignette.

Matt.

This email has been scanned for all viruses by Star Internet. The service is powered 
by MessageLabs. For more information on a proactive anti-virus service working around 
the clock, around the globe, visit www.star.net.uk

Reply via email to