On Fri, Mar 16, 2012 at 4:08 AM, Brett @Google <brett.maxfield@xxxxxxxxx> wrote: > <VirtualHost *:80> > # This first-listed virtual host is also the default for *:80 > ServerName www.example.com > ServerAlias example.com *.example.com > DocumentRoot /www/domain > </VirtualHost> > > <VirtualHost *:80> > ServerName other.example.com > DocumentRoot /www/otherdomain > </VirtualHost> > > Above is not correct, as other.example.com would never have a chance > to match in the second virtualhost, only the first virtualhost because > of the wildcard which matches anything that ends in *.example.com, it > never will even examine the next virtualhost. I'm surprised to find that serveralias seems to cover up a match for ServerName, but this isn't a difference in 2.4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |