[mythtv-users] Requiring a password for mythweb?
Andy Grundman
andy at hybridized.org
Thu Jan 15 10:45:41 EST 2004
stan wrote:
> I want to be able to access my myttv setup using mythweb from away from
> home.
>
> So, I will need to make the apache isntance visible from outside my
> network. Given this, I don't want general public access to scheduling
> recordings on my system :-) Seems like this would be a common request.
>
> Has anyone managed to get mythweb to rquire, say, a password?
Just drop an .htaccess file in the mythweb directory:
in httpd.conf:
<Directory /path/to/mythweb>
AllowOverride All
</Directory>
/path/to/mythweb/.htaccess:
AuthName "MythWeb"
AuthType "Basic"
AuthUserFile /path/to/someauthfile
require valid-user
# create someauthfile:
$ htpasswd -c /path/to/someauthfile username
New password: <enter password>
Re-type new password: <re-enter password>
That's it!
More information about the mythtv-users
mailing list