現在、私はこれを持っています:
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
<Files index.php>
Order Allow,Deny
Allow from all
</Files>
index.php 以外に、他の 2 つのディレクトリのファイルに全員がアクセスできるようにするにはどうすればよいですか?
ファイル構造は次のようになります。
<dir1>
<dir2>
<dir3>
index.php
index.php, <dir1>
, <dir2
(それらのすべてのファイル) のみがすべての訪問者に表示される必要があります