Created
June 9, 2018 21:00
-
-
Save emarthinsen/c32bd7260bb0cbc2733c99cd3484b4d1 to your computer and use it in GitHub Desktop.
Another .htaccess attempt
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
AuthType Basic | |
AuthName "Staging Area" | |
AuthUserFile /var/app/current/public/.htpasswd | |
Require valid-user | |
SetEnvIfNoCase HOST staging REQUIRE_AUTH | |
SetEnvIfNoCase Request_URI ^/privacy-policy$ !REQUIRE_AUTH | |
Order Allow,Deny | |
Allow from All | |
Deny from env=REQUIRE_AUTH | |
Satisfy any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment