Results 1 to 3 of 3
Thread: Error Log Question
Mar 9, 2006, 11:34 #1
Error Log Question
My site is basically an image host service. The user calls the image via /sig/<id>.png, which is redirected to /sig.php?id=<id> via mod_rewrite:
RewriteEngine On RewriteRule ^sig/(.*).png /sig.php?id=$1
When a image does not exist (checked with file_exists()), it looks like the mod_rewrite still redirects, but a 404 is added to my error log - not error_log, but the true log file. In the sig.php file the image is only called if the file exists, if it does not an 'error image' is sent to the browser.
Is it possible to not log 404 errors from missing signatures? Its hard to find the real website errors because they are covered up by these 404 image errors. --- better idea: Can I turn off error logging for a specific directory?
Mar 9, 2006, 13:54 #2
- Join Date
- Mar 2006
- 0 Post(s)
- 0 Thread(s)
my rewrite method is basically the same thing as yours, and i dont get entries in my log file
the log file im checking, is the one defined in httpd.conf by
are you talking about a diff log file?
Mar 9, 2006, 14:13 #3
I'm not sure. I assumed it was the server logs. I am looking at the 'last 300 errors' from cPanel. Its not a file download, just displayed in browser.