Page 1 of 1

.htaccess to deny all files within a directory

Posted: Tue Feb 26, 2008 4:53 pm
by yurik
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 ?

Re: .htaccess to deny all files within a directory

Posted: Wed Feb 27, 2008 9:40 am
by pickle
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?