Je réalise un site web pour ma boite. Un truc tout simple... mais avec un problème ! Je suis hébergé chez Gandi (avec Simple Hosting), j'ai développé le site en local qui fonctionnait très bien...
La structure du site est la suivant :
- index.php
- répertoire img
- répertoire src (avec feuille de style, javascript etc.)
La feuille de style contient un tout petit script php permettant un affichage aléatoire de l'image de fond :
Code : Tout sélectionner
<?php
$i = rand(1,6);
$selectedBg = $i.".jpg";
?>
body {
background-image:url(../img/<?php echo $selectedBg; ?>);
background-size:cover;
}
Code : Tout sélectionner
<link rel="stylesheet" type="text/css" href="src/style3.php" />
Code : Tout sélectionner
[Wed Jan 23 08:51:40.537246 2013] [mpm_event:notice] [pid 221:tid 2817809340224] AH00493: SIGUSR1 received. Doing graceful restart
AH00557: apache2: apr_sockaddr_info_get() failed for paas_15123
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Si quelqu'un a des idées je suis preneur, c'est un peu bête comme problème...
Cdt,
Jean-Baptiste