[mythtv-users] Hostname oddities in Myth

Joe Ripley vitaminjoe at gmail.com
Tue Aug 11 14:01:01 UTC 2009


On Tue, Aug 11, 2009 at 5:35 AM, Duncan Brown<mythtv at duncb.co.uk> wrote:
> Duncan Brown wrote:
>>
>> On 05/08/2009 18:01, Michael T. Dean wrote:
>>>
>>> Your (Apache httpd configuration file) mythweb.conf is broken.
>>>
>>
>> Hi Mike
>>
>> here's the contents of it, it is the default that is installed with mythtv
>> from atrpms. Never used anything else and this is the first time I've seen
>> this error:
>>
>>> <Directory "/var/www/html/mythweb">
>>>        Options FollowSymLinks
>>>        AllowOverride All
>>>        Order allow,deny
>>>        Allow from all
>>>
>>>        SetEnv db_server "localhost"
>>>        SetEnv db_name "mythconverg"
>>>        SetEnv db_login "mythtv"
>>>        SetEnv db_password "mythtv"
>>>
>>>        RewriteEngine on
>>>        RewriteRule
>>> ^(css|data|images|js|themes|skins|README|INSTALL|[a-z_]+\.(php|pl))(/|$) -
>>> [L]
>>>        RewriteRule ^(pl(/.*)?)$ mythweb.pl/$1 [QSA,L]
>>>        RewriteRule ^(.+)$ mythweb.php/$1 [QSA,L]
>>>        RewriteRule ^(.*)$ mythweb.php [QSA,L]
>>>
>>>        AddType video/nuppelvideo .nuv
>>>        AddType image/x-icon .ico
>>>
>>> <Files *.pl>
>>>                SetHandler cgi-script
>>>                Options +ExecCGI
>>> </Files>
>>>
>>> </Directory>
>>
>> If this is the problem, why am I also getting the same hostname appear in
>> the backend logs?
>>
>> Thanks
>>
>> Dunc
>
> Anyone got any ideas on this?

Are you sure you don't have a 'setenv hostname' directive set
somewhere in your Apache config?  Not necessarily in just your
mythweb.conf, but anywhere else?

The reason it shows up in your backend config is due to MythWeb making
a connection to the backend:
http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweb/classes/MythBackend.php

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list