Well I have a folder in the root of my site called logs
.
Inside it I will save the logs which custom errors I mount.
Well, I need to block this folder so that it can not be accessed by anyone, just by me via ftp.
But php can create files with error logs inside.
I found several form to put password in it with htacess, however do not want by password, I want to block it definitely not to be accessed via browser.
Is there any way to do this with htacess?
I'm using Apache.
I tried to do this:
<Directory "Logs">
Order allow,deny
Deny from all
</Directory>
But it gave the server an internal error.