Based on this post
Suggestions?
Cheers,
Tim.
tried various combinations (# lines below) but everything results in Internal Server Error so I am missing something simple. The goal is to parse the access log with less lag and update the deny list.joemuller wrote:You are correct - the access logs are not updated in real-time.
If you do need faster logging, you can try overriding mod_rewrite (via .htaccess) to write to a separate file:
http://httpd.apache.org/docs/2.2/mod/mo ... rewritelog
Suggestions?
Cheers,
Tim.
Code: Select all
#AllowOverride All
#RewriteBase /
#RewriteEngine on
# neither path works
#RewriteLog "/home/n/nsr500/access.log"
#RewriteLog "/var/log/httpd/nsr500/access.log"
#RewriteLogLevel 2
...