View Full Version : Htaccess problems

01-15-2004, 11:46 PM
Hello Everyone!

Not sure if this is the right place to post if not please move me.

Okay I have a problem with htaccess.
I place the below in a file called - .htaccess
AuthUserFile .htpasswd
AuthGroupFile /dev/null
AuthName "Cigarette Lounge"
AuthType Basic

<Limit GET POST>
require valid-user

It pertects the whole site!
I placed the htaccess file in a single folder. The thing is I have done this hundreds of times and this has worked. But for some reason it is trying to password protect the whole site ALL FOLDERS.

It does not make any sense. Can someone please help me.

Any suggestions are welcome.

01-17-2004, 10:11 PM
if you put your .htaccess file in a folder, it applies what it does to that folder and all sub folders. So if you place it in the root directory it will affect the entire site.


01-17-2004, 10:27 PM
Yea, But thats what is very weird, The .htaccess file is in a folder all its own, the root folder (main folder) does not have any htaccess in it.

Anyways I figured it out, the administrature put like global settings on that folder making it have effect on the entire site. Once we removed that it works perfectly.

Thanks for your relpy scroots :D