<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 22, 2022 at 2:47 PM Gary Raposo <<a href="mailto:gary@raposo.ca">gary@raposo.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Kevin,<br>
<br>
Basic authentication may look something like this (my reference is <br>
Apache httpd running on Fedora):<br>
<br>
vi /etc/httpd/conf.d/mythweb.conf<br>
Add:<br>
<Directory "/usr/share/mythweb"><br>
AuthType Basic<br>
AuthBasicProvider file<br>
AuthUserFile /etc/httpd/conf/passwd/passwords<br>
Require user mythtv<br>
</Directory><br>
<br>
htpasswd /etc/httpd/conf/passwd/passwords mythtv<br>
systemctl restart httpd<br>
<br>
Change the paths as needed.<br>
<br>
Gary<br>
<br>
On 2022-09-22 1:10 p.m., Kevin Johnson wrote:<br>
> Hi all.<br>
> I would like to secure MythWeb. But everything I find searching online <br>
> seems to be from 10 years ago or more. Can anybody point me in the <br>
> right direction to make it so I have to put in a user name and <br>
> password to get on to mythweb? Thank you.<br>
><br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
> <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a>/<br><br></blockquote><div>I am using ubuntu 22.04 and have two locations for mythweb.conf</div><div> /etc/apache2/sites-available</div><div>/etc/apache2/sites-available<br></div><div><br></div><div>Which one should I edit?</div></div></div>