View Single Post
Old 04-18-2010, 06:12 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by camperjohn64 View Post
I really think I need to do it in a shell script and figure out how to do it with stdin, just don't know how to yet.
$fp = fopen("php://stdin", "r");
if (!$fp) die("could not open STDIN");

Running a PHP script is pretty clunky, I'd try fixing what Varius gave you. Something like this shoudl work...

ErrorLog "|/bin/grep -v \"File does not exist:\" >> /var/log/httpd/error_log"
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote