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

Re: Help me about protect a file in public_html

Posted: Mon Aug 27, 2018 8:37 pm
by vanica

Re: Help me about protect a file in public_html

Posted: Sat Oct 06, 2018 5:51 am
by vanica

Re: Help me about protect a file in public_html

Posted: Thu Nov 01, 2018 7:52 am
by vanica

Re: Help me about protect a file in public_html

Posted: Wed Nov 14, 2018 6:17 am
by vanica