On 3/20/06, <b class="gmail_sendername">Phill Edwards</b> &lt;<a href="mailto:philledwards@gmail.com">philledwards@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've just upgraded to 0.19 and have followed the instructions in the<br>MythWeb README. It's working except for the fact that I can only get<br>Basic authentication working, not Digest.<br><br>Here's the section in my /var/www/html/mythweb/.htaccess:
<br>AuthType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest<br>AuthName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;MythTV&quot;<br>AuthDigestFile&nbsp;&nbsp;&nbsp;&nbsp; /var/www/myth_htdigest<br>Require&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;valid-user<br><br>I ran htdigest like this:<br>htdigest -c myth_htdigest Myth mythtv
<br><br>When I try to log into Mythweb I the authorisation check fails and I<br>see this in /var/log/httpd/error_log:<br>[Mon Mar 20 19:52:32 2006] [error] [client <a href="http://192.168.0.200">192.168.0.200</a>] Digest: user
<br>`mythtv' in realm `MythTV' not found: /mythweb/<br></blockquote></div><br>
If you look closely at the error message you'll see that apache is
looking for a user in the realm 'MythTV'.&nbsp; If you then look
closely at your htdigest command:<br>
<br>
htdigest -c myth_htdigest Myth mythtv<br>
<br>
you'll see that the realm you specified on the command line is 'Myth' and not 'MythTV'.<br>
<br>
Try using MythTV instead of Myth in your htdigest command and see if
that works.&nbsp; Or you could change the AuthName line in .htaccess
from MythTV to Myth.&nbsp; Either way, make sure AuthName matches the
realm you specify when running htdigest.<br>
<br>
HTH,<br>
Brad Benson<br>
<br>