[mythtv-users] Another Mythweb question

Harry Devine lifter89 at comcast.net
Tue Mar 25 04:32:21 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
>
>   
Here they are:

[root at HJDMyth mythtv]# tail /var/log/httpd/error_log 
/var/log/httpd/access_log
==> /var/log/httpd/error_log <==
[Mon Mar 24 23:20:00 2008] [error] [client 127.0.0.1] ModSecurity: 
Access denied with code 400 (phase 2). Pattern match "^[\\\\d\\\\.]+$" 
at REQUEST_HEADERS:Host. [id "960017"] [msg "Host header is a numeric IP 
address"] [severity "CRITICAL"] [hostname "127.0.0.1"] [uri "/"] 
[unique_id "bXme8cCoAcgAAFQsISYAAAAG"]
[Mon Mar 24 23:20:00 2008] [error] [client 127.0.0.1] ModSecurity: 
Access denied with code 400 (phase 2). Pattern match "^[\\\\d\\\\.]+$" 
at REQUEST_HEADERS:Host. [id "960017"] [msg "Host header is a numeric IP 
address"] [severity "CRITICAL"] [hostname "127.0.0.1"] [uri 
"/favicon.ico"] [unique_id "bYDzpMCoAcgAAFQtIfQAAAAH"]

==> /var/log/httpd/access_log <==
127.0.0.1 - - [24/Mar/2008:23:20:00 -0400] "GET / HTTP/1.1" 400 334 "-" 
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080208 
Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12"
127.0.0.1 - - [24/Mar/2008:23:20:00 -0400] "GET /favicon.ico HTTP/1.1" 
400 334 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) 
Gecko/20080208 Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12"

Harry


More information about the mythtv-users mailing list