My experience is the config for v hosts is at the bottom of the file. That is for apache 2.2. On Jun 13, 2014 1:25 PM, wrote: > Thank you everyone for your help!! > > I'm running Apache 2.2 on CentOS 6.5. > > I was told once to put the vhost file in the config path so that during > future upgrades I do not lose my configuration. > > My main concern is where the config files are included in the httpd.conf > file and how that might effect or be effected by directives that come after > the vhosts. > > > > > On 2014-06-13 15:03, Michael Torres wrote: > >> Depends on the version of apache you are using. I use 2.2 and I add >> it to the https.conf file..,no issues >> On Jun 13, 2014 12:53 PM, wrote: >> >> I am wondering what the proper way to add vhosts to the Apache >>> config. >>> >>> I've used 3 methods. >>> >>> 1) add them to the bottom of the httpd.conf file >>> 2) add an include at the bottom of the httpd.conf file that >>> includes a file containing all the vhosts >>> 3) adding a vhost.conf file to /etc/httpd/config.d/ directory >>> >>> In the last method, the vhosts are included in the middle of >>> /etc/httpd/conf/httpd.conf file. Is this a problem? >>> >>> Is there a better method? >>> >>> Thanks!! >>> >>> Keith >>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss [1] >>> >> >> >> Links: >> ------ >> [1] http://lists.phxlinux.org/mailman/listinfo/plug-discuss >> >> --------------------------------------------------- >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org >> To subscribe, unsubscribe, or to change your mail settings: >> http://lists.phxlinux.org/mailman/listinfo/plug-discuss >> > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss