Created
April 21, 2013 12:52
-
-
Save hansspiess/5429487 to your computer and use it in GitHub Desktop.
let test uri pass trough htaccess password protection
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
SetEnvIf Request_URI "/uri.php$" test_uri | |
Order Deny,Allow | |
AuthUserFile /path/to/.htpasswd | |
AuthName "Bitte Anmelden" | |
AuthType Basic | |
<Limit GET> | |
require valid-user | |
</Limit> | |
#Allow valid-user | |
Deny from all | |
Allow from env=test_uri | |
Satisfy any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment