View Single Post
  #5 (permalink)  
Old 05-18-2009, 12:54 PM
Tech Manager Tech Manager is offline
WebProWorld Pro
 
Join Date: Jan 2008
Posts: 294
Tech Manager RepRank 1
Default Re: Create Your Own Security Logs

I agree with you Wige. Good post. However, your .htaccess directive is not going to work on every system. Again we get into configuration differences, whether .htaccess is available to the site owner, etc.

Quote:
you must have access to your virtual host configuration because the CustomLog and LogFormat directives can’t be specified in the .htaccess file but only at server config or virtual host level.
Source

I have tested your solution and received errors. I have not tested the solution mentioned in the quote above. But will do so.

The best solution is to have all log entries available, and use log analysis tools as mentioned by danlefree.
__________________
I use Country IP Blocks as added security for my networks and servers.

Last edited by Tech Manager; 05-18-2009 at 01:10 PM. Reason: clarification
Reply With Quote