I have set up VirtualHost files from scratch before and only recently come over the a2ensite command. I think this is a great command and very useful, but most of my sites configured have the same settings (such as ssl certs, basic auth etc).
Is there a way I can change what a2ensite writes to in my sites-enabled directory when I use it? For example, automatically putting my ssl certs in, etc.
Cheers
P.S. On 11.04 Ubuntu Server with Apache2 installed. Permissions to install further software.
a2ensite
only creates the correct symlink insites-enabled
to allow the site configured insites-available
to be served.