Here's a sample VirtualHost entry
<VirtualHost *:80> ServerName domain.com ErrorLog logs/domain.com-error_log CustomLog logs/domain.com-access_log common DocumentRoot "/var/www/srs/web" DirectoryIndex index.php Alias /sf /usr/share/pear/data/symfony/web/sf <Directory "/usr/share/pear/data/symfony/web/sf"> AllowOverride All Allow from All </Directory> <Directory "/var/www/srs/web"> AllowOverride All Allow from All </Directory> </VirtualHost>
Now, I have 6 other domains to setup this way. They will all share a single DcoumentRoot, so the only thing I need to setup that's unique per domain is the ServerName and *Log values. Since I'm mostly a copy-paster when it comes to this kind of stuff, what I'm prepared to do is just copy this block 6 times and change the bits I need to.
So, can I at least pull out the Directory entries and globalize them somehow?