.htaccessの偉い人 Part2

このエントリーをはてなブックマークに追加
365名無しさん@お腹いっぱい。
order deny,allow
deny from all
allow from env=local
の部分を<Files> とか<FilesMatch>
で囲めばいいだけだよ。
画像ファイルを制限したいなら <FilesMatch "\.(gif|jpe?g|png)$">
index.htmlだけを制限したいなら <Files "index.html">