2

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

1 Answer 1

2

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .