Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If you're like me, and use Nginx instead of Apache, you could eventually face this problem: Create an htpasswd file (for htaccess "authentication").
- To create your file, without installing Apache, just run:
- $ printf "USER:$(openssl passwd -crypt PASSWORD)\n" >> .htpasswd
- Replace USER and PASSWORD for your user and password :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement