Re: Questions about httpd logging and redirecting requests to be logged in different places

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-09-11 at 09:52 -0400, Joshua Slive wrote:
> On 9/11/07, Ali Nebi <anebi@xxxxxxxxxxxx> wrote:
> 
> > i want to check all requests for the authentication users, in the
> > example above the user is hpenagos.
> >
> > and all requests from these specify users to be logged in different
> > places.
> 
> This could probably be done by using a RewriteCond %{LA-U:REMOTE_USER}
> and then a RewriteRule with the E flag to set an env variable.
> 
> But I highly recommend forgetting all that and simply post-processing
> your logs to extract what you want. By keeping the logging as simple
> as possible and putting any complications off-line, you'll have a more
> efficient and more reliable server.
> 
> Joshua.

Thanks for the answer Joshua.

So this mean that i'm right for "Remote_User" in SetEnvIf dirrective.
Yes, this should be a solution for the problem and it should be work.

The logs format are ok, we need to log in different places the requests
for 4-5 users only, the others should be logged in ssl_access_log file.

The point is to check what these users do and control them.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux