Skip to content

Instantly share code, notes, and snippets.

View noahp's full-sized avatar

Noah Pendleton noahp

View GitHub Profile
# 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