BigOncleSam

authent.conf (lighttpd)

Jun 21st, 2018
367
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. server.modules += ( "mod_auth" )
  2.  
  3. auth.debug = 2
  4. auth.backend = "plain"
  5. auth.backend.plain.userfile = "/etc/lighttpd/.htpasswd"
  6. # for htdigest
  7. auth.require = (
  8. "/" =>
  9. (
  10. "method" => "basic",
  11. "realm" => "you shall not pass",
  12. "require" => "valid-user"
  13. )
  14. )
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment