Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
gallery [Le 06/12/2015, 13:00] 86.246.89.58 [Création du fichier index.html] |
gallery [Le 06/12/2015, 13:01] 86.246.89.58 [Création du fichier index.html] |
||
---|---|---|---|
Ligne 59: | Ligne 59: | ||
==== Création du fichier index.html ==== | ==== Création du fichier index.html ==== | ||
- | On va ensuite créer un fichier ''index.html'' dans **/var/www/html**. Ce fichier servira de redirection, quand vous taperez dans votre navigateur internet ''http://chezmoi.dyndns.org'', vous serez automatiquement redirigé sur la page d'accueil de Gallery qui est ''http://chezmoi.dyndns.org/gallery/albums.php''. [[:tutoriel:comment_modifier_un_fichier|Ouvrez le fichier]] **/var/www/html/index.html** avec les [[:sudo|droits d'administration]] et rajoutez ces trois lignes : <code> | + | On va ensuite créer un fichier ''index.html'' dans **/var/www/html**. Ce fichier servira de redirection, quand vous taperez dans votre navigateur internet ''http://chezmoi.dyndns.org'', vous serez automatiquement redirigé sur la page d'accueil de Gallery qui est ''http://chezmoi.dyndns.org/gallery/albums.php''. [[:tutoriel:comment_modifier_un_fichier|Ouvrez le fichier]] **/var/www/html/index.html** avec les [[:sudo|droits d'administration]] et rajoutez ces trois lignes : <file> |
<head> | <head> | ||
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://chezmoi.dyndns.org/gallery/albums.php"> | <META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://chezmoi.dyndns.org/gallery/albums.php"> | ||
</head> | </head> | ||
- | </code> | + | </file> |
====Redirection des ports ==== | ====Redirection des ports ==== |