Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Changing Passwords How to edit .htaccess/.htpasswd ric176 msg:971362 10:54 am on Jan 6, 2003 (gmt 0) Hello
I've got a password protected beedoobup set up on my virtual server and i want to change the password... I know I need to edit the .htpasswd file but how do I generate the password? Is there a program or cgi that will do it for me? I tried 'The Commander' but without luck...
Thanks for helping!
jpjones msg:971363 11:32 am on Jan 6, 2003 (gmt 0)
You need to use the command line program htpasswd. Syntax is as follows:
htpasswd /path/to/.htpasswd <username> <password>
That will then add a new user to the file with the correctly encrypted password.
To change the password you're probably best off deleting the current user and then using the above command to create the username again with the new password.
JP ric176 msg:971364 12:02 pm on Jan 6, 2003 (gmt 0)
How do i use the command line program htpasswd?
The rest makes sense - thanks for your help!
bcc1234 msg:971365 12:05 pm on Jan 6, 2003 (gmt 0)
Do you have a terminal access to your account? If not, then create a cgi that calls that command and load the url in your browser. hakre msg:971366 4:30 am on Jan 8, 2003 (gmt 0)
another way is to do by hand using the crypt function to create a .htpasswd password. txbakers msg:971367 4:49 am on Jan 8, 2003 (gmt 0)
I found a WONDERFUL htaccess web based management program. You can find it Here [ htaccess.technotrade.com]
I used this for several years before switching to a windows server. I like it alot.
I noticed they have a newer version as well.