[TriLUG] split apache logfiles

Jason Tower jason at cerient.net
Thu Nov 27 00:16:16 EST 2003


is it possible to split up the log files for a virtual host www.foo.com  
such that all requests for files in /bar of the document root get 
logged to logs/bar/combined_log while everything else gets logged to 
logs/combined_log?  it looks like conditional logging using the  
SetEnvIf parameter will allow me to mark requests, i'm just not sure 
how to direct them to the appropriate logiles.  thanks!

jason




More information about the TriLUG mailing list