urlmapping.html.fr revision a4687128d43515b5791a6efc6ba55314478f9552
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<?xml version="1.0" encoding="ISO-8859-1"?>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head><!--
b43458b4d81f7451112cecbd757f3a05216e7088Kristina Sojakova XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova This file is generated from xml source: DO NOT EDIT
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<title> Mise en correspondance des URLs avec le syst�me de fichiers - Serveur Apache HTTP</title>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<link href="/images/favicon.ico" rel="shortcut icon" /></head>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<body id="manual-page"><div id="page-header">
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<p class="apache">Serveur Apache HTTP Version 2.3</p>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<img alt="" src="/images/feather.gif" /></div>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.3</a></div><div id="page-content"><div id="preamble"><h1> Mise en correspondance des URLs avec le syst�me de fichiers</h1>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<p><span>Langues Disponibles: </span><a href="/en/urlmapping.html" hreflang="en" rel="alternate" title="English"> en </a> |
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<a href="/fr/urlmapping.html" title="Fran�ais"> fr </a> |
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<a href="/ja/urlmapping.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<a href="/ko/urlmapping.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<a href="/tr/urlmapping.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova <p>Ce document explique comment le serveur HTTP Apache utilise l'URL contenue dans une
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova requ�te pour d�terminer le noeud du syst�me de fichier � partir duquel le
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova fichier devra �tre servi.</p>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#related">Modules et directives concern�s</a></li>
b43458b4d81f7451112cecbd757f3a05216e7088Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#documentroot">Racine des documents (DocumentRoot)</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#outside">Fichiers situ�s en dehors de
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#user">R�pertoires des utilisateurs</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#redirect">Redirection d'URL</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#proxy">Mandataire inverse (Reverse Proxy)</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#rewrite">Moteur de r��criture</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#notfound">Fichier non trouv� (File Not Found)</a></li>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<li><img alt="" src="/images/down.gif" /> <a href="#other">Autres modules de mise en correspondance des
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova<h2><a name="related" id="related">Modules et directives concern�s</a></h2>
b43458b4d81f7451112cecbd757f3a05216e7088Kristina Sojakova<table class="related"><tr><th>Modules Apparent�s</th><th>Directives Apparent�es</th></tr><tr><td><ul><li><code class="module"><a href="/mod/mod_actions.html">mod_actions</a></code></li><li><code class="module"><a href="/mod/mod_alias.html">mod_alias</a></code></li><li><code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code></li><li><code class="module"><a href="/mod/mod_imagemap.html">mod_imagemap</a></code></li><li><code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code></li><li><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></li><li><code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code></li><li><code class="module"><a href="/mod/mod_speling.html">mod_speling</a></code></li><li><code class="module"><a href="/mod/mod_userdir.html">mod_userdir</a></code></li><li><code class="module"><a href="/mod/mod_vhost_alias.html">mod_vhost_alias</a></code></li></ul></td><td><ul><li><code class="directive"><a href="/mod/mod_alias.html#alias">Alias</a></code></li><li><code class="directive"><a href="/mod/mod_alias.html#aliasmatch">AliasMatch</a></code></li><li><code class="directive"><a href="/mod/mod_speling.html#checkspelling">CheckSpelling</a></code></li><li><code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code></li><li><code class="directive"><a href="/mod/core.html#errordocument">ErrorDocument</a></code></li><li><code class="directive"><a href="/mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxypass">ProxyPass</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxypassreversecookiedomain">ProxyPassReverseCookieDomain</a></code></li><li><code class="directive"><a href="/mod/mod_proxy.html#proxypassreversecookiepath">ProxyPassReverseCookiePath</a></code></li><li><code class="directive"><a href="/mod/mod_alias.html#redirect">Redirect</a></code></li><li><code class="directive"><a href="/mod/mod_alias.html#redirectmatch">RedirectMatch</a></code></li><li><code class="directive"><a href="/mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code class="directive"><a href="/mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li><li><code class="directive"><a href="/mod/mod_alias.html#scriptalias">ScriptAlias</a></code></li><li><code class="directive"><a href="/mod/mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></code></li><li><code class="directive"><a href="/mod/mod_userdir.html#userdir">UserDir</a></code></li></ul></td></tr></table>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova<h2><a name="documentroot" id="documentroot">Racine des documents (DocumentRoot)</a></h2>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <p>La m�thode par d�faut de httpd pour d�terminer quel fichier servir pour
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova une requ�te donn�e, consiste � extraire le chemin du fichier de la requ�te
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova (la partie de l'URL qui suit le nom d'h�te et le port), puis de l'ajouter
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova � la fin de la valeur de la directive
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> d�finie dans vos fichiers
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova de configuration.
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova Ainsi, les fichiers et r�pertoires
14650c9e129d8dc51ed55b2edc6ec27d9f0f6d00Kristina Sojakova situ�s en dessous de <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova constituent l'arborescence de base des documents qui seront visibles
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova depuis le web.</p>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <p>Par exemple, si la directive
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> contient
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <code>/var/www/html</code>, une requ�te pour
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <code>http://www.example.com/fish/guppies.html</code> retournera le
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova fichier <code>/var/www/html/fish/guppies.html</code> au client.</p>
ccaa75089b23c0f043cdbd4001cba4e076ca4fd3Kristina Sojakova <p>httpd supporte aussi les <a href="vhosts/">H�tes virtuels</a>,
b43458b4d81f7451112cecbd757f3a05216e7088Kristina Sojakova ce qui lui permet de traiter des requ�tes pour plusieurs h�tes.
Dans ce cas, un <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>
<code class="module"><a href="/mod/mod_vhost_alias.html">mod_vhost_alias</a></code> peuvent aussi �tre utilis�es afin de
<p>La directive <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> est
trouvent pas dans l'arborescence <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>. httpd propose de nombreuses
fichiers au <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>. Pour des raisons de s�curit�,
httpd ne suivra les liens symboliques que si les <code class="directive"><a href="/mod/core.html#options">Options</a></code> pour le r�pertoire concern� contiennent
<p>Une autre m�thode consiste � utiliser la directive <code class="directive"><a href="/mod/mod_alias.html#alias">Alias</a></code> pour rattacher toute portion
chemin cible sera trait� comme un script <a class="glossarylink" href="/glossary.html#cgi" title="voir glossaire">CGI</a>.</p>
des directives <code class="directive"><a href="/mod/mod_alias.html#aliasmatch">AliasMatch</a></code>
et <code class="directive"><a href="/mod/mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></code>
sur les <a class="glossarylink" href="/glossary.html#regex" title="voir glossaire">expressions rationnelles</a>.
<code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code> est d�plac� vers le
<p>httpd propose aussi la directive <code class="directive"><a href="/mod/mod_alias.html#redirectmatch">RedirectMatch</a></code> pour traiter les probl�mes
<p>La directive <code class="directive"><a href="/mod/mod_proxy.html#proxypass">ProxyPass</a></code> configure
<code class="directive"><a href="/mod/mod_proxy.html#proxypassreversecookiedomain">ProxyPassReverseCookieDomain</a></code>
et <code class="directive"><a href="/mod/mod_proxy.html#proxypassreversecookiepath">ProxyPassReverseCookiePath</a></code>
client en utilisant le module <code class="module"><a href="/mod/mod_substitute.html">mod_substitute</a></code>.</p>
<p>Le moteur de r��criture <code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code> peut s'av�rer
<code class="module"><a href="/mod/mod_speling.html">mod_speling</a></code> (sic) pour tenter de r�soudre ce probl�me.
<li><code class="module"><a href="/mod/mod_actions.html">mod_actions</a></code> - Met une URL en correspondance
<li><code class="module"><a href="/mod/mod_dir.html">mod_dir</a></code> - Permet une mise en correspondance
<li><code class="module"><a href="/mod/mod_imagemap.html">mod_imagemap</a></code> - Met en correspondance une
<li><code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code> - S�lectionne le document
<p><span>Langues Disponibles: </span><a href="/en/urlmapping.html" hreflang="en" rel="alternate" title="English"> en </a> |
<p class="apache">Copyright 2010 The Apache Software Foundation.<br />Autoris� sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p></div>