<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Changed hostname, now Mythweb doesn't work...</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Are you using name-based VirtualHosting within
Apache?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you are, then comment out your ServerName entry
in the main area (what you just added), and create a ServerName entry in your
name-based <VirtualHost> entry. Don't add the :80 port specification when
including the ServerName tag in a VirtualHost entry -- it will already be
configured in the name-based hosting.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>NameVirtualHost <A
href="http://www.domain.com:80">www.domain.com:80</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><VirtualHost <A
href="http://www.domain.com:80">www.domain.com:80</A>><BR>
ServerName <A
href="http://www.domain.com">www.domain.com</A><BR>
ServerAlias domain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>
DocumentRoot /var/www/html<BR>
AccessFileName .htaccess<BR>
ServerAdmin <A
href="mailto:webmaster@domain.com">webmaster@domain.com</A><BR>
DirectoryIndex index.htm index.html
index.php<BR> LogLevel
warn</FONT></DIV>
<DIV><FONT face=Arial size=2></VirtualHost><BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>--Skavoovie</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=natet@buckeye-express.com
href="mailto:natet@buckeye-express.com">Nate Thompson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mythtv-users@mythtv.org
href="mailto:mythtv-users@mythtv.org">'Discussion about mythtv'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 12, 2004 12:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [mythtv-users] Changed hostname,
now Mythweb doesn't work...</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>I recently changed my hostname from the default
'localhost.localdomain' to something a bit more descriptive. I followed the
steps in the Mythtv.org documenatation to do this, and believe everything went
smoothly. However, whenever the httpd service tries to start now, it fails. I
edited my /etc/httpd/conf/httpd.conf file and declared ServerName to be
mythfront:80. Now it does not give me an error about not being able to
determine the server's domain name, but it still fails to load. Does anyone
have any ideas? I'm sure its just an Apache configuration problem
somewhere…</FONT></P>
<P><FONT face=Arial size=2>Nate Thompson</FONT> </P></BLOCKQUOTE></BODY></HTML>