LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Generating the user password file for .htaccess usage...

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2004, 04:41 PM
dnebing dnebing is offline
New Member
 
Join Date: Dec 2003
Posts: 5
Default Generating the user password file for .htaccess usage...

Maybe I'm just dumb, but I can't find any documentation regarding the setup of the user password file. Only thing I found was a short blurb indicating the file contains "nameassword" pairs with a brief statement that password is encoded using crypt(). Is there supposed to be some tool to create this file? Will the htpasswd program from apache generate the correctly formatted files?

If I need to roll my own tool (I am a developer, so this is not an issue), what value do I need to pass in to crypt() as the salt so LS will be able to handle it?

IMHO the security stuff is probably worthy of being added to the FAQ. I'd guess that a lot of servers would have at least one secured area and would need to know how to create this file...
Reply With Quote
  #2  
Old 03-13-2004, 05:14 PM
dnebing dnebing is offline
New Member
 
Join Date: Dec 2003
Posts: 5
Default htpasswd will work...

It appears that the file generated using apache's htpasswd will work when generating the htpasswd file.
Reply With Quote
  #3  
Old 03-15-2004, 09:52 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Yes, just Apache's htpasswd to generate the password file for now.
You will be able to manage htpasswd file from our web admin interface pretty soon. :-)

George
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
On 2.2.3 require user .htaccess not working sth Install/Configuration 1 10-18-2006 05:28 PM
Problem installing LiteSpeed 2.2.1 Standard on UNIX perezsy Install/Configuration 17 09-22-2006 09:53 AM
Password Protect A File bambito Apache Migration/Compatibility 2 09-09-2006 02:08 AM


All times are GMT -7. The time now is 03:45 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.