Find the answer to your Linux question:
Results 1 to 2 of 2
Can anyone suggest a good way of easily getting my Apache log files outputted into a MySQL database so i can read them through a php page?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    UK
    Posts
    77

    Apache Logfiles into MySQL


    Can anyone suggest a good way of easily getting my Apache log files outputted into a MySQL database so i can read them through a php page?

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    What you have to do is write youre own script that whould handle the writing to the MySQL database. And then you'll have to "pipe" your log-information through the "CustomLog" entry. Check out Apache 2 Doc and you'll get a hint.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •