<p dir="ltr">My experience is the config for v hosts is at the bottom of the file. That is for apache 2.2.</p>
<div class="gmail_quote">On Jun 13, 2014 1:25 PM, <<a href="mailto:techlists@phpcoderusa.com">techlists@phpcoderusa.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you everyone for your help!!<br>
<br>
I'm running Apache 2.2 on CentOS 6.5.<br>
<br>
I was told once to put the vhost file in the config path so that during future upgrades I do not lose my configuration.<br>
<br>
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.<br>
<br>
<br>
<br>
<br>
On 2014-06-13 15:03, Michael Torres wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Depends on the version of apache you are using. I use 2.2 and I add<br>
it to the https.conf file..,no issues<br>
On Jun 13, 2014 12:53 PM, <<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am wondering what the proper way to add vhosts to the Apache<br>
config.<br>
<br>
I've used 3 methods.<br>
<br>
1) add them to the bottom of the httpd.conf file<br>
2) add an include at the bottom of the httpd.conf file that<br>
includes a file containing all the vhosts<br>
3) adding a vhost.conf file to /etc/httpd/config.d/ directory<br>
<br>
In the last method, the vhosts are included in the middle of<br>
/etc/httpd/conf/httpd.conf file. Is this a problem?<br>
<br>
Is there a better method?<br>
<br>
Thanks!!<br>
<br>
Keith<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a> [1]<br>
</blockquote>
<br>
<br>
Links:<br>
------<br>
[1] <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</blockquote>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a></blockquote></div>