View Single Post
Old 04-17-2010, 02:28 PM  
camperjohn64
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
Oh yes I see it is possible to pipe it. Good idea.

I will try this:
ErrorLog "|/usr/bin/php /home/john/test.php"

and see if I can make a little php program that checks for the 404 condition and doesn't write it if so

Or do you think it would run faster if it was written as a shell script?

I don't know I would write a shell script that would "If string not contain "404" and string not contain "not found" then write to /var/log/httpd/error_log"
__________________
www.gimmiegirlproductions.com
camperjohn64 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote