Salut
si vous êtes sur un server de type Apache (90% des serveurs <IMG SRC="/images/smiles/tounge_smile46.gif"> )
voilà comment fermer tous les accès à votre site sans avoir à tout modifier...
il faut créer deux fichier ".htaccess"
Utiliser Notepad de windows et faites enregistrer sous en mettant entre guillemets le nom de fichier
=> ".htacces"
soyez en mode ANSI et Tous fichiers
voilà les codes
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1><b>Citation :</b></font></TD></TR></TABLE><TABLE BORDER=1 CELLPADDING=10 BORDERCOLOR=#FF0000 ALIGN=CENTER WIDTH=85%><TR BGCOLOR=#F3F2F4><TD><FONT SIZE=-1>
ErrorDocument 401 <a href="http://www.mon_site.com/error/index.html<br>ErrorDocument" target="_blank">http://www.mon_site.com/error/index.html<br>ErrorDocument</a> 403 <a href="http://www.mon_site.com/error/index.html<br>ErrorDocument" target="_blank">http://www.mon_site.com/error/index.html<br>ErrorDocument</a> 404 <a href="http://www.mon_site.com/error/index.html<br>ErrorDocument" target="_blank">http://www.mon_site.com/error/index.html<br>ErrorDocument</a> 500 <a href="http://www.mon_site.com/error/index.html<p>AuthName" target="_blank">http://www.mon_site.com/error/index.html<p>AuthName</a> "Site fermé"<br><LIMIT GET POST><br>order deny,allow<br>deny from all<br></LIMIT><br></p>
</FONT></TD></TR></TABLE>
ce premier ficheir est à mettre à la racine du site
ensuite créer un répertoire toujours à la racine
ex : racine/error/
dans ce répertoire, mettez une page d'erreur genre :
<table width="400" border="1" cellspacing="0" cellpadding="10" align="center"><tr> <td style="font: 14px Verdana; color: #0092DE;"><h2 align="center" style="color:#FF0000">SITE FERME</h2><center>Pour <br>La liberté d'expression<br>La protection de la vie privée<br>Le 17 Mars 2003, protestons pendant 24 H<br><h3>Contre la loi LEN</h3> </center><br><br>Explications :<br><span style="font-size: 12px">=> <a href="http://odebi.nerim.net/0forumr12/0forum ... nerim.net  |  Odebi.nerim.net</a><br>=> <a href="http://www.vivrele.net/node/955.html">h ... vrele.net  |  Vivrele.net</a><br><br></span>Sites fermés :<br><span style="font-size: 10px">- <a href="http://blinckers-groups.com">http://blinckers-groups.com  |  BLINCKERS© Groups</a><br>- <a href="http://forums.blinckers-groups.com">http://forums.blinckers-groups.com</a><br>- <a href="http://optimizer-xp.blinckers-groups.com">http://optimizer-xp.blinckers-groups.com  |  Optimizer XP</a><br><br></span>Merci </td></tr></table>
ensuite faies un deuxième fichier ".htacces" à mettre dans ce répertoire ("/error/")
le code :
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1><b>Citation :</b></font></TD></TR></TABLE><TABLE BORDER=1 CELLPADDING=10 BORDERCOLOR=#FF0000 ALIGN=CENTER WIDTH=85%><TR BGCOLOR=#F3F2F4><TD><FONT SIZE=-1>
AuthName "Site fermé"<br><LIMIT GET POST><br>order deny,allow<br>allow from all<br></LIMIT><br>
</FONT></TD></TR></TABLE>
le fonctionnement
le premier ".htacces" interdit l'acces à tous les répertoires et sous répertoires du site, ainsi que la racine
et renvoi sur le fichier spécifié
ici : <a href="http://www.mon_site.com/error/index.html" target="_blank">http://www.mon_site.com/error/index.html</a>
le deuxième ".htacces" autorise l'accès dans le répertoire ("/error/")
voilà ...
@++
Comment fermer son site web temporairement
Discussions et dépannage concernant Internet Explorer, Outlook Express, Netscape (Toutes versions)
Modérateur : Modérateurs
Retourner vers « Internet / Messagerie »
Aller à
- Système d'exploitation
- ↳ Windows
- ↳ Windows 9x
- ↳ Windows Millenium
- ↳ Windows NT/2000/XP
- ↳ Windows Vista
- ↳ Windows 7
- ↳ Windows 8
- ↳ Windows 10
- ↳ Linux
- ↳ Divers Linux
- ↳ Debian / Ubuntu
- ↳ Mandrake / Mandriva
- ↳ RedHat / Fedora
- ↳ Mac
- ↳ Divers Mac
- ↳ Mac OS9
- ↳ Mac OS10
- Logiciels divers
- ↳ Internet / Messagerie
- ↳ Autres Logiciels
- Forums Professionnels
- ↳ Réseau
- ↳ Sécurité informatique / Virus
- ↳ Cryptologie
- ↳ Législation / Juridique
- Bureautique
- ↳ Microsoft Office
- ↳ Word
- ↳ Excel
- ↳ Powerpoint
- ↳ Access
- ↳ Open Office
- ↳ Divers
- ↳ Writer
- ↳ Calc
- ↳ Math
- ↳ Impress
- ↳ Base
- ↳ Draw
- Matériels
- ↳ Tous matériels
- ↳ Achat & Vente
- Montage Virtuel - Info FCP
- ↳ Adobe Première
- ↳ Vidéo & Matériel
- ↳ Trucs & Astuces
- ↳ Création DVD/VCD/SVCD/DivX et Web...
- ↳ Téléchargement de programmes
- Création de site Internet
- ↳ HTML / XHTML
- ↳ CSS
- ↳ JavaScript
- ↳ Php et MySql
- Trucs & Astuces
- ↳ Astuces Windows
- ↳ Astuces Windows 9x
- ↳ Astuces Windows 2000/NT/XP
- ↳ Astuces Windows Millenium
- ↳ Astuces Windows Vista
- ↳ Astuces Windows 7
- ↳ Astuces Windows 8
- ↳ Astuces Windows 10
- ↳ Astuces Internet Explorer / Netscape / Outlook Express
- ↳ Astuces Autres logiciels
- ↳ Astuces Matériels
- ↳ Astuces Virus / Sécurité
- Discussions Générales
- ↳ Débats
- ↳ Vos bons plans !!!
- ↳ Divers
- ↳ Blagues & Divertissement
- Fonctionnement des forums
- ↳ Boite à Idées
- ↳ Les nouveautés / annonces des forums
- ↳ Aide des forums
- ↳ Indiquer un Bug
- ↳ Test
- ↳ Content / Pas content !!!
Qui est en ligne
Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 8 invités