Multiple, Customizable VHost Templates
THE PROBLEM:
There has been times where I have needed to edit the vhost files for a site not wanted those changes to become part of the single vhost template for all sites:
1.) adding SSL for an alias domain 2.) changing 'php_admin_value' to just 'php_value' for sites that need to change this dynamically (E.g. This is very common with PHP frameworks)
FEATURE REQUEST:
It would be extremely beneficial to be able to have multiple vhost templates instead of just a single vhost template, so that sites that need the extra features can have them without giving those extra features to all sites.
It would also be extremely beneficial if those templates could be edited through the control panel.
HOW I ENVISION THIS FEATURE:
I envision this as a new section on the "Sites" sidebar titled "Templates" and a new link under "Templates called "VHosts".
After clicking on the "VHosts" button, the list of existing vhost templates would then be shown in the right content section and contain the single vhost template by default. The default vhost template may not be deleted.
There would be a button to add a new vhost template which would then replace the right content with the "Add VHost Template" form which consists of a large text area, save/back buttons, and a dropdown to optionally duplicate an existing template.
The drop down would allow someone to select an existing vhost template that they wish to duplicate and a button next to that drop down to confirm the duplication. Upon selecting to duplicate an existing template, the text area would be populated with the existing template. The user may then customize that existing template instead of starting from scratch.
Once saved, the vhost template would be created on the server and become available for use.
Each website would be given a single additonal field which specifies which vhost template to use for that particular site.
Think this feature would be extremely powerful and useful? Please vote for it! Thanks!