Re: Apache DocumentRoot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jan 6, 2010 at 4:34 PM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> I just assumed that setting this in the httpd.conf to the expected
> /var/www/html and making all my sites actual virtual hosts would
> place any request made by ip in /var/www/html, but it goes to the
> first vhost?
>
> How can I get the above behavior?
> Thanks!
> jlc

Read the apache docs.  As soon as you make any vhost, the first one
becomes the default.  Make the first vhost with the same settings as
the defaults in the rest of the httpd.conf file, and you'll get the
behavior you're looking for.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux