Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(Warning) Ubuntu-Server overlaps and earlier Alias [closed]

There's a warn after i type sudo service apache2 restart.

 * Restarting web server apache2
[Thu Sep 26 05:46:24 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
... waiting
[Thu Sep 26 05:46:25 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.

it shows after i start the apache2.

Warn

Already tried this solution but didn't work for me. Anyone can help?

like image 502
Josua Marcel C Avatar asked Sep 26 '13 09:09

Josua Marcel C


2 Answers

I've found that the contents of apache.conf are already being loaded by phpmyadmin.conf located in /etc/apache2/conf.d which means that you can remove (or comment) the following line from your apache2.conf file.

Include /etc/phpmyadmin/apache.conf

Hope this helps.

like image 63
Jagoliveira Avatar answered Nov 14 '22 03:11

Jagoliveira


It appears as if you may have manually edited or copied the configuration file in order to create an Alias statement for the phpMyAdmin file, but the package manager also did that for you, so you seem to now have two statements that overlap.

like image 20
Isaac Bennetch Avatar answered Nov 14 '22 03:11

Isaac Bennetch