Page 1 of 1

Help me about protect a file in public_html

Posted: Thu Jan 15, 2015 2:12 pm
by bryan221
I created a folder named testing in public_html
then I created a file: config.php in folder named

so I want to protect file config.php by created a file .htaccess in testing folder with content:

<files config.php>
order allow, deny
deny from all

</files>

but not success, pls help me, thanks so much