View previous topic :: View next topic |
Author |
Message |
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 265
|
Posted: Fri Jun 06, 2003 7:03 pm Post subject: Apache working with MySQL |
|
|
Okay. . .I've got a nice little Apache webserver running, and it has a nice large file name access_log.
Now, just out of curiousity, is there any way I can get Apache to use MySQL to put all the access_log stuff into a db so it's easier to read?? I've been searching the forums, but everything regarding MySQL and Apache also includes PHP (which has already been done and works great).
TIA |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Fri Jun 06, 2003 8:15 pm Post subject: |
|
|
Woudlnt it take longer to do an sql update to every single change in the apache logs rather than append it to a huge textfile? _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 265
|
Posted: Fri Jun 06, 2003 9:48 pm Post subject: |
|
|
No clue. That's why I was wondering about something like this.
Doesn't seem to slowdown PHPBB any. And it's not like this is going to be a huge, huge, huge website, either. It's just something for my friends to visit and hang out. |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Sat Jun 07, 2003 7:59 am Post subject: |
|
|
http://modules.apache.org/search?id=339
Quote: |
Gives Apache the capability of logging access-log entries to a MySQL database. Perfect for web clusters and for SQL flexibility.
|
_________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Sat Jun 07, 2003 8:02 am Post subject: |
|
|
perhaps mod_log_sql is something for u...
[darktux was faster....] _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 265
|
Posted: Sat Jun 07, 2003 2:45 pm Post subject: |
|
|
Ah, thank you, thank you.
I'm sure I can figure out the rest. |
|
Back to top |
|
|
|