Where to define vhosts

Michael Torres matorres124 at gmail.com
Fri Jun 13 13:03:29 MST 2014


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, <techlists at 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 at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140613/dcb01b6c/attachment.html>


More information about the PLUG-discuss mailing list