hey, I just installed apache...I can get the server running, but how do I create a user/password so that I can upload files and configure my directory. Please help, I have no clue... they say use htpasswd.exe, but it just opens a window and closes it really fast.
umm... how can I ftp to the site if I don't have a access...I thought I was suppose to run htpasswd.exe and enter in user/pass like "Newbie: password"...however it opens and closes window program and won't allow me to enter anything. And yes I'm on Windows XP. thanks
To deal with user files, I have provided a DOS program in the support directory of the distribution called HTPASSWD.EXE. Usage:
htpasswd [-c] file user
The -c, if present, tells htpasswd to create a new passwd file of the specified name instead of editing an old one. file is the pathname of the user file you wish to edit. The user parameter is the name of the user you wish to add or edit.
If htpasswd finds the user you specified, it will ask you to change the user's password. Type the new password (it will ask twice). httpd will then update the file.
If htpasswd doesn't find the specified user, it will ask you to give the user an initial password.
****************************************************8
kinda doesn't work if I can't have the program open for 1/2 a second
it says : 'htpasswd' is not recognized as an internal or external command, operable program or batch file...
I have to make another file that can be call "users.htpasswd"...and in it if I would put lets say "Newbie: password" and the user would be Newbie and password would be password? and then I have to run htpasswd on this file??...and where do I have to place this file?
k, I'm closer....but what am I suppose to put under the "file" part of the command if I don't have a file....just make a path to my apache directory in my C:?
Thanks a lot for helping me...they must pay you a lot to help dumb people like me
You should be prompted for a password.
***************************
but how can I (upload?) that file, since this cpu is the server, how do I put the file in that directory
What are you talking about?
if I have my apache directory and it's "C:\Program Files\Apache Group\Apache", then I make a folder which is titled "secure" and put my .htaccess file in there which has my username and encrypted password along with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.