以下のようなファイルツリーがあります...
.htaccess
index.php
includes
css
js
xml
images
apple.jpg
orange.jpg
date.jpg
berry.jpg
.
.
.
waterlemon.jpg
banana.jpg
file
001.txt
002.txt
003.txt
.
.
.
100.txt
以下のコードを使用して、ディレクトリを除くすべてのファイルとディレクトリ.htaccessをブロックしています...index.phproot
Order Deny,Allow
Deny from All
<Files "index.php">
Order Deny,Allow
allow from all
</Files>
今、私はフォルダーから、、、およびのみを許可する必要があります...さらにapple.jpg、フォルダーからのすべてを許可する必要もあります...誰でもからの任意のファイルに直接アクセスできるように...どうすればそれを行うことができますか. ..??date.jpgberry.jpgbanana.jpgimagesfile001.txt100.txt
複数の .htaccess ファイルを使用したくない