RyoSugimoto
1/25/2015 - 11:04 AM

特定のディレクトリだけBASIC認証を解除する。

特定のディレクトリだけBASIC認証を解除する。

# ディレクトリを指定する
<FilesMatch "\/?example">
Satisfy any
order allow,deny
allow from all
</FilesMatch>
# 拡張子を指定する
<FilesMatch "\.(gif|jpe?g|png)$">
# ファイルを指定する
<Files "example.html">
Satisfy any
order allow,deny
allow from all
</Files>
Satisfy any
order allow,deny
allow from all