diff options
author | Adam T. Carpenter <atc@53hor.net> | 2023-01-09 23:00:54 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2023-01-09 23:00:54 -0500 |
commit | 819144c512ae330045faa1c9fa2c9e4ec351dcd8 (patch) | |
tree | 61d65c66ece6ac330a964c129401ee8a83d3bfe1 /usr/local/etc/lighttpd/conf.d/auth.conf | |
parent | 9509697ae2f3ca0eafe383d722cccfda8e667b87 (diff) | |
download | carpentertutoring-master.tar.xz carpentertutoring-master.zip |
Diffstat (limited to 'usr/local/etc/lighttpd/conf.d/auth.conf')
-rw-r--r-- | usr/local/etc/lighttpd/conf.d/auth.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/etc/lighttpd/conf.d/auth.conf b/usr/local/etc/lighttpd/conf.d/auth.conf new file mode 100644 index 0000000..a3e1edc --- /dev/null +++ b/usr/local/etc/lighttpd/conf.d/auth.conf @@ -0,0 +1,4 @@ +server.modules += ("mod_auth", "mod_authn_file") +auth.backend = "htpasswd" +auth.backend.htpasswd.userfile = "/var/carpentertutoring/tutors.htpasswd" +auth.require = ( "/tutors" => ("method" => "basic", "realm" => "Tutors", "require" => "valid-user") ) |