(Warning) Ubuntu-Server overlaps before Alias

There appears a warning 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 running apache2.

Warn

Already tried this solution, but did not work for me. Can anybody help?

+6
source share
2 answers

I found that the contents of apache.conf already loaded by phpmyadmin.conf located in /etc/apache2/conf.d , which means that you can remove (or comment out) the next line from apache2.conf .

 Include /etc/phpmyadmin/apache.conf 

Hope this helps.

+18
source

It seems that you can manually edit or copy the configuration file to create an Alias ​​statement for the phpMyAdmin file, but the package manager has also done this for you, so now you have two statements that overlap.

+2
source

Source: https://habr.com/ru/post/954666/


All Articles