Re: vhosts conf file efficiency

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

 



On 2/13/12, Noel Butler <noel.butler@xxxxxxxxxx> wrote:
> On Sun, 2012-02-12 at 13:14 +0000, Steve Swift wrote:
>
>>
>>
>>
>> One caveat: Don't ever rely on a a wildcard INCLUDE for the order of
>> your vhosts. This probably only matters for the first vhost, which is
>> the default for any request which doesn't match any vhost.
>>
>>
>
> It absolutely matters, for the very reason you gave.
>
> O.P:
> I can't comment either way on your initial request, I've always added
> all hosts into one vhosts.conf file, and to be honest I don't feel like
> splitting them all up into single files to test resource usage :) Though
> I'm sure someone else in the know can answer this,  it is the weekend
> still in half the world, so you might need to wait another day or three.
>
> That said, as Steve mentioned, if you do decide to use one file for each
> host, place your primary (first/default) vhost in httpd.conf, then after
> that entry, place your include statement to load the individual files.
>
>
Thanks, I would have been caught that way for sure, the default vhost
is a redirect to our main company site, hate to have oi redirect them
to some customers web site heh.

>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux