Search code examples
ubuntucommand-linephpmyadminubuntu-12.04ubuntu-server

(Warning) Ubuntu-Server overlaps and earlier Alias


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?


Solution

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