[mythtv-users] mythweb - Database Access Denied (.htaccess)
Matthias Meyer
Matthias.Meyer at gmx.li
Fri Feb 9 07:36:02 UTC 2007
Hello,
I use Debain (stable) and Mythtv 0.20-svn20061209. I try to get access to
mythweb by following the instructions "Modify the Apache configuration" on
http://www.mythtv.org/wiki/index.php/Securing_MythWeb#MythWeb_.htaccess
1. Step = clean up my system: (apt-get remove --purge mythweb; apt-get
install mythweb)
vdr:~# dpkg --list myth* | grep "ii "
ii mythgallery 0.20-svn20061209-0.0 Image gallery/slideshow add-on
module for My
ii mythmusic 0.20-svn20061209-0.0 Music add-on module for MythTV
ii mythplugins 0.20-svn20061209-0.0 Wrapper package for MythTV plugins
ii mythtv 0.20-svn20061209-0.1 A personal video recorder
application (clien
ii mythtv-backend 0.20-svn20061209-0.1 A personal video recorder
application (serve
ii mythtv-common 0.20-svn20061209-0.1 A personal video recorder
application (commo
ii mythtv-database 0.20-svn20061209-0.1 A personal video recorder
application (datab
ii mythtv-frontend 0.20-svn20061209-0.1 A personal video recorder
application (clien
ii mythvideo 0.20-svn20061209-0.0 A generic video player frontend
module for M
ii mythweather 0.20-svn20061209-0.0 Weather add-on module for MythTV
ii mythweb 0.20-0.7sarge1 Web interface add-on module for
MythTV
vdr:~# htpasswd -c /var/www/htpasswd mythweb
New password:
Re-type new password:
Adding password for user mythweb
vdr:~# chown www-data.www-data /var/www/htpasswd
vdr:~# chmod 640 /var/www/htpasswd
--
--modify apache configuration as descriped in the wiki
--
vdr:~# tail -n 12 /etc/apache2/apache2.conf
# Include Mythweb
<Directory "/var/www/mythweb">
Options Indexes FollowSymLinks
AuthType Basic
AuthName "MythTV"
AuthUserFile /var/www/htpasswd
Require valid-user
Order allow,deny
Allow from 192.168.0.
Satisfy any
</Directory>
vdr:~# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)....
Then I try to access mythweb with konqueror:
Database Access Denied
You are most likely receiving this message because you
have failed to configure mythweb's database login info.
Please see .htaccess for instructions.
What things fails?
I do not understand the security mechanismens in apache and mythweb.
Therefore I need a step by step instructions for stupid guys ;-)
Thanks for your help
Matthias
--
Don't Panic
More information about the mythtv-users
mailing list