From: David Fletcher <David@me...> - 2007-01-23 10:29:24
For the link from Apache to MySql I have developed a piped logging
approach called LogToMysql. It is documented here
I'm not sure how it would work for you, or integrating it with
Mod-security. I use it on a few servers in it's current form, but
really have no time to develop it further. It works fine, and has the
advantage of being seperate from the detailed code of Apache so doesn't
need updating as Apache changes. The piped logging approach will
re-start the logging process if it fails, so a race condition should not
occur. The only problem I've had is when running Apache in a chroot
using mod-security, in which case it's more difficult to re-start a
failed logging process.
If the code is of any use please use it, or change it and integrate it
into some other application. I think it's self-explanatory, but I can
probably answer questions about it - no time to do any coding right now
> 5 ) Hummm... in the company we already have a policy and software that
> manager our or logs, and all then are sent to a MySQL server. Is not way to
> configure mod_security to send it logs to MySql (Not a external script sinc=
> it can cause some race conditions, but a native way to make the mod_securit=
> module to log in a MySQL server))? Any link is appreciated.
Get latest updates about Open Source Projects, Conferences and News.