Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. SetEnvIfNoCase Host ^dev\.domain\.tld$ SECURED=yes
  2. AuthType Basic
  3. AuthName "Restricted area of dev.domain.tld"
  4. AuthUserFile /absolute/path/to/.htpasswd
  5. AuthGroupFile /dev/null
  6. Require valid-user
  7. Satisfy any
  8. Order allow,deny
  9. Allow from all
  10. Deny from env=SECURED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement