mon site affiche le code... mais ne l'effectue pas : pourquoi ? quelle commande ai-je oublié ?
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

mon site affiche le code... mais ne l'effectue pas : pourquoi ? quelle commande ai-je oublié ?

by
Lisa Bigot
Created on 2025-01-05 18:03:51 in Hébergements Web

j'ai un hebergement OVH (domaine.fr et domaine.com), je souhaite y afficher une image : IMAGESITE.png (un truc hyper simple/basique pour une non initiée comme moi)

j'ai donc créé un fichier index.html importé via filezilla dans le dossier www :

<!DOCTYPE html>

<html lang="fr">

<body>

    <img src="IMAGESITE.png" alt="Image du site" />

</body>

</html>

==> la page web affiche exactement le code (cf.PJ), et non l'image

Le fichier IMAGESITE.png est à la racine www (j'ai testé avec ou sans dossier IMAGE/IMAGESITE.png... same same)

j'ai testé avec un format jpeg, également avec un code simple "texte" : ça m'affiche tjs tel quel le code plutôt que de réaliser l'action

si j'enlève le fichier index, j'obtient l'arbo avec l'accès à l'image "domaine.fr/IMAGESITE.png/"

j'ai essayé d'ajouter un fichier .htaccess, ± un fichier info.php, j'obtiens le message :

[Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@lisacom.fr to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.]

j'ai checké les Permissions des fichiers

Je ne comprends pas comment faire reconnaitre la commande : une idée please ????

  • Capture d’écran 2025-01-05 à 19.02.45.png 12.54K
  • Capture d’écran 2025-01-05 à 18.59.31.png 13.03K

1 Reply ( Latest reply on 2025-01-06 09:14:33 by
fritz2cat 🇧🇪 🇪🇺
)

Bonjour,

Quel est votre nom de domaine, svp ?