mise au point solution

This commit is contained in:
2022-10-20 15:21:19 +02:00
parent 2061fb2e53
commit 8e64b553da

View File

@@ -4,15 +4,15 @@
Créer le répertoire /srv/Private Créer le répertoire /srv/Private
```bash ```bash
mkdir /srv/Private sudo mkdir /srv/Private
echo "This is private" > /srv/Private/index.html echo "This is private" | sudo tee /srv/Private/index.html
``` ```
Le rendre accessible via http://lia.fr/Private Le rendre accessible via http://liaX.formation.opendoor.fr/Private
```bash ```bash
htpasswd -c /etc/httpd/passwd tom sudo htpasswd -c /etc/httpd/passwd tom
... ...
echo "admin: tom" > /etc/httpd/group echo "admin: tom" | sudo tee /etc/httpd/group
``` ```
```bash ```bash