Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc82c9670b | |||
| 38c53cd104 | |||
| 0866ee6fee |
@@ -8,7 +8,7 @@ dans bar -> créer le fichier bar.html
|
||||
|
||||
dans foo -> créer le fichier foo.html
|
||||
|
||||
dans /etc/httpd/conf.d/my.conf:
|
||||
dans /etc/httpd/conf.d/zmy.conf:
|
||||
```apache
|
||||
<Directory /var/www/html>
|
||||
DirectoryIndex foo.html
|
||||
@@ -17,8 +17,8 @@ dans /etc/httpd/conf.d/my.conf:
|
||||
|
||||
Question 1: Qu'est ce qui s'affiche quand on va accéder à chaque contenu ?
|
||||
```bash
|
||||
curl lia.fr/bar
|
||||
curl lia.fr/foo
|
||||
curl localhost/bar/
|
||||
curl localhost/foo/
|
||||
```
|
||||
|
||||
Question 2: Faire en sorte que le DirectoryIndex de foo soit le fichier foo/foo.html et celui de bar soit bar/bar.html
|
||||
Reference in New Issue
Block a user