Here&#39;s a slightly different method you may want to try:<br><a href="http://www.mythpvr.com/mythtv/mythweb/secure-howto.html">http://www.mythpvr.com/mythtv/mythweb/secure-howto.html</a><br><br>-Pete<br><br><div><span class="gmail_quote">
On 1/4/07, <b class="gmail_sendername">Jon Boehm</b> &lt;<a href="mailto:boehm100@comcast.net">boehm100@comcast.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at the last post on the following link.&nbsp;&nbsp;It worked for me on my Ubuntu<br>Edgy Server install.&nbsp;&nbsp;With one modification.&nbsp;&nbsp;I would not put htpasswd.users<br>in /var/www.&nbsp;&nbsp;This an externally accessible directory that every one can
<br>read.<br><br><a href="http://www.gossamer-threads.com/lists/mythtv/users/233409">http://www.gossamer-threads.com/lists/mythtv/users/233409</a><br><br>To bad we can&#39;t make that thread sticky.&nbsp;&nbsp;The volume on this list is a
<br>little overwhelming.<br><br>Good luck<br><br><br><br><br><br>-----Original Message-----<br>From: <a href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a><br>[mailto:<a href="mailto:mythtv-users-bounces@mythtv.org">
mythtv-users-bounces@mythtv.org</a>] On Behalf Of stan<br>Sent: Wednesday, January 03, 2007 6:08 PM<br>To: Chris Petersen<br>Cc: Discussion about mythtv<br>Subject: Re: [mythtv-users] Getting MythWeb authentication working
<br><br>On Tue, Jan 02, 2007 at 03:26:13PM -0800, Chris Petersen wrote:<br>&gt; stan wrote:<br>&gt; &gt; Let me clarify. When I make this chamge, I no longer have a link from<br>the<br>&gt; &gt; top level web page on the Myth backend box. Just teh one to the default
<br>&gt; &gt; Apache page.<br>&gt;<br>&gt; You&#39;re still not making sense.&nbsp;&nbsp;If you get the default apache index<br>&gt; page, it just means that no index.html type page has been detected by<br>&gt; apache.&nbsp;&nbsp;If the URL you&#39;re using *used* to show mythweb, that likely
<br>&gt; means there&#39;s a configuration problem in your .htaccess file, which<br>&gt; would show up in the apache error logs if you looked there.<br><br><br>OK, let&#39;s start from the begining.<br><br>The system is an Ubuntu 
6.10 system (which of course is Debian derived).<br>Out of tthe box, if you point a web browser at it, you get a auto generated<br>index.html page with 2 entries, one for te default Apache banner pafe, and<br>one for the top level MythWeb page.
<br><br>In /etc/myth is a file mythweb-htaccess.conf, this is sym linked to<br>/var/www/mythweb/.htaccess.dist. It contains (among other lines):<br><br># I *strongly* urge you to turn on authentication for MythWeb.&nbsp;&nbsp;It is
<br>disabled<br># by default because it requires you to set up your own password file.<br>Please<br># see the man page for htdigest and then configure the folowing four<br>directives<br># to suit your authentication needs.
<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;AuthType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest<br>#&nbsp;&nbsp;&nbsp;&nbsp;AuthName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;MythTV&quot;<br>#&nbsp;&nbsp;&nbsp;&nbsp;AuthDigestFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/www/htdigest<br>#&nbsp;&nbsp;&nbsp;&nbsp;Require&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;valid-user<br>#&nbsp;&nbsp;&nbsp;&nbsp;BrowserMatch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;MSIE&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AuthDigestEnableQueryStringHack=On
<br>#<br>#&nbsp;&nbsp;* If you&#39;re running Apache earlier than 2.2, you will need to use<br>#&nbsp;&nbsp;&nbsp;&nbsp;AuthDigestFile instead of AuthUserFile.<br><br>So, I created the following sym link:<br><br>lrwxrwxrwx 1 root root 44 2007-01-01 16:19 auth_digest.load -&gt;
<br>/etc/apache2/mods-available/auth_digest.load<br>in /etc/apache2/mods-enabled<br><br>This should get the proper module loaded. Then I used htdigest to create<br>user entries in&nbsp;&nbsp;/var/www/htdigest. Then I restarted Apaceh. At this point
<br>in time the mythweb entry no longer appears on the index.html page.<br><br>Here is the end of the Apache error log file:<br><br>[Wed Jan 03 21:06:13 2007] [notice] caught SIGTERM, shutting down<br>[Wed Jan 03 21:06:14 2007] [notice] Digest: generating secret for digest
<br>authent<br>ication ...<br>[Wed Jan 03 21:06:14 2007] [notice] Digest: done PHP Warning:&nbsp;&nbsp;mime_magic:<br>type<br>regex\t\tBEGIN[[:space:]]*[{]\tapplication/x-awk invalid in Unknown on line<br>0<br>[Wed Jan 03 21:06:15 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/4.4.2-
1.1<br>configu<br>red -- resuming normal operations<br><br>I really don&#39;t have clue why this is not working.<br><br><br>--<br>Unix is very simple, but it takes a genius to understand the simplicity.<br>(Dennis Ritchie)
<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>