Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f801d451df | |||
| 39b1a5fb36 |
@@ -4,4 +4,10 @@
|
||||
- Créer une page index.html dans ce répertoire
|
||||
- Copier dans /var/www/html les fichiers travaux.gif et travaux.html
|
||||
|
||||
Objectif: en utilisant un htaccess rediriger (temporairement) toutes les requètes arrivant sur /dev vers travaux.html
|
||||
Objectif: en utilisant un htaccess rediriger (temporairement) toutes les requètes arrivant sur /dev vers travaux.html
|
||||
|
||||
La directive à rajouter dans le .htaccess est:
|
||||
|
||||
```
|
||||
RedirectMatch temp /(.*) /travaux.html
|
||||
```
|
||||
@@ -1,5 +1,5 @@
|
||||
<h1 style="font-size: big ; color: red ; text-align: center">Work in progress</h1>
|
||||
|
||||
<div style="text-align: center">
|
||||
<img src="travaux.gif" alt="gif work"/>
|
||||
<img src="/travaux.gif" alt="gif work"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user