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...


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.

  • Nice! Thanks for that. I was making the same mistake. – Gerry Nov 14 '13 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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