Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 30th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $HTTP["url"] =~ "^/(front|back)end_dev"
  2. {
  3.   auth.backend = "htpasswd"
  4.   auth.backend.htpasswd.userfile = "/path/to/.passwdstats"
  5.   auth.require =
  6.   ( "" =>
  7.     (
  8.       "method"  => "basic",
  9.       "realm"   => "auth required",
  10.       "require" => "valid-user"
  11.     )
  12.   )
  13. }