Your best option to do that might be to add a separate file with that
config and call it with IncludeOptional
For example:
ServerName $domain
ServerAlias www.$domain
DocumentRoot "/var/www/vhosts/$name"
ErrorLog "/var/log/httpd/$name.error_log"
CustomLog "/var/log/httpd/$nam
I am getting a set of over 50 sites moved over to my server from elsewhere and
the content manager want to duplicate each of these in a dev subdomain. An
example eatatjoes.example.com and eatatjoes.dev.example.com. I am thinking that
I can include the same configuration file twice if I replace t