Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Traffic-Log with Apache?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Thu Jan 09, 2003 2:34 pm    Post subject: Traffic-Log with Apache? Reply with quote

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
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Thu Jan 09, 2003 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Fri Jan 10, 2003 10:33 am    Post subject: Reply with quote

Thank you!
This is exactly what I searched for.
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum