Created
August 20, 2013 08:44
-
-
Save meaku/6278844 to your computer and use it in GitHub Desktop.
Conditional BasicAuth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable basic auth for dev systems | |
SetEnvIfNoCase Host dev\.host\.com passreq | |
AuthType Basic | |
AuthName "Testing" | |
AuthUserFile htuser | |
Require valid-user | |
Order deny,allow | |
Deny from env=passreq | |
Satisfy any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment