Hey Rich,
1) I found mod_log_mysql help from http://bitbrook.de/software/mod_log_mysql/
but what i want to read request parameter and log according to that before serving response file as i don't want to store all the request data in mysql.
2) what do you mean by "you can always create your own custom logging script and direct Apache to use that.".you mean to say i have write module like apache mod_log_mysql.
Please give me some more detail.
3) Is their any way to invoke shell script/CGI script/Perl script as request listener and script will have access to request parameter/Header/URL.
Thanks & Regards,
Samir.On Mon, Jul 7, 2008 at 10:27 PM, Rich Schumacher <rich.schu@xxxxxxxxx> wrote:
Hey Samir,
Have you looked into mod_log_sql or mod_log_mysql? I don't know the specifics, but they look like they might accomplish what you need. If not, you can always create your own custom logging script and direct Apache to use that.
Cheers,
RichOn Sun, Jul 6, 2008 at 10:22 PM, Samir Ghodasara <ghodasarasamir@xxxxxxxxx> wrote:
Hi,
i have setup apache (httpd-2.2.4 on suse linux 10.0) for static content.but i want request logs in database according to HTTP GET/POST request parameter.
EX..htttp://localhost/video.html?msisdn=123&id=11
and i want to capture above request logs in to database with request URL,time,date and request parameter.
one way i found to filter access_log on daily basic and dump in to database.
is their any other better and which will go very nearer to live data ?
Please help ..
Regards,
Samir.