You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2015/05/24 16:40:31 UTC
svn commit: r1681466 - in /httpd/httpd/branches/2.4.x/docs/manual:
howto/cgi.xml.fr howto/htaccess.xml.fr howto/public_html.xml.fr
programs/ab.xml.fr urlmapping.xml.fr
Author: lgentis
Date: Sun May 24 14:40:31 2015
New Revision: 1681466
URL: http://svn.apache.org/r1681466
Log:
XML updates.
Modified:
httpd/httpd/branches/2.4.x/docs/manual/howto/cgi.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/howto/htaccess.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/howto/public_html.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/programs/ab.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/urlmapping.xml.fr
Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/cgi.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/cgi.xml.fr?rev=1681466&r1=1681465&r2=1681466&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/howto/cgi.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/cgi.xml.fr Sun May 24 14:40:31 2015
@@ -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: 1363228:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
@@ -86,7 +86,7 @@
:</p>
<highlight language="config">
- ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
+ ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"
</highlight>
<p>Cet exemple est tiré de votre fichier de configuration
@@ -159,7 +159,7 @@
particulier :</p>
<highlight language="config">
-<Directory /usr/local/apache2/htdocs/somedir>
+<Directory "/usr/local/apache2/htdocs/somedir">
Options +ExecCGI
</Directory>
</highlight>
@@ -195,7 +195,7 @@
suivante :</p>
<highlight language="config">
-<Directory /home/*/public_html>
+<Directory "/home/*/public_html">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
@@ -206,7 +206,7 @@
programme CGI, vous pouvez utiliser ceci :</p>
<highlight language="config">
-<Directory /home/*/public_html/cgi-bin>
+<Directory "/home/*/public_html/cgi-bin">
Options ExecCGI
SetHandler cgi-script
</Directory>
Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/htaccess.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/htaccess.xml.fr?rev=1681466&r1=1681465&r2=1681466&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/howto/htaccess.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/htaccess.xml.fr Sun May 24 14:40:31 2015
@@ -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: 1666026:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
@@ -87,7 +87,7 @@ modifier la configuration du serveur au
configuration de votre serveur :</p>
<highlight language="config">
- AccessFileName .config
+ AccessFileName ".config"
</highlight>
</note>
@@ -230,7 +230,7 @@ modifier la configuration du serveur au
<p>Notez que mettre un fichier <code>.htaccess</code> contenant une
directive dans un répertoire <code>/www/htdocs/exemple</code>
revient exactement au même que mettre la même directive dans une
- section Directory <code><Directory /www/htdocs/exemple></code>
+ section Directory <code><Directory "/www/htdocs/exemple"></code>
du fichier de configuration de votre serveur principal :</p>
<p>Fichier <code>.htaccess</code> dans
@@ -238,13 +238,13 @@ modifier la configuration du serveur au
<example><title>Contenu du fichier .htaccess dans
<code>/www/htdocs/exemple</code></title>
- <highlight language="config">AddType text/example .exm</highlight>
+ <highlight language="config">AddType text/example ".exm"</highlight>
</example>
<example><title>Section de votre fichier
<code>httpd.conf</code></title>
<highlight language="config">
-<Directory /www/htdocs/example>
+<Directory "/www/htdocs/example">
AddType text/example .exm
</Directory>
</highlight>
@@ -322,11 +322,11 @@ modifier la configuration du serveur au
<code>.htaccess</code>, vous pouvez utiliser :</p>
<highlight language="config">
-<Directory /www/htdocs>
+<Directory "/www/htdocs">
AllowOverride All
</Directory>
-<Location />
+<Location "/">
Options +IncludesNoExec -ExecCGI<br />
</Location>
</highlight>
@@ -363,8 +363,8 @@ modifier la configuration du serveur au
<highlight language="config">
AuthType Basic
AuthName "Password Required"
-AuthUserFile /www/passwords/password.file
-AuthGroupFile /www/passwords/group.file
+AuthUserFile "/www/passwords/password.file"
+AuthGroupFile "/www/passwords/group.file"
Require group admins
</highlight>
@@ -409,14 +409,14 @@ les exemples suivants :</p>
<highlight language="config">
# Dans httpd.conf
-RewriteRule ^/images/(.+)\.jpg /images/$1.png
+RewriteRule "^/images/(.+)\.jpg" "/images/$1.png"
# Dans un fichier .htaccess situé dans le répertoire racine de vos
# documents
-RewriteRule ^images/(.+)\.jpg images/$1.png
+RewriteRule "^images/(.+)\.jpg" "images/$1.png"
# Dans un fichier .htaccess situé dans le répertoire images/
-RewriteRule ^(.+)\.jpg $1.png
+RewriteRule "^(.+)\.jpg" "$1.png"
</highlight>
<p>On voit que si le fichier <code>.htaccess</code> se situe à la racine
Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/public_html.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/public_html.xml.fr?rev=1681466&r1=1681465&r2=1681466&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/howto/public_html.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/public_html.xml.fr Sun May 24 14:40:31 2015
@@ -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: 1649334:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
@@ -166,7 +166,7 @@ avec le système de fichiers</a></
sous-répertoire particulier d'un répertoire home utilisateur.</p>
<highlight language="config">
-<Directory /home/*/public_html/cgi-bin/>
+<Directory "/home/*/public_html/cgi-bin/">
Options ExecCGI
SetHandler cgi-script
</Directory>
Modified: httpd/httpd/branches/2.4.x/docs/manual/programs/ab.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/programs/ab.xml.fr?rev=1681466&r1=1681465&r2=1681466&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/programs/ab.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/programs/ab.xml.fr Sun May 24 14:40:31 2015
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1605004:1676925 (outdated) -->
+<!-- English Revision: 1676925 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
Modified: httpd/httpd/branches/2.4.x/docs/manual/urlmapping.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/urlmapping.xml.fr?rev=1681466&r1=1681465&r2=1681466&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/urlmapping.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/urlmapping.xml.fr Sun May 24 14:40:31 2015
@@ -3,7 +3,7 @@
<?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
-<!-- English Revision: 1562488:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -146,7 +146,7 @@ l'arborescence DocumentRoot</title>
module="mod_alias">Alias</directive> pour rattacher toute portion
du système de fichiers à l'arborescence du site web. Par exemple, avec</p>
-<highlight language="config">Alias /docs /var/web</highlight>
+<highlight language="config">Alias "/docs" "/var/web"</highlight>
<p>l'URL <code>http://www.example.com/docs/dir/file.html</code>
correspondra au fichier <code>/var/web/dir/file.html</code>. La
@@ -164,7 +164,7 @@ l'arborescence DocumentRoot</title>
Par exemple,</p>
<highlight language="config">
- ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+) /home/$1/cgi-bin/$2
+ ScriptAliasMatch "^/~([a-zA-Z0-9]+)/cgi-bin/(.+)" "/home/$1/cgi-bin/$2"
</highlight>
<p>fera correspondre une requête du style
@@ -214,7 +214,7 @@ l'arborescence DocumentRoot</title>
<code>AliasMatch</code> suivante :</p>
<highlight language="config">
- AliasMatch ^/upages/([a-zA-Z0-9]+)(/(.*))?$ /home/$1/public_html/$3
+ AliasMatch "^/upages/([a-zA-Z0-9]+)(/(.*))?$" "/home/$1/public_html/$3"
</highlight>
</section>
@@ -235,7 +235,7 @@ l'arborescence DocumentRoot</title>
de le requérir à sa nouvelle localisation comme suit :</p>
<highlight language="config">
- Redirect permanent /foo/ http://www.example.com/bar/
+ Redirect permanent "/foo/" "http://www.example.com/bar/"
</highlight>
<p>Ceci aura pour effet de rediriger tout chemin d'URL commençant par
@@ -252,14 +252,14 @@ l'arborescence DocumentRoot</title>
configuration suivante :</p>
<highlight language="config">
- RedirectMatch permanent ^/$ http://www.example.com/startpage.html
+ RedirectMatch permanent "^/$" "http://www.example.com/startpage.html"
</highlight>
<p>De même, pour rediriger temporairement toutes les pages d'un site
vers une page particulière d'un autre site, utilisez ce qui suit :</p>
<highlight language="config">
- RedirectMatch temp .* http://othersite.example.com/startpage.html
+ RedirectMatch temp ".*" "http://othersite.example.com/startpage.html"
</highlight>
</section>
@@ -280,10 +280,10 @@ dans le répertoire
et les renvoie au client comme s'ils appartenaient au serveur local.</p>
<highlight language="config">
-ProxyPass /foo/ http://internal.example.com/bar/<br />
-ProxyPassReverse /foo/ http://internal.example.com/bar/<br />
+ProxyPass "/foo/" "http://internal.example.com/bar/"<br />
+ProxyPassReverse "/foo/" "http://internal.example.com/bar/"<br />
ProxyPassReverseCookieDomain internal.example.com public.example.com<br />
-ProxyPassReverseCookiePath /foo/ /bar/
+ProxyPassReverseCookiePath "/foo/" "/bar/"
</highlight>
<p>La directive <directive module="mod_proxy">ProxyPass</directive> configure
@@ -304,7 +304,7 @@ d'utres contenus) situés dans la
client en utilisant le module <module>mod_substitute</module>.</p>
<highlight language="config">
-Substitute s/internal\.example\.com/www.example.com/i
+Substitute "s/internal\.example\.com/www.example.com/i"
</highlight>
<p>Le module <module>mod_proxy_html</module> rend possible une réécriture plus