Last active
January 14, 2021 05:40
-
-
Save RyoSugimoto/aac8f016193cbd6381a5 to your computer and use it in GitHub Desktop.
特定のディレクトリだけBASIC認証を解除する。
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
Satisfy any | |
order allow,deny | |
allow from all |
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
# ファイルを指定する | |
<Files "example.html"> | |
Satisfy any | |
order allow,deny | |
allow from all | |
</Files> |
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
# 拡張子を指定する | |
<FilesMatch "\.(gif|jpe?g|png)$"> |
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
# ディレクトリを指定する | |
<FilesMatch "\/?example"> | |
Satisfy any | |
order allow,deny | |
allow from all | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment