1
我的代碼本條從我的.htaccess文件htaccess的和JSON文件交互
<files CONFIG.json>
order deny,allow
deny from all
</files>
<files DATA.json>
order deny,allow
deny from all
</files>
當我鍵入localhost /文件夾名/ CONFIG.json,它將顯示403禁止。 但是當我輸入localhost/foldername/DATA.json時,它會顯示DATA.json的內容。我怎樣才能隱藏我的DATA.json文件?