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]

 



Hi, 

i want to ask for help to solve a problem.

So, i have installed fedora 6 (x86x64) and also installed
httpd - httpd-2.2.4-2.1.fc6.x86_64

I want do this.

In ssl_access_log i have logs like these:

corporativos24219-22.etb.net.co - - [03/Sep/2007:21:34:27 +0200]
"PROPFIND /svn/java/base HTTP/1.1" 401 486
corporativos24219-22.etb.net.co - hpenagos [03/Sep/2007:21:34:27 +0200]
"PROPFIND /svn/java/base HTTP/1.1" 207 684
corporativos24219-22.etb.net.co - hpenagos [03/Sep/2007:21:34:28 +0200]
"PROPFIND /svn/java/!svn/vcc/default HTTP/1.1" 207 402
corporativos24219-22.etb.net.co - hpenagos [03/Sep/2007:21:34:29 +0200]
"PROPFIND /svn/java/!svn/bln/29174 HTTP/1.1" 207 461

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.

I tried to configure apache like these:

SetEnvIf Remote_User "hpenagos" externaluser
CustomLog logs/externaluser.log combined env=externaluser

but this option doesn't work. i'm logging to the system and these
records doesn't logs in the new log file (externaluser.log)

How can i check for the authentication user?

I checked the in httpd version 2.2 there is no Remote_User option to
SetEnvIf directive, i suppose this is the reason to do not log anything.
In version 2.0 this option is available.. How can i solve this problem ?

Also i tried SetEnvIf with Remote_address option, it is working and in
the new log file i see the records from these ip addresses. But i want
to check only by user name, because the person can try to access from
different pcs with different ip addresses.

I hope that here i will find some solution.

Thanks in advanced!
Regards, Ali Nebi!


---------------------------------------------------------------------
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