.htaccess & .htpasswd
Code du chemin relatif
<?php echo realpath('htaccess.php'); ?>
Code du fichier .htaccess
AuthName "Page d'administration protégée"
AuthType Basic
AuthUserFile "/dossiers/.htpasswd"
Require valid-user
Code du fichier .htpasswd
Index Type
XHTML 1.0 Strict
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Titre de la page</title>
<meta http-equiv="refresh" content="5; URL=http://www.domaine.tld/page.ext" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="reply-to" content="webmaster@domaine.tld" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="fr" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="expires" content="2" />
<meta name="generator" content="Bluefish 1.0.7" />
<meta name="publisher" content="Bluefish 1.0.7" />
<meta name="author" content="Prénom NOM" />
<meta name="date" content="2007-07-08T12:45:37+0200" />
<meta name="copyright" content="Copyright www.domaine.tld 2006-2007" />
<meta name="keywords" content="mot1, mot2, mot3" />
<meta name="description" content="Description du site" />
<meta name="robots" content="noindex,nofollow,index,follow" />
<meta name="identifier-url" content="http://www.domaine.tld/page.ext" />
<meta name="revisit-after" content="2 days" />
<meta name="rating" content="general" />
<meta name="distribution" content="global" />
<meta name="language" content="fr" />
<link href="screen.css" rel="stylesheet" type="text/css" media="screen" title="screen" />
<link href="print.css" rel="stylesheet" type="text/css" media="print" title="print" />
<link href="handheld.css" rel="stylesheet" type="text/css" media="handheld" title="handheld" />
<link rel="help" title="Accessibility" href="http://www.domaine.tld/page.ext" />
<link rel="start" title="Home" href="http://www.domaine.tld/page.ext" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.domaine.tld/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0 Feed" href="http://www.domaine.tld/rss.xml" />
</head>
<body>
</body>
</html>
Dig DNS
@DNS
Incidents
Date / Durée :
16.11.2007 @ 20:03 / 1h 13min
Description :
Coupure d'électricité générale. SpyesX-Server Offline.
Date / Durée :
01.12.2007 @ 11:25 / 2j 13h 7min
Description :
Oscillation trop importante de la tension électrique. SpyesX-Server Offline. Endommagement du matériel avec perte d'un disque dur. Intervention nécéssaire pour réinstallation système et backup.