I have a Apache 2.0 web server that have 2 virtual hosts. Now, I want to configure so that each virtual host records its access log to a seperate file. How can I do? thanks.
I have a Apache 2.0 web server that have 2 virtual hosts. Now, I want to configure so that each virtual host records its access log to a seperate file. How can I do? thanks.
dont think its possible
Its part of the setup for the virtual hosting of the domain. In the apache conf files. The file that says things like
ServerName www.example.com
ServerAdmin myname@example.com
DocumentRoot /home/example/public_html
should also have lines for the logs…
ErrorLog /var/log/apache2/examplecom-error.log
TransferLog /var/log/apache2/examplecom-access.log