Question

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?

Was it helpful?

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top