LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-21-2014, 09:37 AM   #1
Steve R.
Member
 
Registered: Jun 2009
Location: Cleveland, TN
Distribution: Mint 21.3
Posts: 525

Rep: Reputation: 98
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

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


Reply

Tags
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 08:26 AM
configuration error in apache2 wsnuehring Linux - Newbie 1 03-11-2011 03:09 PM
Apache2 SSL configuration issues - *:80 has no VirtualHosts keymaster Linux - Server 2 03-07-2009 01:59 PM
Need help: Apache2 Configuration tombelcher7 Linux - Server 2 02-29-2008 08:32 AM
apache2 configuration e1000 Linux - Networking 1 01-27-2004 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:27 AM.

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