Re: giving users their own http logs

From: Ed Wilts (
Date: 01/09/04

  • Next message: Stuart Sears: "Re: DNS Servers"
    Date: Fri, 9 Jan 2004 14:01:05 -0600

    On Fri, Jan 09, 2004 at 11:45:18AM -0800, Chris W. Parker wrote:
    > Thanks for response Ed but I'm not using virtual hosts (right now at
    > least). How should I change your example to work with what I'm doing
    > now?
    > I want all activity within ~username/ to be logged. Does this make a big
    > difference?

    As long as you've got a log defined, the information will be there.
    However, you'll have all the info in the same log. You can certainly
    post-process the log file. For example, here's an entry from mine at
    work: - - [09/Jan/2004:13:35:33 -0600] "GET /~webmonitor/vpn-test.cgi HTTP/1.1" 200 5110

    Now you'd have to write a script that looks for the ~, grabs the
    username following that, and split the logs out. That doesn't sound all
    that hard, but I'm not going to offer to write it :-)

    Ed Wilts, Mounds View, MN, USA
    Member #1, Red Hat Community Ambassador Program
    redhat-list mailing list

  • Next message: Stuart Sears: "Re: DNS Servers"

    Relevant Pages