Sorry I should have mentioned CentOS.

On 2014-06-13 14:58, Mike Ballon wrote:
Depends on the disto.

/usr/local/apache2/conf/extra/httpd-vhosts.conf

On Fri, Jun 13, 2014 at 3:05 PM, <techli...@phpcoderusa.com> 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

Reply via email to