I installed the program on a Linux box running Apache. Can someone walk me through what is needed to password protect the /links/admin directory? I am having a hard time figuring it out.
Dec 21, 1998, 3:43 AM
User (178 posts)
Dec 21, 1998, 3:43 AM
Post #2 of 2
Views: 1728
I think its like this
Fist step make a text file .htaccess
open it and put this in it
<blanks before first line>
AuthUserFile /full/path/to/links/admin/pass.pass
AuthGroupFile /dev/null
AuthName 'Protected Area'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
Save that and close it, now make a pass.pass file(simple text file using any text editor)
upload both of them into the admin dir.
Now log in to telnet and cd into you /links/admin dir.
Type this.
htpasswd pass.pass your_user_name where I say your_user_name this will be the user name you want to use.
Now Telnet will say.
Adding user your_user_name
New password: type you pass here
then it will say
Re-type new password: reenter your pass
Thats it,
Thanks
Joey
------------------
Links is HOT! Get it and you will LOVE IT!
[This message has been edited by Joey Bost (edited December 21, 1998).]
Fist step make a text file .htaccess
open it and put this in it
<blanks before first line>
AuthUserFile /full/path/to/links/admin/pass.pass
AuthGroupFile /dev/null
AuthName 'Protected Area'
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>
Save that and close it, now make a pass.pass file(simple text file using any text editor)
upload both of them into the admin dir.
Now log in to telnet and cd into you /links/admin dir.
Type this.
htpasswd pass.pass your_user_name where I say your_user_name this will be the user name you want to use.
Now Telnet will say.
Adding user your_user_name
New password: type you pass here
then it will say
Re-type new password: reenter your pass
Thats it,
Thanks
Joey
------------------
Links is HOT! Get it and you will LOVE IT!
[This message has been edited by Joey Bost (edited December 21, 1998).]