
10-22-2012, 03:26 AM
|
|
New Member
|
|
Join Date: Oct 2012
Posts: 9
|
|
Dear NiteWave,
I have a question, please help me. I see at http://www.litespeedtech.com/support...ernal_redirect how to Protect folder, but i think i don't understand how to protect all file, folder & subfolder.
EX: I have http://domain.com/data/subfolder/file.mp3
php file download is http://domain.com/dl.php
So, How to protect with .htaccess ? Here is my .htaccess
Code:
RewriteEngine On
RewriteCond %{ORG_REQ_URI} ^/data/
RewriteRule ^/data/ - [R=403,F]
But it not work.
|