View previous topic :: View next topic |
Author |
Message |
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Thu Jan 09, 2003 2:34 pm Post subject: Traffic-Log with Apache? |
|
|
Hi all,
I have the following situation:
I administrate a server which hosts a few domains. Each configured as virtual-domains in Apache. Because of lots of produced traffic in the last month the users of the domains shall pay for the traffic in near future. But therefore I need a seperate traffic-log for all the domains.
I heard that this could be possible with the Apache-Log functions, but haven't found any further informations, yet.
Can anyone give some hints, or pehaps just a link to the correct documentation? _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Thu Jan 09, 2003 3:52 pm Post subject: |
|
|
hi,
i use the "CustomLog <path_to_logfile> combined" directive under each VirtualHost declaration.
then you get a seperate logfile for every vhost. you can parse the logfiles with any apache logfile parser. (im using modlogan) |
|
Back to top |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Fri Jan 10, 2003 10:33 am Post subject: |
|
|
Thank you!
This is exactly what I searched for. _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
|