May 26th, 2002, 11:04 AM
.htaccess help !!!
I read some tuts on .htaccess method then I try to implement on my redhat linux but when i give the command
htpasswd -c .htpasswd nameofuser
"invalid command" or "command not found" message or something like this but all tuts told that give this command after setting up .htaccess then .htpasswd.Why am I getting that message and what should I do ?
bye and have fun
May 26th, 2002, 11:21 AM
go to where the htpasswd file is located and then issue the command './htpasswd -c .htpasswd nameofuser' or better yet add in the PATH line, the directory where this file is located to your /etc/profile if you want the execution of this file to be global or if you want to be more user-specific, add this to your bash_rc or bash_profile file in your home directory..
hope this helps...
May 26th, 2002, 05:06 PM
i don't know what you are doing wrong but it should help to read this...
and you should write which os/version and son on..
the only thing that doesn\'t change is everything will always change.