homepage Welcome to WebmasterWorld Guest from 54.197.65.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Changing Passwords
How to edit .htaccess/.htpasswd
ric176

10+ Year Member



 
Msg#: 242 posted 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

10+ Year Member



 
Msg#: 242 posted 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.

HTH
JP

ric176

10+ Year Member



 
Msg#: 242 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 242 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 242 posted 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

WebmasterWorld Senior Member txbakers us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 242 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved