Rewrite document-root for www-prefix
I taught mod_simple_vhost a new config option, which allows to use the same document-root for domains with and without the leading www. Sure, you could use a symlink and allow symlink following by server.follow-symlink, but this new config option is more flexible even if it's not as clean as a permanent redirection. In my special case, I had to handle this redirection in the backend, and so I've added those few lines.
Also available in: Atom