We have an internal app and I want to have the apache httpd server create new log files based on each of the client ips. In the documentation I see you can have multiple logs.
http://httpd.apache.org/docs/2.2/logs.html
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log common
CustomLog logs/referer_log "%{Referer}i -> %U"
CustomLog logs/agent_log "%{User-agent}i"
but what I really want is something like this.
CustomLog logs/%h-access_log common
where the %h is extrapolated into the ip address i.e. 1.1.1.1-access_log
I imagine there's a mod_perl way to do this but just wondering if anyone knows a way to do something like this through standard configuration before I write a module.