mojito Posted January 17, 2007 Share Posted January 17, 2007 I try to create a password file for basic authentication, and apache tells me I can run the password utility file in bin directory. But the window closes almost immediately. I try to run command from windows cmd but it doesnt recognise the command.Would appreciate a prod in the right direction.thanks??? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted January 17, 2007 Share Posted January 17, 2007 You need to run it via the command promt. before you do that you need to change to Apache's bin directory, from example when you go to Start > Run > type cmdYou will get the windows command line and by default you are in your work area C:\Documents and Settings\USERNAMEHERE in order to change directories you need to type [b]cd[/b] and then the path to the folder you want to go, example:[tt]cd C:\Program Files\Apache Group\Apache2\bin[/tt]Now press enter. You will now notice that C:\Documents and Settings\USERNAMEHERE and has changed to C:\Program Files\Apache Group\Apache2\binYou can now run the password program via command line. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 17, 2007 Share Posted January 17, 2007 There are free online tools/websites which will create a (the md5 user and pass) htpasswd for you.-steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.