Skip to content

Instantly share code, notes, and snippets.

@Lovor01
Last active June 18, 2022 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lovor01/129574511ff41fccbeba95e613b74d20 to your computer and use it in GitHub Desktop.
Save Lovor01/129574511ff41fccbeba95e613b74d20 to your computer and use it in GitHub Desktop.

Apache create new user

-c switch creates file (and deletes other users)

#Apache create basic auth passw file
.\htpasswd -bB -C13 ..\conf\auth.users username password

#verify user
.\htpasswd -bv ..\conf\auth.users username password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment