Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting this warning from Apache:

The Alias directive in /etc/httpd/conf.d/foo.conf at line 10 will 
probably never match because it overlaps an earlier Alias.

However the Alias overlaps on a completely different virtual host.

Might this be caused because one alias is on a name-based virtual host while the other alias is on an IP-based virtual host?

Everything is working fine, just the warning is a bit annoying...

share|improve this question
up vote 2 down vote accepted

This warning was because the Alias directive was part of a include file, causing the Alias to be applied globally, rather than on a single virtual host.

share|improve this answer
Nice! Thanks for that. I was making the same mistake. – Gerry Nov 14 '13 at 14:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.