<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[lesCigales.ORG - Hébergement gratuit sans publicité - Personalisation des pages d'erreurs]]></title>
		<link>https://forum.lescigales.org/topic1396-personalisation-des-pages-derreurs.html</link>
		<atom:link href="https://forum.lescigales.org/feed-rss-topic1396.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[Messages les plus récents de Personalisation des pages d'erreurs.]]></description>
		<lastBuildDate>Mon, 13 Sep 2010 10:36:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5767.html#p5767</link>
			<description><![CDATA[<p>Merci pour le compliment ! <br />Bonne journée</p>]]></description>
			<author><![CDATA[null@example.com (nico_)]]></author>
			<pubDate>Mon, 13 Sep 2010 10:36:34 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5767.html#p5767</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5765.html#p5765</link>
			<description><![CDATA[<p>Oui sympa ce ptit logo <img src="https://forum.lescigales.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (toad)]]></author>
			<pubDate>Mon, 13 Sep 2010 00:47:08 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5765.html#p5765</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5762.html#p5762</link>
			<description><![CDATA[<p>Salut,</p><p>Merci <em>nico_</em>,</p><p>J&#039;utilisais un fichier pour chaque erreur. Ta méthode est bien plus pratique.</p><p>PS : Génial le logo pour les Cigales sur ton site</p>]]></description>
			<author><![CDATA[null@example.com (Eric2A)]]></author>
			<pubDate>Sun, 12 Sep 2010 22:50:52 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5762.html#p5762</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5760.html#p5760</link>
			<description><![CDATA[<p>Bonjour,</p><p>pour ce qui concerne mon site j&#039;ai fais comme suit: (exemple: <a href="http://modos.lescigales.org/erreur/">test 1</a> <a href="http://modos.lescigales.org/erreur/.php">test 2</a> )</p><p>1 fichier erreur.php (placer à la racine du site)<br />1 fichier .htaccess (placer à la racine du site)</p><p>Contenu des fichier : </p><p> -&gt; fichier erreur.php</p><div class="codebox"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br /><span style="color: #b1b100;">switch</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'erreur'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'400'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Echec de l\'</span>analyse HTTP<span style="color: #0000ff;">';<br />&nbsp; &nbsp;break;<br />&nbsp; &nbsp;case '</span><span style="color: #cc66cc;">401</span><span style="color: #0000ff;">':<br />&nbsp; &nbsp;echo '</span>Le pseudo et<span style="color: #339933;">/</span>ou le mot de passe n\<span style="color: #0000ff;">'est pas correct. Merci de bien vouloir recommencer, Merci&gt;'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'402'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Le client doit reformuler sa demande avec les bonnes donnes de paiement.'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'403'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Requte interdite !'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'404'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'La page n\'</span>existe pas ou n\<span style="color: #0000ff;">'existe plus!'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'405'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Mthode non autorise'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'500'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Erreur interne au serveur ou serveur sature'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'501'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Le serveur ne supporte pas le service demandé'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'502'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Mauvaise passerelle'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'503'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">' Service indisponible'</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'504'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Trop de temps&nbsp; la rponse '</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'505'</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Version HTTP non supporte '</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">default</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp;<a href="http://www.php.net/echo"><span style="color: #990000;">echo</span></a> <span style="color: #0000ff;">'Vous ête sur une la page Erreur !! alors qu\'</span>il n\<span style="color: #0000ff;">'y en a pas !!!'</span><span style="color: #339933;">;</span><br /><span style="color: #009900;">&#125;</span> <br /><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div><p> -&gt; fichier&nbsp; .htaccess</p><div class="codebox"><pre class="txt" style="font-family:monospace;">ErrorDocument 400 /erreur.php?erreur=400<br />ErrorDocument 401 /erreur.php?erreur=401<br />ErrorDocument 402 /erreur.php?erreur=402<br />ErrorDocument 403 /erreur.php?erreur=403<br />ErrorDocument 404 /erreur.php?erreur=404<br />ErrorDocument 405 /erreur.php?erreur=405<br />ErrorDocument 500 /erreur.php?erreur=500<br />ErrorDocument 501 /erreur.php?erreur=501<br />ErrorDocument 502 /erreur.php?erreur=502<br />ErrorDocument 503 /erreur.php?erreur=503<br />ErrorDocument 504 /erreur.php?erreur=504<br />ErrorDocument 505 /erreur.php?erreur=505</pre></div>]]></description>
			<author><![CDATA[null@example.com (nico_)]]></author>
			<pubDate>Sun, 12 Sep 2010 18:12:14 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5760.html#p5760</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5747.html#p5747</link>
			<description><![CDATA[<p>Voila voila... Donc je me disais bien que la personnalisation des ERR.500 était un peu du superflu pour ceux qui hoste sur lesCigales.org</p>]]></description>
			<author><![CDATA[null@example.com (xavier.albine)]]></author>
			<pubDate>Sun, 12 Sep 2010 09:08:50 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5747.html#p5747</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5729.html#p5729</link>
			<description><![CDATA[<p>Mon job sera de faire des erreurs 500 avec des messages explicites, ya au moins 10 facons d&#039;en produire sur lescigales <img src="https://forum.lescigales.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (toad)]]></author>
			<pubDate>Sat, 11 Sep 2010 10:46:14 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5729.html#p5729</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5726.html#p5726</link>
			<description><![CDATA[<p>C&#039;est pas le job de T0aD ca ? Les erreurs 500 ?</p>]]></description>
			<author><![CDATA[null@example.com (xavier.albine)]]></author>
			<pubDate>Sat, 11 Sep 2010 10:34:49 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5726.html#p5726</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5724.html#p5724</link>
			<description><![CDATA[<p>Etonnant mais vrai :</p><p><a href="http://httpd.apache.org/docs/current/mod/core.html#errordocument">http://httpd.apache.org/docs/current/mo … ordocument</a></p>]]></description>
			<author><![CDATA[null@example.com (L`OcuS)]]></author>
			<pubDate>Sat, 11 Sep 2010 10:34:04 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5724.html#p5724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5721.html#p5721</link>
			<description><![CDATA[<p>La 500 ?? Internal Server Error ...</p><p>Là, par contre ... Etonnant<br />...</p>]]></description>
			<author><![CDATA[null@example.com (xavier.albine)]]></author>
			<pubDate>Sat, 11 Sep 2010 09:45:14 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5721.html#p5721</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5688.html#p5688</link>
			<description><![CDATA[<p>Merci beaucoup Ocus pour ce tuto super bien expliquer. J&#039;ai personnaliser mes pages d&#039;erreurs 404 et 403 et je pense par la suite à modifier la page d&#039;erreur 500.<br />Merci Beaucoup.<br />lbm21</p>]]></description>
			<author><![CDATA[null@example.com (lbm21)]]></author>
			<pubDate>Wed, 08 Sep 2010 18:40:49 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5688.html#p5688</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5686.html#p5686</link>
			<description><![CDATA[<div class="codebox"><pre><code>ErrorDocument 404 /</code></pre></div><p>Ca doit faire largement l&#039;affaire</p>]]></description>
			<author><![CDATA[null@example.com (L`OcuS)]]></author>
			<pubDate>Wed, 08 Sep 2010 17:46:51 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5686.html#p5686</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5685.html#p5685</link>
			<description><![CDATA[<p>@ T0aD &gt; n&#039;y a t&#039;il pas un paramètre par défaut dans Apache qui permet de renvoyer vers la page d&#039;accueil par défaut !? (supposition, car cela fait un bail que je n&#039;ai plus configuré un indien !!).</p>]]></description>
			<author><![CDATA[null@example.com (xavier.albine)]]></author>
			<pubDate>Wed, 08 Sep 2010 17:04:29 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5685.html#p5685</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5683.html#p5683</link>
			<description><![CDATA[<p>Il faudra effectivement que je me lance dans la création de pages d&#039;erreurs par défaut.. <img src="https://forum.lescigales.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (toad)]]></author>
			<pubDate>Wed, 08 Sep 2010 14:45:03 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5683.html#p5683</guid>
		</item>
		<item>
			<title><![CDATA[Re: Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5681.html#p5681</link>
			<description><![CDATA[<p>Salut,</p><p>je te conseille de regarder la directive Apache &quot;ErrorDocument&quot; et comment fonctionnent les fichiers .htaccess.</p><p>Tu peux jeter un oeil à un tutorial expliquant tout très bien (si tu parles anglais) : <a href="http://www.elated.com/articles/making-a-custom-error-page/">http://www.elated.com/articles/making-a … rror-page/</a></p><p>PS: et ça fonctionne très bien sur lesCigales (ex <a href="http://ocus.lescigales.org/lesCigales:CaROXX">ma propre 404</a>)</p><p>OcuS</p>]]></description>
			<author><![CDATA[null@example.com (L`OcuS)]]></author>
			<pubDate>Wed, 08 Sep 2010 14:31:30 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5681.html#p5681</guid>
		</item>
		<item>
			<title><![CDATA[Personalisation des pages d'erreurs]]></title>
			<link>https://forum.lescigales.org/post5680.html#p5680</link>
			<description><![CDATA[<p>Bonjour,<br />Est-ce que lescigales.ORG intergre un service de personnalisation des pages d&#039;erreurs genre 404... Si non, comment faire pour qu&#039;une page s&#039;affiche à la place de cette horrible page en n&amp;b ?<br />Merci d&#039;avance.<br />lbm21</p>]]></description>
			<author><![CDATA[null@example.com (lbm21)]]></author>
			<pubDate>Wed, 08 Sep 2010 13:19:39 +0000</pubDate>
			<guid>https://forum.lescigales.org/post5680.html#p5680</guid>
		</item>
	</channel>
</rss>
