[mythtv-users] [mythtv] Mythweb access not working
David Fishburn
fishburn at ianywhere.com
Sat Oct 28 23:57:42 UTC 2006
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Nick Butts
> Sent: Saturday, October 28, 2006 6:58 PM
> To: mythtv-users at mythtv.org
> Subject: [mythtv] [mythtv-users] Mythweb access not working
>
> *Sorry, a little more clarification:
>
> The frontend and backend are running on the same machine. I
> have had 0.20 up and running for about 2 weeks. I can connect
> to Apache and view my main web page. I just can't get MythWeb working.
> *
Here is everything I just did to get MythWeb working, hope it works for you.
My system is Ubuntu Edgy, so your locations may differ slightly.
For password and configuration setup read this document:
less /usr/share/doc/mythweb/README.gz
This was a good link for describing necessary changes for MythWeb.
http://parker1.co.uk/mythtv_0.20.php
ls -la /usr/share/mythtv/mythweb
drwxr-xr-x 2 root root 4096 2006-10-28 00:42 data
sudo chgrp -R www-data /usr/share/mythtv/mythweb/data
sudo chmod -R 775 /usr/share/mythtv/mythweb/data
sudo chmod -R +t /usr/share/mythtv/mythweb/data
ls -ld /usr/share/mythtv/mythweb/data
- Special case for tv-icons, which must be writable
sudo chmod 777 /usr/share/mythtv/mythweb/data/tv_icons
Adding user/passwd to the website (this is a must)
sudo vim /etc/apache2/conf.d/Directory-Access
<Directory "/var/www/mythweb" >
Options FollowSymLinks
AllowOverride All
</Directory>
sudo htpasswd -c /var/www/htpasswd.users MythTV
- Choose a simple password when prompted.
Modify the mythweb-htaccess.conf file
sudo vim /etc/mythtv/mythweb-htaccess.conf
Modify username and password from from /etc/mythtv/mysql.txt.
setenv db_login "mythtv"
setenv db_password "value from mysql.txt"
Uncomment these lines at set them to something appropriate
# AuthType Digest
# AuthType Basic
# AuthUserFile /var/www/htdigest
# AuthDigestFile /var/www/htdigest
AuthType Basic
AuthName "MythTV"
AuthUserFile /var/www/htpasswd.users
Require valid-user
Require valid-user
BrowserMatch "MSIE"
AuthDigestEnableQueryStringHack=On
sudo /etc/init.d/apache2 restart
less /var/log/apache2/error.log
More information about the mythtv-users
mailing list