I'm currently denying access to all files in a directory by chmod 700.
I don't want to place another .htaccess file in that particular directory as I would like to have only 1 .htaccess file in all my site. Is there any way to do this ?
.htaccess to deny all files within a directory
Moderator: General Moderators
Re: .htaccess to deny all files within a directory
Not sure what you're asking. It sounds like you don't want to use an .htaccess file, and you've got a solution that doesn't involve one - what's the problem?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.