Re: [users@httpd] File structure for nearly identical sites

2020-07-10 Thread Yehuda Katz
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

[users@httpd] File structure for nearly identical sites

2020-07-09 Thread Darryl Philip Baker
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