[mythtv-users] .19 Mythweb htaccess problem

Chris Petersen lists at forevermore.net
Wed Mar 8 21:55:35 UTC 2006


> <Directory /var/www/mythweb/>
> ...
> AuthUserFile /var/www/mythweb/.htpasswd

For one, put the htpasswd file outside of your web tree -- it's a mild 
security risk where you have it now.  (and will be easier to maintain 
across upgrades if you move it)

> And this in my /etc/mythtv/mythweb-htaccess.conf / (Symlink to
> /var/www/mythweb/mythweb-htaccess.conf)

wtf is this file?

> ################ start ###############
>     AuthType           Digest
>     AuthName           "MythTV"
>     AuthDigestFile     /var/www/mythweb/htpasswd
>     Require            valid-user
> ################ end ################

This conflicts with the Basic authtype you have listed above.  Digest 
and Basic are two completely different authentication types.  I switched 
the example code in the included .htaccess to digest becuase it's 
slightly more secure than basic, but it does require that you use 
htdigest and not htauth to generate the password files.

-Chris


More information about the mythtv-users mailing list