I have a conf like this
<VirtualHost *:80>
VirtualDocumentRoot /Users/molfar/Sites/%-2+
</VirtualHost>
I'd like to dynamically set error and access logs paths. I tried the following
<VirtualHost *:80>
VirtualDocumentRoot /Users/molfar/Sites/%-2+
ErrorLog "/private/var/log/apache2/%-2+_error.log"
CustomLog "/private/var/log/apache2/%-2+_access.log" common
</VirtualHost>
But placeholders doesn't work in ErrorLog and CustomLog directives. Are there any other placeholders?