Created
November 7, 2016 05:41
-
-
Save nishinoshake/e6296876ce68b377bcf85740d301085d to your computer and use it in GitHub Desktop.
.htaccessでファイルアクセス制限
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
# https://httpd.apache.org/docs/current/ja/mod/core.html#files | |
# ~ で正規表現が使える | |
<Files ~ "\.json"> | |
Order Deny,Allow | |
Deny from All | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment