Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a virtualhost configurate with a VirtualDocumentRoot directive:

<VirtualHost *:80>
    ServerName my_server

    VirtualDocumentRoot /home/user/webserv/%1/www
    CustomLog /var/log/apache2/access.log combined

I want to log access of my different virtual server in separate file.

Is it possible?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.