virtualhost doubt

Discussion in 'Apache' started by acastanheira2001, Oct 13, 2009.

  1. #1
    Hi,

    I´ve configured a virtualhost like this:

    <VirtualHost *:443>

    ServerName portal

    # SSL config

    ....

    JkMount /app dmb

    JkMount /app2 dmb

    Errorlog /var/log/apache2/app-error_log

    </VirtualHost>

    If user types http://portal/app the Errorlog would be "Errorlog /var/log/apache2/app-error_log".
    OR
    If user type http://portal/app2 the Errorlog would be "Errorlog /var/log/apache2/app2-error_log".


    How to config the Errorlog directive in order to have application´s specific logs?


    Thanks,
    André
     
    acastanheira2001, Oct 13, 2009 IP