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

You might also like

Solve “The Alias directive in … will probably never match because ir overlaps an earlier Alias”
This is a warning that happens when starting Apache2.$ sudo service apache2 restart * Restarting...

Alias útiles de los servicios Apache 2 y MySQL 5 para MacPorts
Estos son algunos de los alias que utilizo para arrancar, parar y reiniciar Apache 2 y MySQL 5 en mi...

Useful Apache 2 and MySQL 5 service aliases for MacPorts
Those are some aliases I use to start, stop and restart Apache 2 and MySQL on my MacPorts installation...

Solucionar “No such file or directory: httpd: could not open error log file /…/${APACHE_LOG_DIR}/site.log”
Si te aparece un error similar a este en el fichero de errores de Apache2:No such file or directory:...

Dejar un comentario?

0 Comentarios.

Deje un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.