Re: Newbie question about vhost log and webalizer

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

 




--------------------------------------------------
From: "J. Bakshi" <joydeep@xxxxxxxxxxxxxxx>
Sent: 22 January, 2010 9:29
To: <users@xxxxxxxxxxxxxxxx>
Subject:  Newbie question about vhost log and webalizer

Dear all,

Two newbie questions

[1]  I am running a development server with multiple vhosts. Presently
all logs can be seen at  /etc/apache2/log/error.log  and at
/etc/apache2/log/access.log. How can I break the logs for each and every
vhosts ; so that the log only contains the specific vhost information ?

[2]  How can I set webalizer for each and every vhosts ?

Please suggest

Thanks

--
জয়দীপ বক্সী


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


Here is my solution:

CustomLog /var/log/apache2/vhost.com/access.log

where vhost.com is the name of each vhost. This is by far the easiest and requires less setup and use of other tools.

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