Tuesday, February 12, 2008

Ubuntu Apache Alias directive warning

I noticed this warning message after Ubuntu update the Apache2.

[warn] The Alias directive in /etc/apache2/apache2.conf at line 240 will probably never match because it overlaps an earlier Alias.
It is dude to /icons/ alias was defined in both /etc/apache2/apache2.conf and /etc/apache2/mods-enabled/alias.conf. All you have to do to do is comment out one of them and restart the apache.

4 comments:

Anonymous said...

Thanks, never thought to check mods-enabled.

lukas2fm said...

Hi!

You must change old apache2.conf for new (Lenny).
cp /etc/apache2/apache2.conf.dpkg-dist /etc/apache2/apache2.conf; /etc/init.d/apache2 restart

FINSIH :)

Best Regards lukas2fm (R) Cracow Poland

lukas2fm said...

Hi!

You must change old apache2.conf for new (Lenny).
cp /etc/apache2/apache2.conf.dpkg-dist /etc/apache2/apache2.conf; /etc/init.d/apache2 restart

FINSIH :)

Best Regards lukas2fm (R) Cracow Poland

Anonymous said...

Thanks. Knew it wasn't anything serious but the message was driving me nuts!