apache2_basic_authentication
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| apache2_basic_authentication [2016/11/03 15:59] – xenadmin | apache2_basic_authentication [2016/11/08 22:44] (aktuell) – xenadmin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Apache2 Basic Authentication ====== | ====== Apache2 Basic Authentication ====== | ||
| - | Quelle: https:// | + | ===== Quelle |
| + | * https:// | ||
| - | FIXME | + | ===== Setup ===== |
| + | 1. Create user & password hash file with bcrypt encryption for passwords. | ||
| <code bash> | <code bash> | ||
| + | htpasswd -B -c / | ||
| + | New password: | ||
| + | Re-type new password: | ||
| + | Adding password for user demo-user | ||
| + | </ | ||
| + | 2. Add additional user to existing file. | ||
| + | <code bash> | ||
| + | htpasswd -B / | ||
| + | New password: | ||
| + | Re-type new password: | ||
| + | Adding password for user demo-user2 | ||
| + | </ | ||
| + | 3. Enable Basic Authentication in Apache2 conf file. | ||
| + | <code apache default.conf> | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
apache2_basic_authentication.1478188777.txt.gz · Zuletzt geändert: von xenadmin
