Split logs based upon VirtualDocumentRoot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hello,
We use the following for hosting several sites by domain name and it seems to work well for us.
VirtualDocumentRoot /exports/home/%-2.0.%-1/virtualdomains/%0
What we would like to do is to split the incoming logs for each of the base level domains (that is domain.tld, regardless of *.domain.tld) such that for each domain the logs are stored in /exports/home/%-2.0/%-1/logs. In this case, the log folders (and the /exports/home/%-2.0/%-1/) are owned by root, so this shouldn't be too much of a security issue.
Is there a way do this with the logs without doing actual virtuals for each site?
Gary Wayne Smith
[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]