Created
March 12, 2018 06:25
-
-
Save tml/7180aae8d55884ddbf7ce4218c029f36 to your computer and use it in GitHub Desktop.
Trivial solution
This file contains hidden or 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 User-Agent secret_sauce let_me_in | |
<Directory /srv/www/vhosts/SOMEDOMAIN.TLD> | |
Deny from all | |
Allow from env=let_me_in | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment