httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Reinhardt" <crypto...@cryptodan.net>
Subject Re: [users@httpd] Newbie question about vhost log and webalizer
Date Fri, 22 Jan 2010 18:38:45 GMT

--------------------------------------------------
From: "J. Bakshi" <joydeep@infoservices.in>
Sent: 22 January, 2010 9:29
To: <users@httpd.apache.org>
Subject: [users@httpd] 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

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