Here'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> <<a href="mailto:boehm100@comcast.net">boehm100@comcast.net</a>> 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. It worked for me on my Ubuntu<br>Edgy Server install. With one modification. I would not put htpasswd.users<br>in /var/www. 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't make that thread sticky. 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>> stan wrote:<br>> > Let me clarify. When I make this chamge, I no longer have a link from<br>the<br>> > top level web page on the Myth backend box. Just teh one to the default
<br>> > Apache page.<br>><br>> You're still not making sense. If you get the default apache index<br>> page, it just means that no index.html type page has been detected by<br>> apache. If the URL you're using *used* to show mythweb, that likely
<br>> means there's a configuration problem in your .htaccess file, which<br>> would show up in the apache error logs if you looked there.<br><br><br>OK, let'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. 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># AuthType Digest<br># AuthName "MythTV"<br># AuthDigestFile /var/www/htdigest<br># Require valid-user<br># BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
<br>#<br># * If you're running Apache earlier than 2.2, you will need to use<br># 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 ->
<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 /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: 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'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>