Re: HTTPD Logwatch

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

 



Kaustubh Deorukhkar wrote:
I am naive user..but this is what comes to my mind...please see if this
helps

- create seperate logs per website...

SetEnvIf Referer www\.mydomain1\.com site1_request
CustomLog logs/mydomain1_log common env=site1_request

SetEnvIf Referer www\.mydomain2\.com site2_request
CustomLog logs/mydomain2_log common env=site2_request
...

This won't work. The "referer" is the name of the system the request comes *from*, not the host who serves it. As Lukreme mentions, you can have (and probably the OP has) different logfiles for each website, with Virtual Hosts. But I believe the OP's issue is different. The "logwatch" he's talking about is probably some utility which monitors several logfiles at once.
But let him explain.

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