... | ... | @@ -71,11 +71,11 @@ Add `vhost` `directory` directive in `/etc/httpd/conf.d/staging.digitec.io.conf` |
|
|
3. Create the `{org}.htpasswd` file.
|
|
|
- The password entry is usually `user: {org}, password: 101`.
|
|
|
|
|
|
If the file __exist__:
|
|
|
If the file __exists__ do not use the `-c` flag or the file will be truncated:
|
|
|
|
|
|
```bash
|
|
|
# create the file and add the user
|
|
|
htpasswd -c {org}.htpasswd {org}
|
|
|
# add the user to the existing file
|
|
|
htpasswd {org}.htpasswd {org}
|
|
|
```
|
|
|
|
|
|
If the file does __not exist__:
|
... | ... | |