Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2014, 10:37 AM   #1
Steve R.
Registered: Jun 2009
Location: Morehead City, NC
Distribution: Ubuntu 16.04
Posts: 409

Rep: Reputation: 74
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.

"AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 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
ServerName localhost

"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

Last edited by Steve R.; 06-21-2014 at 10:40 AM.


apache 2.4.2, ubuntu 14.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 Configuration or Wordpress Configuration: Wordpress index.php not loading khun Linux - Newbie 5 05-18-2012 09:26 AM
configuration error in apache2 wsnuehring Linux - Newbie 1 03-11-2011 04:09 PM
Apache2 SSL configuration issues - *:80 has no VirtualHosts keymaster Linux - Server 2 03-07-2009 02:59 PM
Need help: Apache2 Configuration tombelcher7 Linux - Server 2 02-29-2008 09:32 AM
apache2 configuration e1000 Linux - Networking 1 01-28-2004 12:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration