Created
August 18, 2015 11:51
-
-
Save noahp/40ca62d19e1cba7c97fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate a new password file- | |
civetweb64.exe -A .htpasswd localhost admin admin | |
# start the server with that password | |
civetweb64.exe -global_auth_file .htpasswd | |
# test in browser, or curl- | |
curl.exe --digest -u mydomain.com\admin:admin http://localhost:8080/somefile.file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment