
lgentis at apache
Aug 7, 2012, 9:17 AM
Post #1 of 1
(22 views)
Permalink
|
|
svn commit: r1370336 - /httpd/httpd/trunk/docs/manual/custom-error.xml.fr
|
|
Author: lgentis Date: Tue Aug 7 16:17:05 2012 New Revision: 1370336 URL: http://svn.apache.org/viewvc?rev=1370336&view=rev Log: Update. Modified: httpd/httpd/trunk/docs/manual/custom-error.xml.fr Modified: httpd/httpd/trunk/docs/manual/custom-error.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/custom-error.xml.fr?rev=1370336&r1=1370335&r2=1370336&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/custom-error.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/custom-error.xml.fr Tue Aug 7 16:17:05 2012 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd"> <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?> -<!-- English Revision: 1330883:1361157 (outdated) --> +<!-- English Revision : 1361157 --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> @@ -155,12 +155,12 @@ ErrorDocument 401 /subscription/how_to_s par une directive ErrorDocument pourrait contenir ce qui suit :</p> - <example> - ... <br /> - print "Content-type: text/html\n"; <br /> - printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br /> - ... - </example> + <highlight language="perl"> +... +print "Content-type: text/html\n"; <br /> +printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br /> +... + </highlight> <p>Si un script est dédié à la gestion d'une condition d'erreur spécifique, telle que <code>404 Not Found</code>, il @@ -186,10 +186,10 @@ ErrorDocument 401 /subscription/how_to_s <p>Dans le fichier de configuration de votre serveur, vous trouverez un groupe de lignes du style :</p> - <example> + <highlight language="config"> # Multi-language error messages<br /> #Include conf/extra/httpd-multilang-errordoc.conf - </example> + </highlight> <p>Décommentez la ligne <code>Include</code> pour activer cette fonctionnalité, et présenter des messages d'erreur dont le langage
|