LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 - Configuration Issues (https://www.linuxquestions.org/questions/linux-software-2/apache2-configuration-issues-4175508721/)

Steve R. 06-21-2014 09:37 AM

Apache2 - Configuration Issues
 
The upgrade to Ubuntu 14.04 resulted in the Apache2 link to "index.html" breaking. It was an easy fix, just took a while to find. Basically a new directory ("html") was created under "var/www/". So the "index.html" file needs to be moved to "var/www/html/"

But the main reason for this post is that I periodically received cryptic error messages that did not seem to affect the operation of Apache, so I ignored them. In searching for the solution to the broken "index.html" link, I found solutions to these problems too.

Quote:

"AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message."
The solution is to add the line: "ServerName localhost" to the "/etc/apache2/apache2.conf" file.

# Global configuration
# http://askubuntu.com/questions/32932...arting-apache2
ServerName localhost


Quote:

"AH00671: The Alias directive in /etc/apache2/conf-enabled/phpmyadmin.conf at line 3 will probably never match because it overlaps an earlier Alias."
This error originates from the file: "/etc/apache2/conf-enabled/httpd.conf". Turns out that this file has been deprecated. For whatever reason, it was still on my computer. Commenting out the line below, by adding the "#" symbol at the beginning of the line resolved the error message.

# Include /etc/phpmyadmin/apache.conf


All times are GMT -5. The time now is 10:05 PM.