Author |
|
kaya_miyoshi
Joined: 09 Oct 2018 Posts: 4 Location: Japan
|
Posted: Tue 09 Oct '18 7:55 Post subject: Behavior when creating a password file with Apache 2.4.35 |
|
|
When I install httpd - 2.4.35 - win - 64 - VC 15. Zip on Windows 10 and create a password file, input the user's password
htpasswd -c "C: / Apache24 / passfile / passwd" yamada
new password :
can only have one character. I can not enter any key from the second letter. There were other people with the same symptoms, and it was said that it was a bug. (https://teratail.com/questions/150439) How can I enter the second and later letters? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 10 Oct '18 4:11 Post subject: |
|
|
do it all on the command line with -b.
create file: htpasswd -bc c:\some\path\to\.htpasswd username password
add user: htpasswd -b c:\some\path\to\.htpasswd username password |
|
Back to top |
|
kaya_miyoshi
Joined: 09 Oct 2018 Posts: 4 Location: Japan
|
Posted: Wed 10 Oct '18 4:23 Post subject: Behavior when creating a password file with Apache 2.4.35 |
|
|
I know how to attach the option -b, and the creation of the password file succeeded in that way. I want to know what to do with bugs that can enter the first letter of the password input but can not enter the second letter and beyond. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 16 Oct '18 22:59 Post subject: |
|
|
Like the example of Gregg shows, you can add the password in the call of htpasswd. Then you donÄt have to type it. |
|
Back to top |
|
kaya_miyoshi
Joined: 09 Oct 2018 Posts: 4 Location: Japan
|
Posted: Wed 17 Oct '18 22:05 Post subject: Behavior when creating a password file with Apache 2.4.35 |
|
|
Since htdigest.exe can only input one password, I must clear the phenomenon that I can only enter one letter of htpasswd.exe's password input. However, if I enter the password with the option of htpasswd.exe it is not an end problem. |
|
Back to top |
|
kaya_miyoshi
Joined: 09 Oct 2018 Posts: 4 Location: Japan
|
Posted: Thu 18 Oct '18 0:24 Post subject: Re: Behavior when creating a password file with Apache 2.4.3 |
|
|
I solved the problem when I made the command prompt English display. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 18 Oct '18 10:04 Post subject: |
|
|
I see. The japanese cmd is different. It uses UTF-8 characters, while the default uses ISO-8859-something |
|
Back to top |
|