[1306] in RedHat Linux List
Re: Apache & .htaccess
daemon@ATHENA.MIT.EDU (Mike Schout)
Sun Oct 27 16:28:10 1996
From: Mike Schout <mike@Twoface.tamu.edu>
To: redhat-list@redhat.com
Date: Sun, 27 Oct 1996 15:23:18 -0600 (CST)
Cc: baa@mail.badger1.net
In-Reply-To: <Pine.LNX.3.91.961025092729.24299C-100000@washington.patriot.net> from "Steve \"Stevers!\" Coile" at Oct 25, 96 09:30:35 am
Reply-To: m-schout@tamu.edu
Resent-From: redhat-list@redhat.com
>
> On Thu, 24 Oct 1996, Bret Aguilar wrote:
> >How do I configure Apache 1.1 to generate log files for each user
> >ie. /~user instead of one logfile for all users. The FAQ at www.apache.org
> >is not clear on this.
>
> I'm more familiar with 1.0.5 than 1.1.1, but I'd be surprised if this
> changed. I don't think you can make a user-specific log without giving
> the user a virtual host. However, I'd suggest looking at the Apache 1.1.1
> documentation for the TransferLog and ErrorLog directives and seeing
> where they may validly appear. If they can appear between <Directory>
> tags in your access.conf or in .htaccess files, then that's how you can
> do it; otherwise, you're probably out of luck.
>
> Apache 1.1.1 documentation is available at:
>
> http://www.apache.org/docs
>
> Check out the run-time configuration options, then select TransferLog
> and ErrorLog from the resulting page.
>
> -Steve Coile
> Systems Engineer, Patriot Computer Group
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
> ________________________________________________________________________
> http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
> http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
> ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
>
Another possibility is to create a simple perl script to handle your log files
and split it up by the username. Since the username is logged for each
access, it would be trivial to split these lines up into separate files with
a quick perl script... Anthough apache will still log them all to one file,
this would work if you put it in a cron job or something... ANyways, just
an idea....
Mike
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null