[mythtv-users] Another Mythweb question SOLVED (I think!)

Harry Devine lifter89 at comcast.net
Tue Mar 25 21:35:45 UTC 2008


Steve Wilson wrote:
> --- Harry Devine <lifter89 at comcast.net> wrote:
>
>   
>> Steve Wilson wrote:
>>     
>>> --- Harry Devine <lifter89 at comcast.net> wrote:
>>>
>>>   
>>>       
>>>> Ed Brandon wrote:
>>>>     
>>>>         
>>>>> Can you access http://127.0.0.1 on the webserver
>>>>>       
>>>>>           
>>>> itself? Is httpd running? 
>>>>     
>>>>         
>>>>> -----Original Message-----
>>>>> From: mythtv-users-bounces at mythtv.org
>>>>> [mailto:mythtv-users-bounces at mythtv.org] On
>>>>>           
>> Behalf
>>     
>>>>>       
>>>>>           
>>>> Of Harry Devine
>>>>     
>>>>         
>>>>> Sent: Monday, March 24, 2008 11:00 PM
>>>>> To: Discussion about mythtv
>>>>> Subject: [mythtv-users] Another Mythweb question
>>>>>
>>>>> I'm sorry if this question has been asked
>>>>>           
>> before,
>>     
>>>>>       
>>>>>           
>>>> but I've been searching
>>>>     
>>>>         
>>>>> Gossamer threads and can't seem to find the
>>>>>       
>>>>>           
>>>> answer.  I'm trying to setup
>>>>     
>>>>         
>>>>> Mythweb on 0.21 and can't get it to work.  In
>>>>>       
>>>>>           
>>>> fact, I can't even get the
>>>>     
>>>>         
>>>>> main "Fedora Test Page" to come up on the
>>>>>       
>>>>>           
>>>> webserver, so I'm sure I have
>>>>     
>>>>         
>>>>> something misconfigured.
>>>>>
>>>>> I have the stock Fedora 8
>>>>>       
>>>>>           
>>>> /etc/httpd/conf/httpd.conf that was in the
>>>>         
>> initial
>>     
>>>>     
>>>>         
>>>>> install.  All I did was chkconfig httpd on, go
>>>>>           
>> to
>>     
>>>>>       
>>>>>           
>>>> the web server via IE on
>>>>     
>>>>         
>>>>> my laptop, and I get an HTTP 400 error ("Bad
>>>>>       
>>>>>           
>>>> Request").  Why would this be?
>>>>     
>>>>         
>>>>> I have copied the mythweb.conf.apache over to
>>>>>       
>>>>>           
>>>> /etc/httpd/conf.d/mythweb.conf
>>>>     
>>>>         
>>>>> and modified it to have my local hostname as
>>>>>       
>>>>>           
>>>> server_db_name, and modified
>>>>     
>>>>         
>>>>> the directory to be "/var/www/html/mythweb".
>>>>>
>>>>> Any ideas?  The logs are pretty cryptic, but I
>>>>>           
>> can
>>     
>>>>>       
>>>>>           
>>>> post them if you think it
>>>>     
>>>>         
>>>>> will help.  I'm not very good at Apache yet, so
>>>>>       
>>>>>           
>>>> I'm sure I'm just
>>>>     
>>>>         
>>>>> overlooking something basic.
>>>>>
>>>>> Thanks,
>>>>> Harry
>>>>>
>>>>> _______________________________________________
>>>>> mythtv-users mailing list
>>>>> mythtv-users at mythtv.org
>>>>>
>>>>>       
>>>>>           
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
>>>   
>>>       
>>>>> --
>>>>> This message has been scanned for viruses and
>>>>>       
>>>>>           
>>>> dangerous content by
>>>>     
>>>>         
>>>>> MailScanner, and is believed to be clean.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> mythtv-users mailing list
>>>>> mythtv-users at mythtv.org
>>>>>
>>>>>       
>>>>>           
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
>>>   
>>>       
>>>>>   
>>>>>       
>>>>>           
>>>> Nope.  If I go to http://127.0.0.1, I get "Bad
>>>> Request  Your browser 
>>>> sent a request that this server could not
>>>> understand".  Yes, httpd is 
>>>> running.  The page says that my Apache version is
>>>> 2.2.0 if that helps.
>>>>
>>>> Thanks,
>>>> Harry
>>>>
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>>
>>>>     
>>>>         
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
>>>   
>>>
>>> Under Start-System-Firewall look under "Trusted
>>> Services" scroll to the very bottom is WWW(HTTP)
>>> checked? If not check, then save then #service
>>>       
>> httpd
>>     
>>> restart then try again.
>>>
>>>
>>>      
>>>       
> ____________________________________________________________________________________
>   
>>> Looking for last minute shopping deals?  
>>> Find them fast with Yahoo! Search. 
>>>       
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>   
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>>
>>>       
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
>>>   
>>>       
>> Nope.  I have the firewall disabled when I
>> installed.  That's bitten me 
>> before.
>>
>> Thanks,
>> Harry
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>>
>>     
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
>
> What does /var/log/httpd/error_log and
> /var/log/httpd/access_log say? It should give you a
> hint.
>
>
>      
> ____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
OK, so I think I have this resolved with the help of this article:  
http://www.apachelounge.com/forum/viewtopic.php?p=8091  In it (actually, 
the 2nd post in), it says that some default rules in apache require you 
to use a computername instead of an IP.  So, I added my host name to my 
XP laptop's hosts file and could get the default "Fedora Test Page", 
then was able to get access to my Mythweb setup.

So for now, I'm operational.  I'm a little unclear as to why this rule 
matters, so if anyone has any insight, I'm all ears! :-)

Thanks for all the help!
Harry



More information about the mythtv-users mailing list