Skip to content

Instantly share code, notes, and snippets.

@l4ci
Created January 9, 2018 10:13
Show Gist options
  • Save l4ci/0ab32a761c915c803d8d0e03d66ab409 to your computer and use it in GitHub Desktop.
Save l4ci/0ab32a761c915c803d8d0e03d66ab409 to your computer and use it in GitHub Desktop.
# Auth
AuthName "Stage"
AuthType Basic
AuthUserFile /path/to/.htpasswd
Require valid-user
SetEnvIf Host stage.domain.de DEV
Order Allow,Deny
Allow from all
Deny from env=DEV
Satisfy Any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment