Click to See Complete Forum and Search --> : Separate logs for different users.


dperez
09-06-2003, 10:53 PM
Hi,
I'm sharing a dedicated server with some friends, and was wondering how I can setup logging so what they access is not shown on apache's log, but instead on a separate log. I know how to set it up on a virtual host, but my friends are just accesing my server via //www.mydomain.com/username. Each one has a separate user account. Is there a way I can setup Apache logs, so each user gets a different log file? Or at least for an specific folder?

BTW, I've seen it done on another site.

Any help will be appreciated.

Thanks
Dennys

freemansweb
09-07-2003, 08:48 PM
Try adding something like this in directory directive:
CustomLog logs/access.log common

I'm not sure if it will work though. Another option maybe using Webalizer or something similar.