mise au point solution
This commit is contained in:
10
Readme.md
10
Readme.md
@@ -4,15 +4,15 @@
|
||||
|
||||
Créer le répertoire /srv/Private
|
||||
```bash
|
||||
mkdir /srv/Private
|
||||
echo "This is private" > /srv/Private/index.html
|
||||
sudo mkdir /srv/Private
|
||||
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user