Archivos de Tags: alias @es

Solucionar “The Alias directive in … will probably never match because ir overlaps an earlier Alias”

Este es un aviso que aparece al arrancar el servidor Apache2.

$ sudo service apache2 restart
 * Restarting web server apache2                                                [Wed May 08 11:55:52 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
 ... waiting [Wed May 08 11:55:54 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
                                                                         [ OK ]

Se debe a que la configuración para phpMyAdmin se carga 2 veces: en /etc/apache2/conf.d/phpmyadmin.conf y en /etc/apache2/apache2.conf con un include a /etc/phpmyadmin/apache.conf.

Para deshacernos de él solo hay que comentar la siguiente línea en /etc/apache2/apache2.conf:

Include /etc/phpmyadmin/apache.conf