Results 1 to 3 of 3
I've just setup my new server. I have installed Debian Sarge 3.1, Apache2 and php5 on it and everything runs fine.
The only problem is that I want to protect ...
- 08-31-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 2
.htaccess & .htpasswd files don't protect my directories
I've just setup my new server. I have installed Debian Sarge 3.1, Apache2 and php5 on it and everything runs fine.
The only problem is that I want to protect a couple of directories on the website root (/var/www). I have tried creating .htaccess & .htpasswd files but if I goto one of the directories that I have "protected" I can still see the contents.
Is this a problem with php5 ? I have only just upgraded to 5 from php4 and have not had this problem before. All installations were done via apt-get from stable repositories.
Can someone point me in the right direction as I would like to get the password protection on my folders.
TIA
- 09-01-2006 #2Just Joined!
- Join Date
- Jan 2006
- Posts
- 71
did you restart apache?
- 09-01-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 2
Yes. I had to modify the <Directory> lines in apache2.conf slightly and I didn't realise that if you enter a username/password combination Internet Explorer remembers it until you log out of XP and log in again.


Reply With Quote
