[mythtv-users] Securing mythweb.

Kevin Johnson iitywygms at gmail.com
Thu Sep 22 21:57:35 UTC 2022


On Thu, Sep 22, 2022 at 2:47 PM Gary Raposo <gary at raposo.ca> wrote:

> Hi Kevin,
>
> Basic authentication may look something like this (my reference is
> Apache httpd running on Fedora):
>
> vi /etc/httpd/conf.d/mythweb.conf
> Add:
> <Directory "/usr/share/mythweb">
>      AuthType Basic
>      AuthBasicProvider file
>      AuthUserFile /etc/httpd/conf/passwd/passwords
>      Require user mythtv
> </Directory>
>
> htpasswd /etc/httpd/conf/passwd/passwords mythtv
> systemctl restart httpd
>
> Change the paths as needed.
>
> Gary
>
> On 2022-09-22 1:10 p.m., Kevin Johnson wrote:
> > Hi all.
> > I would like to secure MythWeb. But everything I find searching online
> > seems to be from 10 years ago or more. Can anybody point me in the
> > right direction to make it so I have to put in a user name and
> > password to get on to mythweb? Thank you.
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users>
> http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org/
>
> I am using ubuntu 22.04 and have two locations for mythweb.conf
 /etc/apache2/sites-available
/etc/apache2/sites-available

Which one should I edit?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220922/577f4ecd/attachment.htm>


More information about the mythtv-users mailing list