Debian problem with protected folder

renatino

New member
Joined
Jan 15, 2008
Messages
3
hi to all,
i use in my server debian 4 + DA but i have one problem with protected folder because recently debian updat have change protection system.

how is possible FIX DirectAdmin?
 
Can you please better specify your question? I dont even understand what your real question is..
 
With VHCS2, my old pannel, i don't have problem for protect with password all directory ex: www.dddddd.xxx/test/
But with the last update of Debian SO and DA pannel is impossible for me make protect all directory.
With pannel the sequence is ok but when i try to enter with my browser (FF and IE) in this protectd directory i repeat login without enter.

I have see in more forum that this problem is for recent update of Debian.

Is possible FIX this in DA ?
 
This should be a problem of the Apache you are running. Use this code in your .htaccess file:

Code:
AuthUserFile /home/youruser/public_html/.htpasswd
AuthType Basic
AuthName "Login"

<LIMIT GET POST>
require valid-user
</LIMIT>

And add a file called .htpasswd also in the same folder with the username and encrypted password which can be made with any tool online. for example: http://home.flash.net/cgi-bin/pw.pl
 
Back
Top