- I'm running Apache2
- I only locked down MythWeb and not my whole web space.
<Directory /var/www/mythweb>
AuthType Basic
AuthName "BasicAuth"
AuthUserFile /etc/apache2/basicauth
Require valid-user
</Directory>
Then I created /etc/apache2/basicauth with a mythtv user, setting the password in the process:
# htpasswd -c /etc/apache2/basicauth mythtvThen I restarted apache and all was good:
# /etc/init.d/apache2 restart
No comments:
Post a Comment