I have a large httpd.conf file, most of which is virtual hosts. Is there a way to make a file, say virtual_hosts.conf, and include it from httpd.conf? I've googled a bit, but can't seem to find much as far as includes, just module loading.
|
feedback
|
|
| |||
|
feedback
|
|
You can do it with Include directive:
| |||
|
feedback
|
|
I separate each virtual host into it's own vhost config file, that way you don't wind up searching through a giant document looking for one little directive. Similar to Quanta's post:
Just place it as the last line in your httpd.conf then just split your single vhosts.conf into individual files for each domain, i.e.
much easier to manage. -sean | |||
|
feedback
|