[mythtv-users] MythWeb - Can't access it from local network without the Allow from setting
greg
greg12866 at nycap.rr.com
Sun Jan 31 01:03:04 UTC 2010
Jongi wrote:
> On Sat, 2010-01-30 at 18:13 -0500, greg wrote:
>> I have been fighting with this today myself.. I always have problems
>> setting up Mythweb.. Here is how I got it working..I am using Ubuntu
>> 9.10 so I hope it apply s to Debian also...
>> This will allow anyone on your LAN to access Mythweb,but outsiders can't
>> login unless they know your user name and password....
>>
>> sudo a2enmod
>> When prompted for what module you want to enable enter:
>>
>> auth_digest
>> Create your password directory
>> sudo mkdir /etc/mythtv/mythweb-digest/passwd
>>
>>
>> Create your password FILE
>> sudo htdigest -c /etc/mythtv/mythweb-digest/passwd/passwords MythTV
>> (your user name)
>>
>> Grant permissions to the new password file:
>>
>> sudo chown www-data /etc/mythtv/mythweb-digest/passwd/passwords
>>
>> sudo chgrp www-data /etc/mythtv/mythweb-digest/passwd/passwords
>> sudo chmod 640 /etc/mythtv/mythweb-digest/passwd/passwords
>>
>> sudo nano /etc/apache2/apache2.conf
>>
>> <Directory "/var/www/mythweb">
>> Options Indexes FollowSymLinks
>> AuthType Digest
>> AuthName "MythTV"
>> AuthUserFile /etc/mythtv/mythweb-digest/passwd/passwords
>> Require valid-user
>> Order allow,deny
>> Allow from 192.168.1.
>> Satisfy any
>> </Directory>
>>
>>
>> sudo /etc/init.d/apache2 restart
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
> I had already run all the other stuff. So the below was what got
> things working. Thank you sir
>
>
>> a2enmod
>>
>> When prompted for what module you want to enable enter:
>>
>> auth_digest
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Cool,yeah there is so many places to make a mistake setting it up, and
it seems each new version of a distro they change things around... I
have the whole thing documented now...It should be easy next time...Now
i am having problems with accessing it from the net...
Glad I could help
More information about the mythtv-users
mailing list