httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] virtual host precedence ?
Date Wed, 11 Jul 2012 04:31:48 GMT
On Wed, Jul 11, 2012 at 12:20 AM, Roland Roland <R_O_L_a_N_D@hotmail.com>wrote:

> Can anyone help me out in understand how/why virtual host take precedence
> on the same ip ?
> like i always face an issue where two distinct virtual hosts are set.
> the first works, the second doesn't unless i bump it up so it becomes the
> first listed in the conf file.
>
>
The requests for each of the domains you host will go to the appropriate
virtual host. If you are asking about the ones that don't have a virtual
host then the first VirtualHost in the config file is the default one. All
explained here: http://httpd.apache.org/docs/2.0/vhosts/name-based.html

Mime
View raw message