httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Nebi <an...@iguanait.com>
Subject Re: [users@httpd] Questions about httpd logging and redirecting requests to be logged in different places
Date Tue, 11 Sep 2007 14:01:23 GMT
On Tue, 2007-09-11 at 09:52 -0400, Joshua Slive wrote:
> On 9/11/07, Ali Nebi <anebi@iguanait.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message