diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-07-26 14:22:26 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-07-26 14:22:26 +0000 |
commit | 46308243dc4f96678c7fae55921a1e35e06568f9 (patch) | |
tree | a1d021653f174357c22a3f3ab1bd782823fb1fc8 /usr.sbin/httpd/htdocs | |
parent | ea13113ae67d9c6618793bd7e217ccac2332b64e (diff) |
from tamas tevesz:
==> removal of language alternatives from manual/ and manual/mod/.
ok henning@
Diffstat (limited to 'usr.sbin/httpd/htdocs')
96 files changed, 0 insertions, 44046 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/configuring.html.en b/usr.sbin/httpd/htdocs/manual/configuring.html.en deleted file mode 100644 index ac6838c979e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/configuring.html.en +++ /dev/null @@ -1,261 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Configuration Files</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Configuration Files</h1> - - <ul> - <li><a href="#main">Main Configuration Files</a></li> - - <li><a href="#syntax">Syntax of the Configuration - Files</a></li> - - <li><a href="#modules">Modules</a></li> - - <li><a href="#scope">Scope of Directives</a></li> - - <li><a href="#htaccess">.htaccess Files</a></li> - </ul> - <hr /> - - <h2><a id="main" name="main">Main Configuration Files</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="mod/mod_mime.html">mod_mime</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#accessconfig">AccessConfig</a><br /> - <a - href="mod/core.html#ifdefine"><IfDefine></a><br /> - <a href="mod/core.html#include">Include</a><br /> - <a - href="mod/core.html#resourceconfig">ResourceConfig</a><br /> - <a - href="mod/mod_mime.html#typesconfig">TypesConfig</a><br /> - </td> - </tr> - </table> - - <p>Apache is configured by placing <a - href="mod/directives.html">directives</a> in plain text - configuration files. The main configuration file is usually - called <code>httpd.conf</code>. The location of this file is - set at compile-time, but may be overridden with the - <code>-f</code> command line flag. Some sites also have - <code>srm.conf</code> and <code>access.conf</code> files for <a - href="http://httpd.apache.org/info/three-config-files.html">historical - reasons</a>. In addition, other configuration files may be - added using the <code><a - href="mod/core.html#include">Include</a></code> directive. Any - directive may be placed in any of these configuration files. - Changes to the main configuration files are only recognized by - Apache when it is started or restarted.</p> - - <p>New with Apache 1.3.13 is a feature where if any - configuration file is actually a directory, Apache will enter - that directory and parse any files (and subdirectories) found - there as configuration files. One possible use for this would - be to add VirtualHosts by creating small configuration files - for each host, and placing them in such a configuration - directory. Thus, you can add or remove VirtualHosts without - editing any files at all, simply adding or deleting them. This - makes automating such processes much easier.</p> - - <p>The server also reads a file containing mime document types; - the filename is set by the <a - href="mod/mod_mime.html#typesconfig">TypesConfig</a> directive, - and is <code>mime.types</code> by default.</p> - <hr /> - - <h2><a id="syntax" name="syntax">Syntax of the Configuration - Files</a></h2> - - <p>Apache configuration files contain one directive per line. - The back-slash "\" may be used as the last character on a line - to indicate that the directive continues onto the next line. - There must be no other characters or white space between the - back-slash and the end of the line.</p> - - <p>Directives in the configuration files are case-insensitive, - but arguments to directives are often case sensitive. Lines - which begin with the hash character "#" are considered - comments, and are ignored. Comments may <strong>not</strong> be - included on a line after a configuration directive. Blank lines - and white space occurring before a directive are ignored, so - you may indent directives for clarity.</p> - - <p>You can check your configuration files for syntax errors - without starting the server by using <code>apachectl - configtest</code> or the <code>-t</code> command line - option.</p> - <hr /> - - <h2><a id="modules" name="modules">Modules</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="mod/mod_so.html">mod_so</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="mod/core.html#addmodule">AddModule</a><br /> - <a - href="mod/core.html#clearmodulelist">ClearModuleList</a><br /> - <a - href="mod/core.html#ifmodule"><IfModule></a><br /> - <a href="mod/mod_so.html#loadmodule">LoadModule</a><br /> - </td> - </tr> - </table> - - <p>Apache is a modular server. This implies that only the most - basic functionality is included in the core server. Extended - features are available through <a - href="mod/index-bytype.html">modules</a> which can be loaded - into Apache. By default, a <a - href="mod/module-dict.html#Status">base</a> set of modules is - included in the server at compile-time. If the server is - compiled to use <a href="dso.html">dynamically loaded</a> - modules, then modules can be compiled separately and added at - any time using the <a - href="mod/mod_so.html#loadmodule">LoadModule</a> directive. - Otherwise, Apache must be recompiled to add or remove modules. - Configuration directives may be included conditional on a - presence of a particular module by enclosing them in an <a - href="mod/core.html#ifmodule"><IfModule></a> block.</p> - - <p>To see which modules are currently compiled into the server, - you can use the <code>-l</code> command line option.</p> - <hr /> - - <h2><a id="scope" name="scope">Scope of Directives</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#directory"><Directory></a><br /> - <a - href="mod/core.html#directorymatch"><DirectoryMatch></a><br /> - <a href="mod/core.html#files"><Files></a><br /> - <a - href="mod/core.html#filesmatch"><FilesMatch></a><br /> - <a - href="mod/core.html#location"><Location></a><br /> - <a - href="mod/core.html#locationmatch"><LocationMatch></a><br /> - <a - href="mod/core.html#virtualhost"><VirtualHost></a><br /> - </td> - </tr> - </table> - - <p>Directives placed in the main configuration files apply to - the entire server. If you wish to change the configuration for - only a part of the server, you can scope your directives by - placing them in <code><a - href="mod/core.html#directory"><Directory></a>, <a - href="mod/core.html#directorymatch"><DirectoryMatch></a>, - <a href="mod/core.html#files"><Files></a>, <a - href="mod/core.html#filesmatch"><FilesMatch></a>, <a - href="mod/core.html#location"><Location></a>,</code> and - <code><a - href="mod/core.html#locationmatch"><LocationMatch></a></code> - sections. These sections limit the application of the - directives which they enclose to particular filesystem - locations or URLs. They can also be nested, allowing for very - fine grained configuration.</p> - - <p>Apache has the capability to serve many different websites - simultaneously. This is called <a href="vhosts/">Virtual - Hosting</a>. Directives can also be scoped by placing them - inside <code><a - href="mod/core.html#virtualhost"><VirtualHost></a></code> - sections, so that they will only apply to requests for a - particular website.</p> - - <p>Although most directives can be placed in any of these - sections, some directives do not make sense in some contexts. - For example, directives controlling process creation can only - be placed in the main server context. To find which directives - can be placed in which sections, check the <a - href="mod/directive-dict.html#Context">Context</a> of the - directive. For further information, we provide details on <a - href="sections.html">How Directory, Location and Files sections - work</a>.</p> - <hr /> - - <h2><a id="htaccess" name="htaccess">.htaccess Files</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#accessfilename">AccessFileName</a><br /> - <a - href="mod/core.html#allowoverride">AllowOverride</a><br /> - </td> - </tr> - </table> - - <p>Apache allows for decentralized management of configuration - via special files placed inside the web tree. The special files - are usually called <code>.htaccess</code>, but any name can be - specified in the <a - href="mod/core.html#accessfilename"><code>AccessFileName</code></a> - directive. Directives placed in <code>.htaccess</code> files - apply to the directory where you place the file, and all - sub-directories. The <code>.htaccess</code> files follow the - same syntax as the main configuration files. Since - <code>.htaccess</code> files are read on every request, changes - made in these files take immediate effect.</p> - - <p>To find which directives can be placed in - <code>.htaccess</code> files, check the <a - href="mod/directive-dict.html#Context">Context</a> of the - directive. The server administrator further controls what - directives may be placed in <code>.htaccess</code> files by - configuring the <a - href="mod/core.html#allowoverride"><code>AllowOverride</code></a> - directive in the main configuration files.</p> - - <p>For more information on <code>.htaccess</code> files, see - Ken Coar's tutorial on <a - href="http://apache-server.com/tutorials/ATusing-htaccess.html"> - Using .htaccess Files with Apache</a>.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/configuring.html.fr b/usr.sbin/httpd/htdocs/manual/configuring.html.fr deleted file mode 100644 index fb556a3ce7d..00000000000 --- a/usr.sbin/httpd/htdocs/manual/configuring.html.fr +++ /dev/null @@ -1,356 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <!-- Traduction anglais 1.17 --> - - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Fichiers de configuration</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Fichiers de configuration</h1> - - <ul> - <li><a href="#main">Principaux fichiers de - configuration</a></li> - - <li><a href="#syntax">Syntaxe des fichiers de - configuration</a></li> - - <li><a href="#modules">Modules</a></li> - - <li><a href="#scope">Portée des directives</a></li> - - <li><a href="#htaccess">Fichiers .htaccess</a></li> - - <li><a href="#logs">Fichiers de trace</a></li> - </ul> - <hr /> - - <h2><a id="main" name="main">Principaux fichiers de - configuration</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Modules liés</strong><br /> - <br /> - <a href="mod/mod_mime.html">mod_mime</a><br /> - </td> - - <td valign="top"><strong>Directives - liées</strong><br /> - <br /> - <a - href="mod/core.html#accessconfig">AccessConfig</a><br /> - <a - href="mod/core.html#ifdefine"><IfDefine></a><br /> - <a href="mod/core.html#include">Include</a><br /> - <a - href="mod/core.html#resourceconfig">ResourceConfig</a><br /> - <a - href="mod/mod_mime.html#typesconfig">TypesConfig</a><br /> - </td> - </tr> - </table> - - <p>Apache se configure en plaçant des <a - href="mod/directives.html">directives</a> dans des fichiers - textes de configuration. Le fichier de configuration principal - est généralement appelé - <code>httpd.conf</code>. L'emplacement de ce fichier est - fixé à la compilation, mais peut être - redéfini en utilisant l'option de ligne de commande - <code>-f</code>. Certains sites possèdent - également des fichiers <code>srm.conf</code> et - <code>access.conf</code> pour des <a - href="http://httpd.apache.org/info/three-config-files.html">raisons - historiques</a>. De plus, d'autres fichiers de configuration - peuvent être ajoutés en utilisant la directive - <code><a href="mod/core.html#include">Include</a></code>. Les - directives peuvent être placées dans n'importe - quel fichier. Les modifications dans le fichier de - configuration principal ne sont prises en compte qu'au - démarrage ou au redémarrage d'Apache.</p> - - <p>Une nouveauté de la version 1.3.13 d'Apache est la - possibilité qu'un fichier de configuration soit en fait - un répertoire. Dans ce cas, Apache lira tous les - fichiers et sous répertoires et les traitera comme - fichiers de configuration. Une utilisation possible de cette - fonctionnalité est de pouvoir ajouter des hôtes - virtuels en créant des fichiers de configuration pour - chaque hôte, et de les placer dans le répertoire - de configuration. Ainsi, vous pouvez ajouter ou retirer des - hôtes virtuels sans avoir à éditer de - fichiers, mais simplement en ajoutant ou supprimant un fichier. - Celà permet d'automatiser plus facilement ce genre de - traitement.</p> - - <p>Le serveur lit également un fichier décrivant - les types de contenu MIME; le nom de ce fichier est - défini par la directive <a - href="mod/mod_mime.html#typesconfig">TypesConfig</a> et est par - défaut <code>mime.types</code>.</p> - <hr /> - - <h2><a id="syntax" name="syntax">Syntaxe des fichiers de - configuration</a></h2> - - <p>Les fichiers de configurations contiennent au plus une - directive par ligne. Le caractère "\" peut être - utilisé à la fin d'une ligne pour indiquer que la - directive se poursuit sur la ligne suivante. Il ne doit pas y - avoir d'autres caractère ou d'espace entre le - caractère "\" et la fin de la ligne.</p> - - <p>Dans les fichiers de configuration, l'écriture des - noms des directives n'est pas sensible à la casse, mais - les arguments des directives le sont - généralement. Les lignes blanches et les espaces - précédant une directive sont ignorés. Les - commentaires <strong>ne doivent pas</strong> être inclus - sur la même ligne qu'une directive. Les lignes - commençant par le caractère dièse "#" sont - traitées comme des commentaires et sont ignorés; - vous pouvez les utiliser pour indenter les directives et rendre - leur lecture plus facile.</p> - - <p>Vous pouvez vérifier la syntaxe de vos fichiers de - configuration en utilisant soit <code>apachectl - configtest</code> soit l'option de ligne de commande - <code>-t</code>.</p> - <hr /> - - <h2><a id="modules" name="modules">Modules</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Modules liés</strong><br /> - <br /> - <a href="mod/mod_so.html">mod_so</a><br /> - </td> - - <td valign="top"><strong>Directives - liées</strong><br /> - <br /> - <a href="mod/core.html#addmodule">AddModule</a><br /> - <a - href="mod/core.html#clearmodulelist">ClearModuleList</a><br /> - <a - href="mod/core.html#ifmodule"><IfModule></a><br /> - <a href="mod/mod_so.html#loadmodule">LoadModule</a><br /> - </td> - </tr> - </table> - - <p>Apache est un serveur modulaire. Celà implique que - seules les fonctions de base sont incluses dans le noyau du - serveur. Les fonctionnalités plus avancées sont - disponibles grâce aux <a - href="mod/index-bytype.html">modules</a> qui peuvent être - chargés dans Apache. Par défaut, un ensemble de - modules de <a href="mod/module-dict.html#Status">base</a> sont - inclus à la compilation. Si le serveur est - compilé pour utiliser les modules <a - href="dso.html">dynamiquement chargés</a>, alors les - modules peuvent être compilés - séparément et ajouté à n'importe - quel moment en utilisant la directive <a - href="mod/mod_so.html#loadmodule">LoadModule</a>. Sinon, Apache - doit être recompilé pour ajouter ou supprimer des - modules. Des directives de configuration peuvent être - incluses de manière conditionnelle en fonction de la - présence d'un module particulier en les entourant par un - bloc <a href="mod/core.html#ifmodule"><IfModule></a>.</p> - - <p>Pour savoir quels modules ont été - compilés dans le serveur, vous pouvez utiliser l'option - de ligne de commande <code>-l</code>.</p> - <hr /> - - <h2><a id="scope" name="scope">Portée des - directives</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - liées</strong><br /> - <br /> - <a - href="mod/core.html#directory"><Directory></a><br /> - <a - href="mod/core.html#directorymatch"><DirectoryMatch></a><br /> - <a href="mod/core.html#files"><Files></a><br /> - <a - href="mod/core.html#filesmatch"><FilesMatch></a><br /> - <a - href="mod/core.html#location"><Location></a><br /> - <a - href="mod/core.html#locationmatch"><LocationMatch></a><br /> - <a - href="mod/core.html#virtualhost"><VirtualHost></a><br /> - </td> - </tr> - </table> - - <p>Les directives placées dans les principaux fichiers - de configuration s'appliquent à l'ensemble du serveur. - Si vous souhaitez modifier la configuration pour une partie - seulement du serveur, vous pouvez mettre en contexte vos - directives en les plaçant dans des sections <code><a - href="mod/core.html#directory"><Directory></a>, <a - href="mod/core.html#directorymatch"><DirectoryMatch></a>, - <a href="mod/core.html#files"><Files></a>, <a - href="mod/core.html#filesmatch"><FilesMatch></a>, <a - href="mod/core.html#location"><Location></a>,</code> et - <code><a - href="mod/core.html#locationmatch"><LocationMatch></a></code> - . Ces sections limitent la portée d'application des - directives qu'elles contiennent à un emplacement des - fichiers ou à certaines URL. Elles peuvent être - imbriquées, permettant ainsi une configuration - très fine.</p> - - <p>Apache a la possibilité de servir plusieurs sites web - simultanément. Cette possibilité est - appelée <a href="vhosts/">hébergement - virtuel</a>. Des directives peuvent également être - limitées en utilisant des sections <code><a - href="mod/core.html#virtualhost"><VirtualHost></a></code> - afin qu'elles ne s'appliquent qu'à certains sites - web.</p> - - <p>Bien que la plupart des directives peuvent être - placées à l'intérieur de n'importe quelle - section, certaines directives n'ont pas de sens dans certains - contextes. Par exemple, les directives contrôlant la - création des processus ne peuvent être - placées que dans le contexte pricipal du serveur. Pour - savoir quelles directives peuvent être placées - dans quelles sections, vérifiez le <a - href="mod/directive-dict.html#Context">contexte</a> de la - directive. Pour plus d'informations, voir <a - href="sections.html">comment les sections Directory, Location - et Files fonctionnent</a>.</p> - <hr /> - - <h2><a id="htaccess" name="htaccess">Fichiers - .htaccess</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - liées</strong><br /> - <br /> - <a - href="mod/core.html#accessfilename">AccessFileName</a><br /> - <a - href="mod/core.html#allowoverride">AllowOverride</a><br /> - </td> - </tr> - </table> - - <p>Apache permet une gestion décentralisée de la - configuration par l'utilisation de fichiers spéciaux - à l'intérieur de l'arborescence web. Ces fichiers - spéciaux sont généralement appelés - <code>.htaccess</code>, mais n'importe quel nom peut être - défini par la directive <a - href="mod/core.html#accessfilename"><code>AccessFileName</code></a>. - Les directives placées dans les fichiers - <code>.htaccess</code> s'appliquent au répertoire - où se trouve le fichier ainsi qu'aux sous - répertoires. Les fichiers <code>.htaccess</code> - respectent la même syntaxe que les fichiers principaux de - configuration. Comme les fichiers <code>.htaccess</code> sont - lus à chaque requête, Les modifications - effectuées dans ces fichiers prennent effet - immédiatement.</p> - - <p>Pour savoir si une directive peut être placée - dans les fichiers <code>.htaccess</code>, vérifiez le <a - href="mod/directive-dict.html#Context">contexte</a> de la - directive. L'administrateur peut contôler quelles - directives peuvent être placées dans les fichiers - <code>.htaccess</code> en modifiant la directive <a - href="mod/core.html#allowoverride"><code>AllowOverride</code></a> - du fichier principal de configuration.</p> - <hr /> - - <h2><a id="logs" name="logs">Fichiers de trace</a></h2> - - <h3>Avertissement sur la sécurité</h3> - Toute personne pouvant écrire dans le répertoire - où Apache écrit un fichier de trace peut avoir - accès à l'uid sous lequel le serveur est - lancé, généralement root. <em>Ne donnez - pas</em> accès en écriture au répertoire - où les fichiers de trace sont stockés sans - être clairement conscient des conséquences; voir - le document <a href="misc/security_tips.html">trucs sur la - sécurité</a> pour plus de détails. - - <h3>Fichier pid</h3> - - <p>Au lancement, Apache écrit le numéro de - processus du processus père httpd dans le fichier - <code>logs/httpd.pid</code>. Le nom du fichier peut être - changé en modifiant la directive <a - href="mod/core.html#pidfile">PidFile</a>. Le numéro de - processus est utilisé par l'administrateur pour relancer - et arrêter le démon. Sur Unix, un signal HUP ou - USR1 a pour effet de faire relire par le démon les - fichiers de configuration, et un signal TERM le fait terminer - de manière douce. Sur Windows, il faut employer l'option - -k. Pour plus d'information voir la page <a - href="stopping.html">Arrêt et redémarrage</a>.</p> - - <p>Si le processus meurt (ou est tué) de manière - anormale, il peut alors être nécessaire de tuer - les processus fils.</p> - - <h3>Trace des erreurs</h3> - - <p>Le serveur trace les messages d'erreurs dans un fichier, par - défaut <code>logs/error_log</code> sur Unix ou - <code>logs/error.log</code> sur Windows and OS/2. Le nom du - fichier peut être défini en utilisant la directive - <a href="mod/core.html#errorlog">ErrorLog</a> D'autres traces - peuvent être définies pour différents <a - href="mod/core.html#virtualhost">hôtes virtuels</a>.</p> - - <h3>Trace des requêtes</h3> - - <p>Le serveur trace généralement chaque - requête dans un fichier de transfert, par défaut - <code>logs/access_log</code> sur Unix ou - <code>logs/access.log</code> sur Windows and OS/2. Le nom du - fichier peut être défini en utilisant la directive - <a href="mod/mod_log_config.html#customlog">CustomLog</a>. - D'autres traces peuvent être définies pour - différents <a - href="mod/core.html#virtualhost">hôtes virtuels</a>. - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/configuring.html.ja.jis b/usr.sbin/httpd/htdocs/manual/configuring.html.ja.jis deleted file mode 100644 index dda8360949f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/configuring.html.ja.jis +++ /dev/null @@ -1,261 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - - <title>$B@_Dj%U%!%$%k(B</title> - </head> - <!-- English revision: 1.11 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">$B@_Dj%U%!%$%k(B</h1> - - <ul> - <li><a href="#main">$B%a%$%s$N@_Dj%U%!%$%k(B</a></li> - - <li><a href="#syntax">$B@_Dj%U%!%$%k$N9=J8(B</a></li> - - <li><a href="#modules">$B%b%8%e!<%k(B</a></li> - - <li><a href="#scope">$B%G%#%l%/%F%#%V$NE,MQHO0O(B</a></li> - - <li><a href="#htaccess">.htaccess $B%U%!%$%k(B</a></li> - - </ul> - <hr /> - - <h2><a id="main" name="main">$B%a%$%s$N@_Dj%U%!%$%k(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="mod/mod_mime.html">mod_mime</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#accessconfig">AccessConfig</a><br /> - <a - href="mod/core.html#ifdefine"><IfDefine></a><br /> - <a href="mod/core.html#include">Include</a><br /> - <a - href="mod/core.html#resourceconfig">ResourceConfig</a><br /> - <a - href="mod/mod_mime.html#typesconfig">TypesConfig</a><br /> - </td> - </tr> - </table> - - <p>Apache $B$O(B <a href="mod/directives.html" - >$B%G%#%l%/%F%#%V(B</a> $B$r@_Dj%U%!%$%k$KJ?J8$G=q$/$3$H$K$h$j@_Dj$7$^$9!#(B - $B%a%$%s$N@_Dj%U%!%$%k$OIaDL$O(B <code>httpd.conf</code> $B$H$$$&L>A0$G$9!#(B - $B$3$N%U%!%$%k$N0LCV$O%3%s%Q%$%k;~$K@_Dj$5$l$^$9$,!"%3%^%s%I%i%$%s$N(B - <code>-f</code> $B%U%i%0$K$h$j>e=q$-$G$-$^$9!#%5%$%H$K$h$C$F$O(B <a - href="http://httpd.apache.org/info/three-config-files.html" - >$BNr;KE*M}M3(B</a> $B$K$h$j(B <code>srm.conf</code> $B$H(B <code>access.conf</code> - $B$,$"$k>l9g$b$"$j$^$9!#$=$N>e!"B>$N@_Dj%U%!%$%k$,(B <code><a - href="mod/core.html#include">Include</a></code> - $B%G%#%l%/%F%#%V$K$h$C$FDI2C$5$l$F$$$k$+$b$7$l$^$;$s!#(B - $B$I$N%G%#%l%/%F%#%V$b$3$l$i$N@_Dj%U%!%$%k$N$I$l$K$G$bF~$l$i$l$^$9!#(B - Apache $B$O5/F0;~$+:F5/F0;~$N$_%a%$%s@_Dj%U%!%$%k$NJQ99$rG'<1$7$^$9!#(B</p> - - - - <p>Apache 1.3.13 $B$N?7$7$$5!G=$H$7$F!"@_Dj%U%!%$%k$,<B:]$O%G%#%l%/%H%j$G(B - $B$"$k$H$-$K$O$=$N%G%#%l%/%H%j$G8+$D$+$C$?$9$Y$F$N%U%!%$%k(B($B$H%5%V%G%#%l%/%H%j(B) - $B$r2r@O$9$k$H$$$&$b$N$,$"$j$^$9!#MxMQK!$H$7$F$O!"(B - $B%P!<%A%c%k%[%9%H$rDI2C$9$k$H$-$K!"$=$l$>$l$N%[%9%H$KBP$7$F>.$5$J@_Dj(B - $B%U%!%$%k$r:n$j!"@_Dj%G%#%l%/%H%j$KCV$/$H$$$&$b$N$,5s$2$i$l$^$9!#(B - $B$3$&$9$k$H!"C1$K%U%!%$%k$NDI2C!":o=|$r$9$k$3$H$K$h$jA4$/%U%!%$%k$r(B - $BJT=8$9$k$3$H$J$/%P!<%A%c%k%[%9%H$NDI2C!":o=|$,$G$-$^$9!#(B - $B$3$l$O<+F02=$r$:$C$H4JC1$K$7$^$9!#(B - </p> - - <p>$B%5!<%P$O(B mime $B%I%-%e%a%s%H%?%$%W$r4^$s$G$$$k%U%!%$%k$bFI$_9~$_$^$9!#(B - $B%U%!%$%kL>$O(B <a href="mod/mod_mime.html#typesconfig">TypesConfig</a> - $B$G@_Dj$5$l!"%G%U%)%k%H$G(B <code>mime.types</code>$B$K$J$C$F$$$^$9!#(B</p> - - <hr /> - - <h2><a id="syntax" name="syntax">$B@_Dj%U%!%$%k$N9=J8(B</a></h2> - - - <p>Apache $B$N@_Dj%U%!%$%k$O(B 1 $B9T$K(B 1 $B$D$N%G%#%l%/%F%#%V$+$i$J$j$^$9!#(B - $B%P%C%/%9%i%C%7%e(B "\" $B$O%G%#%l%/%F%#%V$,<!$N9T$K7QB3$7$F$$$k$3$H$r(B - $B<($9$?$a$K9T$N:G8e$NJ8;z$H$7$F;H$o$l$F$$$k$+$b$7$l$^$;$s!#(B - $B9T$N:G8e$H%P%C%/%9%i%C%7%e$N4V$KB>$NJ8;z$d6uGr$,$"$C$F$O$$$1$^$;$s!#(B - </p> - - <p>$B@_Dj%U%!%$%k$N%G%#%l%/%F%#%V$OBgJ8;z>.J8;z$r6hJL$7$^$;$s$,!"(B - $B0z?t$K$O$7$P$7$P6hJL$9$k$b$N$,$"$j$^$9!#%O%C%7%eJ8;z(B "#" - $B$G;O$^$k9T$O%3%a%s%H$H8+$J$5$l$FL5;k$5$l$^$9!#(B - $B@_Dj%G%#%l%/%F%#%V$N8e$N9T$G$O%3%a%s%H$,4^$^$l$F$$$F$O(B<strong - >$B$$$1$^$;$s(B</strong>$B!#%G%#%l%/%F%#%V$NA0$N6u9T$H6uGr$OL5;k$5$l$^$9$N$G!"(B - $B$o$+$j$d$9$/$9$k$?$a$K%G%#%l%/%F%#%V$r%$%s%G%s%H$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B@_Dj%U%!%$%k$N9=J8%(%i!<$O(B <code>apachectl configtest</code - > $B$+%3%^%s%I%i%$%s%*%W%7%g%s(B <code>-t</code> $B$r;H$C$FD4$Y$i$l$^$9!#(B - </p> - - <hr /> - - <h2><a id="modules" name="modules">$B%b%8%e!<%k(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="mod/mod_so.html">mod_so</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="mod/core.html#addmodule">AddModule</a><br /> - <a - href="mod/core.html#clearmodulelist">ClearModuleList</a><br /> - <a - href="mod/core.html#ifmodule"><IfModule></a><br /> - <a href="mod/mod_so.html#loadmodule">LoadModule</a><br /> - </td> - </tr> - </table> - - <p>Apache $B$O%b%8%e!<%k2=$5$l$?%5!<%P$G$9!#(B - $B%3%"%5!<%P$K$O:G$b4pK\E*$J5!G=$@$1$,4^$^$l$F$$$^$9!#3HD%5!G=$O(B - Apache $B$K%m!<%I$5$l$k(B<a href="mod/index-bytype.html">$B%b%8%e!<%k(B</a - >$B$H$7$FMxMQ2DG=$G$9!#%G%U%)%k%H$G$O%3%s%Q%$%k;~$K%b%8%e!<%k$N(B<a - href="mod/module-dict.html#status">$B4pK\(B</a>$B%;%C%H$,(B - $B%5!<%P$K4^$^$l$^$9!#%5!<%P$,(B<a href="dso.html">$BF0E*%m!<%I(B</a - >$B%b%8%e!<%k$r;H$&$h$&$K%3%s%Q%$%k$5$l$F$$$k>l9g$O!"(B - $B%b%8%e!<%k$rJL$K%3%s%Q%$%k$7$F!"$$$D$G$b(B <a href="mod/mod_so.html#loadmodule" - >LoadModule</a> $B%G%#%l%/%F%#%V$r;H$C$FDI2C$G$-$^$9!#(B - $B$=$&$G$J$$>l9g$O!"%b%8%e!<%k$NDI2C$d:o=|$r$9$k$?$a$K$O(B Apache - $B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#@_Dj%G%#%l%/%F%#%V$O(B <a - href="mod/core.html#ifmodule"><IfModule></a> - $B%V%m%C%/$KF~$l$k$3$H$GFCDj$N%b%8%e!<%k$,B8:_$9$k$H$-$@$1(B - $B@_Dj%U%!%$%k$K4^$^$l$k$h$&$K$9$k$3$H$,$G$-$^$9!#(B</p> - - - <p>$B%3%^%s%I%i%$%s%*%W%7%g%s(B <code>-l</code> $B$r;H$C$F8=;~E@$G(B - $B$I$N%b%8%e!<%k$,%5!<%P$K%3%s%Q%$%k$5$l$F$$$k$+$rCN$k$3$H$,$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="scope" name="scope">$B%G%#%l%/%F%#%V$NE,MQHO0O(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#directory"><Directory></a><br /> - <a - href="mod/core.html#directorymatch"><DirectoryMatch></a><br /> - <a href="mod/core.html#files"><Files></a><br /> - <a - href="mod/core.html#filesmatch"><FilesMatch></a><br /> - <a - href="mod/core.html#location"><Location></a><br /> - <a - href="mod/core.html#locationmatch"><LocationMatch></a><br /> - <a - href="mod/core.html#virtualhost"><VirtualHost></a><br /> - </td> - </tr> - </table> - - <p>$B%a%$%s@_Dj%U%!%$%k$K$"$k%G%#%l%/%F%#%V$O%5!<%PA4BN$KE,MQ$5$l$^$9!#(B - $B%5!<%P$N0lItJ,$N@_Dj$@$1$rJQ99$7$?$$>l9g$O(B <code><a - href="mod/core.html#directory"><Directory></a>,<a - href="mod/core.html#directorymatch"><DirectoryMatch></a>,<a - href="mod/core.html#files"><Files></a>,<a - href="mod/core.html#filesmatch"><FilesMatch></a>,<a - href="mod/core.html#location"><Location></a>,<a - href="mod/core.html#locationmatch"><LocationMatch></a> - </code> - $B%;%/%7%g%s$NCf$KCV$/$3$H$GE,MQHO0O$r7h$a$i$l$^$9!#(B - $B$3$l$i$N%;%/%7%g%s$O$=$NCf$K$"$k%G%#%l%/%F%#%V$NE,MQHO0O$r(B - $BFCDj$N%U%!%$%k%7%9%F%`$N0LCV$d(B URL $B$K8BDj$7$^$9!#(B - $BHs>o$K:YN3EY$N@_Dj$r2DG=$K$9$k$?$a$K!"(B - $B%;%/%7%g%s$rF~$l;R$K$9$k$3$H$b$G$-$^$9!#(B - </p> - - <p>Apache $B$OF1;~$KB?$/$N0c$&%&%'%V%5%$%H$r07$&G=NO$,$"$j$^$9!#(B - $B$3$l$O(B <a href="vhosts/">$B%P!<%A%c%k%[%9%H(B</a> $B$H8F$P$l$F$$$^$9!#(B - $BFCDj$N%&%'%V%5%$%H$K$N$_E,MQ$5$l$k$h$&$K$9$k$?$a$K!"(B - $B%G%#%l%/%F%#%V$O(B <code><a href="mod/core.html#virtualhost" - ><VirtualHost></a></code> - $B%;%/%7%g%s$NCf$KCV$/$3$H$G$bE,MQHO0O$rJQ$($k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B$[$H$s$I$N%G%#%l%/%F%#%V$O$I$N%;%/%7%g%s$K$G$b=q$1$^$9$,!"(B - $BCf$K$O%3%s%F%-%9%H$K$h$C$F$O0UL#$r$J$5$J$$$b$N$b$"$j$^$9!#(B - $BNc$($P!"%W%m%;%9$N:n@.$r@)8f$7$F$$$k%G%#%l%/%F%#%V$O%a%$%s%5!<%P$N(B - $B%3%s%F%-%9%H$K$N$_=q$/$3$H$,$G$-$^$9!#(B - $B$I$N%G%#%l%/%F%#%V$r$I$N%;%/%7%g%s$K=q$/$3$H$,$G$-$k$+$rCN$k$?$a$K$O(B - $B%G%#%l%/%F%#%V$N(B <a href="mod/directive-dict.html#context" - >$B%3%s%F%-%9%H(B</a> $B$rD4$Y$F$/$@$5$$!#>\$7$$>pJs$O!"(B<a href="sections.html" - >Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a>$B$K$"$j$^$9!#(B - </p> - <hr /> - - <h2><a id="htaccess" name="htaccess">.htaccess $B%U%!%$%k(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#accessfilename">AccessFileName</a><br /> - <a - href="mod/core.html#allowoverride">AllowOverride</a><br /> - </td> - </tr> - </table> - - <p>Apache $B$G$O%&%'%V%D%j!<$NCf$KCV$+$l$?FCJL$J%U%!%$%k$r;H$C$F(B - $BHsCf1{=88"E*$J@_Dj4IM}$r$G$-$^$9!#(B - $B$=$NFCJL$J%U%!%$%k$OIaDL$O(B <code>.htaccess</code> $B$H$$$&L>A0$G!"(B - <a href="mod/core.html#accessfilename"><code>AccessFileName</code></a> - $B%G%#%l%/%F%#%V$G$I$s$JL>A0$G$b;XDj$G$-$^$9!#(B - <code>.htaccess</code> $B%U%!%$%k$K=q$+$l$?%G%#%l%/%F%#%V$O%U%!%$%k$r(B - $BCV$$$?%G%#%l%/%H%j$H$=$NA4$F$N%5%V%G%#%l%/%H%j$KE,MQ$5$l$^$9!#(B - <code>.htaccess</code> $B%U%!%$%k$O$9$Y$F$N%j%/%(%9%H$GFI$_9~$^$l$k$?$a!"(B - $BJQ99$O$9$0$KH?1G$5$l$^$9!#(B - </p> - - - <p>$B$I$N%G%#%l%/%F%#%V$,(B <code>.htaccess</code> - $B%U%!%$%k$K=q$1$k$+$rD4$Y$k$K$O!"%G%#%l%/%F%#%V$N(B<a - href="mod/directive-dict.html#context">$B%3%s%F%-%9%H(B</a> $B$rD4$Y$F$/$@$5$$!#(B - $B%5!<%P4IM}<T$O$5$i$K%a%$%s@_Dj%U%!%$%k$N(B <a - href="mod/core.html#allowoverride"><code>AllowOverride</code></a> - $B$r@_Dj$9$k$3$H$G$I$N%G%#%l%/%F%#%V$r(B <code>.htaccess</code> - $B%U%!%$%k$K=q$1$k$h$&$K$9$k$+$r@)8f$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p><code>.htaccess</code> $B%U%!%$%k$K4X$9$k>\$7$$>pJs$O(B - <a href="http://apache-server.com/tutorials/ATusing-htaccess.html" - >Using .htaccess Files with Apache</a> $B$N(B Ken Coar's tutorial - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/content-negotiation.html.en b/usr.sbin/httpd/htdocs/manual/content-negotiation.html.en deleted file mode 100644 index fdb271b7565..00000000000 --- a/usr.sbin/httpd/htdocs/manual/content-negotiation.html.en +++ /dev/null @@ -1,674 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache Content Negotiation</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Content Negotiation</h1> - - <p>Apache's support for content negotiation has been updated to - meet the HTTP/1.1 specification. It can choose the best - representation of a resource based on the browser-supplied - preferences for media type, languages, character set and - encoding. It is also implements a couple of features to give - more intelligent handling of requests from browsers which send - incomplete negotiation information.</p> - - <p>Content negotiation is provided by the <a - href="mod/mod_negotiation.html">mod_negotiation</a> module, - which is compiled in by default.</p> - <hr /> - - <h2>About Content Negotiation</h2> - - <p>A resource may be available in several different - representations. For example, it might be available in - different languages or different media types, or a combination. - One way of selecting the most appropriate choice is to give the - user an index page, and let them select. However it is often - possible for the server to choose automatically. This works - because browsers can send as part of each request information - about what representations they prefer. For example, a browser - could indicate that it would like to see information in French, - if possible, else English will do. Browsers indicate their - preferences by headers in the request. To request only French - representations, the browser would send</p> -<pre> - Accept-Language: fr -</pre> - - <p>Note that this preference will only be applied when there is - a choice of representations and they vary by language.</p> - - <p>As an example of a more complex request, this browser has - been configured to accept French and English, but prefer - French, and to accept various media types, preferring HTML over - plain text or other text types, and preferring GIF or JPEG over - other media types, but also allowing any other media type as a - last resort:</p> -<pre> - Accept-Language: fr; q=1.0, en; q=0.5 - Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, - image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1 -</pre> - Apache 1.2 supports 'server driven' content negotiation, as - defined in the HTTP/1.1 specification. It fully supports the - Accept, Accept-Language, Accept-Charset and Accept-Encoding - request headers. Apache 1.3.4 also supports 'transparent' - content negotiation, which is an experimental negotiation - protocol defined in RFC 2295 and RFC 2296. It does not offer - support for 'feature negotiation' as defined in these RFCs. - - <p>A <strong>resource</strong> is a conceptual entity - identified by a URI (RFC 2396). An HTTP server like Apache - provides access to <strong>representations</strong> of the - resource(s) within its namespace, with each representation in - the form of a sequence of bytes with a defined media type, - character set, encoding, etc. Each resource may be associated - with zero, one, or more than one representation at any given - time. If multiple representations are available, the resource - is referred to as <strong>negotiable</strong> and each of its - representations is termed a <strong>variant</strong>. The ways - in which the variants for a negotiable resource vary are called - the <strong>dimensions</strong> of negotiation.</p> - - <h2>Negotiation in Apache</h2> - - <p>In order to negotiate a resource, the server needs to be - given information about each of the variants. This is done in - one of two ways:</p> - - <ul> - <li>Using a type map (<em>i.e.</em>, a <code>*.var</code> - file) which names the files containing the variants - explicitly, or</li> - - <li>Using a 'MultiViews' search, where the server does an - implicit filename pattern match and chooses from among the - results.</li> - </ul> - - <h3>Using a type-map file</h3> - - <p>A type map is a document which is associated with the - handler named <code>type-map</code> (or, for - backwards-compatibility with older Apache configurations, the - mime type <code>application/x-type-map</code>). Note that to - use this feature, you must have a handler set in the - configuration that defines a file suffix as - <code>type-map</code>; this is best done with a</p> -<pre> - AddHandler type-map .var -</pre> - in the server configuration file. See the comments in the - sample config file for more details. - - <p>Type map files have an entry for each available variant; - these entries consist of contiguous HTTP-format header lines. - Entries for different variants are separated by blank lines. - Blank lines are illegal within an entry. It is conventional to - begin a map file with an entry for the combined entity as a - whole (although this is not required, and if present will be - ignored). An example map file is:</p> -<pre> - URI: foo - - URI: foo.en.html - Content-type: text/html - Content-language: en - - URI: foo.fr.de.html - Content-type: text/html;charset=iso-8859-2 - Content-language: fr, de -</pre> - If the variants have different source qualities, that may be - indicated by the "qs" parameter to the media type, as in this - picture (available as jpeg, gif, or ASCII-art): -<pre> - URI: foo - - URI: foo.jpeg - Content-type: image/jpeg; qs=0.8 - - URI: foo.gif - Content-type: image/gif; qs=0.5 - - URI: foo.txt - Content-type: text/plain; qs=0.01 -</pre> - - <p>qs values can vary in the range 0.000 to 1.000. Note that - any variant with a qs value of 0.000 will never be chosen. - Variants with no 'qs' parameter value are given a qs factor of - 1.0. The qs parameter indicates the relative 'quality' of this - variant compared to the other available variants, independent - of the client's capabilities. For example, a jpeg file is - usually of higher source quality than an ascii file if it is - attempting to represent a photograph. However, if the resource - being represented is an original ascii art, then an ascii - representation would have a higher source quality than a jpeg - representation. A qs value is therefore specific to a given - variant depending on the nature of the resource it - represents.</p> - - <p>The full list of headers recognized is:</p> - - <dl> - <dt><code>URI:</code></dt> - - <dd>uri of the file containing the variant (of the given - media type, encoded with the given content encoding). These - are interpreted as URLs relative to the map file; they must - be on the same server (!), and they must refer to files to - which the client would be granted access if they were to be - requested directly.</dd> - - <dt><code>Content-Type:</code></dt> - - <dd>media type --- charset, level and "qs" parameters may be - given. These are often referred to as MIME types; typical - media types are <code>image/gif</code>, - <code>text/plain</code>, or - <code>text/html; level=3</code>.</dd> - - <dt><code>Content-Language:</code></dt> - - <dd>The languages of the variant, specified as an Internet - standard language tag from RFC 1766 (<em>e.g.</em>, - <code>en</code> for English, <code>kr</code> for Korean, - <em>etc.</em>).</dd> - - <dt><code>Content-Encoding:</code></dt> - - <dd>If the file is compressed, or otherwise encoded, rather - than containing the actual raw data, this says how that was - done. Apache only recognizes encodings that are defined by an - <a href="mod/mod_mime.html#addencoding">AddEncoding</a> - directive. This normally includes the encodings - <code>x-compress</code> for compress'd files, and - <code>x-gzip</code> for gzip'd files. The <code>x-</code> - prefix is ignored for encoding comparisons.</dd> - - <dt><code>Content-Length:</code></dt> - - <dd>The size of the file. Specifying content lengths in the - type-map allows the server to compare file sizes without - checking the actual files.</dd> - - <dt><code>Description:</code></dt> - - <dd>A human-readable textual description of the variant. If - Apache cannot find any appropriate variant to return, it will - return an error response which lists all available variants - instead. Such a variant list will include the human-readable - variant descriptions.</dd> - </dl> - - <h3>Multiviews</h3> - - <p><code>MultiViews</code> is a per-directory option, meaning - it can be set with an <code>Options</code> directive within a - <code><Directory></code>, <code><Location></code> - or <code><Files></code> section in - <code>access.conf</code>, or (if <code>AllowOverride</code> is - properly set) in <code>.htaccess</code> files. Note that - <code>Options All</code> does not set <code>MultiViews</code>; - you have to ask for it by name.</p> - - <p>The effect of <code>MultiViews</code> is as follows: if the - server receives a request for <code>/some/dir/foo</code>, if - <code>/some/dir</code> has <code>MultiViews</code> enabled, and - <code>/some/dir/foo</code> does <em>not</em> exist, then the - server reads the directory looking for files named foo.*, and - effectively fakes up a type map which names all those files, - assigning them the same media types and content-encodings it - would have if the client had asked for one of them by name. It - then chooses the best match to the client's requirements.</p> - - <p><code>MultiViews</code> may also apply to searches for the - file named by the <code>DirectoryIndex</code> directive, if the - server is trying to index a directory. If the configuration - files specify</p> -<pre> - DirectoryIndex index -</pre> - then the server will arbitrate between <code>index.html</code> - and <code>index.html3</code> if both are present. If neither - are present, and <code>index.cgi</code> is there, the server - will run it. - - <p>If one of the files found when reading the directive is a - CGI script, it's not obvious what should happen. The code gives - that case special treatment --- if the request was a POST, or a - GET with QUERY_ARGS or PATH_INFO, the script is given an - extremely high quality rating, and generally invoked; otherwise - it is given an extremely low quality rating, which generally - causes one of the other views (if any) to be retrieved.</p> - - <h2>The Negotiation Methods</h2> - After Apache has obtained a list of the variants for a given - resource, either from a type-map file or from the filenames in - the directory, it invokes one of two methods to decide on the - 'best' variant to return, if any. It is not necessary to know - any of the details of how negotiation actually takes place in - order to use Apache's content negotiation features. However the - rest of this document explains the methods used for those - interested. - - <p>There are two negotiation methods:</p> - - <ol> - <li><strong>Server driven negotiation with the Apache - algorithm</strong> is used in the normal case. The Apache - algorithm is explained in more detail below. When this - algorithm is used, Apache can sometimes 'fiddle' the quality - factor of a particular dimension to achieve a better result. - The ways Apache can fiddle quality factors is explained in - more detail below.</li> - - <li><strong>Transparent content negotiation</strong> is used - when the browser specifically requests this through the - mechanism defined in RFC 2295. This negotiation method gives - the browser full control over deciding on the 'best' variant, - the result is therefore dependent on the specific algorithms - used by the browser. As part of the transparent negotiation - process, the browser can ask Apache to run the 'remote - variant selection algorithm' defined in RFC 2296.</li> - </ol> - - <h3>Dimensions of Negotiation</h3> - - <table> - <tr valign="top"> - <th>Dimension</th> - - <th>Notes</th> - </tr> - - <tr valign="top"> - <td>Media Type</td> - - <td>Browser indicates preferences with the Accept header - field. Each item can have an associated quality factor. - Variant description can also have a quality factor (the - "qs" parameter).</td> - </tr> - - <tr valign="top"> - <td>Language</td> - - <td>Browser indicates preferences with the Accept-Language - header field. Each item can have a quality factor. Variants - can be associated with none, one or more than one - language.</td> - </tr> - - <tr valign="top"> - <td>Encoding</td> - - <td>Browser indicates preference with the Accept-Encoding - header field. Each item can have a quality factor.</td> - </tr> - - <tr valign="top"> - <td>Charset</td> - - <td>Browser indicates preference with the Accept-Charset - header field. Each item can have a quality factor. Variants - can indicate a charset as a parameter of the media - type.</td> - </tr> - </table> - - <h3>Apache Negotiation Algorithm</h3> - - <p>Apache can use the following algorithm to select the 'best' - variant (if any) to return to the browser. This algorithm is - not further configurable. It operates as follows:</p> - - <ol> - <li>First, for each dimension of the negotiation, check the - appropriate <em>Accept*</em> header field and assign a - quality to each variant. If the <em>Accept*</em> header for - any dimension implies that this variant is not acceptable, - eliminate it. If no variants remain, go to step 4.</li> - - <li> - Select the 'best' variant by a process of elimination. Each - of the following tests is applied in order. Any variants - not selected at each test are eliminated. After each test, - if only one variant remains, select it as the best match - and proceed to step 3. If more than one variant remains, - move on to the next test. - - <ol> - <li>Multiply the quality factor from the Accept header - with the quality-of-source factor for this variant's - media type, and select the variants with the highest - value.</li> - - <li>Select the variants with the highest language quality - factor.</li> - - <li>Select the variants with the best language match, - using either the order of languages in the - Accept-Language header (if present), or else the order of - languages in the <code>LanguagePriority</code> directive - (if present).</li> - - <li>Select the variants with the highest 'level' media - parameter (used to give the version of text/html media - types).</li> - - <li>Select variants with the best charset media - parameters, as given on the Accept-Charset header line. - Charset ISO-8859-1 is acceptable unless explicitly - excluded. Variants with a <code>text/*</code> media type - but not explicitly associated with a particular charset - are assumed to be in ISO-8859-1.</li> - - <li>Select those variants which have associated charset - media parameters that are <em>not</em> ISO-8859-1. If - there are no such variants, select all variants - instead.</li> - - <li>Select the variants with the best encoding. If there - are variants with an encoding that is acceptable to the - user-agent, select only these variants. Otherwise if - there is a mix of encoded and non-encoded variants, - select only the unencoded variants. If either all - variants are encoded or all variants are not encoded, - select all variants.</li> - - <li>Select the variants with the smallest content - length.</li> - - <li>Select the first variant of those remaining. This - will be either the first listed in the type-map file, or - when variants are read from the directory, the one whose - file name comes first when sorted using ASCII code - order.</li> - </ol> - </li> - - <li>The algorithm has now selected one 'best' variant, so - return it as the response. The HTTP response header Vary is - set to indicate the dimensions of negotiation (browsers and - caches can use this information when caching the resource). - End.</li> - - <li><p>To get here means no variant was selected (because none - are acceptable to the browser). Return a 406 status (meaning - "No acceptable representation") with a response body - consisting of an HTML document listing the available - variants. Also set the HTTP Vary header to indicate the - dimensions of variance.</p> - - <p>You should be aware that the error message returned by Apache is - necessarily rather terse and might confuse some users (even though it - lists the available alternatives). If you want to avoid users seeing this - error page, you should organize your documents such that a document in a - default language (or with a default encoding etc.) is always returned if a - document is not available in any of the languages, encodings etc. the - browser asked for.</p> - - <p>In particular, if you want a document in a default language to - be returned if a document is not available in any of the languages - a browser asked for, you should create a document with no language - attribute set. See <a href="#nolanguage">Variants with no - Language</a> below for details.</p></li> - </ol> - - <h2><a id="better" name="better">Fiddling with Quality - Values</a></h2> - - <p>Apache sometimes changes the quality values from what would - be expected by a strict interpretation of the Apache - negotiation algorithm above. This is to get a better result - from the algorithm for browsers which do not send full or - accurate information. Some of the most popular browsers send - Accept header information which would otherwise result in the - selection of the wrong variant in many cases. If a browser - sends full and correct information these fiddles will not be - applied.</p> - - <h3>Media Types and Wildcards</h3> - - <p>The Accept: request header indicates preferences for media - types. It can also include 'wildcard' media types, such as - "image/*" or "*/*" where the * matches any string. So a request - including:</p> -<pre> - Accept: image/*, */* -</pre> - would indicate that any type starting "image/" is acceptable, - as is any other type (so the first "image/*" is redundant). - Some browsers routinely send wildcards in addition to explicit - types they can handle. For example: -<pre> - Accept: text/html, text/plain, image/gif, image/jpeg, */* -</pre> - The intention of this is to indicate that the explicitly listed - types are preferred, but if a different representation is - available, that is ok too. However under the basic algorithm, - as given above, the */* wildcard has exactly equal preference - to all the other types, so they are not being preferred. The - browser should really have sent a request with a lower quality - (preference) value for *.*, such as: -<pre> - Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01 -</pre> - The explicit types have no quality factor, so they default to a - preference of 1.0 (the highest). The wildcard */* is given a - low preference of 0.01, so other types will only be returned if - no variant matches an explicitly listed type. - - <p>If the Accept: header contains <em>no</em> q factors at all, - Apache sets the q value of "*/*", if present, to 0.01 to - emulate the desired behaviour. It also sets the q value of - wildcards of the format "type/*" to 0.02 (so these are - preferred over matches against "*/*". If any media type on the - Accept: header contains a q factor, these special values are - <em>not</em> applied, so requests from browsers which send the - correct information to start with work as expected.</p> - - <h3><a id="nolanguage" name="nolanguage">Variants with no Language</a></h3> - - <p>If some of the variants for a particular resource have a - language attribute, and some do not, those variants with no - language are given a very low language quality factor of - 0.001.</p> - - <p>The reason for setting this language quality factor for variant - with no language to a very low value is to allow for a default - variant which can be supplied if none of the other variants match - the browser's language preferences. This allows you to avoid users - seeing a "406" error page if their browser is set to only accept - languages which you do not offer for the resource that was - requested.</p> - - <p>For example, consider the situation with Multiviews enabled and - three variants:</p> - - <ul> - <li>foo.en.html, language en</li> - - <li>foo.fr.html, language en</li> - - <li>foo.html, no language</li> - </ul> - - <p>The meaning of a variant with no language is that it is always - acceptable to the browser. If the request is for <code>foo</code> - and the Accept-Language header includes either en or fr (or both) - one of foo.en.html or foo.fr.html will be returned. If the browser - does not list either en or fr as acceptable, foo.html will be - returned instead. If the client requests <code>foo.html</code> - instead, then no negotiation will occur since the exact match - will be returned. To avoid this problem, it is sometimes helpful - to name the "no language" variant <code>foo.html.html</code> to assure - that Multiviews and language negotiation will come into play.</p> - - <h2>Extensions to Transparent Content Negotiation</h2> - Apache extends the transparent content negotiation protocol - (RFC 2295) as follows. A new <code>{encoding ..}</code> element - is used in variant lists to label variants which are available - with a specific content-encoding only. The implementation of - the RVSA/1.0 algorithm (RFC 2296) is extended to recognize - encoded variants in the list, and to use them as candidate - variants whenever their encodings are acceptable according to - the Accept-Encoding request header. The RVSA/1.0 implementation - does not round computed quality factors to 5 decimal places - before choosing the best variant. - - <h2>Note on hyperlinks and naming conventions</h2> - - <p>If you are using language negotiation you can choose between - different naming conventions, because files can have more than - one extension, and the order of the extensions is normally - irrelevant (see <a href="mod/mod_mime.html">mod_mime</a> - documentation for details).</p> - - <p>A typical file has a MIME-type extension (<em>e.g.</em>, - <samp>html</samp>), maybe an encoding extension (<em>e.g.</em>, - <samp>gz</samp>), and of course a language extension - (<em>e.g.</em>, <samp>en</samp>) when we have different - language variants of this file.</p> - - <p>Examples:</p> - - <ul> - <li>foo.en.html</li> - - <li>foo.html.en</li> - - <li>foo.en.html.gz</li> - </ul> - - <p>Here some more examples of filenames together with valid and - invalid hyperlinks:</p> - - <table border="1" cellpadding="8" cellspacing="0"> - <tr> - <th>Filename</th> - - <th>Valid hyperlink</th> - - <th>Invalid hyperlink</th> - </tr> - - <tr> - <td><em>foo.html.en</em></td> - - <td>foo<br /> - foo.html</td> - - <td>-</td> - </tr> - - <tr> - <td><em>foo.en.html</em></td> - - <td>foo</td> - - <td>foo.html</td> - </tr> - - <tr> - <td><em>foo.html.en.gz</em></td> - - <td>foo<br /> - foo.html</td> - - <td>foo.gz<br /> - foo.html.gz</td> - </tr> - - <tr> - <td><em>foo.en.html.gz</em></td> - - <td>foo</td> - - <td>foo.html<br /> - foo.html.gz<br /> - foo.gz</td> - </tr> - - <tr> - <td><em>foo.gz.html.en</em></td> - - <td>foo<br /> - foo.gz<br /> - foo.gz.html</td> - - <td>foo.html</td> - </tr> - - <tr> - <td><em>foo.html.gz.en</em></td> - - <td>foo<br /> - foo.html<br /> - foo.html.gz</td> - - <td>foo.gz</td> - </tr> - </table> - - <p>Looking at the table above you will notice that it is always - possible to use the name without any extensions in a hyperlink - (<em>e.g.</em>, <samp>foo</samp>). The advantage is that you - can hide the actual type of a document rsp. file and can change - it later, <em>e.g.</em>, from <samp>html</samp> to - <samp>shtml</samp> or <samp>cgi</samp> without changing any - hyperlink references.</p> - - <p>If you want to continue to use a MIME-type in your - hyperlinks (<em>e.g.</em> <samp>foo.html</samp>) the language - extension (including an encoding extension if there is one) - must be on the right hand side of the MIME-type extension - (<em>e.g.</em>, <samp>foo.html.en</samp>).</p> - - <h2>Note on Caching</h2> - - <p>When a cache stores a representation, it associates it with - the request URL. The next time that URL is requested, the cache - can use the stored representation. But, if the resource is - negotiable at the server, this might result in only the first - requested variant being cached and subsequent cache hits might - return the wrong response. To prevent this, Apache normally - marks all responses that are returned after content negotiation - as non-cacheable by HTTP/1.0 clients. Apache also supports the - HTTP/1.1 protocol features to allow caching of negotiated - responses.</p> - - <p>For requests which come from a HTTP/1.0 compliant client - (either a browser or a cache), the directive - <tt>CacheNegotiatedDocs</tt> can be used to allow caching of - responses which were subject to negotiation. This directive can - be given in the server config or virtual host, and takes no - arguments. It has no effect on requests from HTTP/1.1 clients. - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/content-negotiation.html.ja.jis b/usr.sbin/httpd/htdocs/manual/content-negotiation.html.ja.jis deleted file mode 100644 index 481b1f379f8..00000000000 --- a/usr.sbin/httpd/htdocs/manual/content-negotiation.html.ja.jis +++ /dev/null @@ -1,670 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Content Negotiation</title> - </head> - <!-- English revision: 1.29 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - <h1 align="center">$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</h1> - - <p>Apache $B$N%3%s%F%s%H%M%4%7%(!<%7%g%s$N%5%]!<%H$O(B HTTP/1.1 - $B$N5,3J$K9g$&$h$&$K(B - $B99?7$5$l$^$7$?!#$=$l$K$h$j!"%V%i%&%6$K$h$jDs6!$5$l$?%a%G%#%"%?%$%W!"(B - $B8@8l!"%-%c%i%/%?%;%C%H$H!"%(%s%3!<%G%#%s%0$NM%@h=g0L$rMQ$$$F%j%=!<%9$N(B - $B0lHVNI$$I=8=J}K!$rA*Br$G$-$^$9!#$^$?!"IT40A4$J%M%4%7%(!<%7%g%sMQ$N>pJs$r(B - $BAw$C$F$/$k%V%i%&%6$+$i$N%j%/%(%9%H$r$h$jM%2m$K07$&$?$a$N5!G=$r(B - $B$$$/$D$+<BAu$7$F$$$^$9!#(B</p> - - <p>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$O(B <a - href="mod/mod_negotiation.html">mod_negotiation</a> - $B%b%8%e!<%k$K$h$j(B - $BDs6!$5$l$F$$$F!"%G%U%)%k%H$GAH$_9~$^$l$F$$$^$9!#(B</p> - <hr /> - - <h2>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F(B</h2> - - <p>$B%j%=!<%9$O!"4v$D$+0[$J$C$?I=8=$GMxMQ$G$-$k>l9g$,$"$j$^$9!#(B - $B$?$H$($P!"0[$J$k8@8l$d0[$J$k%a%G%#%"%?%$%W!"$^$?$O$=$l$i$NAH$_9g$o$;$G(B - $BMxMQ$G$-$k$+$bCN$l$^$;$s!#$b$C$H$bE,$7$?A*Br$r$9$kJ}K!$N0l$D$K$O!"(B - $B%$%s%G%C%/%9%Z!<%8$r%f!<%6$K8+$;$F!"%f!<%6$KA*$s$G$b$i$&J}K!$,$"$j$^$9!#(B - $B$7$+$7!"%5!<%P$,<+F0E*$KA*$V$3$H$,$G$-$k>l9g$,B?$/$"$j$^$9!#(B - $B$3$l$O!"%V%i%&%6$,%j%/%(%9%H>pJsKh$N>pJs$N0lIt$K!"(B - $B$I$NI=8=$rSO9%$9$k$+$rAw$k$3$H$GF0:n$7$F$$$^$9!#(B - $B$?$H$($P%V%i%&%6$O!"2DG=$J$i%U%i%s%98l$G>pJs$r8+$?$$!"(B - $BIT2DG=$J$i$=$NBe$o$j$K1Q8l$G$b$h$$$H!"<+J,$NSO9%$rCN$i$;$k$3$H$,$G$-$^$9!#(B - $B%V%i%&%6$O%j%/%(%9%H$N%X%C%@$G<+J,$NM%@h798~$rCN$i$;$^$9!#(B - $B%U%i%s%98l$NI=8=$@$1$rMW5a$9$k>l9g$O!"%V%i%&%6$O0J2<$rAw$j$^$9!#(B</p> -<pre> - Accept-Language: fr -</pre> - - <p>$B$3$NM%@h798~$O!"A*Br2DG=$JI=8=$,B8:_$7$F!"(B - $B8@8l$K$h$C$FMM!9$JI=8=$,$"$k>l9g$K$N$_E,MQ$5$l$k(B - $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$B$b$C$HJ#;($J%j%/%(%9%H$NNc$r5s$2$^$7$g$&!#(B - $B$3$N%V%i%&%6$O%U%i%s%98l$H1Q8l$r<u$1IU$1$k!"(B - $B$7$+$7%U%i%s%98l$r9%$`!"$=$7$FMM!9$J%a%G%#%"%?%$%W$r<u$1IU$1$k$,!"(B - $B%W%l%$%s%F%-%9%H$dB>$N%?%$%W$h$j$O(B HTML $B$r9%$`!"(B - $BB>$N%a%G%#%"%?%$%W$h$j$O(B GIF $B$d(B JPEG $B$r9%$`!"$7$+$7:G=*<jCJ$H$7$F(B - $BB>$N%a%G%#%"%?%$%W$b<u$1IU$1$k!"$H$$$&$h$&$K@_Dj$5$l$F$$$^$9!#(B - </p> -<pre> - Accept-Language: fr; q=1.0, en; q=0.5 - Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, - image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1 -</pre> - - <p>Apache 1.2 $B$O(B HTTP/1.1 $B$N5,3J$GDj5A$5$l$F$$$k(B 'server driven' - $B%3%s%F%s%H%M%4%7%(!<%7%g%s$r%5%]!<%H$7$F$$$^$9!#(B - Accept, Accept-Language, Accept-Charset, Accept-Encoding - $B%j%/%(%9%H%X%C%@$r40A4$K%5%]!<%H$7$F$$$^$9!#(BApache 1.3.4 $B$O(B - RFC 2295 $B$H(B RFC 2296 - $B$GDj5A$5$l$F$$$k<B83E*$J%M%4%7%(!<%7%g%s%W%m%H%3%k$G$"$k!"(B - 'transparent' $B$b%5%]!<%H$7$F$$$^$9!#$=$l$i$N(B RFC $B$GDj5A$5$l$F$$$k(B - 'feature negotiation' $B$O%5%]!<%H$7$F$$$^$;$s!#(B</p> - - <p><strong>$B%j%=!<%9(B</strong>$B$H$O(B URI - $B$GFCDj$5$l$k35G0>e$N$b$N$N$3$H$G$9(B (RFC 2396)$B!#(B Apache - $B$N$h$&$J(B HTTP $B%5!<%P$O!"$=$NL>A06u4V$NCf$G$N(B - $B%j%=!<%9$N(B<strong>$BI=8=(B</strong>$B$X$N%"%/%;%9$rDs6!$7$^$9!#(B - $B$=$l$>$l$NI=8=$ODj5A$5$l$?%a%G%#%"%?%$%W!"J8;z%;%C%H!"(B - $B%(%s%3!<%G%#%s%0Ey$NIUB0$7$?!"%P%$%HNs$N7A<0$G$9!#(B - $B$=$l$>$l$N%j%=!<%9$O$"$k;~E@$G(B 0 $B8D!"(B1 $B8D!"$=$l0J>e$NI=8=$H(B - $B4XO"IU$1$i$l$k2DG=@-$,$"$j$^$9!#J#?t$NI=8=$,MxMQ$G$-$k>l9g$O!"(B - $B%j%=!<%9$O(B<strong>$B%M%4%7%(!<%7%g%s2DG=$G$"$k(B</strong>$B$H$5$l!"(B - $B8D!9$NI=8=$O(B <strong>variant</strong> $B$H8F$P$l$^$9!#(B - $B%M%4%7%(!<%7%g%s2DG=$J%j%=!<%9$N(B variant $B$,0[$J$k!"$=$N>uBV$r;X$7$F!"(B - $B%M%4%7%(!<%7%g%s$N(B<strong>$B<!85(B</strong>$B$H8F$S$^$9!#(B</p> - - <h2>Apache $B$K$*$1$k%M%4%7%(!<%7%g%s(B</h2> - - <p>$B%j%=!<%9$r%M%4%7%(!<%7%g%s$9$k$?$a$K$O!"%5!<%P$O$=$l$>$l$N(B - variant $B$K$D$$$F$N>pJs$rCN$C$F$*$/I,MW$,$"$j$^$9!#(B - $B$3$l$O0J2<$NFs$D$NJ}K!$N$I$A$i$+$G9T$o$l$^$9!#(B</p> - - <ul> - <li>$B%?%$%W%^%C%W(B (<em>$B$9$J$o$A(B</em>$B!"(B<code>*.var</code> $B%U%!%$%k(B) - $B$r;H$&J}K!!#$3$l$O!"(Bvariant - $B$rL@<(E*$K5s$2$F$$$k%U%!%$%k$r;XDj$7$^$9!#(B</li> - - <li>'Multiviews' $B$r;H$C$F!"(B - $B%5!<%P$,0EL[$NFb$K%U%!%$%kL>$K%Q%?!<%s>H9g$r(B - $B9T$J$C$F$=$N7k2L$+$iA*Br$9$kJ}K!!#(B</li> - </ul> - - <h3>type-map $B%U%!%$%k$r;H$&(B</h3> - - <p>$B%?%$%W%^%C%W$O(B <code>type-map</code> $B%O%s%I%i(B ($B$b$7$/$O!"8E$$(B - Apache $B$N@_Dj$K>e0L8_49$H$J$k$?$a$K0];}$5$l$F$$$k(B mime $B%?%$%W(B - <code>application/x-type-map</code>) - $B$K4XO"IU$1$i$l$?%I%-%e%a%s%H$G$9!#(B - $B$3$N5!G=$r;H$&$?$a$K$O!"$"$k%U%!%$%k$N3HD%;R$r(B - <code>type-map</code> - $B$H$7$FDj5A$9$k%O%s%I%i$r@_Dj%U%!%$%k$G@_Dj$9$k(B - $BI,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$O(B</p> -<pre> - AddHandler type-map .var -</pre> - <p> - $B$r%5!<%P$N@_Dj$K=q$/$3$H$,0lHVNI$$J}K!$G$9!#(B - $B>\:Y$O%5%s%W%k$N@_Dj%U%!%$%k$N%3%a%s%H$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>$B%?%$%W%^%C%W%U%!%$%k$K$O$=$l$>$l$N(B variant - $B$K$D$$$F$N%(%s%H%j$,$"$j$^$9!#$3$l$i$N%(%s%H%j$OO"B3$7$?(B HTTP - $B$N%X%C%@9T$+$i@.$j$^$9!#JL$N(B variant $B$N%(%s%H%j$H$O6u9T$G(B - $BJ,$1$i$l$F$$$^$9!#%(%s%H%jCf$K6u9T$,$"$C$F$O$$$1$^$;$s!#(B - $B%^%C%W%U%!%$%k$OA4BN$N%(%s%F%#%F%#$r$/$C$D$1$?7A$G;O$a$k$N$,(B - $B=,47$H$J$C$F$$$^$9(B - ($B$3$l$OMW5a$5$l$F$$$k$o$1$G$O$J$/!"$b$7$"$C$?>l9g$OL5;k$5$l$^$9(B)$B!#(B - $B$?$H$($P!"%^%C%W%U%!%$%k$O$3$N$h$&$K$J$j$^$9(B:</p> -<pre> - URI: foo - - URI: foo.en.html - Content-type: text/html - Content-language: en - - URI: foo.fr.de.html - Content-type: text/html;charset=iso-8859-2 - Content-language: fr, de -</pre> - - <p>variant $B$NIJ<A$,0c$&$H$-$O!"$3$N2hA|$N$h$&$K(B (JPEG, GIF, ASCII - $B%"!<%H$,$"$j$^$9(B) $B%a%G%#%"%?%$%W$N(B "qs" - $B%Q%i%a!<%?$H$7$F;XDj$5$l$^$9!#(B</p> -<pre> - URI: foo - - URI: foo.jpeg - Content-type: image/jpeg; qs=0.8 - - URI: foo.gif - Content-type: image/gif; qs=0.5 - - URI: foo.txt - Content-type: text/plain; qs=0.01 -</pre> - - <p>qs $BCM$NHO0O$O(B 0.000 $B$+$i(B 1.000 $B$G$9!#(Bqs $BCM$,(B 0.000 $B$N(B variant - $B$O7h$7$FA*Br$5$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B'qs' $BCM$N$J$$(B - variant $B$O(B qs $BCM(B 1.0 $B$r(B $BM?$($i$l$^$9!#(Bqs - $B%Q%i%a!<%?$O%/%i%$%"%s%H$NG=NO$K4X78L5$/!"B>$N(B variant - $B$HHf3S$7$?$H$-$N(B variant $B$NAjBPE*$J!VIJ<A!W$r<($7$^$9!#$?$H$($P!"(B - $B<L??$rI=8=$7$h$&$H$7$F$$$k$H$-$O(B JPEG $B%U%!%$%k$NJ}$,IaDL$O(B - ASCII $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#(B $B$7$+$7!"%j%=!<%9$,85!9(B - ASCII $B%"!<%H$GI=8=$5$l$F$$$k$H$-$O!"(Bascii $B%U%!%$%k$NJ}$,(B - JPEG $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$3$N$h$&$K!"(Bqs - $B$OI=8=$5$l$k%j%=!<%9$N@-<A$K$h$C$F(B variant - $BKh$KFCM-$NCM$r<h$j$^$9!#(B</p> - - <p>$BG'<1$5$l$k%X%C%@$N40A4$J0lMw$O0J2<$N$h$&$K$J$j$^$9(B:</p> - - <dl> - <dt><code>URI:</code></dt> - - <dd>($BM?$($i$l$?%a%G%#%"%?%$%W$N$b$N$G!"M?$($i$l$?(B content - encoding $B$G%(%s%3!<%I$5$l$?(B) variant $B$N%U%!%$%k$N(B URI - $B!#%^%C%W%U%!%$%k$+$i$NAjBP(B URL $B$H$7$F2r<a$5$l$^$9!#(B - $BF1$8%5!<%P>e$K$"$kI,MW$,$"$j!"(B - $BD>@\MW5a$5$l$?$H$-$K%/%i%$%"%s%H$,%"%/%;%9$r(B - $BG'$a$i$l$F$$$k%U%!%$%k$r;2>H$7$F$$$J$1$l$P$J$j$^$;$s!#(B</dd> - - <dt><code>Content-Type:</code></dt> - - <dd>$B%a%G%#%"%?%$%W(B --- charset, level, "qs" - $B%Q%i%a!<%?$r;XDj$9$k$3$H$,$G$-$^$9!#$3$l$i$O$7$P$7$P(B MIME - $B%?%$%W$H8F$P$l$^$9!#E57?E*$J%a%G%#%"%?%$%W$O(B - <code>image/gif</code>, <code>text/plain</code>, - <code>text/html; level=3</code> $B$G$9!#(B</dd> - - <dt><code>Content-Language:</code></dt> - - <dd>RFC 1766 $B$N%$%s%?!<%M%C%HI8=`8@8l%?%0$G;XDj$5$l$?!"(Bvariant - $B$N8@8l!#(B (<em>$B$?$H$($P(B</em>$B!"1Q8l$O(B - <code>en</code>$B!"(B $B4Z9q8l$O(B <code>kr</code>, - <em>$BEy(B</em>)$B!#(B</dd> - - <dt><code>Content-Encoding:</code></dt> - - <dd>$B@8$N%G!<%?$G$O$J$/!"%U%!%$%k$,05=L$5$l$F$$$?$j!"(B - $B%(%s%3!<%I$5$l$?$j$7$F$$$k$H$-$K!"(B - $B$I$N$h$&$K$=$l$,$J$5$l$F$$$k$+$r;XDj$7$^$9!#(B - Apache $B$O(B <a href="mod/mod_mime.html#addencoding">AddEncoding</a> - $B%G%#%l%/%F%#%V$GDj5A$5$l$?%(%s%3!<%G%#%s%0$N$_$rG'<1$7$^$9!#DL>o$O(B - compress $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-compress</code> $B$d(B - gzip $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-gzip</code> - $B$N$h$&$J%(%s%3!<%G%#%s%0$r4^$_$^$9!#(B - $B%(%s%3!<%G%#%s%0$NHf3S;~$K$O@\F,<-(B <code>x-</code> - $B$OL5;k$5$l$^$9!#(B</dd> - - <dt><code>Content-Length:</code></dt> - - <dd>$B%U%!%$%k$N%5%$%:!#%?%$%W%^%C%W$G(B content length $B$r;XDj$9$k$H!"(B - $B%5!<%P$,<B:]$N%U%!%$%k$rD4$Y$:$K(B - $B%U%!%$%k$N%5%$%:$rHf3S$9$k$3$H$,$G$-$^$9!#(B</dd> - - <dt><code>Description:</code></dt> - - <dd>$B?M4V$,FI$a$k(B variant $B$r@bL@$7$?J8>O!#(BApache $B$,E,@Z$J(B variant - $B$r8+$D$1$i$l$J$+$C$?>l9g$O!"$9$Y$F$N2DG=$J(B variant - $B$N0lMw$r5s$2$k%(%i!<1~Ez$rJV$7$^$9!#$=$N(B variant - $B0lMw$O?M4V$,FI$a$k(B variant $B$N(B $B@bL@$r4^$_$^$9!#(B</dd> - </dl> - - <h3>Multiviews</h3> - - <p><code>MultiViews</code> $B$O%G%#%l%/%H%jKh$N%*%W%7%g%s$G!"(B - <code><Directory></code>, <code><Location></code>, - <code><Files></code> $B$d!"(B(<code>AllowOverride</code> - $B$,E,@Z$JCM$K@_Dj$5$l$F$$$k$H(B) <code>.htaccess</code> - $B%U%!%$%k$G(B <code>Options</code> - $B%G%#%l%/%F%#%V$K$h$C$F@_Dj$9$k$3$H$,$G$-$^$9!#(B<code>Options - All</code> $B$O(B <code>MultiViews</code> - $B$r@_Dj$7$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - $BL@<(E*$K$=$NL>A0$r=q$/I,MW$,$"$j$^$9!#(B</p> - - <p><code>MultiViews</code> $B$N8z2L$O0J2<$N$h$&$K$J$j$^$9(B: - $B%5!<%P$,(B <code>/some/dir/foo</code> $B$X$N%j%/%(%9%H$r<u$1<h$j!"(B - <code>/some/dir/foo</code> $B$,B8:_(B<em>$B$7$J$$(B</em>$B>l9g!"(B - $B%5!<%P$O%G%#%l%/%H%j$rFI$s$G!"(B<code>foo.*</code> - $B$K$"$F$O$^$k$9$Y$F$N%U%!%$%k$rC5$7!"(B - $B;v<B>e$=$l$i$N%U%!%$%k$r%^%C%W$9$k%?%$%W%^%C%W$r:n$j$^$9!#(B - $B$=$N$H$-!"%a%G%#%"%?%$%W$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O!"(B - $B$=$N%U%!%$%kL>$rD>@\;XDj$7$?$H$-$HF1$8$b$N$,3d$jEv$F$i$l$^$9!#(B - $B$=$l$+$i%/%i%$%"%s%H$NMW5a$K$b$C$H$b9g$&$b$N$rA*$S!"(B - $B$=$N%I%-%e%a%s%H$rJV$7$^$9!#(B</p> - - <p>$B%5!<%P$,%G%#%l%/%H%j$N:w0z$r:n$m$&$H$7$F$$$k$H!"(B - <code>MultiViews</code> $B$O(B <code>DirectoryIndex</code> - $B%G%#%l%/%F%#%V$G;XDj$5$l$?L>A0$NC5:w$K$bE,MQ$5$l$^$9!#(B - $B@_Dj%U%!%$%k$K(B</p> - -<pre> - DirectoryIndex index -</pre> - - <p>$B$,=q$+$l$F$$$F!"(B<code>index.html</code> $B$H(B - <code>index.html3</code> $B$,N>J}B8:_$7$F$$$k$H!"(B - $B%5!<%P$O$=$NCf$+$iKh2s$I$A$i$+$rE,Ev$KA*$S$^$9!#(B - $B$b$7$=$NN>J}$,B8:_$;$:$K(B <code>index.cgi</code> - $B$,B8:_$7$F$$$k$H!"%5!<%P$O$=$l$r<B9T$7$^$9!#(B</p> - - <p>$B%G%#%l%/%H%j$rFI$s$G$$$k$H$-$K8+$D$+$C$?%U%!%$%k$K(B CGI - $B%9%/%j%W%H$,$"$C$?>l9g$O!"2?$,5/$3$k$Y$-$+$O<+L@$G$O$"$j$^$;$s!#(B - $B$=$N$h$&$J>l9g$O%3!<%I$OFCJL$J07$$$r$7$F$$$^$9!#%j%/%(%9%H$,(B - POST $B$+(B QUERY_ARGS $B$d(B PATH_INFO $B$N$"$k(B GET - $B$N>l9g$O!"%9%/%j%W%H$KHs>o$K9b$$IJ<A$,M?$($i$l!"(B - $BDL>o$=$l$,5/F0$5$l$^$9!#$=$NB>$N%j%/%(%9%H$N$H$-$O!"%9%/%j%W%H$K$O(B - $BHs>o$KDc$$IJ<A$,M?$($i$l!"B>$N$b$N$,(B($B$b$7$"$l$P(B)$B<hF@$5$l$^$9!#(B</p> - - <h2>$B%M%4%7%(!<%7%g%sJ}K!(B</h2> - - <p>Apache $B$,%?%$%W%^%C%W%U%!%$%k$+%G%#%l%/%H%j$N%U%!%$%kL>$+$i(B - $B%j%=!<%9$N(B variant $B$N0lMw$r<hF@$7$?$i!"!V:GA1!W$N(B variant - $B$rA*$V$?$a$K(B $BFs$D$NJ}K!$N$I$A$i$+$r5/F0$7$^$9!#(BApache - $B$N%3%s%F%s%H%M%4%7%(!<%7%g%s$N5!G=$r;H$&$?$a$K!"(B - $B$I$N$h$&$K%M%4%7%(!<%7%g%s$,9T$J$o$l$k$+$N>\:Y$rCN$kI,MW$O(B - $B$"$j$^$;$s!#(B - $B$7$+$7!"$3$l0J9_$G$O4X?4$N$"$k?M$N$?$a$K$=$NJ}K!$r@bL@$7$^$9!#(B</p> - - <p>$B%M%4%7%(!<%7%g%sJ}K!$OFs$D$"$j$^$9!#(B</p> - - <ol> - <li>$BDL>o$O(B <strong>Apache $B$N%"%k%4%j%:%`$rMQ$$$?(B Server - driven negotiation</strong> $B$,;HMQ$5$l$^$9!#(BApache - $B$N%"%k%4%j%:%`$O8e$G>\:Y$K@bL@$5$l$F$$$^$9!#(B - $B$3$N%"%k%4%j%:%`$,;HMQ$5$l$?>l9g!"(BApache - $B$O$h$jNI$$7k2L$K$J$k$h$&$K!"FCDj$N<!85$K$*$$$FIJ<A$NCM$r(B - $B!VJQ$($k!W$3$H$,$G$-$^$9!#(BApache - $B$,IJ<A$NCM$rJQ$($kJ}K!$O8e$G>\:Y$K@bL@$5$l$F$$$^$9!#(B</li> - - <li>RFC 2295 - $B$GDj5A$5$l$F$$$k5!9=$rMQ$$$F%V%i%&%6$,FC$K;XDj$7$?>l9g!"(B - <strong>transparent content negotiation</strong> - $B$,;HMQ$5$l$^$9!#$3$N%M%4%7%(!<%7%g%sJ}K!$G$O!"%V%i%&%6$,!V:GA1!W$N(B - variant $B$N7hDj$r40A4$K@)8f$9$k$3$H$,$G$-$^$9!#(B - $B$G$9$+$i!"7k2L$O%V%i%&%6$,;HMQ$7$F$$$k%"%k%4%j%:%`$K0MB8$7$^$9!#(B - Transparent negotiation $B$N=hM}$N2aDx$G!"%V%i%&%6$O(B RFC 2296 - $B$GDj5A$5$l$F$$$k(B 'remote variant selection algorithm' - $B$r<B9T$9$k$h$&$KMj$`$3$H$,$G$-$^$9!#(B</li> - </ol> - - <h3>$B%M%4%7%(!<%7%g%s$N<!85(B</h3> - - <table> - <tr valign="top"> - <th>Dimension</th> - - <th>Notes</th> - </tr> - - <tr valign="top"> - <td>$B%a%G%#%"%?%$%W(B</td> - - <td>Accept $B%X%C%@%U%#!<%k%I$G%V%i%&%6$K$h$j<($5$l$k!#(B - $B$=$l$>$l$N9`L\$OIJ<A78?t$r;}$D$3$H$,=PMh$^$9!#(B - variant $B$N@bL@$K$bIJ<A78?t(B ("qs" - $BMWAG(B)$B$r;}$D$3$H$,$G$-$^$9(B</td> - </tr> - - <tr valign="top"> - <td>$B8@8l(B</td> - - <td>Accept-Language $B%X%C%@%U%#!<%k%I$G%V%i%&%6$K$h$j<($5$l$k!#(B - $B$=$l$>$l$N9`L\$OIJ<A78?t$r;}$D$3$H$,=PMh$^$9!#(B - variants $B$O(B 0, 1, $B$^$?$O$=$l0J>e$N8@8l$H4XO"$E$1$k$3$H$,$G$-$^$9!#(B - </td> - </tr> - - <tr valign="top"> - <td>$B%(%s%3!<%G%#%s%0(B</td> - - <td>Accept-Encoding $B%X%C%@%U%#!<%k%I$G%V%i%&%6$K$h$j<($5$l$k!#(B - $B$=$l$>$l$N9`L\$OIJ<A78?t$r;}$D$3$H$,=PMh$^$9!#(B</td> - </tr> - - <tr valign="top"> - <td>$B%-%c%i%/%?%;%C%H(B</td> - - <td>Accept-Charset $B%X%C%@%U%#!<%k%I$G%V%i%&%6$K$h$j<($5$l$k!#(B - $B$=$l$>$l$N9`L\$OIJ<A78?t$r;}$D$3$H$,=PMh$^$9!#(BVariants - $B$G$b%a%G%#%"%?%$%W$NMWAG$H$7$F%-%c%i%/%?%;%C%H$r<($9$3$H$,=PMh$^$9!#(B - </td> - </tr> - </table> - - <h3>Apache $B$N%M%4%7%(!<%7%g%s%"%k%4%j%:%`(B</h3> - - <p>$B%V%i%&%6$KJV$9!V:GE,$J!W(Bvariant $B$r!J$b$7$"$l$P!KA*Br$9$k$h$&$K(B Apache - $B$O<!$N%"%k%4%j%:%`$r;H$&$3$H$,$G$-$^$9!#$3$N%"%k%4%j%:%`$O(B - $BL$$@@_Dj2DG=$J$b$N$G$O$"$j$^$;$s!#<!$N$h$&$KF0:n$7$^$9(B:</p> - - <ol> - <li>$B$^$:$O$8$a$K!"%M%4%7%(!<%7%g%s$N<!85$=$l$>$l$K$D$$$FE,@Z$J(B - <em>Accept*</em> $B%X%C%@%U%#!<%k%I$r%A%'%C%/$7$F!"(Bvariant - $B$=$l$>$l$KIJ<A$r3d$jEv$F$^$9!#$b$7$"$k<!85$N(B <em>Accept*</em> - $B%X%C%@$G$=$N(B variant $B$,5vMF$G$-$J$$$H0E<($5$l$F$$$l$P!"$=$l$r:o=|$7$^$9!#(B - variants $B$,0l$D$b;D$C$F$$$J$1$l$P!"%9%F%C%W(B 4 $B$K9T$-$^$9!#(B</li> - - <li>$B>C5nK!$G!V:GE,$J!W(B variant $B$rA*$S$^$9!#(B - $B<!$N%F%9%H$,=gHV$KE,1~$5$l$^$9!#%F%9%H$GA*Br$5$l$J$+$C$?(B - variant $B$O:o=|$5$l$F$$$-$^$9!#%F%9%H8e(B variant - $B$,M#0l;D$C$F$$$l$P!"$=$l$r:GE,$J$b$N$H$7$F%9%F%C%W(B 3 $B$K?J$_$^$9!#(B - variant $B$,J#?t;D$C$F$$$l$P!"<!$N%F%9%H$K?J$_$^$9!#(B - - <ol> - <li>variant $B$N%a%G%#%"%?%$%W$NIJ<A?tCM$H(B Accept - $B%X%C%@$NIJ<A?tCM$H$N@Q$r7W;;$7$F!":G9bCM$N(B variant - $B$rA*$S$^$9!#(B</li> - - <li>$B8@8lIJ<A?tCM$,:G9b$N(B variant $B$rA*$S$^$9!#(B</li> - - <li>($B$b$7$"$l$P(B) Accept-Language $B%X%C%@$N8@8l=g$+!"(B - ($B$b$7$"$l$P(B) <code>LanguagePriority</code> - $B%G%#%l%/%F%#%V$N8@8l=g$G:GE,$J8@8l$N(B variant $B$rA*$S$^$9!#(B - </li> - - <li>$B:G9b!V%l%Y%k!W$N%a%G%#%"%Q%i%a!<%?(B (text/html - $B%a%G%#%"%?%$%W$N%P!<%8%g%s$rM?$($k$?$a$K;H$o$l$^$9(B)$B$r;}$D(B - variant $B$rA*$S$^$9!#(B</li> - - <li>Accept-Charset $B%X%C%@9T$GM?$($i$l$F$$$k:G9b$NJ8;z%;%C%H(B - $B%a%G%#%"%Q%i%a!<%?$r;}$D(B variant $B$rA*$S$^$9!#L@<(E*$K=|30(B - $B$5$l$F$$$J$$8B$j!"(BISO-8859-1 $B$,5vMF$5$l$k$h$&$K$J$C$F$$$^$9!#(B - <code>text/*</code> $B%a%G%#%"%?%$%W$G$"$k$1$l$I$b(B - $BFCDj$NJ8;z%;%C%H$KL@<(E*$K4XO"$E$1$i$l$F$$$k$o$1$G$O$J$$(B - variant $B$O(B ISO-8859-1 $B$G$"$k$H2>Dj$5$l$^$9!#(B</li> - - <li>ISO-8859-1 <em>$B$G$O$J$$(B</em>$BJ8;z%;%C%H%a%G%#%"%Q%i%a!<%?$H(B - $B4XO"$E$1$i$l$F$$$k(B variant $B$rA*$S$^$9!#$=$N$h$&$J(B variant - $B$,$J$$>l9g$O!"Be$o$j$K$9$Y$F$N(B variant $B$rA*$S$^$9!#(B</li> - - <li>$B:GE,$J%(%s%3!<%G%#%s%0$N(B variant $B$rA*$S$^$9!#$b$7(B user-agent - $B$,5vMF$9$k%(%s%3!<%G%#%s%0$,$"$l$P!"$=$N(B variant $B$N$_$rA*$S$^$9!#(B - $B$=$&$G$O$J$/!"$b$7%(%s%3!<%I$5$l$?$b$N$H$=$&$G$J$$(B - variant $B$,:.$6$C$FB8:_$7$F$$$?$i%(%s%3!<%I$5$l$F$$$J$$(B variant - $B$N$_$rA*$S$^$9!#(B variant $B$,$9$Y$F%(%s%3!<%I$5$l$F$$$k$+(B variant - $B$,$I$l$b%(%s%3!<%I$5$l$F$$$J$$$H$$$&>l9g$O!"$9$Y$F$N(B variant - $B$rA*$S$^$9!#(B</li> - - <li>$BFbMF$N:G$bC;$$(B variant $B$rA*$S$^$9!#(B</li> - - <li>$B;D$C$F$$$k(B variant $B$N:G=i$N$b$N$rA*$S$^$9!#(B - $B%?%$%W%^%C%W%U%!%$%k$N:G=i$K%j%9%H$5$l$F$$$k$+!"(B - variant $B$,%G%#%l%/%H%j$+$i:G=i$KFI$_9~$^$l$k;~$K(B ASCII - $B=g$G%=!<%H$7$F%U%!%$%kL>$,@hF,$K$J$C$?$+!"$N$I$A$i$+$G$9!#(B</li> - </ol> - </li> - - <li>$B%"%k%4%j%:%`$r;H$C$F0l$D$N!V:GE,$J!W(Bvariant - $B$rA*$S$^$7$?$N$G!"$=$l$r1~Ez$H$7$FJV$7$^$9!#(B - $B%M%4%7%(!<%7%g%s$N<!85$r;XDj$9$k$?$a$K(B HTTP $B%l%9%]%s%9%X%C%@(B - Vary $B$,@_Dj$5$l$^$9(B ($B%j%=!<%9$N%-%c%C%7%e$r$9$k;~$K!"(B - $B%V%i%&%6$d%-%c%C%7%e$O$3$N>pJs$r;H$&$3$H$,$G$-$^$9(B)$B!#(B - $B0J>e$G=*$o$j!#(B</li> - - <li><p>$B$3$3$KMh$?$H$$$&$3$H$O!"(Bvariant $B$,0l$D$bA*Br$5$l$J$+$C$?(B - ($B%V%i%&%6$,5vMF$9$k$b$N$,$J$+$C$?$?$a(B) $B$H$$$&$3$H$G$9!#(B406 $B%9%F!<%?%9(B - ("No Acceptable representation" $B$r0UL#$9$k(B) $B$,!"MxMQ2DG=$J(B variant - $B$N%j%9%H$N$D$$$?(B HTML $B%I%-%e%a%s%H$H$H$b$KJV$5$l$^$9!#(B - $BJQ2=$N<!85$r<($9(B HTTP Vary $B%X%C%@$b@_Dj$5$l$^$9!#(B</p> - - <p>Apache$B$K$h$jJV$5$l$k%(%i!<%a%C%;!<%8$,I,MW0J>e$K4JL@$G!"(B - ($BF1Ey$NFbMF$rDs<($7$F$$$k$1$l$I$b!"(B) - $B%f!<%6$,:.Mp$9$k860x$K$J$k$3$H$KN10U$9$Y$-$G$9!#(B - $B$b$7%f!<%6$,$3$N%(%i!<%Z!<%8$r8+$k$3$H$rHr$1$?$$>l9g$O!"(B - $BI8=`$N8@8l$N(B($B$^$?!"I8=`$N%(%s%3!<%G%#%s%0Ey$rE:$($?(B) - $BJ8=q$rCV$$$F$*$/$3$H$G!"$b$7%V%i%&%6$+$iMW5a$5$l$?8@8l$d(B - $B%(%s%3!<%G%#%s%0Ey$,;H$($J$+$C$?>l9g$O>o$K$=$l$,JV$5$l$^$9!#(B</p> - - <p>$B%V%i%&%6$+$iMW5a$5$l$?8@8l$NJ8=q$,$I$l$bF@$i$l$J$$;~$K(B - $B%G%U%)%k%H8@8l$NJ8=q$rJV$7$?$$>l9g$O!"(B - $B8@8lB0@-%;%C%H$J$7$NJ8=q$r:n@.$7$F$/$@$5$$!#>\:Y$O8e$N(B - <a href="#nolanguage">Variants with no Language</a> - $B;2>H!#(B</p></li> - </ol> - - <h2><a id="better" name="better">$BIJ<A$NCM$rJQ$($k(B</a></h2> - <!-- $BLuCm!'(Bbetter$B$O=$@5M=Dj!)1Q8lHG$KDI=>$9$Y$7(B --> - - <p>$B>e5-$N(B Apache - $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$N873J$J2r<a$GF@$i$l$k$G$"$m$&CM$+$i!"(B - Apache $B$OIJ<A?tCM$r;~!9JQ$($^$9!#40A4$G$O$J$$!"(B - $B$"$k$$$O@53N$G$J$$>pJs$rAw$k%V%i%&%68~$1$N%"%k%4%j%:%`$G!"(B - $B$h$j$h$$7k2L$rF@$k$?$a$K9T$o$l$^$9!#$+$J$j%]%T%e%i!<$J%V%i%&%6$G!"(B - $B$b$7$J$$$H4V0c$C$?(B variant $B$rA*Br$9$k7k2L$K$J$C$F$7$^$&$h$&$J(B - Accept $B%X%C%@>pJs$rAw$k$b$N$b$"$j$^$9!#(B - $B%V%i%&%6$,40A4$G@5$7$$>pJs$rAw$C$F$$$l$P!"(B - $B$3$N?tCMJQ2=$OE,MQ$5$l$^$;$s!#(B</p> - - <h3>$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I(B</h3> - - <p>Accept: $B%j%/%(%9%H%X%C%@$O%a%G%#%"%?%$%W$NM%@h798~$r;XDj$7$^$9!#(B - $B$3$l$O$^$?!"(B"image/*" $B$d(B "*/*" - $B$H$$$C$?!V%o%$%k%I%+!<%I!W%a%G%#%"%?%$%W$r4^$`$3$H$,$G$-$^$9!#(B - $B$3$3$G(B * $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#$G$9$+$i!"<!$N(B:</p> -<pre> - Accept: image/*, */* -</pre> - $B$r4^$`%j%/%(%9%H$O!"(B"image/" $B$G$O$8$^$k%?%$%W$9$Y$F$,5vMF$G$-$k!"(B - $B$=$7$FB>$N$I$s$J%?%$%W$b5vMF$G$-$k(B ($B$3$N>l9g$O$8$a$N(B "image/*" - $B$O>iD9$K$J$j$^$9(B) $B$3$H$r<($7$^$9!#(B - $B07$&$3$H$N$G$-$kL@<(E*$J%?%$%W$K2C$($F!"(B - $B%k!<%A%s$N$h$&$K%o%$%k%I%+!<%I$rAw$k%V%i%&%6$b$"$j$^$9!#$?$H$($P(B: -<pre> - Accept: text/html, text/plain, image/gif, image/jpeg, */* -</pre> - $B$3$&$9$k$3$H$NA@$$$O!"L@<(E*$K%j%9%H$7$F$$$k%?%$%W$,M%@h$5$l$k$1$l$I$b!"(B - $B0[$J$kI=8=$,MxMQ2DG=$G$"$l$P$=$l$G$bNI$$!"$H$$$&$3$H$G$9!#(B - $B$7$+$7$J$,$i4pK\E*$J%"%k%4%j%:%`$G$O!">e$K<($7$?$h$&$K!"(B*/* - $B%o%$%k%I%+!<%I$,B>$N$9$Y$F$N%?%$%W$HA4$/F1Ey$J$N$GM%@h$5$l$^$;$s!#(B - $B%V%i%&%6$O(B */* $B$K$b$C$HDc$$IJ<A(B ($BM%@h(B) - $BCM$rIU$1$F%j%/%(%9%H$rAw$k$Y$-$J$N$G$9!#$?$H$($P(B: -<pre> - Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01 -</pre> - $BL@<(E*$J%?%$%W$K$OIJ<A?tCM$,IU$1$i$l$F$$$^$;$s$N$G!"%G%U%)%k%H$N(B - 1.0 ($B:G9bCM(B) $B$NM%@h$K$J$j$^$9!#%o%$%k%I%+!<%I(B */* $B$ODc$$M%@hEY(B - 0.01 $B$rM?$($i$l$F$$$k$N$G!"L@<(E*$K%j%9%H$5$l$F$$$k%?%$%W$K9gCW$9$k(B - variant $B$,$J$$>l9g$K$N$_!"B>$N%?%$%W$,JV$5$l$^$9!#(B - - <p>$B$b$7(B Accept: $B%X%C%@$,(B q $BCM$rA4$/4^$s$G(B<em>$B$$$J$1$l$P(B</em>$B!"(B - $BK>$_$N5sF0$r$9$k$?$a$K!"(BApache $B$O(B "*/*" $B$,$"$l$P(B 0.01 $B$N(B q - $BCM$r@_Dj$7$^$9!#$^$?!"(B"type/*" $B$N7A$N%o%$%k%I%+!<%I$K$O(B 0.02 $B$N(B q - $BCM$r@_Dj$7$^$9(B ($B$G$9$+$i$3$l$i$O(B "*/*" $B$N%^%C%A$h$j$bM%@h$5$l$^$9(B)$B!#(B - $B$b$7(B Accept: $B%X%C%@Cf$N%a%G%#%"%?%$%W$N$I$l$+$,(B q $BCM$r4^$s$G$$$l$P!"(B - $B$3$l$i$NFC<l$JCM$OE,MQ(B<em>$B$5$l$:(B</em>$B!"@5$7$$>pJs$rAw$k%V%i%&%6$+$i$N(B - $B%j%/%(%9%H$O4|BTDL$j$KF0:n$7$O$8$a$^$9!#(B</p> - - <h3><a id="nolanguage" name="nolanguage">$B8@8lB0@-$N$J$$(B variant</a></h3> - - <p>$B$b$7FCDj$N%j%=!<%9$N(B variant $B$N$&$A$N$$$/$D$+$,8@8lB0@-$r;}$C$F$$$F(B - $B$$$/$D$+$O;}$C$F$$$J$$>l9g$O!"$=$l$i$N8@8lB0@-$r;}$?$J$$(B variant - $B$K$O(B 0.001 $B$H$$$&Hs>o$KDc$$IJ<A78?t$,M?$($i$l$^$9(B</p> - - <p>$B$3$N8@8lB0@-$r;}$?$J$$(B variant $B$K(B 0.001 - $B$H$$$&Hs>o$KDc$$IJ<A78?t$,M?$($i$l$k$H$$$&@_Dj$NM}M3$O(B - $B%V%i%&%6$N8@8l@_Dj$K9g$&(B variant $B$,0l$D$b$J$+$C$?$H$-$KI8=`$N(B - variant $B$rE,MQ$9$k$3$H$r2DG=$K$9$k$?$a$G$9!#$3$l$K$h$j!"(B - $B%j%/%(%9%H$5$l$?%j%=!<%9$KBP$7$F!"MQ0U$7$F$$$J$$8@8l$@$1$r(B accept - $B$9$k$h$&$K@_Dj$5$l$?%V%i%&%6$N%f!<%6$,(B "406" - $B%(%i!<%Z!<%8$r8+$k$N$rHr$1$k$3$H$,2DG=$K$J$j$^$9!#(B</p> - - <p>$B$?$H$($P(B Multiviews $B$,M-8z$G(B variants - $B$,;0$D$"$k>u67$r9M$($^$9!#(B</p> - - <ul> - <li>foo.en.html, language en</li> - - <li>foo.fr.html, language en</li> - - <li>foo.html, no language</li> - </ul> - - <p>$B8@8lB0@-$N$J$$(B variant $B$N0UL#$O>o$K%V%i%&%6$KE,1~$9$k$3$H$G$9!#(B - $B%j%/%(%9%H$,(B <code>foo</code> $B$G(B Accept-Language $B%X%C%@$K(B en - $B$^$?$O(B fr ($B$^$?$O$=$NN>J}(B) $B$,4^$^$l$k>l9g!"(Bfoo.en.html $B$+(B - foo.fr.html $B$N$I$A$i$+$,JV$5$l$^$9!#%V%i%&%6$,5vMF$9$k$b$N$H$7$F(B - en $B$H(B fr $B$N$I$A$i$b5s$2$i$l$F$$$J$$>l9g$OBe$o$j$K(B foo.html - $B$,JV$5$l$^$9!#%/%i%$%"%s%H$,(B <code>foo.html</code> - $B$r%j%/%(%9%H$7$?>l9g$O40A4$K0lCW$9$k$N$G%M%4%7%(!<%7%g%s$OH/@8$;$:!"(B - $B$=$l<+BN$,JV$5$l$^$9!#$3$NLdBj$rHr$1$k$K$O!"!V8@8l$N$J$$!W(B variant - $B$H$7$F(B <code>foo.html.html</code> $B$H$$$&L>A0$rIU$1$k$3$H$,(B Multiviews - $B$=$7$F8@8l%M%4%7%(!<%7%g%s$,F0:n$9$k$?$a$NJ]81$H$7$F(B - $BLrN)$D$3$H$,;~!9$"$j$^$9!#(B</p> - - <h2>Transparent Content Negotiation $B$N3HD%(B</h2> - Apache $B$O(B transparent content negotiation $B%W%m%H%3%k(B (RFC 2295) - $B$r<!$N$h$&$K3HD%$7$F$$$^$9!#FCDj$N%3%s%F%s%H%(%s%3!<%G%#%s%0(B - $B$N$_$,MxMQ2DG=$G$"$k(B variant $B$K0u$rIU$1$k$?$a$K!"?7$?$K(B - <code>{encoding ..}</code> $BMWAG$r(B variant $B%j%9%HCf$K;H$&$3$H$,$G$-$^$9!#(B - $B%j%9%HCf$N%(%s%3!<%I$5$l$?(B variant $B$rG'<1$G$-$F!"(BAccept-Encoding - $B%j%/%(%9%H%X%C%@$K=>$C$F5vMF$5$l$k%(%s%3!<%I$r$b$C$?(B variant - $B$O!"$I$l$G$b8uJd(B variant $B$H$7$F;HMQ$G$-$k$h$&$K$9$k$?$a$K!"(B - RVSA/1.0 $B%"%k%4%j%:%`(B (RFC 2296) $B$N<BAu$,3HD%$5$l$^$7$?!#(B - RVSA/1.0 $B$N<BAu$G$O!":GE,$J(B variant $B$,8+$D$+$k$^$G!"(B - $B7W;;$7$?IJ<A?tCM$O>.?tE@0J2<(B 5 $B7e$^$G4]$a$^$;$s!#(B - - <h2>$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@(B</h2> - - <p>$B8@8l%M%4%7%(!<%7%g%s$r;H$C$F$$$k>l9g$O!"%U%!%$%k$,0l$D0J>e$N3HD%;R$r;}$F$F!"(B - $B3HD%;R$N=gHV$K$O4XO"@-$,DL>o$O$J$$(B ($B>\:Y$O(B - <a href="mod/mod_mime.html#multipleext">mod_mime</a> $B$r;2>H(B) - $B$N$G!"4v$D$+$N0[$J$kL>A0$NJQ49$rA*$Y$k$3$H$K$J$j$^$9!#(B</p> - - <p>$BE57?E*$J%U%!%$%k$G$O!"(BMIME $B%?%$%W3HD%;R(B (<em>$B$?$H$($P(B</em> - <samp>html</samp>) $B$r;}$C$F$$$F!"%(%s%3!<%G%#%s%03HD%;R(B - (<em>$B$?$H$($P(B</em> <samp>gz</samp>) $B$r;}$C$F$$$k$+$b$7$l$J$$$7!"(B - $B$3$N%U%!%$%k$K0[$J$k8@8l(B variant $B$rMQ0U$7$F$$$l$P!"$b$A$m$s8@8l3HD%;R(B - (<em>$B$?$H$($P(B</em> <samp>en</samp>) $B$r;}$C$F$$$k$G$7$g$&!#(B</p> - - <p>$BNc(B:</p> - - <ul> - <li>foo.en.html</li> - - <li>foo.html.en</li> - - <li>foo.en.html.gz</li> - </ul> - - <p>$B@5$7$$%j%s%/!"IT@5$J%j%s%/$NN>J}$N%U%!%$%kL>$NNc$r5s$2$^$9(B:</p> - - <table border="1" cellpadding="8" cellspacing="0"> - <tr> - <th>$B%U%!%$%kL>(B</th> - - <th>$B@52r$N%j%s%/(B</th> - - <th>$BIT@52r$N%j%s%/(B</th> - </tr> - - <tr> - <td><em>foo.html.en</em></td> - - <td>foo<br /> - foo.html</td> - - <td>-</td> - </tr> - - <tr> - <td><em>foo.en.html</em></td> - - <td>foo</td> - - <td>foo.html</td> - </tr> - - <tr> - <td><em>foo.html.en.gz</em></td> - - <td>foo<br /> - foo.html</td> - - <td>foo.gz<br /> - foo.html.gz</td> - </tr> - - <tr> - <td><em>foo.en.html.gz</em></td> - - <td>foo</td> - - <td>foo.html<br /> - foo.html.gz<br /> - foo.gz</td> - </tr> - - <tr> - <td><em>foo.gz.html.en</em></td> - - <td>foo<br /> - foo.gz<br /> - foo.gz.html</td> - - <td>foo.html</td> - </tr> - - <tr> - <td><em>foo.html.gz.en</em></td> - - <td>foo<br /> - foo.html<br /> - foo.html.gz</td> - - <td>foo.gz</td> - </tr> - </table> - - <p>$B>e$NI=$r8+$F!"3HD%;R$J$7$N%j%s%/(B (<em>$B$?$H$($P(B</em> <samp>foo</samp>) - $B$,$$$D$G$b;H$($k$3$H$K5$$,IU$/$G$7$g$&!#$3$NMxE@$O!"(B - $B%I%-%e%a%s%H$H$7$F1~Ez$9$k%U%!%$%k$N<B:]$N%U%!%$%k%?%$%W$r1#JC$7$F!"(B - $B%j%s%/$N;2>H$rJQ99$9$k$3$H$J$/8e$+$i%U%!%$%k$rJQ99$G$-$k!"(B - <em>$B$?$H$($P(B</em> <samp>html</samp> $B$+$i(B <samp>shtml</samp> - $B$K!"$"$k$$$O(B <samp>cgi</samp> $B$KJQ99$G$-$kE@$G$9!#(B</p> - - <p>$B%j%s%/$K(B MIME $B%?%$%W$r;H$$B3$1$?$$(B (<em>$B$?$H$($P(B</em> - <samp>foo.html</samp>)$B;~$O!"8@8l3HD%;R$O(B - ($B%(%s%3!<%G%#%s%03HD%;R$b$"$l$P$=$l$b4^$a$F(B) - MIME $B%?%$%W3HD%;R$N1&B&$K$J$1$l$P$J$j$^$;$s(B - (<em>$B$?$H$($P(B</em> <samp>foo.html.en</samp>)$B!#(B</p> - - <h2>$B%-%c%C%7%e$K4X$9$kCm0U;v9`(B</h2> - - <p>$B%-%c%C%7%e$,$"$kI=8=$rJ]B8$7$F$$$k$H$-$O!"%j%/%(%9%H(B URL - $B$H4XO"$E$1$i$l$F$$$^$9!#<!$K$=$N(B URL $B$,%j%/%(%9%H$5$l$?;~$K!"(B - $B%-%c%C%7%e$OJ]B8$5$l$F$$$kI=8=$r;HMQ$G$-$^$9!#$7$+$7!"%j%=!<%9$,(B - $B%5!<%P$G%M%4%7%(!<%7%g%s2DG=$G$"$l$P!":G=i$N%j%/%(%9%H$G%-%c%C%7%e$5$l$FB3$/(B - $B%-%c%C%7%e%R%C%H$G$O4V0c$C$?1~Ez$rJV$7$F$7$^$&$H$$$&$3$H$K$J$j$+$M$^$;$s!#(B - $B$3$l$rKI$0$?$a$K!"(BApache $B$O%3%s%F%s%H%M%4%7%(!<%7%g%s$N(B - $B8e$KJV$5$l$?1~Ez$9$Y$F$K!"(BHTTP/1.0 $B%/%i%$%"%s%H$G$N(B - non-cacheable $B$H%^!<%/$7$^$9!#$^$?!"%M%4%7%(!<%7%g%s$5$l$?1~Ez$N%-%c%C%7%e(B - $B$r2DG=$K$9$k(B HTTP/1.1 $B%W%m%H%3%k$N5!G=$b(B Apache $B$O%5%]!<%H$7$^$9!#(B</p> - - <p>HTTP/1.0 $B=`5r$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$KBP$7$F$O!"(B - ($B%V%i%&%6$G$"$m$&$H%-%c%C%7%e$G$"$m$&$H(B) $B%M%4%7%(!<%7%g%s(B - $B$r<u$1$?1~Ez$N%-%c%C%7%e$r5v$9$?$a$K!"(B<code>CacheNegotiatedDocs</code> - $B%G%#%l%/%F%#%V$r;HMQ$G$-$^$9!#$3$N%G%#%l%/%F%#%V$O!"(B - $B<g%5!<%P@_Dj$d%P!<%A%c%k%[%9%H$GM?$($i$l$F!"0z?t$r$H$j$^$;$s!#(B - HTTP/1.1 $B%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K$O8zNO$r;}$A$^$;$s!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/custom-error.html.en b/usr.sbin/httpd/htdocs/manual/custom-error.html.en deleted file mode 100644 index 4d68ce44299..00000000000 --- a/usr.sbin/httpd/htdocs/manual/custom-error.html.en +++ /dev/null @@ -1,192 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Custom error responses</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Custom error responses</h1> - - <dl> - <dt>Purpose</dt> - - <dd> - Additional functionality. Allows webmasters to configure - the response of Apache to some error or problem. - - <p>Customizable responses can be defined to be activated in - the event of a server detected error or problem.</p> - - <p>e.g. if a script crashes and produces a "500 Server - Error" response, then this response can be replaced with - either some friendlier text or by a redirection to another - URL (local or external).</p> - </dd> - - <dt>Old behavior</dt> - - <dd>NCSA httpd 1.3 would return some boring old error/problem - message which would often be meaningless to the user, and - would provide no means of logging the symptoms which caused - it.<br /> - </dd> - - <dt>New behavior</dt> - - <dd> - The server can be asked to; - - <ol> - <li>Display some other text, instead of the NCSA hard - coded messages, or</li> - - <li>redirect to a local URL, or</li> - - <li>redirect to an external URL.</li> - </ol> - - <p>Redirecting to another URL can be useful, but only if - some information can be passed which can then be used to - explain and/or log the error/problem more clearly.</p> - - <p>To achieve this, Apache will define new CGI-like - environment variables, <em>e.g.</em></p> - - <blockquote> - <code>REDIRECT_HTTP_ACCEPT=*/*, image/gif, - image/x-xbitmap, image/jpeg<br /> - REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX - A.09.05 9000/712)<br /> - REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br /> - REDIRECT_QUERY_STRING=<br /> - REDIRECT_REMOTE_ADDR=121.345.78.123<br /> - REDIRECT_REMOTE_HOST=ooh.ahhh.com<br /> - REDIRECT_SERVER_NAME=crash.bang.edu<br /> - REDIRECT_SERVER_PORT=80<br /> - REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br /> - REDIRECT_URL=/cgi-bin/buggy.pl<br /> - </code> - </blockquote> - - <p>note the <code>REDIRECT_</code> prefix.</p> - - <p>At least <code>REDIRECT_URL</code> and - <code>REDIRECT_QUERY_STRING</code> will be passed to the - new URL (assuming it's a cgi-script or a cgi-include). The - other variables will exist only if they existed prior to - the error/problem. <strong>None</strong> of these will be - set if your ErrorDocument is an <em>external</em> redirect - (<em>i.e.</em>, anything starting with a scheme name like - <code>http:</code>, even if it refers to the same host as - the server).</p> - </dd> - - <dt>Configuration</dt> - - <dd> - Use of "ErrorDocument" is enabled for .htaccess files when - the <a href="mod/core.html#allowoverride">"FileInfo" - override</a> is allowed. - - <p>Here are some examples...</p> - - <blockquote> - <code>ErrorDocument 500 /cgi-bin/crash-recover<br /> - ErrorDocument 500 "Sorry, our script crashed. Oh - dear<br /> - ErrorDocument 500 http://xxx/<br /> - ErrorDocument 404 /Lame_excuses/not_found.html<br /> - ErrorDocument 401 - /Subscription/how_to_subscribe.html</code> - </blockquote> - - <p>The syntax is,</p> - - <p><code><a - href="mod/core.html#errordocument">ErrorDocument</a></code> - <3-digit-code> action</p> - - <p>where the action can be,</p> - - <ol> - <li>Text to be displayed. Prefix the text with a quote - ("). Whatever follows the quote is displayed. <em>Note: - the (") prefix isn't displayed.</em></li> - - <li>An external URL to redirect to.</li> - - <li>A local URL to redirect to.</li> - </ol> - </dd> - </dl> - <hr /> - - <h2>Custom error responses and redirects</h2> - - <dl> - <dt>Purpose</dt> - - <dd>Apache's behavior to redirected URLs has been modified so - that additional environment variables are available to a - script/server-include.</dd> - - <dt>Old behavior</dt> - - <dd>Standard CGI vars were made available to a script which - has been redirected to. No indication of where the - redirection came from was provided.</dd> - - <dt>New behavior</dt> - - <dd>A new batch of environment variables will be initialized - for use by a script which has been redirected to. Each new - variable will have the prefix <code>REDIRECT_</code>. - <code>REDIRECT_</code> environment variables are created from - the CGI environment variables which existed prior to the - redirect, they are renamed with a <code>REDIRECT_</code> - prefix, <em>i.e.</em>, <code>HTTP_USER_AGENT</code> becomes - <code>REDIRECT_HTTP_USER_AGENT</code>. In addition to these - new variables, Apache will define <code>REDIRECT_URL</code> - and <code>REDIRECT_STATUS</code> to help the script trace its - origin. Both the original URL and the URL being redirected to - can be logged in the access log.</dd> - </dl> - - <p>If the ErrorDocument specifies a local redirect to a CGI - script, the script should include a "<samp>Status:</samp>" - header field in its output in order to ensure the propagation - all the way back to the client of the error condition that - caused it to be invoked. For instance, a Perl ErrorDocument - script might include the following:</p> -<pre> - : - print "Content-type: text/html\n"; - printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; - : -</pre> - - <p>If the script is dedicated to handling a particular error - condition, such as <samp>404 Not Found</samp>, it can - use the specific code and error text instead.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/custom-error.html.fr b/usr.sbin/httpd/htdocs/manual/custom-error.html.fr deleted file mode 100644 index 2b189cc55f4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/custom-error.html.fr +++ /dev/null @@ -1,231 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.14 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Messages d'erreur personnalisés</title> - </head> - - <body text="#000000" link="#0000ff" vlink="#000080" - bgcolor="#ffffff"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Messages d'erreur personnalisés</h1> - - <h3>But</h3> - - <p>Fonctionnalité additionnelle. Permet aux - administrateurs Web de personnaliser les réponses - données par Apache en cas de problèmes. Les - réponses personnalisées définies peuvent - être activables lorsque le serveur est à - même de détecter la cause du problème.</p> - - <p>ex. si un script termine en faute, produisant une - réponse "500 Server Error", alors cette réponse - peut être remplacée soit par un texte quelque peu - plus explicatif soit par une redirection vers une autre URL - (locale ou externe).</p> - - <h3>Ancien comportement</h3> - - <p>La version 1.3 d'httpd du NCSA répondait souvent avec - des messages d'erreur ennuyeux et peu amènes qui - étaient sans signification pour l'utilisateur, et ne - donnait pas les symptômes qui pouvaient causer la - faute.</p> - - <h3>Nouveau comportement</h3> - - <p>On pourra désormais demander au serveur :</p> - - <ol> - <li>D'afficher un autre texte, plutôt que les messages - standard NCSA, ou</li> - - <li>rediriger l'utilisateur vers une URL locale, ou - encore</li> - - <li>rediriger l'utilisateur vers une URL sur un autre - serveur.</li> - </ol> - - <p>La redirection vers une autre URL peut être utile, - mais seulement si certaines informations peuvent être - passées et qui serviront à produire un affichage - ou un enregistrement du problème plus clair et - explicite.</p> - - <p>Pour ce faire, Apache définira de nouvelles variables - d'environnement ( à la mode CGI), ex.</p> - - <blockquote> - <code>REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap, - image/jpeg<br /> - REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX - A.09.05 9000/712)<br /> - REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br /> - REDIRECT_QUERY_STRING=<br /> - REDIRECT_REMOTE_ADDR=121.345.78.123<br /> - REDIRECT_REMOTE_HOST=ooh.ahhh.com<br /> - REDIRECT_SERVER_NAME=crash.bang.edu<br /> - REDIRECT_SERVER_PORT=80<br /> - REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br /> - REDIRECT_URL=/cgi-bin/buggy.pl</code> - </blockquote> - - <p>notez le préfixe <code>REDIRECT_</code>.</p> - - <p>Seront au moins passés à la nouvelle URL les - variables <code>REDIRECT_URL</code> et - <code>REDIRECT_QUERY_STRING</code> (en supposant que l'URL de - redirection est un script CGI ou un Include CGI). Les autres - variables n'existeront que si elles existaient - déjà avant l'apparition du problème. - <b>Aucune de ces deux variables</b> ne sera initialisée - si votre Document d'erreur est le résultat d'une - redirection <i>externe</i> (c-à-d. toute adresse - commençant par le nom d'un plan de protocole comme - <code>http:</code>, même si le protocole invoqué - aboutit sur le même hôte que le serveur à - l'origine de la redirection).</p> - - <h3>Configuration</h3> - - <dl> - <dd>L'utilisation des documents "ErrorDocument" est - autorisée dans les fichiers .htaccess lorsque la - surcharge <a - href="mod/core.html#allowoverride">"FileInfo"</a> est - active.</dd> - - <dd>En voici quelques exemples...</dd> - </dl> - - <div style="margin-left: 2em"> - <blockquote> - <code>ErrorDocument 500 /cgi-bin/crash-recover<br /> - ErrorDocument 500 "Désolé, votre script - s'est vautré. Fichtre"<br /> - ErrorDocument 500 http://xxx/<br /> - ErrorDocument 404 /Lame_excuses/not_found.html<br /> - ErrorDocument 401 - /Subscription/how_to_subscribe.html</code> - </blockquote> - - <dl> - <dd>La syntaxe admise est :</dd> - - <dd><a href="mod/core.html#errordocument"><font - face="Courier New" size="2">ErrorDocument</font></a> - <code à trois chiffres> action</dd> - - <dd>dans laquelle l'action peut être :</dd> - </dl> - </div> - - <div style="margin-left: 4em"> - <ol> - <li>Le texte devant être affiché. Le texte - devra être préfixé par un guillemet - ("). Tout ce qui suit le guillemet sur la ligne est - affiché. <em>Notez : le préfixe (") - lui-même n'est pas affiché.</em></li> - - <li>Une URL externe de redirection.</li> - - <li>Une URL locale de redirection.</li> - </ol> - </div> - <hr /> - <br /> - <br /> - - - <div style="margin-left: 2em"> - <h2>Redirections et affichage d'erreurs - personnalisées</h2> - - <h3>But</h3> - - <dl> - <dd>Le comportement d'Apache lorsqu'il redirige des URL a - été modifié afin que d'autres - variables d'environnement additionnelles puissent - être rendues accessibles par un - script/server-include.</dd> - </dl> - - <h3>Ancien comportement</h3> - - <dl> - <dd>Les variables CGI standard étaient transmises au - script vers lequel était redirigé le client. - Aucune indication n'était transmise quant à - qui redirigeait le message.</dd> - </dl> - - <h3>Nouveau comportement</h3> - - <dl> - <dd>Un nouvel ensemble de variables d'environnement sera - initialisé, à l'intention du script vers - lequel le client a été redirigé. - Chaque nouvelle variable de cet ensemble est - préfixée par <code>REDIRECT_</code>. Les - variables d'environnement de type <code>REDIRECT_</code> - sont créées à partir des variables - d'environnement CGI qui existaient avant que n'intervienne - la redirection, en leur rajoutant le préfixe. Par - exemple <code>HTTP_USER_AGENT</code> devient - <code>REDIRECT_HTTP_USER_AGENT</code>. En plus de ces - variables, Apache définit les variables - <code>REDIRECT_URL</code> et <code>REDIRECT_STATUS</code> - pour aider le script à identifier l'origine de la - redirection. Dans la trace d'accès déduite - peuvent apparaître l'URL initiale ainsi que l'URL - vers laquelle est redirigée la requête.</dd> - </dl> - </div> - <hr /> - <br /> - <br /> - - - <p>Si la directive ErrorDocument spécifie une - redirection local vers un script CGI, le script devra inclure - un champ "<samp>Status:</samp>" dans l'en-tête de sa - sortie afin de garantir la retransmiison complète vers - le client des conditions d'erreurs qui ont causé son - invocation. Par exemple un script Perl devrait inclure les - lignes suivantes :</p> -<pre> - : - print "Content-type: text/html\n"; - printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; - : -</pre> - - <p>Si le script est dédié pour traité une - condition d'erreur particulière telle que - <samp>404 Not Found</samp>, il peut utiliser le code - spécifique et le message d'erreur à la place.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/custom-error.html.ja.jis b/usr.sbin/httpd/htdocs/manual/custom-error.html.ja.jis deleted file mode 100644 index 1d7fedcdd1c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/custom-error.html.ja.jis +++ /dev/null @@ -1,193 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>$B%+%9%?%`%(%i!<%l%9%]%s%9(B</title> - - </head> - <!-- English revision: 1.15 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">$B%+%9%?%`%(%i!<%l%9%]%s%9(B</h1> - - <dl> - <dt>$BL\E*(B</dt> - - <dd> - $BDI2C5!G=$NDs6!!#%&%'%V%^%9%?!<$,2?$i$+$N%(%i!<$dLdBj$KBP$9$k(B - Apache $B$NH?1~$r@_Dj$G$-$k$h$&$K$7$^$9!#(B - - <p>$B%5!<%P$,%(%i!<$dLdBj$rH/8+$7$?>l9g$NH?1~$r!"(B - $B%+%9%?%^%$%:$7$FDj5A$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc$($P!"%9%/%j%W%H$N<B9T$,<:GT$7$F(B "500 Server Error" - $B$rH/@8$5$;$?$H$7$^$9!#$3$N>l9g$NH?1~$r!"$h$j9%$^$7$$%F%-%9%H$d!"JL$N(B - URL ($BFbIt5Z$S30It(B) $B$X$N%j%@%$%l%/%7%g%s$KCV$-49$($k$3$H$,$G$-$^$9!#(B - </p> - </dd> - - <dt>$B8E$$F0:n(B</dt> - - <dd>NCSA httpd 1.3 $B$O!"8E$/$FB`6~$J%(%i!<(B/$BLdBj%a%C%;!<%8$r(B - $BJV$7$F$$$^$7$?!#$=$l$O$7$P$7$P%f!<%6$K$OL50UL#$G$"$j!"(B - $B$^$?$=$l$rH/@8$5$;$?860x$r5-O?$9$kJ}K!$bDs6!$7$F$$$^$;$s$G$7$?!#(B - <br /> - </dd> - - <dt>$B?7$7$$F0:n(B</dt> - - <dd> - - - <ol> - <li>NCSA $B$N%O!<%I%3!<%I$5$l$?%a%C%;!<%8$NBe$o$j$K(B - $BB>$N%F%-%9%H$rI=<((B</li> - - <li>$B%m!<%+%k$N(B URL $B$K%j%@%$%l%/%H(B</li> - - <li>$B30It$N(B URL $B$K%j%@%$%l%/%H(B</li> - </ol> - $B$9$k$h$&$K%5!<%P$r@_Dj$G$-$^$9!#(B - <p>$BJL$N(B URL $B$K%j%@%$%l%/%H$9$k$3$H$OLr$KN)$A$^$9$,!"(B - $B$=$l$O@bL@$r$7$?$j!"$h$jL@3N$K8m$j(B/$BLdBj$r5-O?$7$?$j$9$k$?$a$K(B - $B2?$+>pJs$rEA$($i$l$k$H$-$K8B$j$^$9!#(B</p> - - <p>$B$3$l$r<B8=$9$k$?$a$K!"(B Apache $B$O?7$7$/(B CGI $B$N$h$&$J4D6-JQ?t$rDj5A$7$^$9!#(B - <em>$BNc$($P(B</em>$B0J2<$N$h$&$J$b$N$,$"$j$^$9!#(B</p> - - <blockquote> - <code>REDIRECT_HTTP_ACCEPT=*/*, image/gif, - image/x-xbitmap, image/jpeg<br /> - REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX - A.09.05 9000/712)<br /> - REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br /> - REDIRECT_QUERY_STRING=<br /> - REDIRECT_REMOTE_ADDR=121.345.78.123<br /> - REDIRECT_REMOTE_HOST=ooh.ahhh.com<br /> - REDIRECT_SERVER_NAME=crash.bang.edu<br /> - REDIRECT_SERVER_PORT=80<br /> - REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br /> - REDIRECT_URL=/cgi-bin/buggy.pl<br /> - </code> - </blockquote> - - <p>$BF,$KIU$/(B <code>REDIRECT_</code> $B$KCmL\$7$F$/$@$5$$!#(B</p> - - <p>$B>/$J$/$H$b(B <code>REDIRECT_URL</code> $B$H(B - <code>REDIRECT_QUERY_STRING</code> $B$O?7$7$$(B URL (CGI $B%9%/%j%W%H$+(B - CGI $B%$%s%/%k!<%I$G$"$k$H2>Dj$5$l$^$9(B) $B$KEO$5$l$^$9!#(B - $BB>$NJQ?t$O!"%(%i!<$dLdBj$,5/$-$kA0$KB8:_$7$?>l9g$K$@$1B8:_$7$^$9!#(B - $B$b$7$"$J$?$N@_Dj$7$?(B ErrorDocument $B$,(B <em>$B30It(B</em>$B%j%@%$%l%/%H(B - (<em>$B$9$J$o$A(B</em>$B!"(B<code>http:</code> - $B$N$h$&$JBN7OL>$+$i;O$^$k$9$Y$F$N$b$N!#$?$H$(F1$8%[%9%H$r;X$7$F$$$F$b(B) - $B$J$i$P!"$3$l$i$O(B<strong>$B$^$C$?$/(B</strong>$B@_Dj$5$l$^$;$s!#(B - </p> - </dd> - - <dt>$B@_Dj(B</dt> - - <dd> - <a href="mod/core.html#allowoverride">"FileInfo" $B%*!<%P!<%i%$%I(B</a> - $B$,5v2D$5$l$F$$$l$P!"(B.htaccess $B%U%!%$%k$G(B "ErrorDocument" - $B$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - - <p>$B$3$3$K!"$$$/$D$+$NNc$r5s$2$^$9!#(B</p> - - <blockquote> - <code>ErrorDocument 500 /cgi-bin/crash-recover<br /> - ErrorDocument 500 "Sorry, our script crashed. Oh - dear<br /> - ErrorDocument 500 http://xxx/<br /> - ErrorDocument 404 /Lame_excuses/not_found.html<br /> - ErrorDocument 401 - /Subscription/how_to_subscribe.html</code> - </blockquote> - - <p>$B9=J8(B</p> - - <p><code><a - href="mod/core.html#errordocument">ErrorDocument</a></code> - <3 $B7e%3!<%I(B> $BF0:n(B</p> - - <p>$BF0:n$O!"(B</p> - - <ol> - <li>$BI=<($5$l$k$Y$-%F%-%9%H!#%F%-%9%H$K$O0zMQId(B (") $B$r$D$1$^$9!#(B - $B0zMQId$N8e$KB3$/$b$N$,2?$G$bI=<($5$l$^$9!#(B - <em>$BCm0U(B : (") $B$OI=<($5$l$^$;$s(B</em></li> - - <li>$B%j%@%$%l%/%H@h$N30It(B URL </li> - - <li>$B%j%@%$%l%/%H@h$N%m!<%+%k(B URL </li> - </ol> - </dd> - </dl> - <hr /> - - <h2>$B%+%9%?%`%(%i!<%l%9%]%s%9$H%j%@%$%l%/%H(B</h2> - - <dl> - <dt>$BL\E*(B </dt> - - <dd>$B%9%/%j%W%H(B/SSI $B$KDI2C$N4D6-JQ?t$,MxMQ2DG=$K$J$k$h$&$K!"(B - $B%j%@%$%l%/%H$5$l$?(B URL $B$KBP$9$k(B Apache $B$NF0:n$,JQ99$5$l$^$7$?!#(B - </dd> - - <dt>$B8E$$F0:n(B</dt> - - <dd>$B%j%@%$%l%/%H$5$l$?%9%/%j%W%H$OI8=`$N(B CGI - $B4D6-JQ?t$rMxMQ2DG=$G$7$?!#$7$+$7!"$I$3$+$i%j%@%$%l%/%H(B - $B$5$l$?$+$N>pJs$ODs6!$5$l$F$$$^$;$s$G$7$?!#(B</dd> - - <dt>$B?7$7$$F0:n(B </dt> - - <dd>$B%j%@%$%l%/%H$5$l$?@h$N%9%/%j%W%H$,;HMQ2DG=$J$h$&$K!"(B - $B?7$7$$$?$/$5$s$N4D6-JQ?t$,=i4|2=$5$l$^$9!#?7$7$$JQ?t$O!"$=$l$>$l(B - <code>REDIRECT_</code> $B$G;O$^$j$^$9!#(B - <code>REDIRECT_</code> $B$G;O$^$k4D6-JQ?t$O%j%@%$%l%/%H$5$l$kA0$KB8:_$7$F$$$?(B - CGI $B4D6-JQ?t$NF,$K(B <code>REDIRECT_</code> $B$rIU$1$F:n@.$5$l$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"(B<code>HTTP_USER_AGENT</code> $B$O(B - <code>REDIRECT_HTTP_USER_AGENT</code> $B$K$J$j$^$9!#(B - $B$3$l$i$N?7$7$$JQ?t$K2C$($F!"(BApache $B$O!"(B - $B%9%/%j%W%H$,%j%@%$%l%/%H85$N%H%l!<%9$r=u$1$k$?$a$K(B - <code>REDIRECT_URL</code> $B$H(B <code>REDIRECT_STATUS</code> - $B$rDj5A$7$^$9!#%"%/%;%9%m%0$K$O85$N(B URL $B$H%j%@%$%l%/%H$5$l$?(B URL - $B$NN>J}$,5-O?$5$l$^$9!#(B</dd> - </dl> - - <p>ErrorDocument $B$,(B CGI $B%9%/%j%W%H$X$N%m!<%+%k%j%@%$%l%/%H$r(B - $B;XDj$7$F$$$k>l9g$O!"$=$l$r5/F0$9$k$3$H$K$J$C$?%(%i!<$N>uBV$r(B - $B%/%i%$%"%s%H$^$G3N<B$KEA$($k$?$a$K(B <samp>"Status:" </samp> - $B%X%C%@$r4^$`$Y$-$G$9!#Nc$($P!"(BErrorDocument $BMQ$N(B Perl - $B%9%/%j%W%H$O0J2<$N$h$&$J$b$N$r4^$`$+$b$7$l$^$;$s!#(B - </p> -<pre> - : - print "Content-type: text/html\n"; - printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; - : -</pre> - - <p>$B%9%/%j%W%H$,(B <samp>404 Not Found</samp> $B$N$h$&$J(B - $BFCDj$N%(%i!<%3%s%G%#%7%g%s$r07$&$?$a$@$1$K;H$o$l$k>l9g$O!"(B - $BBe$o$j$KFCDj$N%3!<%I$H%(%i!<%F%-%9%H$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/dns-caveats.html.en b/usr.sbin/httpd/htdocs/manual/dns-caveats.html.en deleted file mode 100644 index 515343fa1c9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/dns-caveats.html.en +++ /dev/null @@ -1,227 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Issues Regarding DNS and Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Issues Regarding DNS and Apache</h1> - - <p>This page could be summarized with the statement: <em>don't - require Apache to use DNS for any parsing of the configuration - files</em>. If Apache has to use DNS to parse the configuration - files then your server may be subject to reliability problems - (it might not boot), or denial and theft of service attacks - (including users able to steal hits from other users).</p> - - <h3>A Simple Example</h3> - Consider this configuration snippet: - - <blockquote> -<pre> - <VirtualHost www.abc.dom> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <p>In order for Apache to function properly it absolutely needs - to have two pieces of information about each virtual host: the - <a href="mod/core.html#servername"><code>ServerName</code></a> - and at least one IP address that the server responds to. This - example does not include the IP address, so Apache must use DNS - to find the address of <code>www.abc.dom</code>. If for some - reason DNS is not available at the time your server is parsing - its config file, then this virtual host <strong>will not be - configured</strong>. It won't be able to respond to any hits to - this virtual host (prior to Apache version 1.2 the server would - not even boot).</p> - - <p>Suppose that <code>www.abc.dom</code> has address 10.0.0.1. - Then consider this configuration snippet:</p> - - <blockquote> -<pre> - <VirtualHost 10.0.0.1> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <p>Now Apache needs to use reverse DNS to find the - <code>ServerName</code> for this virtualhost. If that reverse - lookup fails then it will partially disable the virtualhost - (prior to Apache version 1.2 the server would not even boot). - If the virtual host is name-based then it will effectively be - totally disabled, but if it is IP-based then it will mostly - work. However if Apache should ever have to generate a full URL - for the server which includes the server name then it will fail - to generate a valid URL.</p> - - <p>Here is a snippet that avoids both of these problems.</p> - - <blockquote> -<pre> - <VirtualHost 10.0.0.1> - ServerName www.abc.dom - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <h3>Denial of Service</h3> - - <p>There are (at least) two forms that denial of service can - come in. If you are running a version of Apache prior to - version 1.2 then your server will not even boot if one of the - two DNS lookups mentioned above fails for any of your virtual - hosts. In some cases this DNS lookup may not even be under your - control. For example, if <code>abc.dom</code> is one of your - customers and they control their own DNS then they can force - your (pre-1.2) server to fail while booting simply by deleting - the <code>www.abc.dom</code> record.</p> - - <p>Another form is far more insidious. Consider this - configuration snippet:</p> - - <blockquote> -<pre> - <VirtualHost www.abc.dom> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <blockquote> -<pre> - <VirtualHost www.def.dom> - ServerAdmin webguy@def.dom - DocumentRoot /www/def - </VirtualHost> -</pre> - </blockquote> - - <p>Suppose that you've assigned 10.0.0.1 to - <code>www.abc.dom</code> and 10.0.0.2 to - <code>www.def.dom</code>. Furthermore, suppose that - <code>def.com</code> has control of their own DNS. With this - config you have put <code>def.com</code> into a position where - they can steal all traffic destined to <code>abc.com</code>. To - do so, all they have to do is set <code>www.def.dom</code> to - 10.0.0.1. Since they control their own DNS you can't stop them - from pointing the <code>www.def.com</code> record wherever they - wish.</p> - - <p>Requests coming in to 10.0.0.1 (including all those where - users typed in URLs of the form - <code>http://www.abc.dom/whatever</code>) will all be served by - the <code>def.com</code> virtual host. To better understand why - this happens requires a more in-depth discussion of how Apache - matches up incoming requests with the virtual host that will - serve it. A rough document describing this <a - href="vhosts/details.html">is available</a>.</p> - - <h3>The "main server" Address</h3> - - <p>The addition of <a href="vhosts/name-based.html">name-based - virtual host support</a> in Apache 1.1 requires Apache to know - the IP address(es) of the host that httpd is running on. To get - this address it uses either the global <code>ServerName</code> - (if present) or calls the C function <code>gethostname</code> - (which should return the same as typing "hostname" at the - command prompt). Then it performs a DNS lookup on this address. - At present there is no way to avoid this lookup.</p> - - <p>If you fear that this lookup might fail because your DNS - server is down then you can insert the hostname in - <code>/etc/hosts</code> (where you probably already have it so - that the machine can boot properly). Then ensure that your - machine is configured to use <code>/etc/hosts</code> in the - event that DNS fails. Depending on what OS you are using this - might be accomplished by editing <code>/etc/resolv.conf</code>, - or maybe <code>/etc/nsswitch.conf</code>.</p> - - <p>If your server doesn't have to perform DNS for any other - reason then you might be able to get away with running Apache - with the <code>HOSTRESORDER</code> environment variable set to - "local". This all depends on what OS and resolver libraries you - are using. It also affects CGIs unless you use <a - href="mod/mod_env.html"><code>mod_env</code></a> to control the - environment. It's best to consult the man pages or FAQs for - your OS.</p> - - <h3><a id="tips" name="tips">Tips to Avoid these - problems</a></h3> - - <ul> - <li>use IP addresses in <code><VirtualHost></code></li> - - <li>use IP addresses in <code>Listen</code></li> - - <li>use IP addresses in <code>BindAddress</code></li> - - <li>ensure all virtual hosts have an explicit - <code>ServerName</code></li> - - <li>create a <code><VirtualHost _default_:*></code> - server that has no pages to serve</li> - </ul> - - <h3>Appendix: Future Directions</h3> - - <p>The situation regarding DNS is highly undesirable. For - Apache 1.2 we've attempted to make the server at least continue - booting in the event of failed DNS, but it might not be the - best we can do. In any event requiring the use of explicit IP - addresses in configuration files is highly undesirable in - today's Internet where renumbering is a necessity.</p> - - <p>A possible work around to the theft of service attack - described above would be to perform a reverse DNS lookup on the - IP address returned by the forward lookup and compare the two - names. In the event of a mismatch the virtualhost would be - disabled. This would require reverse DNS to be configured - properly (which is something that most admins are familiar with - because of the common use of "double-reverse" DNS lookups by - FTP servers and TCP wrappers).</p> - - <p>In any event it doesn't seem possible to reliably boot a - virtual-hosted web server when DNS has failed unless IP - addresses are used. Partial solutions such as disabling - portions of the configuration might be worse than not booting - at all depending on what the webserver is supposed to - accomplish.</p> - - <p>As HTTP/1.1 is deployed and browsers and proxies start - issuing the <code>Host</code> header it will become possible to - avoid the use of IP-based virtual hosts entirely. In this event - a webserver has no requirement to do DNS lookups during - configuration. But as of March 1997 these features have not - been deployed widely enough to be put into use on critical - webservers. <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/dns-caveats.html.fr b/usr.sbin/httpd/htdocs/manual/dns-caveats.html.fr deleted file mode 100644 index 0b59d7f12de..00000000000 --- a/usr.sbin/httpd/htdocs/manual/dns-caveats.html.fr +++ /dev/null @@ -1,279 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.4 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Apache et le DNS</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Apache et le DNS</h1> - - <p>Cette page aurait pu être résumée par la - phrase : <i>ne demandez pas à Apache d'utiliser le DNS - pour la lecture des fichiers de configuration</i>. Si Apache - doit utiliser le DNS pour récupérer ses fichiers - de configuration, alors votre serveur peut être sujet - à des problèmes de fiabilité (il peut tout - simplement ne pas démarrer), ou s'ouvrir à des - attaques et des vols d'information (y compris des utilisateurs - qui pourraient "voler" des hits d'autres utilisateurs).</p> - - <h3>Un exemple simple</h3> - Considérez ce court extrait de code de configuration : - - <blockquote> -<pre> - <VirtualHost www.abc.dom> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <p>Pour qu'Apache fonctionne correctement, il a absolument - besoin d'au moins deux informations pour chaque hôte - virtuel : le <a - href="mod/core.html#servername"><code>ServerName</code></a> et - au moins une adresse IP à laquelle ce serveur doit - répondre. Cet exemple ne fait pas apparaître - d'adresse IP ; Apache doit donc utiliser le DNS pour trouver - l'adresse correspondant à <code>www.abc.dom</code>. Si - pour telle ou telle raison, le service de noms de domaines - n'est pas accessible au moment ou le serveur interprète - ses fichiers de configuration, alors cet hôte virtuel - <b>ne pourra pas être configuré</b>. Il ne pourra - donc pas répondre aux requêtes émises vers - cet hôte virtuel (les versions d'Apache - antérieures à la 1.2 n'auraient même pas pu - démarrer).</p> - - <p>Supposons que le doamine <code>www.abc.dom</code> ait pour - adresse 10.0.0.1. Considérez alors ce nouvel extrait de - code de configuration :</p> - - <blockquote> -<pre> - <VirtualHost 10.0.0.1> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <p>Apache doit alors effectuer une résolution DNS - inverse pour trouver le nom <code>ServerName</code> pour cet - hôte virtuel. Si cette résolution échoue, - alors il devra partiellement désactiver cet hôte - virtuel (les versions d'Apache antérieures à la - 1.2 n'auraient même pas démarré). Si - l'hôte virtuel est basé sur un nom de domaine - alors il sera totalement inhibé, si par contre il se - base sur une adresse IP, alors il tournera probablement. - Cependant, si Apache devait générer une URL - complète pour ce serveur, incluant le nom de domaine, - l'URL produite ne pourrait être correctement - constituée.</p> - - <p>Voici un extrait qui élimine ces deux - problèmes.</p> - - <blockquote> -<pre> - <VirtualHost 10.0.0.1> - ServerName www.abc.dom - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <h3>Refus de service</h3> - - <p>Il existe (au moins) deux situations où Apache refuse - de fournir le service. Si vous exécutez une version - antérieure à la version 1.2 d'Apache, votre - serveur ne démarrera même pas si l'une des deux - résolutions DNS mentionnées ci-avant - échoue pour au moins un hôte virtuel. Dans - certains cas, cette résolution peut ne même pas - être sous votre contrôle. Par exemple, si - <code>abc.dom</code> est l'un de vos clients, lequel - contrôle son propre serveur DNS, ce dernier peut forcer - votre serveur Apache (en version antérieure à - 1.2) à s'arrêter au démarrage en supprimant - simplement l'enregistrement du nom - <code>www.abc.dom</code>.</p> - - <p>Une autre situation est beaucoup plus pernicieuse. - Considérez cet extrait de code de configuration :</p> - - <blockquote> -<pre> - <VirtualHost www.abc.dom> - ServerAdmin webgirl@abc.dom - DocumentRoot /www/abc - </VirtualHost> -</pre> - </blockquote> - - <blockquote> -<pre> - <VirtualHost www.def.dom> - ServerAdmin webguy@def.dom - DocumentRoot /www/def - </VirtualHost> -</pre> - </blockquote> - - <p>Supposez que vous avez assigné 10.0.0.1 au domaine - <code>www.abc.dom</code> et 10.0.0.2 au domaine - <code>www.def.dom</code>. De plus, supposez que - <code>def.com</code> contrôle son propre service DNS. - Avec la précédente configuration, vous permettez - à <code>def.com</code> de "voler" tout le trafic - destiné à <code>abc.com</code>. Tout ce qu'ils - auraient à faire pour y parvenir est d'assigner - <code>www.def.dom</code> à l'adresse 10.0.0.1. Dans la - mesure où ils contrôlent leur propre DNS, vous ne - pouvez les empêcher de piéger leur enregistrement - de <code>www.def.com</code>.</p> - - <p>Les requêtes arrivant pour 10.0.0.1 (y compris toutes - celles où les utilisateurs auront tapé une URL de - la forme <code>http://www.abc.dom/qqchose</code>) seront toutes - servies par l'hôte virtuel <code>def.com</code>. Mieux - comprendre comment cela est possible demande une discussion - plus détaillée sur la manière dont Apache - traite des requêtes arrivant pour des hôtes - virtuels. Un premier document descrivant ceci est <a - href="vhosts/details.html">disponible</a>.</p> - - <h3>L'adresse du "serveur principal"</h3> - - <p>L'addition du <a href="vhosts/name-based.html">support - d'hôtes virtuels basés sur les noms</a> dans - Apache 1.1 nécessite qu'Apache connaisse les adresses IP - de l'hôte sur lequel est exécuté httpd. - Pour obtenir cette adresse, il utilise soit le - <code>ServerName</code> global (si défini) ou appelle la - fonction C <code>gethostname</code> (qui renvoie une - information similaire à celle donnée par la - commande interactive "hostname"). Puis il procède - à une résolution DNS pour cette adresse. - Jusqu'à présent, il n'y a aucun moyen - d'éviter cette résolution.</p> - - <p>Si vous craignez que cette résolution échoue - parceque votre serveur DNS est arrêté, alors vous - popuvez ajouter le nom d'hôte dans le fichier - <code>/etc/hosts</code> (où il devrait normalement - déjà figurer, ne serait-ce que pour assurer un - démarrage correct de la machine). Vous devrez en outre - vous assurer que votre machine est configurée pour - exploiter le fichier <code>/etc/hosts</code> en cas - d'échec d'une résolution dynamique. Suivant l'OS - que vous utilisez, ceci peut être fait en éditant - le code <code>/etc/resolv.conf</code>, ou peut être - <code>/etc/nsswitch.conf</code>.</p> - - <p>Si votre machine n'a pas de résolution DNS à - effectuer pour toute autre raison (par exemple parce qu'elle - est isolée), alors vous pourrez néanmoins faire - tourner Apache en initialisant la variable d'environnement - <code>HOSTRESORDER</code> à "local". Tout ceci - dépend de l'OS et des librairies de résolveur que - vous utilisez. Les CGI sont également affectés - sauf si vous utilisez la fonctionnalité <a - href="mod/mod_env.html"><code>mod_env</code></a> pour - contrôler l'environnement. Il est prudent de consulter - les pages de manuel ou les FAQ spécifiques à - votre OS.</p> - - <h3><a id="tips" name="tips">Astuces pour éviter ces - problèmes</a></h3> - - <ul> - <li>utilisez des adresses IP dans les sections - <code><VirtualHost></code></li> - - <li>utilisez des adresses IP dans la clause - <code>Listen</code></li> - - <li>utilisez des adresses IP dans la clause - <code>BindAddress</code></li> - - <li>assurez vous que tous les hôtes virtuels on un - <code>ServerName</code></li> - - <li>créez un serveur <code><VirtualHost - _default_:*></code> qui ne sert aucune page.</li> - </ul> - - <h3>Annexe: Directions futures</h3> - - <p>Cette situation vis-à-vis du DNS est largement - insatisfaisante. Pour Apache 1.2, nous avons travaillé - pour que le serveur puisse continuer à démarrer - dans le cas de l'échec d'une résolution DNS, mais - il est possible que nous puissions en faire plus. Toute - écriture nécessitant l'usage d'adresses IP - explicites dans le fichier de configuration n'est pas - souhaitable dans le contexte Internet actuel où la <a - href="http://www.ietf.org/html.charters/pier-charter.html">rotation - d'adresses</a> est une nécessité.</p> - - <p>Une parade au vol de service serait d'effectuer une - résolution DNS inverse sur l'adresse IP renvoyée - par la résolution directe, et comparer les deux noms. En - cas de non concordance, cet hôte virtuel serait - désactivé. Ceci impliquerait que la - résolution DNS inverse soit correctement - configurée (ce qui reste assez connu des administrateurs - du fait de l'usage commun de la résolution inverse - double par les serveurs FTP et les transposeurs TCP).</p> - - <p>Dans tous les cas, il ne semble pas possible de garantir la - fiabilité du démarrage d'un serveur web - gérant des hôtes virtuels lorsque la - résolution DNS a échoué, sauf si la - définition de ces hôtes utilise des adresses IP - explicites. Une solution partielle consistant à ignorer - certaines portions du fichier de configuration serait encore - pire que ne pas démarrer du tout, dans certains cas - d'exploitation.</p> - - <p>Par l'extension de l'usage de HTTP/1.1, les navigateurs et - proxies fournissent de plus en plus souvent l'en-tête - <code>Host</code>, et il deviendra possible d'éviter - totalement la définition d'hôtes virtuels - basés sur des adresses IP. Dans ce cas, un serveur Web - n'aura plus de résolution DNS à effectuer pendant - la configuration. Mais à la date de Mars 1997, ces - fonctionnalités n'ont pas été suffisament - largement déployées pour pouvoir être - exploitées par des serveurs en situation critique. - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/env.html.en b/usr.sbin/httpd/htdocs/manual/env.html.en deleted file mode 100644 index e43a1247e05..00000000000 --- a/usr.sbin/httpd/htdocs/manual/env.html.en +++ /dev/null @@ -1,357 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Environment Variables in Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Environment Variables in Apache</h1> - - <p>The Apache HTTP Server provides a mechanism for storing - information in named variables that are called <em>environment - variables</em>. This information can be used to control various - operations such as logging or access control. The variables are - also used as a mechanism to communicate with external programs - such as CGI scripts. This document discusses different ways to - manipulate and use these variables.</p> - - <p>Although these variables are referred to as <em>environment - variables</em>, they are not the same as the environment - variables controlled by the underlying operating system. - Instead, these variables are stored and manipulated in an - internal Apache structure. They only become actual operating - system environment variables when they are provided to CGI - scripts and Server Side Include scripts. If you wish to - manipulate the operating system environment under which the - server itself runs, you must use the standard environment - manipulation mechanisms provided by your operating system - shell.</p> - - <ul> - <li><a href="#setting">Setting Environment Variables</a></li> - - <li><a href="#using">Using Environment Variables</a></li> - - <li><a href="#special">Special Purpose Environment - Variables</a></li> - - <li><a href="#examples">Examples</a></li> - </ul> - <hr /> - - <h2><a id="setting" name="setting">Setting Environment - Variables</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="mod/mod_env.html">mod_env</a><br /> - <a href="mod/mod_rewrite.html">mod_rewrite</a><br /> - <a href="mod/mod_setenvif.html">mod_setenvif</a><br /> - <a href="mod/mod_unique_id.html">mod_unique_id</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/mod_setenvif.html#browsermatch">BrowserMatch</a><br /> - <a - href="mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a><br /> - <a href="mod/mod_env.html#passenv">PassEnv</a><br /> - <a - href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br /> - <a href="mod/mod_env.html#setenv">SetEnv</a><br /> - <a - href="mod/mod_setenvif.html#setenvif">SetEnvIf</a><br /> - <a - href="mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a><br /> - <a href="mod/mod_env.html#unsetenv">UnsetEnv</a><br /> - </td> - </tr> - </table> - - <h3>Basic Environment Manipulation</h3> - - <p>The most basic way to set an environment variable in Apache - is using the unconditional <code>SetEnv</code> directive. - Variables may also be passed from the environment of the shell - which started the server using the <code>PassEnv</code> - directive.</p> - - <h3>Conditional Per-Request Settings</h3> - - <p>For additional flexibility, the directives provided by - mod_setenvif allow environment variables to be set on a - per-request basis, conditional on characteristics of particular - requests. For example, a variable could be set only when a - specific browser (User-Agent) is making a request, or only when - a specific Referer [sic] header is found. Even more flexibility - is available through the mod_rewrite's <code>RewriteRule</code> - which uses the <code>[E=...]</code> option to set environment - variables.</p> - - <h3>Unique Identifiers</h3> - - <p>Finally, mod_unique_id sets the environment variable - <code>UNIQUE_ID</code> for each request to a value which is - guaranteed to be unique across "all" requests under very - specific conditions.</p> - - <h3>Standard CGI Variables</h3> - - <p>In addition to all environment variables set within the - Apache configuration and passed from the shell, CGI scripts and - SSI pages are provided with a set of environment variables - containing meta-information about the request as required by - the <a href="misc/FAQ.html#cgi-spec">CGI specification</a>.</p> - - <h3>Some Caveats</h3> - - <ul> - <li>It is not possible to override or change the standard CGI - variables using the environment manipulation directives.</li> - - <li>When <a href="suexec.html">suexec</a> is used to launch - CGI scripts, the environment will be cleaned down to a set of - <em>safe</em> variables before CGI scripts are launched. The - list of <em>safe</em> variables is defined at compile-time in - <code>suexec.c</code>.</li> - - <li>For portability reasons, the names of environment - variables may contain only letters, numbers, and the - underscore character. In addition, the first character may - not be a number. Characters which do not match this - restriction will be replaced by an underscore when passed to - CGI scripts and SSI pages.</li> - </ul> - <hr /> - - <h2><a id="using" name="using">Using Environment - Variables</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="mod/mod_access.html">mod_access</a><br /> - <a href="mod/mod_cgi.html">mod_cgi</a><br /> - <a href="mod/mod_include.html">mod_include</a><br /> - <a href="mod/mod_log_config.html">mod_log_config</a><br /> - <a href="mod/mod_rewrite.html">mod_rewrite</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="mod/mod_access.html#allow">Allow</a><br /> - <a - href="mod/mod_log_config.html#customlog">CustomLog</a><br /> - <a href="mod/mod_access.html#deny">Deny</a><br /> - <a - href="mod/mod_log_config.html#logformat">LogFormat</a><br /> - <a - href="mod/mod_rewrite.html#RewriteCond">RewriteCond</a><br /> - <a - href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br /> - </td> - </tr> - </table> - - <h3>CGI Scripts</h3> - - <p>One of the primary uses of environment variables is to - communicate information to CGI scripts. As discussed above, the - environment passed to CGI scripts includes standard - meta-information about the request in addition to any variables - set within the Apache configuration. For more details, see the - <a href="howto/cgi.html">CGI tutorial</a>.</p> - - <h3>SSI Pages</h3> - - <p>Server-parsed (SSI) documents processed by mod_include's - <code>server-parsed</code> handler can print environment - variables using the <code>echo</code> element, and can use - environment variables in flow control elements to makes parts - of a page conditional on characteristics of a request. Apache - also provides SSI pages with the standard CGI environment - variables as discussed above. For more details, see the <a - href="howto/ssi.html">SSI tutorial</a>.</p> - - <h3>Access Control</h3> - - <p>Access to the server can be controlled based on the value of - environment variables using the <code>allow from env=</code> - and <code>deny from env=</code> directives. In combination with - <code>SetEnvIf</code>, this allows for flexible control of - access to the server based on characteristics of the client. - For example, you can use these directives to deny access to a - particular browser (User-Agent).</p> - - <h3>Conditional Logging</h3> - - <p>Environment variables can be logged in the access log using - the <code>LogFormat</code> option <code>%e</code>. In addition, - the decision on whether or not to log requests can be made - based on the status of environment variables using the - conditional form of the <code>CustomLog</code> directive. In - combination with <code>SetEnvIf</code> this allows for flexible - control of which requests are logged. For example, you can - choose not to log requests for filenames ending in - <code>gif</code>, or you can choose to only log requests from - clients which are outside your subnet.</p> - - <h3>URL Rewriting</h3> - - <p>The <code>%{ENV:...}</code> form of <em>TestString</em> in - the <code>RewriteCond</code> allows mod_rewrite's rewrite - engine to make decisions conditional on environment variables. - Note that the variables accessible in mod_rewrite without the - <code>ENV:</code> prefix are not actually environment - variables. Rather, they are variables special to mod_rewrite - which cannot be accessed from other modules.</p> - <hr /> - - <h2><a id="special" name="special">Special Purpose Environment - Variables</a></h2> - - <p>Interoperability problems have led to the introduction of - mechanisms to modify the way Apache behaves when talking to - particular clients. To make these mechanisms as flexible as - possible, they are invoked by defining environment variables, - typically with <a - href="mod/mod_browser.html#browsermatch">BrowserMatch</a>, - though <a href="mod/mod_env.html#setenv">SetEnv</a> and <a - href="mod/mod_env.html#passenv">PassEnv</a> could also be used, - for example.</p> - - <h2>downgrade-1.0</h2> - - <p>This forces the request to be treated as a HTTP/1.0 request - even if it was in a later dialect.</p> - - <h2>force-no-vary</h2> - - <p>This causes any <code>Vary</code> fields to be removed from - the response header before it is sent back to the client. Some - clients don't interpret this field correctly (see the <a - href="misc/known_client_problems.html">known client - problems</a> page); setting this variable can work around this - problem. Setting this variable also implies - <strong>force-response-1.0</strong>.</p> - - <h2>force-response-1.0</h2> - - <p>This forces an HTTP/1.0 response when set. It was originally - implemented as a result of a problem with AOL's proxies. Some - clients may not behave correctly when given an HTTP/1.1 - response, and this can be used to interoperate with them.</p> - - <h2>nokeepalive</h2> - - <p>This disables <a - href="mod/core.html#keepalive">KeepAlive</a> when set.</p> - - <h2>suppress-error-charset</h2> - <p><i>Available in versions after 1.3.26 and 2.0.40</i></p> - <p>When Apache issues a redirect in response to a client request, - the response includes some actual text to be displayed in case - the client can't (or doesn't) automatically follow the redirection. - Apache ordinarily labels this text according to the character set - which it uses, which is ISO-8859-1.</p> - <p> However, if the redirection is to a page that uses a different - character set, some broken browser versions will try to use the - character set from the redirection text rather than the actual page. - This can result in Greek, for instance, being incorrectly rendered.</p> - <p>Setting this environment variable causes Apache to omit the character - set for the redirection text, and these broken browsers will then correctly - use that of the destination page.</p> - <hr /> - - <h2><a id="examples" name="examples">Examples</a></h2> - - <h3>Changing protocol behavior with misbehaving clients</h3> - - <p>We recommend that the following lines be included in - httpd.conf to deal with known client problems.</p> -<pre> -# -# The following directives modify normal HTTP response behavior. -# The first directive disables keepalive for Netscape 2.x and browsers that -# spoof it. There are known problems with these browser implementations. -# The second directive is for Microsoft Internet Explorer 4.0b2 -# which has a broken HTTP/1.1 implementation and does not properly -# support keepalive when it is used on 301 or 302 (redirect) responses. -# -BrowserMatch "Mozilla/2" nokeepalive -BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 - -# -# The following directive disables HTTP/1.1 responses to browsers which -# are in violation of the HTTP/1.0 spec by not being able to grok a -# basic 1.1 response. -# -BrowserMatch "RealPlayer 4\.0" force-response-1.0 -BrowserMatch "Java/1\.0" force-response-1.0 -BrowserMatch "JDK/1\.0" force-response-1.0 -</pre> - - <h3>Do not log requests for images in the access log</h3> - - <p>This example keeps requests for images from appearing in the - access log. It can be easily modified to prevent logging of - particular directories, or to prevent logging of requests - coming from particular hosts.</p> -<pre> - SetEnvIf Request_URI \.gif image-request - SetEnvIf Request_URI \.jpg image-request - SetEnvIf Request_URI \.png image-request - CustomLog logs/access_log env=!image-request -</pre> - - <h3>Prevent "Image Theft"</h3> - - <p>This example shows how to keep people not on your server - from using images on your server as inline-images on their - pages. This is not a recommended configuration, but it can work - in limited circumstances. We assume that all your images are in - a directory called /web/images.</p> -<pre> - SetEnvIf Referer "^http://www.example.com/" local_referal - # Allow browsers that do not send Referer info - SetEnvIf Referer "^$" local_referal - <Directory /web/images> - Order Deny,Allow - Deny from all - Allow from env=local_referal - </Directory> -</pre> - - <p><em>Note:</em> spelling of 'referer' and 'referal' is - intentional.</p> - - <p>For more information about this technique, see the - ApacheToday tutorial " <a - href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS"> - Keeping Your Images from Adorning Other Sites</a>".</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/env.html.ja.jis b/usr.sbin/httpd/htdocs/manual/env.html.ja.jis deleted file mode 100644 index 13bc6eb1ffc..00000000000 --- a/usr.sbin/httpd/htdocs/manual/env.html.ja.jis +++ /dev/null @@ -1,352 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - - <title>Apache $B$N4D6-JQ?t(B</title> - </head> - <!-- English revision: 1.20 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache $B$K$*$1$k4D6-JQ?t(B</h1> - - <p>Apache HTTP $B%5!<%P$O(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$k!"L>A0$N$D$$$?(B - $BJQ?t$K>pJs$r5-21$9$k;EAH$_$rDs6!$7$F$$$^$9!#$3$N>pJs$O%m%0<}=8$d(B - $B%"%/%;%9@)8f$J$I$N$$$m$$$m$JA`:n$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B - $B$3$l$i$NJQ?t$O(B CGI $B%9%/%j%W%H$J$I$N30It%W%m%0%i%`$HDL?.$9$k$?$a$K$b(B - $B;H$o$l$^$9!#$3$NJ8=q$O$=$l$i$NJQ?t$NA`:nJ}K!$H;HMQJ}K!$r$$$/$D$+(B - $B>R2p$7$^$9!#(B</p> - - - <p>$B$3$l$i$NJQ?t$O(B<em>$B4D6-JQ?t(B</em>$B$H8F$P$l$F$$$^$9$,!"%*%Z%l!<%F%#%s%0(B - $B%7%9%F%`$K$h$C$F@)8f$5$l$F$$$k4D6-JQ?t$HF1$8$G$O$"$j$^$;$s!#(B - $B<B:]$O!"$3$l$i$NJQ?t$O(B Apache $B$NFbIt9=B$$NCf$K5-21$5$l!"A`:n$5$l$F$$$^$9!#(B - $B$=$l$i$O!"(BCGI $B$d(B SSI $B%9%/%j%W%H$KEO$5$l$?$H$-$@$1!"<B:]$N(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-JQ?t$K$J$j$^$9!#%5!<%P<+?H$,(B - $B<B9T$5$l$F$$$k%*%Z%l!<%F%#%s%0%7%9%F%`$N4D6-$rA`:n$7$?$$>l9g$O!"(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$N%7%'%k$,Ds6!$7$F$$$kI8=`$N4D6-JQ?t$N(B - $BA`:nJ}K!$r;H$o$J$1$l$P$J$j$^$;$s!#(B</p> - - <ul> - <li><a href="#setting">$B4D6-JQ?t$N@_Dj(B</a></li> - - <li><a href="#using">$B4D6-JQ?t$N;HMQ(B</a></li> - - <li><a href="#special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></li> - - <li><a href="#examples">$BNc(B</a></li> - </ul> - <hr /> - - <h2><a id="setting" name="setting">$B4D6-JQ?t$N@_Dj(B</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="mod/mod_env.html">mod_env</a><br /> - <a href="mod/mod_rewrite.html">mod_rewrite</a><br /> - <a href="mod/mod_setenvif.html">mod_setenvif</a><br /> - <a href="mod/mod_unique_id.html">mod_unique_id</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/mod_setenvif.html#browsermatch">BrowserMatch</a><br /> - <a - href="mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a><br /> - <a href="mod/mod_env.html#passenv">PassEnv</a><br /> - <a - href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br /> - <a href="mod/mod_env.html#setenv">SetEnv</a><br /> - <a - href="mod/mod_setenvif.html#setenvif">SetEnvIf</a><br /> - <a - href="mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a><br /> - <a href="mod/mod_env.html#unsetenv">UnsetEnv</a><br /> - </td> - </tr> - </table> - - <h3>$B4pK\E*$J4D6-$NA`:n(B</h3> - - <p>Apache $B$K$*$$$F4D6-JQ?t$r@_Dj$9$k0lHV4pK\E*$JJ}K!$O!"(B - $BL5>r7o$K4D6-JQ?t$r@_Dj$9$k(B <code>SetEnv</code> - $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9!#(B <code>PassEnv</code> - $B%G%#%l%/%F%#%V$K$h$j!"(BApache $B$,5/F0$5$l$?%7%'%k$N(B - $B4D6-JQ?t$rEO$9$3$H$b$G$-$^$9!#(B</p> - - <h3>$B%j%/%(%9%HKh$K>r7o$K4p$E$$$F@_Dj$9$k(B</h3> - - <p>$B$h$j=@Fp@-$r9b$a$k$?$a$K!"(Bmod_setenvif - $B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G!"%j%/%(%9%H$N(B - $BFC@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#Nc$($P!"FCDj$N%V%i%&%6(B - (User-Agent) $B$N%j%/%(%9%H$dFCDj$N(B Referer [$B0U?^E*$JDV$j$G$9(B] - ($BLuCm(B: $B@5$7$$DV$j$O(B referrer $B$G$9$,!"(BHTTP $B$N;EMM$G$O(B Referer - $B$H$J$C$F$$$^$9(B) $B%X%C%@$,8+$D$+$C$?$H$-$N$_JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - mod_rewrite $B$N(B <code>RewriteRule</code> $B%G%#%l%/%F%#%V$K$*$$$F(B - $B4D6-JQ?t$r@_Dj$9$k(B <code>[E=...]</code> $B%*%W%7%g%s$r;HMQ$9$k$3$H$G!"(B - $B$h$j=@Fp$J@_Dj$r9T$J$&$3$H$,$G$-$^$9!#(B</p> - - <h3>$B0l0U$J<1JL;R(B</h3> - - <p>mod_unique_id $B$O!"Hs>o$K8B$i$l$?>r7o$N2<$G(B - $B!V$9$Y$F!W$N%j%/%(%9%H$K$D$$$F!"0l0U$G$"$k$3$H$,J]>Z$5$l$F$$$kCM$r4D6-JQ?t(B - <code>UNIQUE_ID</code> $B$K@_Dj$7$^$9!#(B - </p> - - <h3>$BI8=`(B CGI $BJQ?t(B</h3> - - <p>Apache $B$N@_Dj%U%!%$%k$G@_Dj$5$l$?4D6-JQ?t$H%7%'%k$+$iEO$5$l$k(B - $B4D6-JQ?t$K2C$($F!"(BCGI $B%9%/%j%W%H$H(B SSI $B%Z!<%8$K$O(B <a - href="misc/FAQ.html#cgi-spec">CGI $B$N;EMM(B</a>$B$GMW5a$5$l$F$$$k!"(B - $B%j%/%(%9%H$N%a%?>pJs$r;}$C$?4D6-JQ?t$NAH$,Ds6!$5$l$^$9!#(B - </p> - - <h3>$B$$$/$D$+$NCm0U(B</h3> - - <ul> - <li>$B4D6-$rA`:n$9$k%G%#%l%/%F%#%V$r;H$C$FI8=`(B CGI - $BJQ?t$r>e=q$-$7$?$jJQ99$7$?$j$9$k$3$H$O$G$-$^$;$s!#(B</li> - - <li>CGI $B%9%/%j%W%H$r5/F0$9$k$?$a$K(B <a href="suexec.html">suexec</a> - $B$,;HMQ$5$l$F$$$k>l9g!"(BCGI $B%9%/%j%W%H$,5/F0$9$k$?$a$K!"4D6-JQ?t$O(B<em - >$B0BA4(B</em>$B$J4D6-JQ?t$NAH$K@0M}$5$l$^$9!#(B - $B$3$N0BA4$J4D6-JQ?t$N=89g$O!"%3%s%Q%$%k;~$K(B <code>suexec.c</code> - $B$GDj5A$5$l$^$9!#(B</li> - - <li>$B0\?"@-$N$?$a$K!"4D6-JQ?t$NL>A0$O%"%k%U%!%Y%C%H!"(B - $B?t;z$H%"%s%@!<%9%3%"(B ($BLuCm(B: '_') $B$@$1$+$i@.$j$^$9!#(B - $B$5$i$K!":G=i$NJ8;z$O?t;z$G$"$C$F$O$$$1$^$;$s!#(B - $B$3$N@)8B$K9g$o$J$$J8;z$O(B CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KEO$5$l$k$H$-$K%"%s%@!<%9%3%"$KCV49$5$l$^$9!#(B - </li> - </ul> - <hr /> - - <h2><a id="using" name="using">$B4D6-JQ?t$N;HMQ(B</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="mod/mod_access.html">mod_access</a><br /> - <a href="mod/mod_cgi.html">mod_cgi</a><br /> - <a href="mod/mod_include.html">mod_include</a><br /> - <a href="mod/mod_log_config.html">mod_log_config</a><br /> - <a href="mod/mod_rewrite.html">mod_rewrite</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="mod/mod_access.html#allow">Allow</a><br /> - <a - href="mod/mod_log_config.html#customlog">CustomLog</a><br /> - <a href="mod/mod_access.html#deny">Deny</a><br /> - <a - href="mod/mod_log_config.html#logformat">LogFormat</a><br /> - <a - href="mod/mod_rewrite.html#RewriteCond">RewriteCond</a><br /> - <a - href="mod/mod_rewrite.html#RewriteRule">RewriteRule</a><br /> - </td> - </tr> - </table> - - <h3>CGI $B%9%/%j%W%H(B</h3> - - <p>$B4D6-JQ?t$N<g$JMxMQK!$N0l$D$O!"(BCGI $B%9%/%j%W%H$K>pJs$rEA$($k$3$H$G$9!#(B - $B>e$G@bL@$5$l$F$$$k$h$&$K!"(BCGI $B%9%/%j%W%H$KEO$5$l$k4D6-JQ?t$O(B Apache - $B$N@_Dj$K$h$j@_Dj$5$l$kJQ?t$K2C$($F!"%j%/%(%9%H$NI8=`$N%a%?>pJs$r4^$s$G$$$^$9!#(B - $B>\:Y$O(B <a href="howto/cgi.html">CGI $B%A%e!<%H%j%"%k(B</a> $B$r;2>H$7$F$/$@$5$$!#(B - </p> - - - <h3>SSI $B%Z!<%8(B</h3> - - <p> - mod_include $B$N(B <code>server-parsed</code> $B%O%s%I%i$G=hM}$5$l$k(B - server-parsed (SSI) $B%I%-%e%a%s%H$G$O!"(B<code>echo</code> - $BMWAG$r;HMQ$9$k$H4D6-JQ?t$,=PNO$5$l$^$9!#(B - $B$^$?!"%Z!<%8$N$"$kItJ,$,%j%/%(%9%H$N@-<A$K1~$8$FJQ99$5$l$k$h$&$K!"(B - $B4D6-JQ?t$r%U%m!<@)8fMWAG$G;H$&$3$H$,$G$-$^$9!#>\:Y$O(B - <a href="howto/ssi.html">SSI $B%A%e!<%H%j%"%k(B</a> $B$r;2>H$7$F$/$@$5$$!#(B - </p> - - <h3>$B%"%/%;%9@)8f(B</h3> - - <p><code>allow from env=</code> $B%G%#%l%/%F%#%V$H(B <code>deny from env=</code> - $B%G%#%l%/%F%#%V$r;HMQ$7$F!"%5!<%P$X$N%"%/%;%9$r4D6-JQ?t$NCM$G@)8f$9$k$3$H$,$G$-$^$9!#(B - <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"%/%i%$%"%s%H$NFC@-$K4p$E$$$F(B - $B%5!<%P$X$N%"%/%;%9@)8f$r=@Fp$K9T$J$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - $BNc$($P!"$3$l$i$N%G%#%l%/%F%#%V$r;HMQ$7$F!"FCDj$N%V%i%&%6(B (User-Agent) - $B$+$i$N%"%/%;%9$r5qH]$9$k$3$H$,$G$-$^$9!#(B - </p> - - <h3>$B>r7oIU$-%m%05-O?(B</h3> - - <p> - <code>LogFormat</code> $B%G%#%l%/%F%#%V$N%*%W%7%g%s(B <code>%e</code> - $B$r;HMQ$9$k$3$H$G!"4D6-JQ?t$r%"%/%;%9%m%0$K5-O?$9$k$3$H$,$G$-$^$9!#$5$i$K!"(B - <code>CustomLog</code> $B%G%#%l%/%F%#%V$N>r7oJ,4t<0$r;HMQ$9$k$3$H$G!"(B - $B4D6-JQ?t$NCM$K$h$C$F%j%/%(%9%H$r%m%0$K5-O?$9$k$+$I$&$+$r7h$a$k$3$H$,$G$-$^$9!#(B - <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$HAH$_9g$o$;$k$3$H$G!"(B - $B$I$N%j%/%(%9%H$r%m%0$K5-O?$9$k$+$r=@Fp$K@)8f$9$k$3$H$,2DG=$K$J$j$^$9!#Nc$($P!"(B - <code>gif</code> $B$G=*$o$k%U%!%$%kL>$X$N%j%/%(%9%H$O%m%0$K5-O?$7$J$$!"(B - $B0c$&%5%V%M%C%H$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$@$1$r%m%0$K5-O?$9$k!"$H$$$&A*Br$,2DG=$G$9!#(B - </p> - - <h3>URL $B$N=q$-49$((B</h3> - - <p><code>RewriteCond</code> $B%G%#%l%/%F%#%V$G(B<em>$BI>2AJ8;zNs(B</em>$B$H$7$F(B - <code>%{ENV:...}</code> $B<0$r;XDj$9$k$3$H$G!"(Bmod_rewrite - $B$N=q$-49$(%(%s%8%s$,4D6-JQ?t$K4p$$$F>r7oJ,4t$r9T$J$&$3$H$,$G$-$^$9!#(B - mod_rewrite $B$,;HMQ2DG=$JJQ?t$G(B <code>ENV:</code> $B$,A0$K$D$$$F$$$J$$JQ?t$O!"(B - $B<B:]$O4D6-JQ?t$G$O$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - $B$=$l$i$OB>$N%b%8%e!<%k$+$i$O;HMQ$G$-$J$$(B mod_rewrite $BMQ$NFCJL$JJQ?t$G$9!#(B - </p> - <hr /> - - <h2><a id="special" name="special">$BFCJL$JL\E*$N4D6-JQ?t(B</a></h2> - - - <p> - $B8_49@-$NLdBj$r2r7h$9$k$?$a$K!"FCDj$N%/%i%$%"%s%H$HDL?.$7$F$$$k$H$-$O(B - Apache $B$NF0:n$rJQ99$G$-$k5!9=$,F3F~$5$l$^$7$?!#$G$-$k$@$1=@Fp$K$9$k$?$a$K!"(B - $B$3$l$i$N5!9=$O4D6-JQ?t$rDj5A$9$k$3$H$G8F$S=P$5$l$^$9!#IaDL$O!"(B - <a href="mod/mod_setenvif.html#browsermatch">BrowserMatch</a> - $B%G%#%l%/%F%#%V$r;H$$$^$9$,!"Nc$($P(B <a href="mod/mod_env.html#setenv" - >SetEnv</a> $B%G%#%l%/%F%#%V$d(B <a href="mod/mod_env.html#passenv" - >PassEnv</a> $B%G%#%l%/%F%#%V$b;HMQ$9$k$3$H$,$G$-$^$9!#(B - </p> - - <h2>downgrade-1.0</h2> - - <p>$B$3$l$r;XDj$9$k$3$H$G!"%j%/%(%9%H$,(B HTTP/1.0 - $B$h$j?7$7$$%W%m%H%3%k$N>l9g$G$b!"(BHTTP/1.0 $B$H$7$F07$o$l$^$9!#(B</p> - - <h2>force-no-vary</h2> - - <p>$B1~Ez%X%C%@$,%/%i%$%"%s%H$KAw$i$l$kA0$K(B <code>Vary</code> - $B%U%#!<%k%I$r<h$j=|$-$^$9!#(B - $B%/%i%$%"%s%H$NCf$K$O$3$N%U%#!<%k%I$r@5$7$/2r<a$7$J$$$b$N$,$"$j$^$9(B - (<a href="misc/known_client_problems.html">$B%/%i%$%"%s%H$N4{CN$NLdBj(B</a> - $B$N%Z!<%8$r;2>H$7$F$/$@$5$$(B)$B!#$3$NJQ?t$r@_Dj$9$k$3$H$G$=$NLdBj$r2sHr(B - $B$9$k$3$H$,$G$-$^$9!#$3$NJQ?t$r@_Dj$9$k$H!"(B<strong>force-response-1.0</strong> - $B$,@_Dj$5$l$?$3$H$K$J$j$^$9!#(B</p> - - <h2>force-response-1.0</h2> - - <p>$B$3$l$,@_Dj$5$l$F$$$k$H!">o$K(B HTTP/1.0 $B$G$N1~Ez$K$J$j$^$9!#$3$N5!G=$O!"(B - $B85!9$O(B AOL $B$N%W%m%-%7$NLdBj$N$?$a$K<BAu$5$l$^$7$?!#%/%i%$%"%s%H$NCf$K$O!"(B - HTTP/1.1 $B$N1~Ez$rJV$5$l$k$H@5$7$/F0:n$7$J$$$b$N$,$"$k$+$b$7$l$^$;$s!#(B - $B$3$N5!G=$r;HMQ$9$k$3$H$G!"$=$N$h$&$J%/%i%$%"%s%H$H$N4V$N8_49@-LdBj$r2r7h$G$-$^$9!#(B</p> - - <h2>nokeepalive</h2> - - <p>$B$3$l$,@_Dj$5$l$F$$$k>l9g$O!"(B<a href="mod/core.html#keepalive" - >KeepAlive</a> $B$r;HMQ$7$J$$$h$&$K$7$^$9!#(B</p> - - <h2>suppress-error-charset</h2> - <p><i>1.3.26 $B$H(B 2.0.40 $B0J9_$N%P!<%8%g%s$G;HMQ2DG=(B</i></p> - <p>Apache $B$,%/%i%$%"%s%H$N%j%/%(%9%H$K1~$8$F%j%@%$%l%/%H$r9T$J$&$H$-!"(B - $B%l%9%]%s%9$K$O%/%i%$%"%s%H$,<+F0E*$K%j%@%$%l%/%H$rDI$($J$$(B($BDI$o$J$$(B)$B$H$-$N(B - $B$?$a$KI=<($5$l$k%F%-%9%H$,4^$^$l$F$$$^$9!#(BApache $B$ODL>o$O$3$N%F%-%9%H$O(B - $B;H$o$l$F$$$kJ8;z%;%C%H$G$"$k(B ISO-8859-1 $B$H$7$^$9!#(B</p> - <p>$B$7$+$7!"%j%@%$%l%/%H@h$,JL$NJ8;z%;%C%H$r;H$C$F$$$k>l9g!"(B - $BI8=`$K=`5r$7$F$$$J$$%V%i%&%6$G$O!"%j%@%$%l%/%H@h$N<B:]$NJ8;z%;%C%H$N(B - $BBe$o$j$K!"%j%@%$%l%/%H85$NJ8;z%;%C%H$r;H$C$F$7$^$&$3$H$,$"$j$^$9!#(B - $B$3$l$O!"Nc$($P%.%j%7%cJ8;z$,J8;z2=$1$7$?$j$9$k$3$H$K$J$j$^$9!#(B</p> - <p>$B$3$N4D6-JQ?t$r@_Dj$9$k$H!"(B Apache $B$O%j%@%$%l%/%H85$N%F%-%9%H$NJ8;z%;%C%H(B - $B$O>JN,$9$k$h$&$K$J$j!"$=$N$h$&$JI8=`$K=`5r$7$F$$$J$$%V%i%&%6$G$b%j%@%$%l%/%H(B - $B@h$NJ8;z%;%C%H$r@5$7$/;H$&$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="examples" name="examples">$BNc(B</a></h2> - - <h3>$B$*$+$7$J5sF0$r$9$k%/%i%$%"%s%H$KBP$7$F%W%m%H%3%k$NF0:n$rJQ99$9$k(B</h3> - - <p>$B%/%i%$%"%s%H$K4X$9$k4{CN$NLdBj$KBP=h$9$k$?$a$K!"0J2<$N9T$r(B - httpd.conf $B$KF~$l$k$3$H$r?d>)$7$F$$$^$9!#(B</p> -<pre> -# -# The following directives modify normal HTTP response behavior. -# The first directive disables keepalive for Netscape 2.x and browsers that -# spoof it. There are known problems with these browser implementations. -# The second directive is for Microsoft Internet Explorer 4.0b2 -# which has a broken HTTP/1.1 implementation and does not properly -# support keepalive when it is used on 301 or 302 (redirect) responses. -# -BrowserMatch "Mozilla/2" nokeepalive -BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 - -# -# The following directive disables HTTP/1.1 responses to browsers which -# are in violation of the HTTP/1.0 spec by not being able to grok a -# basic 1.1 response. -# -BrowserMatch "RealPlayer 4\.0" force-response-1.0 -BrowserMatch "Java/1\.0" force-response-1.0 -BrowserMatch "JDK/1\.0" force-response-1.0 -</pre> - - <h3>$B2hA|$X$N%j%/%(%9%H$r%"%/%;%9%m%0$K5-O?$7$J$$(B</h3> - - <p>$B$3$NNc$G$O!"2hA|$X$N%j%/%(%9%H$,%"%/%;%9%m%0$K8=$l$J$$$h$&$K$7$^$9!#(B - $B$3$l$rJQ99$9$k$3$H$G!"FCDj$N%G%#%l%/%H%j$N%m%0<}=8$r$d$a$?$j!"(B - $BFCDj$N%[%9%H$+$i$N%j%/%(%9%H$N%m%0<}=8$r$d$a$?$j$9$k$3$H$,4JC1$K$G$-$^$9!#(B - </p> -<pre> - SetEnvIf Request_URI \.gif image-request - SetEnvIf Request_URI \.jpg image-request - SetEnvIf Request_URI \.png image-request - CustomLog logs/access_log env=!image-request -</pre> - - <h3>$B!V2hA|$NEpMQ!W$rKI$0(B</h3> - - <p>$B$3$NNc$O!"JL$N%5!<%P$K$$$k?M$,!"$"$J$?$N%5!<%P$K$"$k2hA|$r(B - inline $B2hA|$H$7$F;HMQ$9$k$3$H$rKI$.$^$9!#(B - $B$3$l$O?d>)$5$l$F$$$k@_Dj$G$O$"$j$^$;$s$,!"$"$k8BDj$5$l$?>u67$G$OM-8z$G$9!#(B - $B$3$3$G$O!"$9$Y$F$N2hA|$O(B /web/images $B$H$$$&%G%#%l%/%H%j$K$"$k$H2>Dj$7$^$9!#(B - </p> -<pre> - SetEnvIf Referer "^http://www.example.com/" local_referal - # Allow browsers that do not send Referer info - SetEnvIf Referer "^$" local_referal - <Directory /web/images> - Order Deny,Allow - Deny from all - Allow from env=local_referal - </Directory> -</pre> - - <p><em>$BCm(B:</em> 'referer' $B$H(B 'referal' $B$NDV$j$O0U?^E*$J$b$N$G$9(B ($BLuCm(B: - $B@5$7$$DV$j$O(B referrer $B$H(B referral)$B!#(B</p> - - <p>$B$3$N<jK!$K4X$9$k>\$7$$>pJs$O(B ApacheToday $B$N%A%e!<%H%j%"%k(B "<a - href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-ps" - >Keeping Your Images from Adorning Other Sites</a>" - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/handler.html.en b/usr.sbin/httpd/htdocs/manual/handler.html.en deleted file mode 100644 index a4d32c96c79..00000000000 --- a/usr.sbin/httpd/htdocs/manual/handler.html.en +++ /dev/null @@ -1,175 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache's Handler Use</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Apache's Handler Use</h1> - - <ul> - <li><a href="#definition">What is a Handler</a></li> - - <li><a href="#examples">Examples</a></li> - - <li><a href="#programmer">Programmer's Note</a></li> - </ul> - <hr /> - - <h2><a id="definition" name="definition">What is a - Handler</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="mod/mod_actions.html">mod_actions</a><br /> - <a href="mod/mod_asis.html">mod_asis</a><br /> - <a href="mod/mod_cgi.html">mod_cgi</a><br /> - <a href="mod/mod_imap.html">mod_imap</a><br /> - <a href="mod/mod_info.html">mod_info</a><br /> - <a href="mod/mod_include.html">mod_include</a><br /> - <a href="mod/mod_mime.html">mod_mime</a><br /> - <a - href="mod/mod_negotiation.html">mod_negotiation</a><br /> - <a href="mod/mod_status.html">mod_status</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="mod/mod_actions.html#action">Action</a><br /> - <a - href="mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a - href="mod/mod_mime.html#removehandler">RemoveHandler</a><br /> - <a - href="mod/mod_mime.html#sethandler">SetHandler</a><br /> - </td> - </tr> - </table> - - <p>A "handler" is an internal Apache representation of the - action to be performed when a file is called. Generally, files - have implicit handlers, based on the file type. Normally, all - files are simply served by the server, but certain file types - are "handled" separately.</p> - - <p>Apache 1.1 adds the ability to use handlers explicitly. - Based on either filename extensions or on location, handlers - can be specified without relation to file type. This is - advantageous both because it is a more elegant solution, and - because it also allows for both a type <strong>and</strong> a - handler to be associated with a file. (See also <a - href="mod/mod_mime.html#multipleext">Files with Multiple - Extensions</a>.)</p> - - <p>Handlers can either be built into the server or included in - a module, or they can be added with the <a - href="mod/mod_actions.html#action">Action</a> directive. The - built-in handlers in the standard distribution are as - follows:</p> - - <ul> - <li><strong>default-handler</strong>: Send the file using the - <code>default_handler()</code>, which is the handler used by - default to handle static content. (core)</li> - - <li><strong>send-as-is</strong>: Send file with HTTP headers - as is. (<a href="mod/mod_asis.html">mod_asis</a>)</li> - - <li><strong>cgi-script</strong>: Treat the file as a CGI - script. (<a href="mod/mod_cgi.html">mod_cgi</a>)</li> - - <li><strong>imap-file</strong>: Parse as an imagemap rule - file. (<a href="mod/mod_imap.html">mod_imap</a>)</li> - - <li><strong>server-info</strong>: Get the server's - configuration information. (<a - href="mod/mod_info.html">mod_info</a>)</li> - - <li><strong>server-parsed</strong>: Parse for server-side - includes. (<a - href="mod/mod_include.html">mod_include</a>)</li> - - <li><strong>server-status</strong>: Get the server's status - report. (<a href="mod/mod_status.html">mod_status</a>)</li> - - <li><strong>type-map</strong>: Parse as a type map file for - content negotiation. (<a - href="mod/mod_negotiation.html">mod_negotiation</a>)</li> - </ul> - <hr /> - - <h2><a id="examples" name="examples">Examples</a></h2> - - <h3>Modifying static content using a CGI script</h3> - - <p>The following directives will cause requests for files with - the <code>html</code> extension to trigger the launch of the - <code>footer.pl</code> CGI script.</p> -<pre> - Action add-footer /cgi-bin/footer.pl - AddHandler add-footer .html -</pre> - - <p>Then the CGI script is responsible for sending the - originally requested document (pointed to by the - <code>PATH_TRANSLATED</code> environment variable) and making - whatever modifications or additions are desired.</p> - - <h3>Files with HTTP headers</h3> - - <p>The following directives will enable the - <code>send-as-is</code> handler, which is used for files which - contain their own HTTP headers. All files in the - <code>/web/htdocs/asis/</code> directory will be processed by - the <code>send-as-is</code> handler, regardless of their - filename extensions.</p> -<pre> - <Directory /web/htdocs/asis> - SetHandler send-as-is - </Directory> -</pre> - <hr /> - - <h2><a id="programmer" name="programmer">Programmer's - Note</a></h2> - - <p>In order to implement the handler features, an addition has - been made to the <a href="misc/API.html">Apache API</a> that - you may wish to make use of. Specifically, a new record has - been added to the <code>request_rec</code> structure:</p> -<pre> - char *handler -</pre> - - <p>If you wish to have your module engage a handler, you need - only to set <code>r->handler</code> to the name of the - handler at any time prior to the <code>invoke_handler</code> - stage of the request. Handlers are implemented as they were - before, albeit using the handler name instead of a content - type. While it is not necessary, the naming convention for - handlers is to use a dash-separated word, with no slashes, so - as to not invade the media type name-space.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/handler.html.ja.jis b/usr.sbin/httpd/htdocs/manual/handler.html.ja.jis deleted file mode 100644 index 8603026b781..00000000000 --- a/usr.sbin/httpd/htdocs/manual/handler.html.ja.jis +++ /dev/null @@ -1,175 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B$N%O%s%I%i$N;HMQ(B</title> - </head> - <!-- English revision: 1.22 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache $B$N%O%s%I%i$N;HMQ(B</h1> - - <ul> - <li><a href="#definition">$B%O%s%I%i$H$O(B</a></li> - - <li><a href="#examples">$BNc(B</a></li> - - <li><a href="#programmer">$B%W%m%0%i%^8~$1$N%a%b(B</a></li> - </ul> - <hr /> - - <h2><a id="definition" name="definition">$B%O%s%I%i$H$O(B</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="mod/mod_actions.html">mod_actions</a><br /> - <a href="mod/mod_asis.html">mod_asis</a><br /> - <a href="mod/mod_cgi.html">mod_cgi</a><br /> - <a href="mod/mod_imap.html">mod_imap</a><br /> - <a href="mod/mod_info.html">mod_info</a><br /> - <a href="mod/mod_include.html">mod_include</a><br /> - <a href="mod/mod_mime.html">mod_mime</a><br /> - <a - href="mod/mod_negotiation.html">mod_negotiation</a><br /> - <a href="mod/mod_status.html">mod_status</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="mod/mod_actions.html#action">Action</a><br /> - <a - href="mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a - href="mod/mod_mime.html#removehandler">RemoveHandler</a><br /> - <a - href="mod/mod_mime.html#sethandler">SetHandler</a><br /> - </td> - </tr> - </table> - - <p>$B!V%O%s%I%i!W$H$O!"%U%!%$%k$,8F$P$l$?$H$-$K<B9T$5$l$kF0:n$N(B Apache - $B$K$*$1$kFbItI=8=$G$9!#DL>o!"%U%!%$%k$O%U%!%$%k7?$K4p$E$$$?0EL[$N(B - $B%O%s%I%i$,$"$j$^$9!#IaDL$O$9$Y$F$N%U%!%$%k$OC1$K%5!<%P$K07$o$l$^$9$,!"(B - $B%U%!%$%k%?%$%W$NCf$K$OJL$K!V%O%s%I%k!W(B ($BLuCm(B: $B07$&(B) $B$5$l$k$b$N$b$"$j$^$9!#(B - </p> - - <p>Apache 1.1 $B$G$O!"%O%s%I%i$rL@<(E*$K;HMQ$9$k5!G=$,DI2C$5$l$^$7$?!#(B - $B%U%!%$%k$N3HD%;R$dCV$$$F$$$k>l=j$K4p$E$$$F!"%U%!%$%k7?$H4X78$J$/(B - $B%O%s%I%i$r;XDj$9$k$3$H$,$G$-$^$9!#$3$l$O$h$jM%2m$J2r7hK!$H$$$&E@$H!"(B - $B%U%!%$%k$K%?%$%W(B<strong>$B$H(B</strong> - $B%O%s%I%i$NN>J}$r4XO"IU$1$k$3$H$,$G$-$k$H$$$&E@$GM%$l$F$$$^$9!#(B - (<a href="mod/mod_mime.html#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a> - $B$b;2>H$7$F$/$@$5$$(B)$B!#(B - </p> - - <p>$B%O%s%I%i$O%5!<%P$KAH$_9~$s$@$j!"%b%8%e!<%k$H$7$F4^$a$?$j!"(B - <a href="mod/mod_actions.html#action">Action</a> - $B%G%#%l%/%F%#%V$H$7$FDI2C$7$?$j$9$k$3$H$,$G$-$^$9!#(B - $B0J2<$OI8=`G[I[$KAH$_9~$^$l$F$$$k%O%s%I%i$G$9!#(B - </p> - - <ul> - <li><strong>default-handler</strong>: <code>default_handelr()</code> - $B$r;H$C$F%U%!%$%k$rAw$j$^$9!#(B - $B@EE*$J%3%s%F%s%D$r07$&$H$-$K%G%U%)%k%H$G;HMQ$5$l$k%O%s%I%i$G$9!#(B(core)</li> - - <li><strong>send-as-is</strong>: - HTTP $B%X%C%@$N$"$k%U%!%$%k$r$=$N$^$^Aw$j$^$9!#(B - (<a href="mod/mod_asis.html">mod_asis</a>)</li> - - <li><strong>cgi-script</strong>: $B%U%!%$%k$r(B CGI - $B%9%/%j%W%H$H$7$F07$$$^$9!#(B(<a href="mod/mod_cgi.html">mod_cgi</a>)</li> - - <li><strong>imap-file</strong>: - $B%$%a!<%8%^%C%W$N%k!<%k%U%!%$%k$H$7$F2r@O$7$^$9!#(B - (<a href="mod/mod_imap.html">mod_imap</a>)</li> - - <li><strong>server-info</strong>: $B%5!<%P$N@_Dj>pJs$r<hF@$7$^$9!#(B - (<a href="mod/mod_info.html">mod_info</a>)</li> - - <li><strong>server-parsed</strong>: SSI $B$r2r@O$7$^$9!#(B - (<a href="mod/mod_include.html">mod_include</a>)</li> - - <li><strong>server-status</strong>: $B%5!<%P$N>uBVJs9p$r<hF@$7$^$9!#(B - (<a href="mod/mod_status.html">mod_status</a>)</li> - - <li><strong>type-map</strong>: - $B%3%s%F%s%H%M%4%7%(!<%7%g%s$N$?$a$N%?%$%W%^%C%W$H$7$F2r@O$7$^$9!#(B - (<a href="mod/mod_negotiation.html">mod_negotiation</a>)</li> - </ul> - <hr /> - - <h2><a id="examples" name="examples">$BNc(B</a></h2> - - <h3>CGI $B%9%/%j%W%H$rMQ$$$F@EE*$J%3%s%F%s%D$rJQ99$9$k(B</h3> - - <p>$B0J2<$N%G%#%l%/%F%#%V$K$h$C$F!"3HD%;R$,(B <code>html</code> - $B$G$"$k%U%!%$%k$O(B <code>footer.pl</code> - CGI $B%9%/%j%W%H$r5/F0$9$k$h$&$K$J$j$^$9!#(B</p> -<pre> - Action add-footer /cgi-bin/footer.pl - AddHandler add-footer .html -</pre> - - <p>CGI $B%9%/%j%W%H$OK>$^$7$$=$@5$dDI2C$r9T$J$C$F!"85!9MW5a$5$l$?J8=q(B - ($B4D6-JQ?t(B <code>PATH_TRANSLATED</code> $B$G;X$5$l$F$$$^$9(B) - $B$rAw$k@UG$$,$"$j$^$9!#(B - </p> - - <h3>HTTP $B%X%C%@$N$"$k%U%!%$%k(B</h3> - - <p>$B0J2<$N%G%#%l%/%F%#%V$O(B <code>send-as-is</code> - $B%O%s%I%i$r;HMQ$9$k$h$&$K;X<($7$^$9!#$3$N%O%s%I%i$O<+J,<+?H$N(B - HTTP $B%X%C%@$r;}$C$F$$$k%U%!%$%k$K;HMQ$5$l$^$9!#$3$3$G$O!"3HD%;R$K4X$o$i$:!"(B - <code>/web/htdocs/asis</code> $B%G%#%l%/%H%j$K$"$kA4$F$N%U%!%$%k$O(B - <code>send-as-is</code> $B%O%s%I%i$K$h$C$F07$o$l$^$9!#(B - </p> -<pre> - <Directory /web/htdocs/asis> - SetHandler send-as-is - </Directory> -</pre> - <hr /> - - <h2><a id="programmer" name="programmer">$B%W%m%0%i%^8~$1$N%a%b(B</a></h2> - - - <p>$B%O%s%I%i$N5!G=$r<BAu$9$k$?$a$K!"MxMQ$9$k$HJXMx$+$b$7$l$J$$$b$N$,(B - <a href="misc/api.html">Apache API</a> $B$KDI2C$5$l$^$7$?!#(B - $B>\$7$/8@$&$H!"(B<code>request_rec</code> - $B9=B$BN$K?7$7$$%l%3!<%I$,DI2C$5$l$?$H$$$&$3$H$G$9!#(B</p> -<pre> - char *handler -</pre> - - <p>$B$b$7%b%8%e!<%k$,%O%s%I%i$K4X$o$j$?$$>l9g!"$d$i$J$1$l$P$J$i$J$$$3$H$O!"(B - $B%j%/%(%9%H$,(B <code>invoke_handler</code>$B%9%F!<%8$KC#$9$k0JA0$K(B - <code>r->handler</code>$B$r@_Dj$9$k$3$H$@$1$G$9!#(B - $B%O%s%I%i$O%3%s%F%s%H%?%$%W$NBe$o$j$K%O%s%I%iL>$r;H$&$h$&$K$J$C$F$$$k$3$H0J30$O!"(B - $B0JA0$HF1$8$h$&$K<BAu$5$l$F$$$^$9!#I,$:MW5a$5$l$F$$$k$o$1$G$O$"$j$^$;$s$,!"(B - $B%a%G%#%"%?%$%W$NL>A06u4V$r?/$5$J$$$h$&$K!"%O%s%I%i$NL>A0$K$O%9%i%C%7%e(B - $B$r4^$^$J$$!"%@%C%7%e(B ($BLuCm(B: "-") $B$GJ,N%$5$l$?L>A0$rIU$1$k=,47$K$J$C$F$$$^$9!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/index.html.en b/usr.sbin/httpd/htdocs/manual/index.html.en deleted file mode 100644 index f3d033272ef..00000000000 --- a/usr.sbin/httpd/htdocs/manual/index.html.en +++ /dev/null @@ -1,318 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache HTTP Server Version 1.3 Documentation</title> - </head> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"><img src="images/apache_header.gif" - width="600" height="62" border="0" - alt="[Apache Documentation]" /></td> - </tr> - - <tr> - <td align="center" bgcolor="#4f4f4f"> - <table cellspacing="1" cellpadding="4" border="0" - width="100%"> - <tr> - <td align="center" bgcolor="#bebebe"><a - href="misc/FAQ.html"><strong>FAQ</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="sitemap.html"><strong>SiteMap</strong></a></td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/directives.html"><strong>Directives</strong></a> - </td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/"><strong>Modules</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="http://www.apache.org/search.html"><strong>Search</strong></a> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td align="center" height="30"> - <h3>Apache HTTP Server Version 1.3</h3> - </td> - </tr> - </table> - </div> - - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"> - <form method="post" action="http://search.apache.org/"> - <input type="hidden" name="what" - value="httpd.apache.org" /> <input type="hidden" - name="results" value="20" /> <input type="hidden" - name="version" value="2" /> <input type="text" - name="keyword" size="20" /> <input type="submit" - value="Search" /> - </form> - </td> - </tr> - </table> - - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>Release Notes</strong> </td> - </tr> - - <tr> - <td><a href="new_features_1_3.html">New Features in - Version 1.3</a> </td> - </tr> - - <tr> - <td><a href="upgrading_to_1_3.html">Upgrading to - Version 1.3</a> </td> - </tr> - - <tr> - <td><a href="LICENSE">Apache License</a> </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>Reference Manual</strong> </td> - </tr> - - <tr> - <td><a href="install.html">Compiling and - Installing</a> </td> - </tr> - - <tr> - <td><a href="invoking.html">Starting</a> </td> - </tr> - - <tr> - <td><a href="stopping.html">Stopping or - Restarting</a> </td> - </tr> - - <tr> - <td><a href="mod/directives.html">Run-time - Configuration Directives</a> </td> - </tr> - - <tr> - <td>Modules: <a href="mod/index-bytype.html">By - Type</a> or <a - href="mod/index.html">Alphabetical</a> </td> - </tr> - - <tr> - <td><a href="programs/">Server and Supporting - Programs</a> </td> - </tr> - - <tr> - <td><a href="dso.html">Dynamic Shared Object (DSO) - Support</a> </td> - </tr> - - <tr> - <td><a href="misc/API.html">The Apache API</a> - </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>Platform Specific Notes</strong> </td> - </tr> - - <tr> - <td><a href="windows.html">Microsoft Windows</a> | - <a href="cygwin.html">Cygwin</a> </td> - </tr> - - <tr> - <td><a href="netware.html">Novell Netware</a> - </td> - </tr> - - <tr> - <td><a href="mpeix.html">HP MPE/iX</a> </td> - </tr> - - <tr> - <td><a href="unixware.html">UnixWare</a> </td> - </tr> - - <tr> - <td><a href="readme-tpf.html">TPF</a> </td> - </tr> - </table> - </td> - - <td align="center" valign="top" bgcolor="#cccccc"> - <table border="0" cellpadding="0" cellspacing="0" - bgcolor="#cccccc"> - <tr> - <td align="center"><img src="images/pixel.gif" - width="1" height="1" border="0" alt="." /></td> - </tr> - </table> - </td> - - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Using - the Apache HTTP Server</strong> </td> - </tr> - - <tr> - <td><a href="howto/auth.html">Authentication, - Authorization, and Access Control</a></td> - </tr> - - <tr> - <td><a href="howto/cgi.html">CGI: Dynamic Content with - CGI</a> </td> - </tr> - - <tr> - <td><a href="configuring.html">Configuration - Files</a> </td> - </tr> - - <tr> - <td><a href="content-negotiation.html">Content - negotiation</a> </td> - </tr> - - <tr> - <td><a href="env.html">Environment Variables</a> - </td> - </tr> - - <tr> - <td><a href="misc/perf-tuning.html">General - Performance hints</a> </td> - </tr> - - <tr> - <td><a href="handler.html">Handlers</a> </td> - </tr> - - <tr> - <td><a href="logs.html">Log Files</a> </td> - </tr> - - <tr> - <td><a href="misc/security_tips.html">Security - tips</a> </td> - </tr> - - <tr> - <td><a href="howto/ssi.html">Server Side - Includes</a> </td> - </tr> - - <tr> - <td><a href="server-wide.html">Server-Wide - Configuration</a> </td> - </tr> - - <tr> - <td><a href="suexec.html">suexec: Using SetUserID Execution - for CGI</a> </td> - </tr> - - <tr> - <td><a href="urlmapping.html">URL Mapping: Mapping - URLs to the Filesystem</a> </td> - </tr> - - <tr> - <td><a href="misc/rewriteguide.html">URL Rewriting - Guide</a> </td> - </tr> - - <tr> - <td><a href="vhosts/index.html">Virtual Hosts</a> - </td> - </tr> - - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Other - Topics</strong> </td> - </tr> - - <tr> - <td><a href="misc/FAQ.html">Frequently Asked - Questions</a> </td> - </tr> - - <tr> - <td><a href="sitemap.html">SiteMap</a> - </td> - </tr> - - <tr> - <td><a href="misc/tutorials.html">Tutorials</a> - </td> - </tr> - - <tr> - <td><a href="misc/">Other Notes</a> </td> - </tr> - </table> - </td> - </tr> - </table> - <br /> - <br /> - </div> - - <p align="center">Maintained by the <a - href="http://httpd.apache.org/docs-project/">Apache HTTP Server - Documentation Project</a>.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/index.html.fr b/usr.sbin/httpd/htdocs/manual/index.html.fr deleted file mode 100644 index dbc5f67b87a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/index.html.fr +++ /dev/null @@ -1,286 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Documentation du serveur HTTP Apache version 1.3</title> - </head> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"><img src="images/apache_header.gif" - width="600" height="62" border="0" - alt="[Documentation d'Apache]" /></td> - </tr> - - <tr> - <td align="center" bgcolor="#4f4f4f"> - <table cellspacing="1" cellpadding="4" border="0" - width="100%"> - <tr> - <td align="center" bgcolor="#bebebe"><a - href="misc/FAQ.html"><strong>FAQ</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/directives.html"><strong>Directives</strong></a> - </td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/"><strong>Modules</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="http://www.apache.org/search.html"><strong>Rechercher</strong></a> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td align="center" height="30"> - <h3>Serveur HTTP Apache version 1.3</h3> - </td> - </tr> - </table> - </div> - - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"> - <form method="post" action="http://search.apache.org/"> - <input type="hidden" name="what" value="ap" /> <input - type="hidden" name="results" value="20" /> <input - type="text" name="keyword" size="20" /> <input - type="submit" value="Search" /> - </form> - </td> - </tr> - </table> - - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Notes - sur cette version</strong> </td> - </tr> - - <tr> - <td><a href="new_features_1_3.html">Nouvelles - fonctionnalités de la version 1.3</a> </td> - </tr> - - <tr> - <td><a href="upgrading_to_1_3.html">Migrer vers la - version 1.3</a> </td> - </tr> - - <tr> - <td><a href="LICENSE">Licence Apache</a> </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Manuel - de référence</strong> </td> - </tr> - - <tr> - <td><a href="install.html">Compilation et - installation</a> </td> - </tr> - - <tr> - <td><a href="invoking.html">Démarrage</a> - </td> - </tr> - - <tr> - <td><a href="stopping.html">Arrêt et - redémarrage</a> </td> - </tr> - - <tr> - <td><a href="mod/directives.html">Directives de - configuration de l'exécution</a> </td> - </tr> - - <tr> - <td>Modules: <a href="mod/index-bytype.html">par - type</a> or <a href="mod/index.html">par ordre - alphabétique</a> </td> - </tr> - - <tr> - <td><a href="dso.html">Support des Objets - partagés dynamiques (DSO)</a> </td> - </tr> - - <tr> - <td><a href="misc/API.html">L'API Apache</a> </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Notes - liées aux plates-formes</strong> </td> - </tr> - - <tr> - <td><a href="windows.html">Microsoft Windows</a> | - <a href="cygwin.html">Cygwin</a> </td> - </tr> - - <tr> - <td><a href="netware.html">Novell Netware</a> - </td> - </tr> - - <tr> - <td><a href="mpeix.html">HP MPE/iX</a> </td> - </tr> - - <tr> - <td><a href="unixware.html">UnixWare</a> </td> - </tr> - - <tr> - <td><a href="readme-tpf.html">TPF</a> </td> - </tr> - </table> - </td> - - <td align="center" valign="top" bgcolor="#cccccc"> - <table border="0" cellpadding="0" cellspacing="0" - bgcolor="#cccccc"> - <tr> - <td align="center"><img src="images/pixel.gif" - width="1" height="1" border="0" alt="." /></td> - </tr> - </table> - </td> - - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>Utilisation du serveur HTTP Apache</strong> - </td> - </tr> - - <tr> - <td><a href="configuring.html">Fichiers de - configuration</a> </td> - </tr> - - <tr> - <td><a href="server-wide.html">Configuration - globale du serveur</a> </td> - </tr> - - <tr> - <td><a href="vhosts/index.html">Hôtes - virtuels</a> </td> - </tr> - - <tr> - <td><a href="howto/ssi.html">Inclusion - côté serveur (SSI)</a> </td> - </tr> - - <tr> - <td><a href="howto/cgi.html">Contenu dynamique avec - les CGI</a> </td> - </tr> - - <tr> - <td><a href="handler.html">Handlers</a> </td> - </tr> - - <tr> - <td><a - href="content-negotiation.html">Négotiation - de contenu</a> </td> - </tr> - - <tr> - <td><a href="env.html">Variables - d'environnement</a> </td> - </tr> - - <tr> - <td><a href="suexec.html">Using SetUserID Execution - for CGI</a> </td> - </tr> - - <tr> - <td><a href="misc/perf-tuning.html">Aides sur les - performances générales</a> </td> - </tr> - - <tr> - <td><a href="misc/security_tips.html">Trucs sur la - sécurité</a> </td> - </tr> - - <tr> - <td><a href="misc/rewriteguide.html">Guide de - réécriture d'URLs</a> </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Autres - sujets</strong> </td> - </tr> - - <tr> - <td><a href="misc/FAQ.html">Foires aux - questions</a> </td> - </tr> - - <tr> - <td><a href="misc/tutorials.html">Tutoriels</a> - </td> - </tr> - - <tr> - <td><a href="misc/">Autres notes</a> </td> - </tr> - </table> - </td> - </tr> - </table> - </div> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/index.html.ja.jis b/usr.sbin/httpd/htdocs/manual/index.html.ja.jis deleted file mode 100644 index b718d844e8e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/index.html.ja.jis +++ /dev/null @@ -1,317 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - - <title>Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 1.3 $B%I%-%e%a%s%H(B</title> - </head> - <!-- English revision: 1.55 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"><img src="images/apache_header.gif" - width="600" height="62" border="0" - alt="[Apache $B%I%-%e%a%s%H(B]" /></td> - </tr> - - <tr> - <td align="center" bgcolor="#4f4f4f"> - <table cellspacing="1" cellpadding="4" border="0" - width="100%"> - <tr> - <td align="center" bgcolor="#bebebe"><a - href="misc/FAQ.html"><strong>FAQ</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="sitemap.html"><strong>$B%5%$%H%^%C%W(B</strong></a></td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/directives.html"><strong>$B%G%#%l%/%F%#%V(B</strong></a> - </td> - - <td align="center" bgcolor="#bebebe"><a - href="mod/"><strong>$B%b%8%e!<%k(B</strong></a> </td> - - <td align="center" bgcolor="#bebebe"><a - href="http://www.apache.org/search.html"><strong>$B8!:w(B</strong></a> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td align="center" height="30"> - <h3>Apache HTTP Server Version 1.3</h3> - </td> - </tr> - </table> - </div> - - <div align="center"> - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center"> - <form method="post" action="http://search.apache.org/"> - <input type="hidden" name="what" - value="httpd.apache.org" /><input type="hidden" - name="results" value="20" /><input type="hidden" - name="version" value="2" /><input type="text" - name="keyword" size="20" /><input type="submit" - value="search" /> - </form> - </td> - </tr> - </table> - - <table cellspacing="0" cellpadding="0" border="0" - width="600"> - <tr> - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>$B%j%j!<%9%N!<%H(B</strong> </td> - </tr> - - <tr> - <td><a href="new_features_1_3.html">Apache 1.3 $B$N?75!G=(B</a> - </td> - </tr> - - <tr> - <td><a href="upgrading_to_1_3.html">Apache 1.3 - $B$X$N%"%C%W%0%l!<%I(B</a> </td> - </tr> - - <tr> - <td><a href="LICENSE">Apache $B$N%i%$%;%s%9(B</a> </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>$B%j%U%!%l%s%9%^%K%e%"%k(B</strong> </td> - </tr> - - <tr> - <td><a href="install.html">$B%3%s%Q%$%k$H%$%s%9%H!<%k(B</a> - </td> - </tr> - - <tr> - <td><a href="invoking.html">$B5/F0(B</a> </td> - </tr> - - <tr> - <td><a href="stopping.html">$B=*N;$^$?$O:F5/F0(B</a> - </td> - </tr> - - <tr> - <td><a href="mod/directives.html">$B<B9T;~$N@_DjJ}K!(B</a> - </td> - </tr> - - <tr> - <td>$B%b%8%e!<%k(B: <a href="mod/index-bytype.html" - >$B<oN`JL(B</a> $B$H(B - <a href="mod/index.html">$B%"%k%U%!%Y%C%H=g(B</a> </td> - </tr> - - <tr> - <td><a href="programs/">$B%5!<%P$H%5%]!<%H%W%m%0%i%`(B</a> - </td> - </tr> - - <tr> - <td><a href="dso.html">Dynamic Shared Object (DSO) - $B$N%5%]!<%H(B</a> </td> - </tr> - - <tr> - <td><a href="misc/api.html">Apache API</a> - </td> - </tr> - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>$B%W%i%C%H%U%)!<%`8GM-$N>pJs(B</strong> </td> - </tr> - - <tr> - <td><a href="windows.html">Microsoft Windows</a> | - <a href="cygwin.html">Cygwin</a> </td> - </tr> - - <tr> - <td><a href="netware.html">Novell Netware</a> - </td> - </tr> - - <tr> - <td><a href="mpeix.html">HP MPE/iX</a> </td> - </tr> - - <tr> - <td><a href="unixware.html">UnixWare</a> </td> - </tr> - - <tr> - <td><a href="readme-tpf.html">TPF</a> </td> - </tr> - </table> - </td> - - <td align="center" valign="top" bgcolor="#cccccc"> - <table border="0" cellpadding="0" cellspacing="0" - bgcolor="#cccccc"> - <tr> - <td align="center"><img src="images/pixel.gif" - width="1" height="1" border="0" alt="." /></td> - </tr> - </table> - </td> - - <td align="center" valign="top"> - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"><strong>Apache - HTTP $B%5!<%P$r;H$&(B</strong> </td> - </tr> - - <tr> - <td><a href="howto/auth.html">$BG'>Z!"5v2D!"(B - $B%"%/%;%9@)8f(B</a></td> - </tr> - - <tr> - <td><a href="howto/cgi.html">CGI - $B$K$h$kF0E*%3%s%F%s%D(B</a> </td> - </tr> - - <tr> - <td><a href="configuring.html">$B@_Dj%U%!%$%k(B</a> - </td> - </tr> - - <tr> - <td><a href="content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a> </td> - </tr> - - <tr> - <td><a href="env.html">$B4D6-JQ?t(B</a> - </td> - </tr> - - <tr> - <td><a href="misc/perf-tuning.html" - >$B0lHLE*$J@-G=$K4X$9$k%R%s%H(B</a> </td> - </tr> - - <tr> - <td><a href="handler.html">$B%O%s%I%i(B</a> </td> - </tr> - - <tr> - <td><a href="logs.html">$B%m%0%U%!%$%k(B</a> </td> - </tr> - - <tr> - <td><a href="misc/security_tips.html"> - $B%;%-%e%j%F%#>pJs(B</a> </td> - </tr> - - <tr> - <td><a href="howto/ssi.html">Server Side Include</a> - </td> - </tr> - - <tr> - <td><a href="server-wide.html">$B%5!<%PA4BN$N@_Dj(B</a> - </td> - </tr> - - <tr> - <td><a href="suexec.html">CGI $B$G(B SetUserID - $B<B9T$r;H$&(B</a> </td> - </tr> - - <tr> - <td><a href="urlmapping.html">URL - $B$r%U%!%$%k%7%9%F%`$K%^%C%W$9$k(B</a> </td> - </tr> - - <tr> - <td><a href="misc/rewriteguide.html">URL Rewriting - $B$N%,%$%I(B</a> </td> - </tr> - - <tr> - <td><a href="vhosts/index.html">$B%P!<%A%c%k%[%9%H(B</a> - </td> - </tr> - - </table> - - <table border="0" cellpadding="4" cellspacing="0" - bgcolor="#ffffff" width="280"> - <tr> - <td align="center" bgcolor="#e9e9e9"> - <strong>$B$=$NB>(B</strong> </td> - </tr> - - <tr> - <td><a href="misc/FAQ.html">FAQ</a> - </td> - </tr> - - <tr> - <td><a href="sitemap.html">$B%5%$%H%^%C%W(B</a> - </td> - </tr> - - <tr> - <td><a href="misc/tutorials.html">$B%A%e!<%H%j%"%k(B</a> - </td> - </tr> - - <tr> - <td><a href="misc/">$B$=$NB>(B</a> </td> - </tr> - </table> - </td> - </tr> - </table> - <br /> - <br /> - </div> - - <p align="center"><a - href="http://httpd.apache.org/docs-project/">Apache HTTP Server - Documentation Project</a> $B$K$h$j%a%s%F%J%s%9$5$l$F$$$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/install.html.en b/usr.sbin/httpd/htdocs/manual/install.html.en deleted file mode 100644 index 67558688dd0..00000000000 --- a/usr.sbin/httpd/htdocs/manual/install.html.en +++ /dev/null @@ -1,425 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Compiling and Installing Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Compiling and Installing Apache 1.3</h1> - - <ul> - <li><a href="#download">Downloading Apache</a></li> - <li><a href="#intro">Introduction</a></li> - <li><a href="#apaci">Installing the Apache 1.3 HTTP server with APACI</a></li> - <ul> - <li><a href="#requirements">System requirements</a></li> - <li><a href="#configure">Configuring the source tree</a></li> - <li><a href="#build">Building the package</a></li> - <li><a href="#installing">Installing the package</a></li> - </ul> - <li><a href="#traditional">Building and installing the traditional way</a></li> - <ul> - <li><a href="#trad_configure">Configuring the installation</a></li> - <li><a href="#trad_compile">Compiling Apache</a></li> - <li><a href="#trad_install">Installing Apache</a></li> - </ul> - <li><a href="#testing">Testing the package</a></li> - <li><a href="#time">Set your system time correctly</a></li> - </ul> - - <p>This document covers compilation and installation of Apache on Unix - systems. For compiling and installation on other platforms, see</p> - - <ul> - <li><a href="windows.html">Using Apache with Microsoft Windows</a></li> - <li><a href="cygwin.html">Using Apache with Cygwin</a></li> - <li><a href="netware.html">Using Apache with Novell Netware</a></li> - <li><a href="mpeix.html">Using Apache with HP MPE/iX</a></li> - <li><a href="unixware.html">Compiling Apache under UnixWare</a></li> - <li><a href="readme-tpf.html">Overview of the Apache TPF Port</a></li> - </ul> - - <h2><a id="download" name="download">Downloading Apache</a></h2> - - <p>You may download the latest version of Apache either directly from the - <a href="http://httpd.apache.org/download.cgi">Download Page</a>.</p> - - <h2><a id="intro" name="intro">Introduction</a></h2> - - <p>Like all good things, there are two ways to configure, compile, and - install Apache. You can go for the 3-minute installation process using - the APACI process described below; or, you can opt for the same mechanism - used in previous versions of Apache, as described in the file - 'src/INSTALL'. Each mechanism has its benefits and drawbacks - APACI is - newer and a little more raw, but it gets you up and running the least - amount of time, whereas the "Configuration.tmpl" mechanism may be more - familiar and give you some more flexibility to the power user. We'd be - very interested in your comments and feedback regarding each - approach.</p> - - <h2><a id="apaci" name="apaci">Installing the Apache 1.3 HTTP server with - APACI</a></h2> - - <h3>Overview for the impatient</h3> -<pre> - $ ./configure --prefix=PREFIX - $ make - $ make install - $ PREFIX/bin/apachectl start -</pre> - - <p><b>NOTE:</b> <code>PREFIX</code> is not the string "PREFIX". Instead - use the Unix filesystem path under which Apache should be installed. For - instance use "<code>/usr/local/apache</code>" for PREFIX above.</p> - - <h3><a id="requirements" name="requirements">Requirements</a></h3> - - <p>The following requirements exist for building Apache:</p> - - <dl> - <dt><b>Disk Space:</b></dt> - - <dd>Make sure you have approximately 12 MB of temporary free disk space - available. After installation Apache occupies approximately 3 MB of - disk space (the actual required disk space depends on the amount of - compiled in third party modules, etc).</dd> - - <dt><b>ANSI-C Compiler:</b></dt> - - <dd>Make sure you have an ANSI-C compiler installed. The GNU C compiler - (GCC) from the Free Software Foundation (FSF) is recommended (version - 2.7.2 is fine). If you don't have GCC then at least make sure your - vendors compiler is ANSI compliant. You can find the homepage of GNU at - http://www.gnu.org/ and the GCC distribution under - http://www.gnu.org/order/ftp.html .</dd> - - <dt><b>Perl 5 Interpreter [OPTIONAL]:</b></dt> - - <dd>For some of the support scripts like `apxs' or `dbmmanage' (which - are written in Perl) the Perl 5 interpreter is required (versions 5.003 - and 5.004 are fine). If no such interpreter is found by APACI's - `configure' script this is no harm. Of course, you still can build and - install Apache 1.3. Only those support scripts cannot be used. If you - have multiple Perl interpreters installed (perhaps a Perl 4 from the - vendor and a Perl 5 from your own), then it is recommended to use the - --with-perl option (see below) to make sure the correct one is selected - by APACI.</dd> - - <dt><b>Dynamic Shared Object (DSO) support [OPTIONAL]:</b></dt> - - <dd> - <p>To provide maximum flexibility Apache now is able to load modules - under runtime via the DSO mechanism by using the pragmatic - dlopen()/dlsym() system calls. These system calls are not available - under all operating systems therefore you cannot use the DSO - mechanism on all platforms. And Apache currently has only limited - built-in knowledge on how to compile shared objects because this is - heavily platform-dependent. The current state is this:</p> - - <ul> - <li> - Out-of-the-box supported platforms are: - - <p> - <table border="0"> - <tr> - <td>Linux</td> - <td>SunOS</td> - <td>UnixWare</td> - <td>Darwin/Mac OS</td> - </tr> - <tr> - <td>FreeBSD</td> - <td>Solaris</td> - <td>AIX</td> - <td>OpenStep/Mach</td> - </tr> - <tr> - <td>OpenBSD</td> - <td>IRIX</td> - <td>SCO</td> - <td>DYNIX/ptx</td> - </tr> - <tr> - <td>NetBSD</td> - <td>HPUX</td> - <td>ReliantUNIX</td> - <td>BSDI</td> - </tr> - <tr> - <td>Digital Unix</td> - <td>DGUX</td> - </tr> - </table> - </p> - </li> - - <li> - Entirely unsupported platforms are: - - <p>Ultrix</p> - </li> - </ul> - - <p>If your system is not on these lists but has the dlopen-style - interface, you either have to provide the appropriate compiler and - linker flags (see CFLAGS_SHLIB, LDFLAGS_SHLIB and - LDFLAGS_SHLIB_EXPORT below) manually or at least make sure a Perl 5 - interpreter is installed from which Apache can guess the options.</p> - - <p>For more in-depth information about DSO support in Apache 1.3 - please read the document htdocs/manual/dso.html carefully. Especially - the section entitled "Advantages & Disadvantages" because using - the DSO mechanism can have strange side-effects if you are not - careful. BE WARNED!</p> - </dd> - </dl> - - <h3><a name="configure">Configuring the source tree</a></h3> - - <p>The next step is to configure the Apache source tree for your - particular platform and personal requirements. The most important setup - here is the location prefix where Apache is to be installed later, - because Apache has to be configured for this location to work correctly. - But there are a lot of other options available for your pleasure.</p> - - <p>For a short impression of what possibilities you have, here is a - typical example which compiles Apache for the installation tree - /sw/pkg/apache with a particular compiler and flags plus the two - additional modules mod_rewrite and mod_proxy for later loading through - the DSO mechanism:</p> -<pre> - $ CC="pgcc" OPTIM="-O2" \ - ./configure --prefix=/usr/local/apache \ - --enable-module=rewrite --enable-shared=rewrite \ - --enable-module=proxy --enable-shared=proxy -</pre> - - <p>For a complete list of the available options, type the following - command:</p> - <p><code>./configure --help</code></p> - - <p>See also the file <code>README.configure</code> for listings of - example configurations.</p> - - <h3><a name="build">Building the package</a></h3> - - <p>Now you can build the various parts which form the Apache package by - simply running the command</p> -<pre> - $ make -</pre> - - <p>Please be patient here, this takes approximately 2 minutes to complete - under a Pentium-166/FreeBSD-2.2 system, dependent on the amount of - modules you have enabled.</p> - - <h3><a name="installing">Installing the package</a></h3> - - <p>Now its time to install the package under the configured installation - <code>PREFIX</code> (see the <code>--prefix</code> option above):</p> -<pre> - $ make install -</pre> - - <p>In the following examples, <code>PREFIX</code> is not the literal string - "PREFIX", but whatever argument you provided to - the<code>--prefix</code> option.</p> - -<!-- Building and installing Apache in the traditional way --> - - <h2><a name="traditional">Building and installing Apache in the traditional way</a></h2> - - Before the advent of APACI, there was just one way to build and - install Apache. While APACI gave a configuration interface which is - more familiar to some people, the older method gives a way to - configure the installation without typing a large number of - command-line options. - - <h3><a name="trad_configure">Configuring the installation</a></h3> - - Compiling Apache consists of three steps: First select which - Apache <strong>modules</strong> you want to include into the - server. Second create a configuration for your operating - system. Third compile the executable. - - <p>All configuration of Apache is performed in the - <code>src</code> directory of the Apache distribution. Change - into this directory.</p> - - <ol> - <li> - Select modules to compile into Apache in the <code>Configuration</code> - file <code>src/Configuration.tmpl</code>. Uncomment lines - corresponding to those optional modules you wish to include - (among the AddModule lines at the bottom of the file), or - add new lines corresponding to additional modules you have - downloaded or written. (See <a - href="misc/API.html">API.html</a> for preliminary docs on - how to write Apache modules). Advanced users can comment - out some of the default modules if they are sure they will - not need them (be careful though, since many of the default - modules are vital for the correct operation and security of - the server). - - <p>You should also read the instructions in the - <code>Configuration</code> file to see if you need to set - any of the <code>Rule</code> lines.</p> - </li> - - <li> - Configure Apache for your operating system. Normally you - can just run the <code>Configure</code> script as given - below. However if this fails or you have any special - requirements (<em>e.g.</em>, to include an additional - library required by an optional module) you might need to - edit one or more of the following options in the - <code>Configuration</code> file: <code>EXTRA_CFLAGS, LIBS, - LDFLAGS, INCLUDES</code>. - - <p>Run the <code>Configure</code> script:</p> - - <blockquote> -<pre> - % Configure - Using 'Configuration' as config file - + configured for <whatever> platform - + setting C compiler to <whatever> * - + setting C compiler optimization-level to <whatever> * - + Adding selected modules - + doing sanity check on compiler and options - Creating Makefile in support - Creating Makefile in main - Creating Makefile in os/unix - Creating Makefile in modules/standard - -</pre> - </blockquote> - (*: Depending on Configuration and your system, Configure - might not print these lines. That's OK). - - <p>This generates a Makefile for use in stage 3. It also - creates a Makefile in the support directory, for - compilation of the optional support programs.</p> - - <p>(If you want to maintain multiple configurations, you - can give an option to <code>Configure</code> to tell it to - read an alternative Configuration file, such as - <code>Configure -file Configuration.ai</code>).</p> - </li> - -<h3><a name="trad_compile">Compiling Apache</a></h3> - - <li>Type <code>make</code>.</li> - </ol> - The modules we place in the Apache distribution are the ones we - have tested and are used regularly by various members of the - Apache development group. Additional modules contributed by - members or third parties with specific needs or functions are - available at <<a - href="http://www.apache.org/dist/httpd/contrib/modules/">http://www.apache.org/dist/httpd/contrib/modules/</a>>. - There are instructions on that page for linking these modules - into the core Apache code. - - <h3><a name="trad_install">Installing Apache</a></h3> - You will have a binary file called <code>httpd</code> in the - <code>src</code> directory. A binary distribution of Apache - will supply this file. - - <p>The next step is to install the program and configure it. - Apache is designed to be configured and run from the same set - of directories where it is compiled. If you want to run it from - somewhere else, make a directory and copy the - <code>conf</code>, <code>logs</code> and <code>icons</code> - directories into it. In either case you should read the <a - href="misc/security_tips.html#serverroot">security tips</a> - describing how to set the permissions on the server root - directory.</p> - - <p>The next step is to edit the configuration files for the - server. This consists of setting up various - <strong>directives</strong> in up to three central - configuration files. By default, these files are located in the - <code>conf</code> directory and are called - <code>srm.conf</code>, <code>access.conf</code> and - <code>httpd.conf</code>. To help you get started there are same - files in the <code>conf</code> directory of the distribution, - called <code>srm.conf-dist</code>, - <code>access.conf-dist</code> and <code>httpd.conf-dist</code>. - Copy or rename these files to the names without the - <code>-dist</code>. Then edit each of the files. Read the - comments in each file carefully. Failure to setup these files - correctly could lead to your server not working or being - insecure. You should also have an additional file in the - <code>conf</code> directory called <code>mime.types</code>. - This file usually does not need editing.</p> - - <p>First edit <code>httpd.conf</code>. This sets up general - attributes about the server: the port number, the user it runs - as, <em>etc.</em> Next edit the <code>srm.conf</code> file; - this sets up the root of the document tree, special functions - like server-parsed HTML or internal imagemap parsing, - <em>etc.</em> Finally, edit the <code>access.conf</code> file - to at least set the base cases of access.</p> - - <p>In addition to these three files, the server behavior can be - configured on a directory-by-directory basis by using - <code>.htaccess</code> files in directories accessed by the - server.</p> - - <h3>Compiling Support Programs</h3> - In addition to the main <code>httpd</code> server which is - compiled and configured as above, Apache includes a number of - support programs. These are not compiled by default. The - support programs are in the <code>support</code> directory of - the distribution. To compile the support programs, change into - this directory and type -<pre> - make -</pre> - - <h2><a name="testing">Testing the package</a></h2> - - <p>Now you can fire up your Apache HTTP server by immediately running</p> -<pre> - $ PREFIX/bin/apachectl start -</pre> - - <p>and then you should be able to request your first document via URL - http://localhost/ (when you built and installed Apache as root or at - least used the --without-confadjust option) or http://localhost:8080/ - (when you built and installed Apache as a regular user). Then stop the - server again by running:</p> -<pre> - $ PREFIX/bin/apachectl stop -</pre> - - <h2><a name="time">Set your system time properly!</a></h2> - Proper operation of a public web server requires accurate time - keeping, since elements of the HTTP protocol are expressed as - the time of day. So, it's time to investigate setting up NTP or - some other time synchronization system on your Unix box, or - the <code>net time</code> command on NT. - - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/install.html.fr b/usr.sbin/httpd/htdocs/manual/install.html.fr deleted file mode 100644 index e6b600aa509..00000000000 --- a/usr.sbin/httpd/htdocs/manual/install.html.fr +++ /dev/null @@ -1,335 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Compilation et installation d'Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Compilation et installation d'Apache - 1.3</h1> - - <p>Ce document décrit la compilation et l'installation - d'Apache sur les systèmes Unix, en employant la - compilation et l'installation manuelle. Si vous souhaitez - utiliser l'interface de configuration semblable à - autoconf, il est conseillé de lire plutôt le - fichier INSTALL situé dans la racine des fichiers - sources de la distribution d'Apache. Pour compiler et installer - Apache sur d'autres plates-formes, consultez</p> - - <ul> - <li><a href="windows.html">Utilisation d'Apache sur Microsoft - Windows</a></li> - - <li><a href="cygwin.html">Utilisation d'Apache sur - Cygwin</a></li> - - <li><a href="netware.html">Utilisation d'Apache sur Novell - Netware</a></li> - - <li><a href="mpeix.html">Utilisation d'Apache sur HP - MPE/iX</a></li> - - <li><a href="unixware.html">Utilisation d'Apache sur - UnixWare</a></li> - - <li><a href="readme-tpf.html">Aperçu du portage - d'Apache sur TPF</a></li> - </ul> - - <h2>Téléchargement d'Apache</h2> - Les informations sur la dernière version d'Apache se - trouvent sur le site web d'Apache à l'adresse <a - href="http://www.apache.org/">http://www.apache.org/</a>. Ce - site réunit la version actuelle, les récentes - versions beta, ainsi que la liste des sites miroirs web et ftp - anonymes. - - <p>Si vous avez téléchargé une - distribution composée des binaires, passez directement - à l'<a href="#installing">installation d'Apache</a>. Sinon - lisez la section suivante afin de savoir comment compiler le - serveur.</p> - - <h2>Compilation d'Apache</h2> - La compilation d'Apache se compose de trois étapes : la - sélection des <strong>modules</strong> que vous - souhaitez inclure dans le serveur; la création de la - configuration pour votre système d'exploitation; la - compilation les sources pour créer les - exécutables. - - <p>La configuration d'Apache s'effectue dans le - répertoire <code>src</code> de la distribution. Entrez - dans ce répertoire.</p> - - <ol> - <li> - Sélection des modules à compiler dans Apache - définis dans le fichier <code>Configuration</code>. - Décommentez les lignes correspondant aux modules que - vous souhaitez inclure (parmi les lignes commençant - par AddModule situées à la fin du fichier), - ou ajoutez de nouvelles lignes correspondant à des - modules additionnels que vous avez - téléchargés ou écrits. (Voir <a - href="misc/API.html">API.html</a> comme documentation - préliminaire à l'écriture de modules - Apache). Les utilisateurs avertis peuvent commenter - certains des modules actifs par défaut si ils sont - sûrs qu'ils n'en ont pas besoin (il faut - néanmoins faire attention, car la plupart des - modules actifs par défaut sont vitaux au bon - fonctionnement et à la sécurité du - serveur). - - <p>Vous pouvez également lire les instructions - contenues dans le fichier <code>Configuration</code> afin - de savoir si devez activer certaines lignes - commençant par <code>Rule</code>.</p> - </li> - - <li> - Création de la configuration pour votre - système d'exploitation. Normalement vous n'avez - qu'à exécuter le script - <code>Configure</code> comme décrit ci-dessous. - Cependant si le script échoue ou si vous avez des - besoins particuliers (par exemple inclure une librairie - nécessaire à un module optionnel) vous devrez - modifier une ou plusieurs des options contenues dans le - fichier <code>Configuration</code> : <code>EXTRA_CFLAGS, - LIBS, LDFLAGS, INCLUDES</code>. - - <p>Lancement du script <code>Configure</code> :</p> - - <blockquote> -<pre> - % Configure - Using 'Configuration' as config file - + configured for <whatever> platform - + setting C compiler to <whatever> * - + setting C compiler optimization-level to <whatever> * - + Adding selected modules - + doing sanity check on compiler and options - Creating Makefile in support - Creating Makefile in main - Creating Makefile in os/unix - Creating Makefile in modules/standard - -</pre> - </blockquote> - (*: selon le fichier Configuration et votre système, - Configure peut ne pas afficher ces lignes). - - <p>Ceci crée un fichier Makefile qui sera - utilisé lors de l'étape trois. Il crée - également un fichier Makefile dans le - répertoire <code>support</code>, pour compiler les - programmes optionnels d'assistance.</p> - - <p>(Si vous souhaitez maintenir différentes - configurations, <code>Configure</code> accepte une option - lui disant de lire un autre fichier de configuration, comme - : <code>Configure -file Configuration.ai</code>).</p> - </li> - - <li> - Compilation des sources. Tapez : -<pre> -make -</pre> - </li> - </ol> - Les modules contenus dans la distribution Apache sont ceux que - nous avons testés et qui ont été - utilisés par plusieurs membres de l'équipe de - développement d'Apache. Les modules additionnels - proposés par les membres ou par d'autres contributeurs - correspondant à des besoins ou des fonctions - spécifiques sont disponibles à l'adresse <<a - href="http://www.apache.org/dist/httpd/contrib/modules/">http://www.apache.org/dist/httpd/contrib/modules/</a>>. - Des instructions sont fournies sur cette page pour lier ces - modules au noyau d'Apache. - - <h2><a id="installing" name="installing">Installation - d'Apache</a></h2> - Vous devez avoir un exécutable appelé - <code>httpd</code> dans le répertoire <code>src</code>. - Une distribution des binaires doit fournir ce fichier. - - <p>La prochaine étape est d'installer le programme et de - le configurer. Apache est conçu pour être - configuré et lancé à partir du même - groupe de répertoires que celui où il a - été compilé. Si vous souhaitez le lancer - d'un autre emplacement, créer un répertoire et y - copier les répertoires <code>conf</code>, - <code>logs</code> et <code>icons</code>. Dans tous les cas - lisez le document <a - href="misc/security_tips.html#serverroot">trucs sur la - sécurité</a> qui décrit comment affecter - les droits sur le répertoire racine du serveur.</p> - - <p>L'étape suivante est la modification des fichiers de - configuration du serveur. Cela consiste à définir - différentes <strong>directives</strong> dans les trois - fichiers centraux de configuration. Par défaut ces - fichiers sont situés dans le répertoire - <code>conf</code> et s'appellent <code>srm.conf</code>, - <code>access.conf</code> et <code>httpd.conf</code>. Pour vous - aider, les mêmes fichiers existent dans le - répertoire <code>conf</code> de la distribution et sont - appelés <code>srm.conf-dist</code>, - <code>access.conf-dist</code> et <code>httpd.conf-dist</code>. - Copiez ou renommez ces fichiers en supprimant le - <code>-dist</code> pour le nouveau nom. Ensuite éditez - chacun de ces fichiers. Lisez attentivement les commentaires de - chacun de ces fichiers. Une mauvaise configuration de ces - fichiers empêcherait votre serveur de démarrer, ou - introduirait un problème de sécurité. Vous - devez également trouver dans le répertoire - <code>conf</code> un fichier <code>mime.types</code>. - Généralement, ce fichier n'a pas besoin - d'être modifié.</p> - - <p>Premièrement éditez le fichier - <code>httpd.conf</code>. Celui ci fixe les paramètres - généraux du serveur : le numéro de port, - l'utilisateur qui l'exécute, etc. Ensuite éditez - le fichier <code>srm.conf</code>. Ce fichier définit la - racine de l'arborescence des documents, les fonctions - spéciales telles que les pages HTML dynamiques, - l'analyse des imagemap, etc. Enfin, éditez le fichier - <code>access.conf</code> pour au moins définir les - schémas d'accès de base.</p> - - <p>En plus de ces trois fichiers, le comportement du serveur - peut être configuré dans chaque répertoire - en utilisant les fichiers <code>.htaccess</code> pour les - répertoires accédés par le serveur.</p> - - <h3>Définissez l'heure du système correctement - !</h3> - Un bon fonctionnement d'un site web public nécessite une - heure juste, car des éléments du protocole HTTP - sont exprimés en termes de date et heure du jour. Il est - donc temps de chercher comment configurer NTP ou un autre - produit de synchronisation temporelle sur votre système - UNIX, ou un équivalent sous NT. - - <h3>Démarrage et arrêt du serveur</h3> - Pour démarrer le serveur, exécutez - <code>httpd</code>. Il cherchera le fichier - <code>httpd.conf</code> à l'emplacement - spécifié lors de la compilation (par - défaut <code>/usr/local/apache/conf/httpd.conf</code>). - Si ce fichier est situé autre part, vous pouvez indiquer - son emplacement en utilisant l'option -f. Par exemple : -<pre> - /usr/local/apache/httpd -f /usr/local/apache/conf/httpd.conf -</pre> - Si tout se passe bien, vous devez vous retrouver de nouveau sur - l'invite de commande. Ceci indique que le serveur est actif et - s'exécute. Si quelque chose se passe mal durant - l'initialisation du serveur, un message d'erreur s'affichera - à l'écran. Si le serveur démarre - correctement, vous pouvez utiliser votre navigateur, vous - connecter au serveur et lire la documentation. Si vous lancez - le navigateur à partir de la machine où - s'exécute le serveur et que vous utilisez le port par - défaut 80, une URL valide à taper dans votre - navigateur est : -<pre> - http://localhost/ -</pre> - - <p>Notez que lors du démarrage du serveur un certain - nombre de processus <em>fils</em> sont créés afin - de traiter les requêtes. Si vous démarrez le - serveur en étant root, le processus père - s'exécutera avec les droits de root, tandis que les - processus fils s'exécuteront avec les droits de - l'utilisateur défini dans le fichier httpd.conf.</p> - - <p>Si au lancement de <code>httpd</code> celui ci indique qu'il - n'arrive pas à s'attacher à une adresse, cela - signifie soit qu'un autre processus s'exécute - déjà en utilisant le numéro de port - défini dans la configuration d'Apache, soit que vous - essayez de lancer httpd en tant qu'utilisateur normal et que - vous essayez d'utiliser un port inférieur à 1024 - (comme le port 80 par exemple).</p> - - <p>Si le serveur ne s'exécute pas, lisez le message - affiché quand vous lancez httpd. Vous devez - également vérifier le fichier error_log pour plus - d'informations (dans la configuration par défaut ce - fichier est situé dans le fichier <code>error_log</code> - du répertoire <code>logs</code>).</p> - - <p>Si vous voulez que votre serveur continue à - s'exécuter après une relance du système, - vous devez ajouter un appel à <code>httpd</code> dans - vos fichiers de démarrage du système (typiquement - <code>rc.local</code> ou un fichier dans un répertoire - <code>rc.<em>N</em></code>). Ceci lancera le serveur Apache - avec les droits de root. Avant de le faire, vérifiez que - votre serveur est correctement configuré au niveau de la - sécurité et des restrictions d'accès.</p> - - <p>Pour arrêter Apache, envoyez au processus parent un - signal TERM. Le PID de ce processus est écrit dans le - fichier <code>httpd.pid</code> situé dans le - répertoire <code>logs</code> (à moins qu'Apache - soit configuré autrement). N'essayez pas de supprimer - les processus fils car d'autres seront créés par - le processus père. Une commande typique pour - arrêter le serveur est :</p> -<pre> - kill -TERM `cat /usr/local/apache/logs/httpd.pid` -</pre> - - <p>Pour plus d'information sur les options de la ligne de - commande, sur les fichiers de configuration et les fichiers de - trace, voir <a href="invoking.html">Démarrage - d'Apache</a>. Pour un guide de référence de - toutes les directives Apache autorisées par les modules - distribués, voir les <a - href="mod/directives.html">directives Apache</a> .</p> - - <h2>Compilation des programmes d'assistance</h2> - En plus du serveur <code>httpd</code> qui est compilé et - configuré comme ci dessus, Apache inclut un certain - nombre de programmes d'assistance. Ceux ci ne sont pas - compilés par défaut. Les programmes d'assistance - sont situés dans le répertoire - <code>support</code> de la distribution. Pour les compiler, - allez dans ce répertoire et tapez : -<pre> - make -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/install.html.ja.jis b/usr.sbin/httpd/htdocs/manual/install.html.ja.jis deleted file mode 100644 index 26170b179bf..00000000000 --- a/usr.sbin/httpd/htdocs/manual/install.html.ja.jis +++ /dev/null @@ -1,432 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Compiling and Installing Apache</title> - - </head> - <!-- English revision: 1.40 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000080" - alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache 1.3 $B$N%3%s%Q%$%k!&%$%s%9%H!<%k(B</h1> - - <ul> - <li><a href="#download">Apache $B$N%@%&%s%m!<%I(B</a></li> - <li><a href="#intro">$BF3F~(B</a></li> - <li><a href="#apaci">APACI $B$r;H$C$?(B Apache 1.3 HTTP $B%5!<%P$N%$%s%9%H!<%k(B</a></li> - <ul> - <li><a href="#requirements">$BI,MW$J%7%9%F%`(B</a></li> - <li><a href="#configure">$B%=!<%9%D%j!<$N@_Dj(B</a></li> - <li><a href="#build">$B%Q%C%1!<%8$N%S%k%I(B</a></li> - <li><a href="#installing">$B%Q%C%1!<%8$N%$%s%9%H!<%k(B</a></li> - </ul> - <li><a href="#traditional">$BEAE}E*$JJ}K!$K$h$k%S%k%I$H%$%s%9%H!<%k(B</a></li> - <ul> - <li><a href="#trad_configure">$B%$%s%9%H!<%k$N@_Dj(B</a></li> - <li><a href="#trad_compile">Apache $B$N%3%s%Q%$%k(B</a></li> - <li><a href="#trad_install">Apache $B$N%$%s%9%H!<%k(B</a></li> - </ul> - <li><a href="#testing">$B%Q%C%1!<%8$N%F%9%H(B</a></li> - <li><a href="#time">$B@5$7$$%7%9%F%`;~4V$N@_Dj(B</a></li> - </ul> - - <p>$B$3$NJ8=q$O(B Apache $B$r(B Unix $B%7%9%F%`>e$G!"%3%s%Q%$%k5Z$S%$%s%9%H!<%k(B - $B$9$k$?$a$N$b$N$G$9!#$=$l0J30$N%W%i%C%H%[!<%`>e$G$N%3%s%Q%$%k5Z$S(B - $B%$%s%9%H!<%k$K$D$$$F$O!"0J2<$N9`L\$r;2>H$7$F$/$@$5$$!#(B</p> - <ul> - <li><a href="windows.html">Microsoft Windows $B>e$G$N(B Apache$B$N;HMQ(B</a></li> - <li><a href="cygwin.html">Cygwin $B>e$G$N(B Apache $B$N;HMQ(B</a></li> - <li><a href="netware.html">Novell Netware $B>e$G$N(B Apache $B$N;HMQ(B</a></li> - <li><a href="mpeix.html">HP MPE/iX $B>e$G$N(B Apache $B$N;HMQ(B</a></li> - <li><a href="unixware.html">UnixWare $B>e$G$N(B Apache $B$N%3%s%Q%$%k(B</a></li> - <li><a href="readme-tpf.html">Apache $B$N(B TPF Port $B$N35MW(B</a> - </li> - </ul> - - <h2><a id="download" name="download">Apache $B$N%@%&%s%m!<%I(B</a></h2> - - <p>Apache $B$N:G?7HG$O(B <a - href="http://httpd.apache.org/download.cgi">Download Page</a> - $B$+$iD>@\%@%&%s%m!<%I$9$k$3$H$,=PMh$^$9!#(B</p> - - <h2><a id="intro" name="intro">$BF3F~(B</a></h2> - - <p>$B$9$Y$F$NNI$$J*$HF1MM!"(BApache $B$r@_Dj!"%3%s%Q%$%k!"%$%s%9%H!<%k(B - $B$9$kJ}K!$OFs$D$"$j$^$9!#0J2<$G@bL@$9$k(B APACI $B%W%m%;%9$r;H$C$?(B - 3$BJ,%$%s%9%H!<%k!"$^$?$O(B 'src/INSTALL' $B%U%!%$%k$G@bL@$5$l$F$$$k!"(B - $B0JA0$N%P!<%8%g%s$N(B Apache $B$HF1$85!9=$rA*Br$9$k$3$H$,=PMh$^$9!#(B - $B$=$l$>$l$KMxE@$H7gE@$,$"$j$^$9!#(B- APACI $B$O$h$j?7$7$/!"(B - $B>/$7=O@.$5$l$F$$$^$;$s$,$=$l$KHq$d$9;~4V$O:G>.8B$G:Q$_$^$9!#(B - $BBP$7$F!"(B"Configuration.tmpl" - $B$N5!9=$r;H$C$?=>Mh$NJ}K!$O%Q%o!<%f!<%6$K$H$C$F$O$h$j=@Fp$K07$&$3$H$,=PMh$^$9!#(B - $B2f!9$O!"$=$l$>$l$N$d$jJ}$KBP$9$k0U8+$d%U%#!<%I%P%C%/$K$OBgJQ6=L#$,$"$j$^$9(B - </p> - - <h2><a id="apaci" name="apaci">APACI $B$r;H$C$?(B Apache 1.3 HTTP - $B%5!<%P$N%$%s%9%H!<%k(B</a></h2> - - <h3>Overview for the impatient</h3> -<pre> - $ ./configure --prefix=PREFIX - $ make - $ make install - $ PREFIX/bin/apachectl start -</pre> - - <p><b>$BCm0U(B:</b> <code>PREFIX</code> $B$O(B "PREFIX" - $B$H$$$&J8;zNs$G$O$"$j$^$;$s!#Be$o$j$K(B Apache $B$r%$%s%9%H!<%k$7$?$$(B - Unix $B$N%U%!%$%k%7%9%F%`>e$N%Q%9$r;H$$$^$9!#$?$H$($P>e$N(B PREFIX - $B$NItJ,$K$O(B "<code>/usr/local/apache</code>" $B$,F~$j$^$9!#(B</p> - - <h3><a id="requirements" name="requirements">$BI,MW$J%7%9%F%`(B</a></h3> - <p>Apache $B$N%S%k%I$K$O0J2<$K5s$2$k$b$N$,I,MW$K$J$j$^$9(B</p> - - <dl> - <dt><b>$B%G%#%9%/%9%Z!<%9(B</b></dt> - - <dd>$BLs(B 12 MB $B$N%G%#%9%/%9%Z!<%9$,0l;~E*$KI,MW$K$J$k$3$H$r3NG'$7$F$/$@$5$$!#(B - $B%$%s%9%H!<%k8e$K$OLs(B 3 MB $B$N%G%#%9%/%9%Z!<%9$,I,MW$K$J$j$^$9!#(B - ($B<B:]$KI,MW$K$J%G%#%9%/%9%Z!<%9$OAH$_9~$^$l$?%5!<%I%Q!<%F%#!<$N(B - $B%b%8%e!<%kEy$K0M$j$^$9(B)$B!#(B</dd> - - <dt><b>ANSI-C $B%3%s%Q%$%i(B</b></dt> - - <dd>ANSI-C $B%3%s%Q%$%i$,%$%s%9%H!<%k$5$l$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B - Free Software Foundation (FSF) $B$K$h$k(B GNU C $B%3%s%Q%$%i(B (GCC) - $B$r?d>)$7$^$9(B($B%P!<%8%g%s(B 2.7.2 $B$GBg>fIW(B)$B!#(BGCC $B$r;}$C$F$$$J$$>l9g$O(B - $B%Y%s%@$K$h$k%3%s%Q%$%i$,:GDc8B(B ANSI $B8_49$G$"$k$3$H$r3NG'$7$F$/$@$5$$!#(B - GNU $B$N%[!<%`%Z!<%8$O(B http://www.gnu.org/ $B$K!"(BGCC $BG[I[$O(B - http://www.gnu.org/order/ftp.html $B$+$i8+$D$1$k$3$H$,=PMh$^$9!#(B</dd> - - <dt><b>Perl 5 $B%$%s%?%W%j%?(B [$B%*%W%7%g%s(B]</b></dt> - - <dd>`apxs' $B$d(B `dbmmanage' $B$N$h$&$J(B(Perl $B$G=q$+$l$?(B) - $B%5%]!<%H%9%/%j%W%H$NCf$K$O(B Perl 5 $B%$%s%?%W%j%?(B ($B%P!<%8%g%s(B 5.003 - $B$^$?$O(B 5.004 $B$,K>$^$7$$(B) $B$,I,MW$J$b$N$,$"$j$^$9!#(BAPACI $B$N(B - `configure' $B%9%/%j%W%H$K$=$N$h$&$J%$%s%?%W%j%?$,8+$D$+$i$J$+$C$?>l9g!"(B - $B32$K$O$J$j$^$;$s!#EvA3!"(BApache 1.3 $B$r%S%k%I5Z$S%$%s%9%H!<%k(B - $B$9$k$3$H$,$G$-$^$9!#$b$7!"J#?t$N(B Perl $B%$%s%?%W%j%?$,%$%s%9%H!<%k(B - $B$5$l$F$$$k>l9g(B ($B62$i$/$O%Y%s%@$K$h$k(B Perl 4 $B$H<+J,$GF3F~$7$?(B Perl 5)$B!"(B - --with-perl $B%*%W%7%g%s(B ($B0J2<;2>H(B) $B$r;H$C$F@5$7$$$b$N$rA*Br$7(B APACI - $B$KCN$i$;$F$d$k$3$H$r?d>)$7$^$9!#(B</dd> - - <dt><b>$BF0E*6&M-%*%V%8%'%/%H(B (DSO) $B%5%]!<%H(B [$B%*%W%7%g%s(B]</b></dt> - - <dd> - <p>$B8=:_!":GBg8B$N=@Fp@-$N$?$a$K(B Apache $B$O(B dlopen()/dlsym() - $B%7%9%F%`%3!<%k$rMxMQ$7$?(B DSO $B5!9=$r7PM3$5$;$?%i%s%?%$%`$K$h$j!"(B - $B%b%8%e!<%k$r%m!<%I$9$k$3$H$,=PMh$^$9!#$3$l$i$N%7%9%F%`%3!<%k$O$9$Y$F$N(B - OS $B$GM-8z$J$o$1$G$O$J$$$N$G$I$N%W%i%C%H%[!<%`$G$b(B DSO - $B5!9=$r;H$($k$H$O8B$j$^$;$s!#%7%'%"!<%I%*%V%8%'%/%H$N%3%s%Q%$%k$O(B - $BHs>o$K%W%i%C%H%U%)!<%`$K0MB8$7$?$b$N$G$"$k$?$a!"(BApache $B$O8=;~E@$G$O(B - $B$$$/$D$+$N%W%i%C%H%U%)!<%`$K4X$7$F$N$_$=$NJ}K!$rCN$C$F$$$^$9!#(B - $B8=:_$N>u67$O$3$N$h$&$K$J$j$^$9!#(B</p> - - <ul> - <li> - $B%5%]!<%H$5$l$F$$$k%W%i%C%H%U%)!<%`(B: - - <p> - <table border="0"> - <tr> - <td>Linux</td> - <td>SunOS</td> - <td>UnixWare</td> - <td>Darwin/Mac OS</td> - </tr> - <tr> - <td>FreeBSD</td> - <td>Solaris</td> - <td>AIX</td> - <td>OpenStep/Mach</td> - </tr> - <tr> - <td>OpenBSD</td> - <td>IRIX</td> - <td>SCO</td> - <td>DYNIX/ptx</td> - </tr> - <tr> - <td>NetBSD</td> - <td>HPUX</td> - <td>ReliantUNIX</td> - <td>BSDI</td> - </tr> - <tr> - <td>Digital Unix</td> - <td>DGUX</td> - </tr> - </table> - </p> - </li> - - <li> - $B40A4$K%5%]!<%H30$N%W%i%C%H%U%)!<%`(B: - - <p>Ultrix</p> - </li> - </ul> - - <p>$B$"$J$?$N%7%9%F%`$,$3$N%j%9%H$K$J$$$1$l$I!"(Bdlopen - $B7A<0$N%$%s%?%U%'!<%9$,$"$k>l9g!"E,@Z$J%3%s%Q%$%i$H%j%s%+%U%i%0(B - (CFLAGS_SHLIB, LDFLAGS_SHLIB $B5Z$S(B LDFLAGS_SHLIB_EXPORT $B;2>H(B) - $B$r<jF0$GM?$($F$d$k$+!":GDc8B(B Apache $B$,%*%W%7%g%s$r?d;!$G$-$k$h$&$K!"(B - Perl 5 $B%$%s%?%W%j%?$,$I$3$K%$%s%9%H!<%k(B - $B$5$l$F$$$k$+$r;XDj$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>Apache 1.3 $B$G$N(B DSO $B%5%]!<%H$K4X$9$k!"$h$j:YIt$N>pJs$K$D$$$F$O(B - htdocs/manual/dso.html $B$NJ8=q$r$h$/FI$s$G$/$@$5$$!#(B - $B==J,$KCm0U$7$J$$$G(B DSO $B5!9=$r;H$&$HL/$JI{:nMQ$,H/@8$9$k$3$H$,$"$k$?$a!"(B - $BFC$K(B - "Advantages & Disadvantages" $B$HL>IU$1$i$l$?@a$O(B - $BCm0U$7$FFI$s$G$/$@$5$$!#7Y9p$O$7$^$7$?$h(B!</p> - </dd> - </dl> - - <h3><a id="configure" name="configure">$B%=!<%9%D%j!<$N@_Dj(B</a></h3> - - <p>$B<!$NCJ3,$O(B Apache $B%=!<%9%D%j!<$rFCDj$N%W%i%C%H%[!<%`$d(B - $B8D!9$NI,MW$K9g$o$;$F@_Dj$7$^$9!#$3$N@_Dj$G:G$b=EMW$J$3$H$O8e$G(B - Apache $B$,%$%s%9%H!<%k$5$l$k0LCV$N7hDj$G$9!#$H$$$&$N$O(B - Apache $B$,@5$7$/F0:n$9$k$?$a$K$3$N0LCV$K9g$o$;$F@_Dj$5$l$k$+$i$G$9!#(B - $BB>$K$b4uK>$K1~$8$FB?$/$N%*%W%7%g%s$,M-8z$G$9!#(B</p> - - <p>$B$I$s$J$3$H$,=PMh$k$N$+4JC1$K46$8$F$b$i$&$?$a!"$3$3$G$O(B - $BI8=`E*$JNc$H$7$F!"%$%s%9%H!<%k%D%j!<$r(B /sw/pkg/apache, - $BFCDj$N%3%s%Q%$%i5Z$S%U%i%0!"$=$7$F(B 2 $B$D$NDI2C%b%8%e!<%k(B mod_rewrite - $B5Z$S(B mod_proxy $B$r8e$G(B DSO $B5!9=$K$h$j%m!<%I$5$;$k$h$&$K(B Apache - $B$r%3%s%Q%$%k$9$k$b$N$H$7$^$9(B>$B!#(B</p> -<pre> - $ CC="pgcc" OPTIM="-O2" \ - ./configure --prefix=/usr/local/apache \ - --enable-module=rewrite --enable-shared=rewrite \ - --enable-module=proxy --enable-shared=proxy -</pre> - - <p>$BM-8z$J%*%W%7%g%s$N40A4$J%j%9%H$O0J2<$N%3%^%s%I$rBG$A9~$s$G$/$@$5$$!#(B - </p> - <p><code>./configure --help</code></p> - - <p>$B@_DjNc$N%j%9%H$O(B <code>README.configure</code> - $B%U%!%$%k$b8+$F$/$@$5$$!#(B</p> - - <h3><a id="build" name="build">$B%Q%C%1!<%8$N%S%k%I(B</a></h3> - - <p>$B$3$l$G(B Apache $B%Q%C%1!<%8$N3FItJ,$r%3%^%s%I(B</p> -<pre> - $ make -</pre> - - <p>$B$r<B9T$9$k$3$H$K$h$j%S%k%I$9$k$3$H$,=PMh$^$9!#(B - $B$3$l$K$OM-8z$K$7$?%b%8%e!<%k$NNL$K$b$h$j$^$9$,(B Pentium-166/FreeBSD-2.2 - $B%7%9%F%`$N>l9g$GLs(B 2 $BJ,$+$+$j$^$9!#$8$C$HBT$C$F$/$@$5$$!#(B - </p> - - <h3><a id="installing" name="installing">$B%Q%C%1!<%8$N%$%s%9%H!<%k(B</a></h3> - - <p>$B%$%s%9%H!<%k$N(B <code>PREFIX</code> ($B>e$N(B <code>--prefix</code> - $B%*%W%7%g%s;2>H(B)$B@_Dj$K$h$j%Q%C%1!<%8$r%$%s%9%H!<%k$9$k;~$G$9!#(B</p> -<pre> - $ make install -</pre> - - <p>$B0J2<$NNc$G$O(B <code>PREFIX</code> $B$O$=$N$^$^(B "PREFIX" - $B$G$O$J$/!"(B<code>--prefix</code> - $B%*%W%7%g%s$K$h$jM?$($i$l$?0z?t$K$J$j$^$9!#(B</p> - -<!-- Building and installing Apache in the traditional way --> - - <h2><a id="traditional" name="traditional">$BEAE}E*$JJ}K!$K$h$k%S%k%I$H%$%s%9%H!<%k(B</a></h2> - - <p>APACI $B$,=P$F$/$k0JA0$O(B Apache $B$N%S%k%I5Z$S%$%s%9%H!<%k$NJ}K!$O(B - 1 $B$D$7$+$"$j$^$;$s$G$7$?!#(BAPACI $B$O(B - $B?M$K$h$C$F$O$h$j$o$+$j$d$9$$@_Dj$N%$%s%?!<%U%'!<%9$rDs6!$7$^$9$,!"(B - $B=>Mh$+$i$NJ}K!$OBgNL$N%3%^%s%I%i%$%s(B - $B%*%W%7%g%s$rBG$A9~$`$3$H$J$/%$%s%9%H!<%k$N@_Dj$r(B - $B=PMh$kJ}K!$,MQ0U$5$l$F$$$^$9!#(B</p> - - <h3><a id="trad_configure" name="trad_configure">$B%$%s%9%H!<%k$N@_Dj(B</a></h3> - - <p>Apache $B$N%3%s%Q%$%k$O;0CJ3,$G9=@.$5$l$^$9!#(B - $B$^$:%5!<%P$K4^$a$?$$(B Apache <strong>$B%b%8%e!<%k(B</strong> - $B$rA*Br$7$F$/$@$5$$!#<!$K!"(BOS $B$K9g$o$;$?@_Dj$r$7$^$9!#(B - $B:G8e$K%3%s%Q%$%k$r$7$^$9!#(B</p> - - <p>Apache $B$NA4$F$N@_Dj$O!"(BApache $BG[I[$N(B <code>src</code> - $B%G%#%l%/%H%j$G9T$o$l$^$9!#$3$N%G%#%l%/%H%j$KF~$C$F$/$@$5$$!#(B - </p> - - <ol> - <li> - <code>Configuration</code> $B%U%!%$%k(B <code>src/Configuration.tmpl</code> - $B$NCf$G(B Apache - $B$K%3%s%Q%$%k$9$k%b%8%e!<%k$rA*Br$7$^$9!#<BAu$7$?$$%*%W%7%g%s$N(B - $B%b%8%e!<%k$N9T$N%3%a%s%H$r30$9$+(B ($B%U%!%$%k$N=*$o$j$K$"$k(B - AddModule $B9T$G(B) $B!"%@%&%s%m!<%I$7$?$j!":n@.$7$?DI2C$N%b%8%e!<%k$N(B - $B?7$7$$9T$rDI2C$7$^$9(B ($B$I$N$h$&$K(B Apache $B%b%8%e!<%k$r:n@.$9$k$N$+(B? - $B$K$D$$$F$N%I%-%e%a%s%H$O(B<a href="misc/api.html">API.html</a> - $B$r;2>H$7$F$/$@$5$$(B) $B!#(B - $B$"$k%b%8%e!<%k$,3N<B$KI,MW$G$J$$$3$H$,$o$+$C$F$$$k$J$i$P!"(B - $B$$$/$D$+$N%G%U%)%k%H%b%8%e!<%k$r%3%a%s%H%"%&%H$9$k$3$H$,$G$-$^$9(B - ($B$?$@$7!"%G%U%)%k%H$N%b%8%e!<%k$NB?$/$O%5!<%P$N@53N$JA`:n$H(B - $B%;%-%e%j%F%#$K$H$C$F=EMW$J$N$GCm0U$7$F$/$@$5$$(B) $B!#(B - - - <p><code>Rule</code> - $B9T$N$$$/$D$+$r@_Dj$9$kI,MW$,$"$k$+$I$&$+$rCN$k$?$a$K(B - <code>Configuration</code> $B%U%!%$%k$N;X<($bFI$s$G$/$@$5$$!#(B</p> - </li> - - <li> - Apache $B$r(B OS $B$K9g$o$;$F@_Dj$7$^$9!#DL>o$O$?$@(B - <code>Configure</code> $B%9%/%j%W%H$r2<5-$NNc$N$h$&$K<B9T$7$^$9!#(B - $B$7$+$7!"$3$l$,<:GT$9$k$H$-$d2?$+FC<l$JMW5a$,$"$k$H$-(B - (<em>$BNc$($P(B</em>$B!"DI2C$7$?%b%8%e!<%k$K$h$C$F2?$i$+$N%i%$%V%i%j$,(B - $BI,MW$J>l9g$J$I(B) $B$K$O(B <code>Configure</code> - $B%U%!%$%k$N<!$N%*%W%7%g%s$N$$$/$D$+$rJT=8$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#(B - <code>EXTRA_CFLAGS, LIBS, LDFLAGS, INCLUDES</code>. - - - <p><code>Configure</code> $B%9%/%j%W%H$r<B9T$7$^$9(B</p> - - <blockquote> -<pre> - % Configure - Using 'Configuration' as config file - + configured for <whatever> platform - + setting C compiler to <whatever> * - + setting C compiler optimization-level to <whatever> * - + Adding selected modules - + doing sanity check on compiler and options - Creating Makefile in support - Creating Makefile in main - Creating Makefile in os/unix - Creating Makefile in modules/standard - -</pre> - </blockquote> - (*: $B@_DjFbMF$H%7%9%F%`$K$h$C$F$O!"(BConfigure $B$O$3$NDL$j$K(B - $BI=<($7$J$$$3$H$,$"$j$^$9$,!"$=$l$GLdBj$"$j$^$;$s!#(B) - - <p>$B$3$l$G(B 3 $B$NCJ3,$G;H$o$l$k(B Makefile $B$,@8@.$5$l$^$9!#(B - $B$^$?!"%*%W%7%g%s$N%5%]!<%H%W%m%0%i%`$r%3%s%Q%$%k$9$k$?$a$K!"(B - $B%5%]!<%H%G%#%l%/%H%j$NCf$K(B Makefile $B$,@8@.$5$l$^$9!#(B</p> - - <p>($B$b$7!"MM!9$J@_Dj$r4IM}$9$k$D$b$j$J$i$P!"(B - <code>Configure</code> $B$K(B <code>Configure -file - Configuration.ai</code> $B$N$h$&$K!"JL$N(B Configuration - $B%U%!%$%k$rFI$_9~$`$h$&$K%*%W%7%g%s$rIU$1$k$H$$$$$G$7$g$&!#(B)</p> - </li> - - <h3><a id="trad_compile" name="trad_compile">Apache $B$N%3%s%Q%$%k(B</a></h3> - - <li><code>make</code> $B$r<B9T$7$F$/$@$5$$!#(B</li> - </ol> - Apache $BG[I[J*$K$"$k%b%8%e!<%k$O(B Apache $B3+H/%0%k!<%W$K$h$C$F%F%9%H$,9T$o$l!"(B - $BB?$/$N%a%s%P!<$K$h$C$FF|>oE*$K;H$o$l$F$$$k$b$N$G$9!#(B - $B%a%s%P!<$d%5!<%I%Q!<%F%#$K$h$C$F3+H/$5$l$?FCDj$N%K!<%:$d5!G=$r$b$D(B - $BDI2C%b%8%e!<%k$O!"(B<<a - href="http://www.apache.org/dist/httpd/contrib/modules/" - >http://www.apache.org/dist/httpd/contrib/modules/</a>>. - $B$+$iF~<j$9$k$3$H$,$G$-$^$9!#$3$N%Z!<%8$K$O!"$3$l$i$N%b%8%e!<%k$r(B - Apache $B%3%"%3!<%I$K%j%s%/$5$;$k$?$a$N@bL@$,=q$$$F$"$j$^$9!#(B - - <h3><a id="trad_install" name="trad_install">Apache $B$N%$%s%9%H!<%k(B</a></h3> - - $B%3%s%Q%$%k$r9T$&$H!"(B<code>httpd</code> $B$H$$$&%P%$%J%j%U%!%$%k$,(B - <code>src</code> $B%G%#%l%/%H%j$K:n@.$5$l$^$9!#(BApache - $B$N%P%$%J%jG[I[$O$3$N%U%!%$%k$rDs6!$7$^$9!#(B - - <p>$B<!$N%9%F%C%W$O%W%m%0%i%`$r%$%s%9%H!<%k$7!"$=$l$r@_Dj$9$k$3$H$G$9!#(B - Apache $B$O%3%s%Q%$%k$5$l$?%G%#%l%/%H%j$HF1$8%G%#%l%/%H%j$N%;%C%H$G(B - $B@_Dj!"<B9T$5$l$k$h$&$K$J$C$F$$$^$9!#(B - $B$b$7$I$3$+B>$N$H$3$m$+$i<B9T$5$;$?$$>l9g$O!"%G%#%l%/%H%j$r:n@.$7!"(B - $B$=$3$K(B <code>conf</code>, <code>logs</code> $B5Z$S(B <code>icons</code> - $B%G%#%l%/%H%j$r%3%T!<$7$F$/$@$5$$!#$I$A$i$N>l9g$G$b!"(B - $B%5!<%P%k!<%H$N%G%#%l%/%H%j$N%Q!<%_%C%7%g%s$r$I$&@_Dj$9$k$+$K$D$$$F!"(B - <a href="misc/security_tips.html#serverroot">security $B>pJs(B</a> - $B$rFI$`$Y$-$G$9!#(B</p> - - <p>$B<!$K!"%5!<%P$N@_Dj%U%!%$%k$rJT=8$7$^$9!#(B3$B$D$N@_Dj%U%!%$%k$G(B - <strong>$B%G%#%l%/%F%#%V(B</strong> $B$r@_Dj$7$^$9!#I8=`>uBV$G$O!"(B - $B$3$l$i$N%U%!%$%k$O(B <code>conf</code> $B%G%#%l%/%H%j$KG[CV$5$l$k!"(B - <code>srm.conf</code>, <code>access.conf</code>, <code>httpd.conf</code> - $B$G$9!#@_Dj$N;29M$K$J$k$h$&$K!"G[I[$N(B <code>conf</code> - $B%G%#%l%/%H%j$KF1$8FbMF$N%U%!%$%k!"(B<code>srm.conf-dist</code>, - <code>access.conf-dist</code>, <code>httpd.conf-dist</code> - $B$,$"$j$^$9!#(B<code>-dist</code> $B$J$7$G!"(B - $B$=$NL>A0$N$3$l$i$N%U%!%$%k$r%3%T!<$9$k$+!"L>A0$rJQ$($F$/$@$5$$!#(B - $B$=$l$+$i$=$l$>$l$N%U%!%$%k$rJT=8$7$F$/$@$5$$!#(B - $B$=$l$>$l$N%U%!%$%k$K$"$k%3%a%s%H$rCm0U?<$/FI$s$G$/$@$5$$!#(B - $B$3$l$i$N%U%!%$%k$N@53N$J@_Dj$K<:GT$9$k$H!"%5!<%P$,F0$+$J$/$J$C$?$j!"(B - $B%;%-%e%j%F%#E*$K4m81$K$J$C$?$j$7$^$9!#(B - <code>conf</code> $B%G%#%l%/%H%j$K$O(B <code>mime.types</code> - $B$H$$$&DI2C%U%!%$%k$,$"$j$^$9!#(B - $BDL>o$3$N%U%!%$%k$rJT=8$9$kI,MW$O$"$j$^$;$s!#(B</p> - - <p>$B:G=i$K(B <code>httpd.conf</code> $B$rJT=8$7$F$/$@$5$$!#(B - $B$3$N%U%!%$%k$O%5!<%P$K4X$9$k0lHLE*$JB0@-$r@_Dj$7$^$9(B; - $B%]!<%HHV9f$d5/F0%f!<%6(B <em>$BEy!9(B</em>$B$G$9!#<!$K(B <code>srm.conf</code> - $B%U%!%$%k$rJT=8$7$F$/$@$5$$(B; $B$3$l$O%I%-%e%a%s%H%D%j!<$N%k!<%H!"(B - server-parsed HTML $B$dFbItE*$J%$%a!<%8%^%C%W$N2r@O$N$h$&$JFCJL$J5!G=(B - <em>$BEy!9(B</em> $B$r@_Dj$7$^$9!#:G8e$K%"%/%;%9$K4X$9$k4pK\;v9`$r(B - $B@_Dj$9$k$?$a$K(B access.conf $B%U%!%$%k$rJT=8$7$^$9!#(B</p> - - <p>$B$3$l$i(B3$B$D$N%U%!%$%k$K2C$($F!"%5!<%P$NF0:n$O%"%/%;%9$5$l$?(B - $B%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> $B%U%!%$%k$r;H$&$3$H$K$h$C$F!"(B - $B%G%#%l%/%H%jKh$K@_Dj$G$-$^$9!#(B</p> - - - <h3>$B%5%]!<%H%W%m%0%i%`$N%3%s%Q%$%k(B</h3> - $B>e5-$G%3%s%Q%$%k!"@_Dj$5$l$k%a%$%s$N(B <code>httpd</code> - $B%5!<%P$NB>$K!"(BApache $B$K$OB??t$N%5%]!<%H%W%m%0%i%`$,4^$^$l$F$$$^$9!#(B - $B$3$l$i$OI8=`$G$O%3%s%Q%$%k$5$l$^$;$s!#%5%]!<%H%W%m%0%i%`$O(B - <code>support</code> $B%G%#%l%/%H%j$K$"$j$^$9!#(B - $B%5%]!<%H%W%m%0%i%`$r%3%s%Q%$%k$9$k$K$O!"$3$N%G%#%l%/%H%j$KF~$j!"(B - $B0J2<$N$h$&$KF~NO$7$F$/$@$5$$!#(B -<pre> - make -</pre> - - <h2><a id="testing" name="testing">$B%Q%C%1!<%8$N%F%9%H(B</a></h2> - - <p>$B$3$3$G!"0J2<$N%3%^%s%I$r<B9T$9$k$3$H$G!"(BApache HTTP $B$r$9$0$K(B - $B<B9T$G$-$k$h$&$K$J$C$F$$$^$9!#(B</p> -<pre> - $ PREFIX/bin/apachectl start -</pre> - - <p>$B$=$l$+$i(B URL http://localhost/ (Apache $B$r(B root $B$H$7$F$"$k$$$O(B - --without-confadjust $B%*%W%7%g%s$r;H$C$F%S%k%I!"%$%s%9%H!<%k$7$?>l9g(B) - $B$^$?$O(B http://localhost:8080/ (Apache $B$rIaDL$N%f!<%6$G%S%k%I!"(B - $B%$%s%9%H!<%k$7$?>l9g(B) $B$K$h$j:G=i$NJ8=q$r%j%/%(%9%H$G$-$^$9!#(B - $B$=$l$+$i0J2<$K$h$j%5!<%P$r;_$a$F$/$@$5$$!#(B</p> -<pre> - $ PREFIX/bin/apachectl stop -</pre> - - <h2><a id="time" name="time">$B@5$7$$%7%9%F%`;~4V$N@_Dj(B!</a></h2> - <p>$B8x3+$5$l$k%&%'%V%5!<%P$NE,@Z$JA`:n$K$O!"(BHTTP - $B%W%m%H%3%k$NMWAG$,$=$NF|$N;~4V$H$7$F<($5$l$k$?$a!"(B - $B@53N$J;~4V$,I,MW$H$5$l$^$9!#$G$9$+$i!"$3$l$r5!2q$K(B UNIX $B$K$*$$$F$O(B - NTP $B$d$J$s$i$+$N;~4V$NF14|$r<h$k%7%9%F%`!"(BNT - $B$K$*$$$F$b2?$+$=$l$HF1$8F/$-$r$9$k$b$N$rF3F~$7$F$/$@$5$$!#(B</p> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/invoking.html.en b/usr.sbin/httpd/htdocs/manual/invoking.html.en deleted file mode 100644 index 715f8a048fa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/invoking.html.en +++ /dev/null @@ -1,155 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Starting Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Starting Apache</h1> - - <ul> - <li><a href="#windows">Starting Apache on Windows</a></li> - - <li> - <a href="#unix">Starting Apache on Unix</a> - - <ul> - <li><a href="#errors">Errors During Start-up</a></li> - - <li><a href="#boot">Starting at Boot-Time</a></li> - - <li><a href="#info">Additional Information</a></li> - </ul> - </li> - </ul> - <hr /> - - <h2><a id="windows" name="windows">Starting Apache On - Windows</a></h2> - - <p>On Windows, Apache is normally run as a service on Windows - NT, or as a console application on Windows 95. This does not - apply in its full extend for the Cygwin platform. For details, - see <a href="windows.html#run">running Apache for - Windows</a>.</p> - - <h2><a id="unix" name="unix">Starting Apache on Unix</a></h2> - - <p>On Unix, the <a href="programs/httpd.html">httpd</a> program - is run as a daemon which executes continuously in the - background to handle requests. It is possible to have Apache - invoked by the Internet daemon <code>inetd</code> each time a - connection to the HTTP service is made using the <a - href="mod/core.html#servertype">ServerType</a> directive, but - this is not recommended.</p> - - <p>If the <a href="mod/core.html#port">Port</a> specified in - the configuration file is the default of 80 (or any other port - below 1024), then it is necessary to have root privileges in - order to start Apache, so that it can bind to this privileged - port. Once the server has started and completed a few - preliminary activities such as opening its log files, it will - launch several <em>child</em> processes which do the work of - listening for and answering requests from clients. The main - <code>httpd</code> process continues to run as the root user, - but the child processes run as a less privileged user. This is - controlled by Apache's <a - href="server-wide.html#process">process creation - directives</a>.</p> - - <p>The first thing that <code>httpd</code> does when it is - invoked is to locate and read the <a - href="configuring.html">configuration file</a> - <code>httpd.conf</code>. The location of this file is set at - compile-time, but it is possible to specify its location at run - time using the <code>-f</code> command-line option as in</p> - - <blockquote> - <code>/usr/local/apache/bin/httpd -f - /usr/local/apache/conf/httpd.conf</code> - </blockquote> - - <p>As an alternative to invoking the <code>httpd</code> binary - directly, a shell script called <a - href="programs/apachectl.html">apachectl</a> is provided which - can be used to control the daemon process with simple commands - such as <code>apachectl start</code> and <code>apachectl - stop</code>.</p> - - <p>If all goes well during startup, the server will detach from - the terminal and the command prompt will return almost - immediately. This indicates that the server is up and running. - You can then use your browser to connect to the server and view - the test page in the <a - href="mod/core.html#documentroot">DocumentRoot</a> directory - and the local copy of the documentation linked from that - page.</p> - - <h3><a id="errors" name="errors">Errors During - Start-up</a></h3> - - <p>If Apache suffers a fatal problem during startup, it will - write a message describing the problem either to the console or - to the <a href="mod/core.html#errorlog">ErrorLog</a> before - exiting. One of the most common error messages is "<code>Unable - to bind to Port ...</code>". This message is usually caused by - either:</p> - - <ul> - <li>Trying to start the server on a privileged port when not - logged in as the root user; or</li> - - <li>Trying to start the server when there is another instance - of Apache or some other web server already bound to the same - port.</li> - </ul> - - <p>For further trouble-shooting instructions, consult the - Apache <a href="misc/FAQ.html">FAQ</a>.</p> - - <h3><a id="boot" name="boot">Starting at Boot-Time</a></h3> - - <p>If you want your server to continue running after a system - reboot, you should add a call to <code>httpd</code> or - <code>apachectl</code> to your system startup files (typically - <code>rc.local</code> or a file in an <code>rc.N</code> - directory). This will start Apache as root. Before doing this - ensure that your server is properly configured for security and - access restrictions. The <code>apachectl</code> script is - designed so that it can often be linked directly as an init - script, but be sure to check the exact requirements of your - system.</p> - - <h3><a id="info" name="info">Additional Information</a></h3> - - <p>Additional information about the command-line options of <a - href="programs/httpd.html">httpd</a> and <a - href="programs/apachectl.html">apachectl</a> as well as other - support programs included with the server is available on the - <a href="programs/">Server and Supporting Programs</a> page. - There is also documentation on all the <a - href="mod/">modules</a> included with the Apache distribution - and the <a href="mod/directives.html">directives</a> that they - provide.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/invoking.html.fr b/usr.sbin/httpd/htdocs/manual/invoking.html.fr deleted file mode 100644 index 18547e3e94c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/invoking.html.fr +++ /dev/null @@ -1,178 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--English revision 1.34 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Démarrage d'Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Démarrage d'Apache</h1> - - <ul> - <li><a href="#windows">Démarrage d'Apache sur - Windows</a></li> - - <li> - <a href="#unix">Démarrage d'Apache sur Unix</a> - - <ul> - <li><a href="#errors">Erreurs durant - l'initialisation</a></li> - - <li><a href="#boot">Démarrage à - l'initialisation du système</a></li> - - <li><a href="#info">Informations - complémentaires</a></li> - </ul> - </li> - </ul> - <hr /> - - <h2><a id="windows" name="windows">Démarrage d'Apache - sur Windows</a></h2> - - <p>Sur Windows, Apache est normalement lancé en tant que - service sur Windows NT, ou en tant qu'application en mode - console sur Windows 95. Pour plus de détails, voir <a - href="windows.html#run">lancer Apache pour Windows</a>.</p> - - <h2>Démarrage d'Apache sur Unix</h2> - - <p>Sur Unix, le programme <code>httpd</code> est lancé - en tant que démon qui s'exécute en tâche de - fond pour traiter les requêtes. Il est possible - d'invoquer Apache par le démon Internet - <code>inetd</code> à chaque fois qu'une connexion au - service HTTP est faite (if faut pour cela utiliser la directive - <a href="mod/core.html#servertype">ServerType</a>) mais cela - n'est pas recommandé.</p> - - <p>Si le <a href="mod/core.html#port">Port</a> - spécifié dans le fichier de configuration est le - port par défaut 80 (ou tout autre port inérieur - à 1024), il est alors nécessaire d'avoir les - privilèges root pour lancer Apache. Une fois que - l'initialisation du serveur s'est achevée ainsi que - quelques activités préliminaires telles que - l'ouverture des fichiers de trace, le serveur lance un certain - nombre de processus <em>fils</em> ayant pour rôle - d'attendre et de répondre aux requêtes des - clients. Le processus père <code>httpd</code> continue - à s'exécuter avec les privilèges root, - mais les processus fils s'exécute sous un utilisateur - avec moins de privilèges. Ceci est contrôlé - par les directives de création de <a - href="server-wide.html#process">processus</a></p> - - <p>La première chose qu'<code>httpd</code> fait - lorsqu'il est appelé est de chercher et lire le <a - href="configuring.html">fichier de configuration</a> - <code>httpd.conf</code>. L'emplacement de ce fichier est - défini à la compilation, mais il est possible de - spécifier son emplacement à l'exécution en - utilisant l'option <code>-f</code>. Exemple :</p> - - <blockquote> - <code>/usr/local/apache/bin/httpd -f - /usr/local/apache/conf/httpd.conf</code> - </blockquote> - - <p>Comme alternative à l'appel direct de - l'exécutable <code>httpd</code> un script appelé - <a href="programs/apachectl.html">apachectl</a> est fourni qui - permet de contrôler le processus démon avec des - commandes simples telles que <code>apachectl start</code> ou - <code>apachectl stop</code>.</p> - - <p>Si tout ce passe correctement durant l'initialisation, le - serveur se détache du terminal et l'invite de commande - réapparaît presque immédiatement. Ceci - indique que le serveur est actif et s'exécute. Vous - pouvez utiliser un navigateur pour vous connecter au serveur et - voir la page de test située dans le répertoire <a - href="mod/core.html#documentroot">DocumentRoot</a> ainsi qu'une - copie locale de la documentation à partir d'un lien de - cette page.</p> - - <h3><a id="errors" name="errors">Erreurs durant - l'initialisation</a></h3> - - <p>Si Apache rencontre un problème fatal durant - l'initialisation, il écrira, avant de se terminer, un - message décrivant le problème, soit sur la - console, soit dans le fichier <a - href="mod/core.html#errorlog">ErrorLog</a>. Un des messages les - plus courants est "<code>Unable to bind to Port ...</code>". Ce - message est généralement dû à</p> - - <ul> - <li>une tentative de lancer le serveur sur un port - privilégié alors que vous n'êtes pas - connecté comme utilisateur root, ou à</li> - - <li>une tentative de lancer le serveur alors qu'une autre - instance d'Apache ou d'un autre serveur web est - déjà connectée à ce port.</li> - </ul> - - <p>Pour plus d'informations sur la correction des - problèmes, consultez la <a href="misc/FAQ.html">FAQ</a> - d'Apache.</p> - - <h3><a id="boot" name="boot">Démarrage à - l'initialisation du système</a></h3> - - <p>Si vous souhaitez que votre serveur continue à - s'exécuter après une relance du système, - vous devez ajouter un appel à <code>httpd</code> ou - <code>apachectl</code> dans votre fichier de lancement du - système (généralement - <code>rc.local</code> ou un fichier dans un répertoire - <code>rc.N</code>). Ceci lancera Apache sous l'utilisateur - root. Avant de le faire, vérifiez que votre serveur est - correctement configuré en termes de - sécurité et de restrictions d'accès. Le - script <code>apachectl</code> est conçu de - manière à ce qu'il soit directement lié - comme script d'initialisation, mais assurez vous qu'il - correspond aux besoins précis de votre - système.</p> - - <h3><a id="info" name="info">Informations - complémentaires</a></h3> - - <p>Des informations complémentaires sur les options en - ligne de commande d'<a href="programs/httpd.html">httpd</a> et - d'<a href="programs/apachectl.html">apachectl</a> ainsi que des - autres programmes d'assistance inclus avec le serveur, sont - disponibles à la page <a href="programs/">Serveur et - programmes d'assistance</a>. Il existe également une - documentation de tous les <a href="mod/">modules</a> inclus - dans la distribution Apache ainsi que les <a - href="mod/directives.html">directives</a> qu'ils - fournissent.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/keepalive.html.en b/usr.sbin/httpd/htdocs/manual/keepalive.html.en deleted file mode 100644 index 92674fdfbab..00000000000 --- a/usr.sbin/httpd/htdocs/manual/keepalive.html.en +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache Keep-Alive Support</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Apache Keep-Alive Support</h1> - <hr /> - - <h2>What is Keep-Alive?</h2> - The Keep-Alive extension to HTTP, as defined by the - <code>HTTP/1.1</code> draft, allows persistent connections. - These long-lived HTTP sessions allow multiple requests to be - send over the same TCP connection, and in some cases have been - shown to result in an almost 50% speedup in latency times for - HTML documents with lots of images. - - <h2>Enabling Keep-Alive Support</h2> - Apache 1.1 comes with Keep-Alive support on by default, however - there are some directives you can use to modify Apache's - behavior: - - <p><strong>Note</strong>: Apache 1.2 uses a different syntax - for the <a href="mod/core.html#keepalive">KeepAlive</a> - directive.</p> - - <h3>KeepAlive</h3> - <a href="mod/directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> KeepAlive - <em>max-requests</em><br /> - <a href="mod/directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>KeepAlive - 5</code><br /> - <a href="mod/directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="mod/directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core - - <p>This directive enables Keep-Alive support. Set - <em>max-requests</em> to the maximum number of requests you - want Apache to entertain per connection. A limit is imposed to - prevent a client from hogging your server resources. Set this - to <code>0</code> to disable support.</p> - - <h3>KeepAliveTimeout</h3> - <a href="mod/directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="mod/directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="mod/directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="mod/directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core - - <p>The number of seconds Apache will wait for a subsequent - request before closing the connection. Once a request has been - received, the timeout value specified by the <a - href="mod/core.html#timeout"><code>Timeout</code></a> directive - applies.</p> - - <h2>When Keep-Alive Is Used</h2> - In order for Keep-Alive support to be used, first the browser - must support it. Many current browsers, including Netscape - Navigator 2.0, and Spyglass Mosaic-based browsers (including - Microsoft Internet Explorer) do. Note, however, that some - Windows 95-based browsers misbehave with Keep-Alive-supporting - servers; they may occasionally hang on a connect. This has been - observed with several Windows browsers, and occurs when - connecting to any Keep-Alive server, not just Apache. Netscape - 3.0b5 and later versions are known to work around this problem. - - - <p>However, Keep-Alive support only is active with files where - the length is known beforehand. This means that most CGI - scripts, server-side included files and directory listings will - not use the Keep-Alive protocol. While this should be - completely transparent to the end user, it is something the - web-master may want to keep in mind.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/keepalive.html.ja.jis b/usr.sbin/httpd/htdocs/manual/keepalive.html.ja.jis deleted file mode 100644 index 380b81531b9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/keepalive.html.ja.jis +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B$N(B keep-alive $B%5%]!<%H(B</title> - <!-- English revision:1.12 --> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache $B$G%5%]!<%H$9$k(B keep-alive</h1> - <hr /> - - <h2>keep-alive $B$H$O(B</h2> - <code>HTTP/1.1</code> $B%I%i%U%H$KDj5A$5$l$F$$$k$h$&$K!"(BHTTP - $B$N3HD%5!G=$G$"$k(B keep-alive $B$K$h$C$F;}B3E*$J%3%M%/%7%g%s$,2DG=$K$J$j$^$9!#(B - $B$3$l$i$N;}B3E*$J(B HTTP $B%;%C%7%g%s$N$*$+$2$G!"J#?t$N%j%/%(%9%H$rF10l$N(B - TCP $B%3%M%/%7%g%s$r7PM3$7$FAw?.$9$k$3$H$,2DG=$H$J$j$^$9!#(B - $BB??t$N%$%a!<%8$rE=$jIU$1$F$"$k(B HTML $B%I%-%e%a%s%H$rAw?.$9$k$H$-$K!"(B - $B>l9g$K$h$C$F$O!"BT$A;~4V$,$[$\(B 50% $B$H$J$k$[$IB.$/$J$k$3$H$,<($5$l$F$$$^$9!#(B - - <h2>Keep-Alive $B$N%5%]!<%H$rM-8z$K$9$k(B</h2> - Apache 1.1 $B$G$O%G%U%)%k%H$G(B keep-alive $B$N%5%]!<%H$OM-8z$K$J$C$F$$$^$9!#(B - $B$3$l$@$1$G$O$J$/!"(BApache $B$NF0:n$rJQ99$G$-$k%G%#%l%/%F%#%V$,(B - $B0J2<$N$h$&$K$$$/$D$+$"$j$^$9!#(B - - <p><strong>$BCm0U(B</strong>: Apache 1.2 $B$G$O(B <a - href="mod/core.html#keepalive">KeepAlive</a> - $B%G%#%l%/%F%#%V$N9=J8$O0[$J$j$^$9!#(B</p> - - <h3>KeepAlive</h3> - <a href="mod/directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> KeepAlive - <em>max-requests</em><br /> - <a href="mod/directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>KeepAlive - 5</code><br /> - <a href="mod/directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="mod/directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Core - - <p>$B$3$N%G%#%l%/%F%#%V$G(B keep-alive $B$N%5%]!<%H$rM-8z$K$7$^$9!#(B - <em>max-requests</em> $B$K$D$$$F$O(B Apache $B$K<u$1F~$l$5$;$?$$(B - 1 $B%3%M%/%7%g%sEv$?$j$N%j%/%(%9%H$N:GBg?t$r@_Dj$7$F$/$@$5$$!#(B - $B@)8B$r@_$1$F%/%i%$%"%s%H$K%5!<%P$N;q8;$rO2Hq$5$;$J$$$h$&$K$7$^$9!#(B - $B%5%]!<%H$rL58z$K$9$k$K$O$3$N9`L\$K(B <code>0</code> $B$r@_Dj$7$F$/$@$5$$!#(B</p> - - <h3>KeepAliveTimeout</h3> - <a href="mod/directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="mod/directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="mod/directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="mod/directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Core - - <p>Apache $B$K8eB3$N%j%/%(%9%H$,E~Ce$9$k$N$r(B <em>seconds</em> - $BIC$@$1BT$?$;$?8e!"(B($B%j%/%(%9%H$,E~Ce$7$J$$>l9g$K$O(B) - $B%3%M%/%7%g%s$r%/%m!<%:$7$^$9!#%j%/%(%9%H$r<u?.$7$?>l9g$K$O!"(B - <a href="mod/core.html#timeout"><code>Timeout</code></a> - $B%G%#%l%/%F%#%V$G;XDj$7$?(B timeout $BCM$rE,MQ$7$^$9!#(B</p> - - <h2>keep-alive $B$,;HMQ$5$l$k>l9g(B</h2> - keep-alive $B%5%]!<%H$r;HMQ$9$k$K$O!"$^$:!"%V%i%&%6$,(B keep-alive $B$r%5%]!<%H(B - $B$7$F$$$J$1$l$P$J$j$^$;$s!#8=:_$NB?$/$N%V%i%&%6!"Nc$($P(B Netscape Navigator - 2.0 $B$d(B (Microsoft Internet Explorer $B$J$I$N(B) Spyglass Mosaic - $B$K4p$E$/%V%i%&%6$O$3$N5!G=$r%5%]!<%H$7$F$$$^$9!#$7$+$7!"(BWindows 95 - $B%Y!<%9$N$$$/$D$+$N%V%i%&%6$O!"(Bkeep-alive $B$r%5%]!<%H$7$F$$$k%5!<%P$K(B - $BBP$7$F8mF0:n$9$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$i$N%V%i%&%6$O%3%M%/%H(B - $B;~$K%O%s%0$9$k$3$H$,$"$j$^$9!#$3$N8mF0:n$O$$$/$D$+$N(B Windows - $B$N%V%i%&%6$K8+$i$l!"(BApache $B$@$1$G$O$J$/(B keep-alive $B$r%5%]!<%H$9$k(B - $B$9$Y$F$N%5!<%P$H%3%M%/%H$9$k$H$-$KH/@8$7$^$9!#(BNetscape 3.0b5 - $B0J9_$N%P!<%8%g%s$K$D$$$F$O$3$NLdBj$X$NBP=h$,$J$5$l$F$$$^$9!#(B - - <p>$B$?$@$7!"(B keep-alive $B%5%]!<%H$,M-8z$K$J$k$N$O!"(B - $B$"$i$+$8$aD9$5$,H=L@$7$F$$$k%U%!%$%k$KBP$7$F$N$_$G$9!#(B - $B$=$N$?$a!"BgItJ,$N(B CGI $B%9%/%j%W%H!"%5!<%P%5%$%I%$%s%/%k!<%I%U%!%$%k!"(B - $B%G%#%l%/%H%j%j%9%H$G$O!"(Bkeep-alive $B%W%m%H%3%k$r;HMQ$7$J$$$3$H$K$J$j$^$9!#(B - $B$3$l$O%(%s%I%f!<%6$K$O40A4$KF)2aE*$K$J$C$F$$$k$Y$-$b$N$G$9$,!"(B - $B%&%'%V%^%9%?$OCN$C$F$*$$$?J}$,NI$$$3$H$G$7$g$&!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.en b/usr.sbin/httpd/htdocs/manual/mod/core.html.en deleted file mode 100644 index 17c059c7a58..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.en +++ /dev/null @@ -1,4148 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache Core Features</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache Core Features</h1> - - <p>These configuration parameters control the core Apache - features, and are always available.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#acceptmutex">AcceptMutex</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#cgicommandargs">CGICommandArgs</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#fileetag">FileETag</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostnameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitinternalrecursion">LimitInternalRecursion</a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="#require">Require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - <hr /> - - <h2><a id="acceptfilter" name="acceptfilter">AcceptFilter - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AcceptFilter - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AcceptFilter - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server configt<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AcceptFilter is - available in Apache 1.3.22 and later - - <p><code>AcceptFilter</code> controls a BSD specific filter - optimization. It is compiled in by default - and switched on by - default if your system supports it (setsocketopt() option - SO_ACCEPTFILTER). Currently only FreeBSD supports this.</p> - - <p>See the filter section on <a - href="../misc/perf-bsd44.html">performance hints</a> for more - information.</p> - - <p>The compile time flag <code>AP_ACCEPTFILTER_OFF</code> can - be used to change the default to 'off'. <code>httpd -V</code> - and <code>httpd -L</code> will show compile time defaults and - whether or not SO_ACCEPTFILTER was defined during the - compile.</p> - - <hr /> - - <h2><a id="acceptmutex" name="acceptmutex">AcceptMutex - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AcceptMutex - uslock|pthread|sysvsem|fcntl|flock|os2sem|tpfcore|none|default<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AcceptMutex - default</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AcceptMutex is - available in Apache 1.3.21 and later. - - <p><code>AcceptMutex</code> controls which accept() mutex - method Apache will use. Not all methods are available on all - platforms, since the suite of methods is determined at - compile-time. For a list of which methods are available for - your particular build, the <code>httpd -V</code> command line - option will list them out.</p> - - <p>The compile time flags <code>-D - HAVE_METHOD_SERIALIZED_ACCEPT</code> can be used to add - different methods to your build, or one can edit the - <code>include/ap_config.h</code> file for your particular - platform.</p> - - <p>This directive has no effect on Microsoft Windows.</p> - - <p>See the <a href="../misc/perf-tuning.html">performance tuning - guide</a> for more information.</p> - - <hr /> - - <h2><a id="accessconfig" name="accessconfig">AccessConfig - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AccessConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AccessConfig - conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The ability to - specify a directory, rather than a file name, is only available in - Apache 1.3.13 and later. This directive will be eliminated in version - 2.0. - - <p>The server will read this file for more directives after - reading the <a href="#resourceconfig">ResourceConfig</a> file. - <em>File-path</em> is relative to the <a - href="#serverroot">ServerRoot</a>. This feature can be disabled - using:</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - Or, on Win32 servers, - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - Historically, this file only contained <a - href="#directory"><Directory></a> sections; in fact it - can now contain any server directive allowed in the <em>server - config</em> context. However, since Apache version 1.3.4, - the default <code>access.conf</code> file which ships with - Apache contains only comments, and all directives are placed - in the main server configuration file, <code>httpd.conf</code>. - - <p>If <code>AccessConfig</code> points to a directory, rather than a - file, Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files. - </p> - <p>Alternatively you can use a wildcard to limit the scope; i.e - to only *.conf files. - </p> - <p>Note that by default <em>any</em> file in the specified - directory will be loaded as a configuration file. - </p> - <p> - So make sure that you don't have stray files in - this directory by mistake, such as temporary files created by your - editor, for example.</p> - - <p><strong>See also:</strong> <a href="#include">Include</a> and <a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">AccessFileName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AccessFileName - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AccessFileName - .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AccessFileName - can accept more than one filename only in Apache 1.3 and later - - <p>When returning a document to the client the server looks for - the first existing access control file from this list of names - in every directory of the path to the document, if access - control files are enabled for that directory. For example:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - before returning the document /usr/local/web/index.html, the - server will read /.acl, /usr/.acl, /usr/local/.acl and - /usr/local/web/.acl for directives, unless they have been - disabled with - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory></code> - </blockquote> - - <p><strong>See Also:</strong> <a - href="#allowoverride">AllowOverride</a> and <a - href="../configuring.html">Configuration Files</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">AddDefaultCharset directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddDefaultCharset - On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - AddDefaultCharset is only available in Apache 1.3.12 and later - - <p>This directive specifies the name of the character set that - will be added to any response that does not have any parameter - on the content type in the HTTP headers. This will override any - character set specified in the body of the document via a - <code>META</code> tag. A setting of <code>AddDefaultCharset - Off</code> disables this functionality. <code>AddDefaultCharset - On</code> enables Apache's internal default charset of - <code>iso-8859-1</code> as required by the directive. You can - also specify an alternate <em>charset</em> to be used.</p> - - <p>For example:</p> - - <blockquote> - <code>AddDefaultCharset utf-8</code> - </blockquote> - - <p><b>Note:</b> This will <b>not</b> have any effect on the - Content-Type and character set for default Apache-generated - status pages (such as '404 Not Found' or '301 Moved Permanently') - because those have an <i>actual</i> character set (that in which the - hard-coded page content is written) and don't need to have a default - applied.</p> - - <hr /> - - <h2><a id="addmodule" name="addmodule">AddModule - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddModule - <em>module</em> [<em>module</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddModule is - only available in Apache 1.2 and later - - <p>The server can have modules compiled in which are not - actively in use. This directive can be used to enable the use - of those modules. The server comes with a pre-loaded list of - active modules; this list can be cleared with the <a - href="#clearmodulelist">ClearModuleList</a> directive.</p> - - <p>For example:</p> - - <blockquote> - <code>AddModule mod_include.c</code> - </blockquote> - - <p>The ordering of <code>AddModule</code> lines is important. - Modules are listed in reverse priority order --- the ones that come - later can override the behavior of those that come earlier. This - can have visible effects; for instance, if UserDir followed Alias, - you couldn't alias out a particular user's home directory. For - more information and a recommended ordering, see - <code>src/Configuration.tmpl</code> in the Apache source - distribution.</p> - - <p><strong>See also</strong>: <a - href="#clearmodulelist">ClearModuleList</a> and <a - href="mod_so.html#loadmodule">LoadModule</a></p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">AllowOverride - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AllowOverride - All|None|<em>directive-type</em> [<em>directive-type</em>] - ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AllowOverride - All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>When the server finds an .htaccess file (as specified by <a - href="#accessfilename">AccessFileName</a>) it needs to know - which directives declared in that file can override earlier - access information.</p> - - <p><strong>Note:</strong> <code>AllowOverride</code> is only - valid in <Directory> sections, not in <Location> or - <Files> sections, as implied by the <strong>Context</strong> - section above.</p> - - <p>When this directive is set to <code>None</code>, then - .htaccess files are completely ignored. In this case, the - server will not even attempt to read .htaccess files in the - filesystem.</p> - - <p>When this directive is set to <code>All</code>, then any - directive which has the .htaccess <a - href="directive-dict.html#Context">Context</a> is allowed in - .htaccess files.</p> - - <p>The <em>directive-type</em> can be one of the following - groupings of directives.</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - - Allow use of the authorization directives (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a>, <em>etc.</em>).</dd> - - <dt>FileInfo</dt> - - <dd> - Allow use of the directives controlling document types (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a>, - <em>etc.</em>).</dd> - - <dt>Indexes</dt> - - <dd> - Allow use of the directives controlling directory indexing - (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a>, - <em>etc.</em>).</dd> - - <dt>Limit</dt> - - <dd> - Allow use of the directives controlling host access (<a - href="mod_access.html#allow">Allow</a>, - <a href="mod_access.html#deny">Deny</a> - and <a href="mod_access.html#order">Order</a>).</dd> - - <dt>Options</dt> - - <dd> - Allow use of the directives controlling specific directory - features (<a href="#options">Options</a> and <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p>Example:</p> - <blockquote><code>AllowOverride AuthConfig Indexes</code></blockquote> - - <p><strong>See Also:</strong> <a - href="#accessfilename">AccessFileName</a> and <a - href="../configuring.html">Configuration Files</a></p> - <hr /> - - <h2><a id="authname" name="authname">AuthName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthName - <em>auth-domain</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive sets the name of the authorization realm for - a directory. This realm is given to the client so that the user - knows which username and password to send. - <samp>AuthName</samp> takes a single argument; if the realm - name contains spaces, it must be enclosed in quotation marks. - It must be accompanied by <a href="#authtype">AuthType</a> and - <a href="#require">Require</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> to - work.</p> - - <p>For example:</p> - - <blockquote><code>AuthName "Top Secret"</code></blockquote> - - <p>The string provided for the <code>AuthName</code> is what will - appear in the password dialog provided by most browsers.</p> - - <p><strong>See also:</strong> <a - href="../howto/auth.html">Authentication, Authorization, and - Access Control</a></p> - <hr /> - - <h2><a id="authtype" name="authtype">AuthType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthType - Basic|Digest<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive selects the type of user authentication for a - directory. Only <code>Basic</code> and <code>Digest</code> are - currently implemented. - - It must be accompanied by <a href="#authname">AuthName</a> and - <a href="#require">Require</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> to - work.</p> - - <p><strong>See also:</strong> <a - href="../howto/auth.html">Authentication, Authorization, and - Access Control</a></p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">BindAddress - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BindAddress - *|<em>IP-address</em>|<em>domain-name</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>BindAddress - *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> BindAddress is - deprecated and will be eliminated in Apache 2.0. - - <p>A Unix® http server can either listen for connections to - every IP address of the server machine, or just one IP address - of the server machine. If the argument to this directive is *, - then the server will listen for connections on every IP - address. Otherwise, the server can listen to only a specific - <em>IP-address</em> or a fully-qualified Internet - <em>domain-name</em>.</p> - - <p>For example:</p> - - <code>BindAddress 192.168.15.48</code><br /> - - <p>Only one <code>BindAddress</code> directive can be used.</p> - - <p>This directive is deprecated and will be eliminated in - Apache 2.0. Equivalent functionality and more control over the - address and ports Apache listens to is available using the - <code><a href="#listen">Listen</a></code> - directive.</p> - - <p><code>BindAddress</code> can be used as an alternative - method for supporting <a href="../vhosts/">virtual hosts</a> - using multiple independent servers, instead of using <code><a - href="#virtualhost"><VirtualHost></a></code> - sections.</p> - - <p><strong>See Also:</strong> <a href="../dns-caveats.html">DNS - Issues</a><br /> - <strong>See Also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BS2000Account - <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> BS2000Account is - only available for BS2000 machines, as of Apache 1.3 and later. - - - <p>The <code>BS2000Account</code> directive is available for - BS2000 hosts only. It must be used to define the account number - for the non-privileged apache server user (which was configured - using the <a href="#user">User</a> directive). This is required - by the BS2000 POSIX subsystem (to change the underlying BS2000 - task environment by performing a sub-LOGON) to prevent CGI - scripts from accessing resources of the privileged account - which started the server, usually <samp>SYSROOT</samp>.<br /> - Only one <code>BS2000Account</code> directive can be used.</p> - - <p><strong>See Also:</strong> <a href="../ebcdic.html">Apache - EBCDIC port</a></p> - <hr /> - - <h2><a id="cgicommandargs" name="cgicommandargs">CGICommandArgs - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CGICommandArgs On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> CGICommandArgs On<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in Apache - 1.3.24 and later. - - <p>Way back when the internet was a safer, more naive place, it - was convenient for the server to take a query string that did not - contain an '=' sign and to parse and pass it to a CGI program as - command line args. For example, <code><IsIndex></code> - generated searches often work in this way. The default behavior - in Apache is to maintain this behavior for backwards - compatibility, although it is generally regarded as unsafe - practice today. Most CGI programs do not take command line - parameters, but among those that do, many are unaware of this - method of passing arguments and are therefore vulnerable to - malicious clients passing unsafe material in this way. Setting - <code>CGICommandArgs Off</code> is recommended to protect such - scripts with little loss in functionality.</p> - - <hr /> - - <h2><a id="clearmodulelist" - name="clearmodulelist">ClearModuleList directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ClearModuleList - is only available in Apache 1.2 and later - - <p>The server comes with a built-in list of active modules. - This directive clears the list. It is assumed that the list - will then be re-populated using the <a - href="#addmodule">AddModule</a> directive.</p> - - <p><strong>See also</strong>: <a - href="#addmodule">AddModule</a> and <a - href="mod_so.html#loadmodule">LoadModule</a></p> - - <hr /> - - <h2><a id="contentdigest" name="contentdigest">ContentDigest - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ContentDigest - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ContentDigest - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> experimental<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ContentDigest is - only available in Apache 1.1 and later - - <p>This directive enables the generation of - <code>Content-MD5</code> headers as defined in RFC1864 - respectively RFC2068.</p> - - <p>MD5 is an algorithm for computing a "message digest" - (sometimes called "fingerprint") of arbitrary-length data, with - a high degree of confidence that any alterations in the data - will be reflected in alterations in the message digest.</p> - - <p>The <code>Content-MD5</code> header provides an end-to-end - message integrity check (MIC) of the entity-body. A proxy or - client may check this header for detecting accidental - modification of the entity-body in transit. Example header:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== -</pre> - - <p>Note that this can cause performance problems on your server - since the message digest is computed on every request (the - values are not cached).</p> - - <p><code>Content-MD5</code> is only sent for documents served - by the core, and not by any module. For example, SSI documents, - output from CGI scripts, and byte range responses do not have - this header.</p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">CoreDumpDirectory directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CoreDumpDirectory - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> the same location as - ServerRoot<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This controls the directory to which Apache attempts to - switch before dumping core. The default is in the <a - href="#serverroot">ServerRoot</a> directory, however since this - should not be writable by the user the server runs as, core - dumps won't normally get written. If you want a core dump for - debugging, you can use this directive to place it in a - different location.</p> - - <p>For example:</p> - - <blockquote> - <code>CoreDumpDirectory /tmp</code> - </blockquote> - - <hr /> - - <h2><a id="defaulttype" name="defaulttype">DefaultType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DefaultType - <em>MIME-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DefaultType - text/plain</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>There will be times when the server is asked to provide a - document whose type cannot be determined by its MIME types - mappings.</p> - - <p>The server must inform the client of the content-type of the - document, so in the event of an unknown type it uses the - <code>DefaultType</code>. For example:</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - would be appropriate for a directory which contained many gif - images with filenames missing the .gif extension. - - <p><strong>See also:</strong> <a - href="mod_mime.html#addtype">AddType</a> and <a - href="mod_mime.html#typesconfig">TypesConfig</a>.</p> - - <hr /> - - <h2><a id="directory" name="directory"><Directory> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Directory - <em>directory-path</em>|proxy:<em>url-path</em>> - ... </Directory> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core. - - <p><Directory> and </Directory> are used to enclose - a group of directives which will apply only to the named - directory and sub-directories of that directory. Any directive - which is allowed in a directory context may be used. - <em>Directory-path</em> is either the full path to a directory, - or a wild-card string. In a wild-card string, `?' matches any - single character, and `*' matches any sequences of characters. - As of Apache 1.3, you may also use `[ ]' character ranges like - in the shell. Also as of Apache 1.3 none of the wildcards match - a `/' character, which more closely mimics the behavior of - Unix shells. Example:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>Apache 1.2 and above:</strong> Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Directory ~ "^/www/.*/[0-9]{3}"> -</pre> - would match directories in /www/ that consisted of three - numbers. - - <p>If multiple (non-regular expression) directory sections - match the directory (or its parents) containing a document, - then the directives are applied in the order of shortest match - first, interspersed with the directives from the <a - href="#accessfilename">.htaccess</a> files. For example, - with</p> - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory><br /> - <br /> - <Directory /home/*><br /> - AllowOverride FileInfo<br /> - </Directory></code> - </blockquote> - for access to the document <code>/home/web/dir/doc.html</code> - the steps are: - - <ul> - <li>Apply directive <code>AllowOverride None</code> - (disabling <code>.htaccess</code> files).</li> - - <li>Apply directive <code>AllowOverride FileInfo</code> (for - directory <code>/home/web</code>).</li> - - <li>Apply any FileInfo directives in - <code>/home/web/.htaccess</code></li> - </ul> - - <p>Regular expression directory sections are handled slightly - differently by Apache 1.2 and 1.3. In Apache 1.2 they are - interspersed with the normal directory sections and applied in - the order they appear in the configuration file. They are - applied only once, and apply when the shortest match possible - occurs. In Apache 1.3 regular expressions are not considered - until after all of the normal sections have been applied. Then - all of the regular expressions are tested in the order they - appeared in the configuration file. For example, with</p> - - <blockquote> - <code><Directory ~ abc$><br /> - ... directives here ...<br /> - </Directory><br /> - </code> - </blockquote> - Suppose that the filename being accessed is - <code>/home/abc/public_html/abc/index.html</code>. The server - considers each of <code>/</code>, <code>/home</code>, - <code>/home/abc</code>, <code>/home/abc/public_html</code>, and - <code>/home/abc/public_html/abc</code> in that order. In Apache - 1.2, when <code>/home/abc</code> is considered, the regular - expression will match and be applied. In Apache 1.3 the regular - expression isn't considered at all at that point in the tree. - It won't be considered until after all normal - <Directory>s and <code>.htaccess</code> files have been - applied. Then the regular expression will match on - <code>/home/abc/public_html/abc</code> and be applied. - - <p><strong>Note that the default Apache access for - <Directory /> is <samp>Allow from All</samp>. This means - that Apache will serve any file mapped from an URL. It is - recommended that you change this with a block such - as</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All - </Directory> -</pre> - - <p><strong>and then override this for directories you - <em>want</em> accessible. See the <a - href="../misc/security_tips.html">Security Tips</a> page for - more details.</strong></p> - <Directory> directives cannot nest, and cannot appear in - a <a href="#limit"><Limit></a> or <a - href="#limitexcept"><LimitExcept></a> section. - - <p>If you have <a href="mod_proxy.html">mod_proxy</a> enabled, you - can use the <code>proxy:</code> syntax to apply configuration - directives to proxied content. The syntax for this is to specify the - proxied URLs to which you wish to apply the configuration, or to - specify <code>*</code> to apply to all proxied content:</p> - - <p>To apply to all proxied content:</p> - - <pre> - <Directory proxy:*> - ... directives here ... - </Directory> - </pre> - - <p>To apply to just a subset of proxied content:</p> - - <pre> - <Directory proxy:http://www.example.com/> - ... directives here ... - </Directory> - </pre> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <p><strong>See also</strong>: <a - href="#directorymatch">DirectoryMatch</a></p> - <hr /> - - <h2><a id="directorymatch" - name="directorymatch"><DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <DirectoryMatch - <em>regex</em>> ... </DirectoryMatch> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later - - <p><DirectoryMatch> and </DirectoryMatch> are used - to enclose a group of directives which will apply only to the - named directory and sub-directories of that directory, the same - as <a href="#directory"><Directory></a>. However, it - takes as an argument a regular expression. For example:</p> -<pre> - <DirectoryMatch "^/www/.*/[0-9]{3}"> -</pre> - - <p>would match directories in /www/ that consisted of three - numbers.</p> - - <p><strong>See Also:</strong> <a - href="#directory"><Directory></a> for a description of - how regular expressions are mixed in with normal - <Directory>s.<br /> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="documentroot" name="documentroot">DocumentRoot - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DocumentRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DocumentRoot - /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive sets the directory from which httpd will - serve files. Unless matched by a directive like Alias, the - server appends the path from the requested URL to the document - root to make the path to the document. Example:</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - then an access to - <code>http://www.my.host.com/index.html</code> refers to - <code>/usr/web/index.html</code>. - - <p>There appears to be a bug in mod_dir which causes problems - when the DocumentRoot has a trailing slash (<em>i.e.</em>, - "DocumentRoot /usr/web/") so please avoid that.</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICConvert - On|Off[=<em>direction</em>] <em>extension</em> - [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The configurable - EBCDIC conversion is only available in Apache 1.3.19 and later, - and on EBCDIC based platforms. - - <p>The EBCDICConvert directive maps the given filename - extensions to the specified conversion setting (<samp>On</samp> - or <samp>Off</samp>). File extensions may be specified with or - without a leading dot.</p> - - <p>If the optional format <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) is used, where - <i>direction</i> is one of <samp>In</samp>, <samp>Out</samp> or - <samp>InOut</samp>, then the directive only applies to the - specified transfer direction (<samp>In</samp>: uploaded content - in a PUT or POST request, <samp>Out</samp>: returned content in - a GET or POST request, and <samp>InOut</samp>: conversion in - both directions).<br /> - Otherwise, <samp>InOut</samp> (conversion in both directions) - is implied.</p> - - <p>Conversion configuration based on file extension is tested - prior to configuration based on MIME type, to allow for generic - MIME based rules to be overridden by a more specific file - extension (several file extensions may exist for the same MIME - type).</p> - - <p><strong>Example</strong>:<br /> - With a configuration like the following, the normal - <samp>*.html</samp> files contain HTML text in EBCDIC encoding, - while <samp>*.ahtml</samp> files contain HTML text in ASCII - encoding:</p> -<pre> - # *.html and *.ahtml contain HTML text: - AddType text/html .html .ahtml - - # *.ahtml is not converted (contains ASCII text already): - EBCDICConvert Off .ahtml - - # All other text/html files presumably contain EBCDIC text: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>See also</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICConvertByType - On|Off[=<em>direction</em>] <em>mimetype</em> - [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The configurable - EBCDIC conversion is only available in Apache 1.3.19 and later, - and on EBCDIC based platforms. - - <p>The EBCDICConvertByType directive maps the given MIME type - (optionally containing wildcards) to the specified conversion - setting (<samp>On</samp> or <samp>Off</samp>).</p> - - <p>If the optional format <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) is used, where - <i>direction</i> is one of <samp>In</samp>, <samp>Out</samp> or - <samp>InOut</samp>, then the directive only applies to the - specified transfer direction (<samp>In</samp>: uploaded content - in a PUT or POST request, <samp>Out</samp>: returned content in - a GET or POST request, and <samp>InOut</samp>: conversion in - both directions).<br /> - Otherwise, <samp>InOut</samp> (conversion in both directions) - is implied.</p> - - <p><strong>Example</strong>:<br /> - A useful standard configuration should at least contain the - following defaults:</p> -<pre> - # All text documents are stored as EBCDIC files: - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # All other files are assumed to be binary: - EBCDICConvertByType Off */* -</pre> - If you serve ASCII documents only, for example from an NFS - mounted unix server, use: -<pre> - # All documents are ASCII already: - EBCDICConvertByType Off */* -</pre> - - <p><strong>See also</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICKludge - On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> EBCDICKludge is - only available in Apache 1.3.19 and later, and on EBCDIC based - platforms. It is deprecated and will be withdrawn in a future - version.<br /> - - - <p>The EBCDICKludge is provided for the backward compatible - behavior with apache versions 1.3.0 through 1.3.18. In these - versions, all files with MIME types starting with "text/", - "message/" or "multipart/" or with type - "application/x-www-form-urlencoded" would be converted by - default, all other documents were returned unconverted. Only if - a MIME type "<samp>text/<b>x-ascii-</b><i>subtype</i></samp>" - was configured for a certain document, the document was assumed - to be in ASCII format already, and was not converted again. - Instead, the "<samp><b>x-ascii-</b></samp>" was removed from - the type, resulting in the MIME type - "<samp>text/<i>subtype</i></samp>" being returned for the - document.</p> - - <p>If the EBCDICKludge directive is set to <samp>On</samp>, and - if none of the file extensions configured with the <a - href="#ebcdicconvert">EBCDICConvert</a> directive matches in - the current context, then the server tests for a MIME type of - the format - <samp><i>type/</i><b>x-ascii-</b><i>subtype</i></samp>. If the - document has such a type, then the - "<samp><b>x-ascii-</b></samp>" substring is removed and the - conversion set to <samp>Off</samp>. This allows for overriding - the implicit assumption that all text files are stored in - EBCDIC format, for example when serving documents from an NFS - mounted directory with ASCII documents.<br /> - By using the EBCDICKludge, there is no way to force one of the - other MIME types (<em>e.g.</em>, model/vrml) to be treated as - an EBCDIC text file. Use of the <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> directive - mentioned above is the preferred way to configure such a - conversion. (Before Apache version 1.3.19, there was no way at - all to force these binary documents to be treated as EBCDIC - text files.)</p> - - <p><strong>See also</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">ErrorDocument - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ErrorDocument - <em>error-code document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The directory - and .htaccess contexts are only available in Apache 1.1 and - later. - - <p>In the event of a problem or error, Apache can be configured - to do one of four things,</p> - - <ol> - <li>output a simple hardcoded error message</li> - - <li>output a customized message</li> - - <li>redirect to a local <em>URL-path</em> to handle the - problem/error</li> - - <li>redirect to an external <em>URL</em> to handle the - problem/error</li> - </ol> - - <p>The first option is the default, while options 2-4 are - configured using the <code>ErrorDocument</code> directive, - which is followed by the HTTP response code and a message or - URL.</p> - - <p><em>Messages</em> in this context begin with a single - double-quote character (<code>"</code>), which does not form - part of the message itself. Apache will sometimes offer - additional information regarding the problem/error.</p> - - <p>URLs can begin with a slash (/) for local URLs, or be a full - URL which the client can resolve. Examples:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>Note that when you specify an <code>ErrorDocument</code> - that points to a remote URL (ie. anything with a method such as - "http" in front of it), Apache will send a redirect to the - client to tell it where to find the document, even if the - document ends up being on the same server. This has several - implications, the most important being that the client will not - receive the original error status code, but instead will - receive a redirect status code. This in turn can confuse web - robots and other clients which try to determine if a URL is - valid using the status code. In addition, if you use a remote - URL in an <code>ErrorDocument 401</code>, the client will not - know to prompt the user for a password since it will not - receive the 401 status code. Therefore, <strong>if you use an - "ErrorDocument 401" directive then it must refer to a local - document.</strong></p> - - <p>See Also: <a href="../custom-error.html">documentation of - customizable responses.</a> See the <a - href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP - specification</a> for a complete list of the status codes and their - meanings.</p> - <hr /> - - <h2><a id="errorlog" name="errorlog">ErrorLog - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ErrorLog - <em>file-path</em>|syslog[:<em>facility</em>] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ErrorLog - logs/error.log</code> (Windows and OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The error log directive sets the name of the file to which - the server will log any errors it encounters. If the - <em>file-path</em> does not begin with a slash (/) then it is - assumed to be relative to the <a - href="#serverroot">ServerRoot</a>. If the <em>file-path</em> - begins with a pipe (|) then it is assumed to be a command to - spawn to handle the error log.</p> - - <p>Examples</p> - - <p><code>ErrorLog logs/vhost1.error</code></p> - - or - - <p><code>ErrorLog |/usr/local/bin/errorlog.pl</code></p> - - <p><strong>Apache 1.3 and above:</strong> Using - <code>syslog</code> instead of a filename enables logging via - syslogd(8) if the system supports it. The default is to use - syslog facility <code>local7</code>, but you can override this - by using the <code>syslog:</code><em>facility</em> syntax where - <em>facility</em> can be one of the names usually documented in - syslog(1).</p> - - <p>For example:</p> - - <p><code>ErrorLog syslog</code></p> - - or - - <p><code>ErrorLog syslog:user</code></p> - - <p>SECURITY: See the <a - href="../misc/security_tips.html#serverroot">security tips</a> - document for details on why your security could be compromised - if the directory where logfiles are stored is writable by - anyone other than the user that starts the server.</p> - - <p><strong>See also:</strong> <a href="#loglevel">LogLevel</a> - and <a href="../logs.html">Apache Log Files</a></p> - <hr /> - - <h2><a id="fileetag" name="fileetag">FileETag directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> FileETag - <i>component</i> ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.3.23 versions and later. - - <p> - The FileETag directive configures the file attributes that are - used to create the ETag (entity tag) response header field - when the document is based on a file. - (The ETag value is used in cache management to save network - bandwidth.) In Apache 1.3.22 and earlier, the ETag value was - <i>always</i> formed from the file's inode, size, and last-modified - time (mtime). The FileETag directive allows you to choose - which of these -- if any -- should be used. The recognized - keywords are: - </p> - <dl compact="compact"> - <dt><b>INode</b></dt> - <dd>The file's i-node number will be included in the calculation</dd> - <dt><b>MTime</b></dt> - <dd>The date and time the file was last modified will be included</dd> - <dt><b>Size</b></dt> - <dd>The number of bytes in the file will be included</dd> - <dt><b>All</b></dt> - <dd>All available fields will be used (equivalent to - '<code>FileETag INode MTime Size</code>')</dd> - <dt><b>None</b></dt> - <dd>If a document is file-based, no ETag field will be included in the - response</dd> - </dl> - <p> - The INode, MTime, and Size keywords may be prefixed with either '+' - or '-', which allow changes to be made to the default setting - inherited from a broader scope. Any keyword appearing without - such a prefix immediately and completely cancels the inherited - setting. - </p> - <p> - If a directory's configuration includes - '<code>FileETag INode MTime Size</code>', and a - subdirectory's includes '<code>FileETag -INode</code>', - the setting for that subdirectory (which will be inherited by - any sub-subdirectories that don't override it) will be equivalent to - '<code>FileETag MTime Size</code>'. - </p> - <hr /> - - <h2><a id="files" name="files"><Files> directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Files - <em>filename</em>> ... </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.2 and above. - - <p>The <Files> directive provides for access control by - filename. It is comparable to the <a - href="#directory"><Directory></a> directive and <a - href="#location"><Location></a> directives. It should be - matched with a </Files> directive. The directives given - within this section will be applied to any object with a - basename (last component of filename) matching the specified - filename. <code><Files></code> sections are processed in - the order they appear in the configuration file, after the - <Directory> sections and <code>.htaccess</code> files are - read, but before <Location> sections. Note that - <Files> can be nested inside <Directory> sections - to restrict the portion of the filesystem they apply to.</p> - - <p>The <em>filename</em> argument should include a filename, or - a wild-card string, where `?' matches any single character, and - `*' matches any sequences of characters. Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Files ~ "\.(gif|jpe?g|png)$"> -</pre> - would match most common Internet graphics formats. In Apache - 1.3 and later, <a href="#filesmatch"><FilesMatch></a> is - preferred, however. - - <p>Note that unlike <a - href="#directory"><code><Directory></code></a> and <a - href="#location"><code><Location></code></a> sections, - <code><Files></code> sections can be used inside - .htaccess files. This allows users to control access to their - own files, at a file-by-file level. - For example, to password protect a single file within a - particular directory, you might add the following to your - <code>.htaccess</code> file:</p> - - <pre> - <Files admin.cgi> - Require group admin - </Files></pre> - - <p>Remember that directives apply to subdirectories as well, so this - will also protect files called <code>admin.cgi</code> in - subdirectories, unless specifically overridden.</p> - - <p>(See <a href="#require">Require</a> for details on using the - <code>Require</code> directive)</p> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="filesmatch" - name="filesmatch"><FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <FilesMatch - <em>regex</em>> ... </FilesMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.3 and above. - - <p>The <FilesMatch> directive provides for access control - by filename, just as the <a href="#files"><Files></a> - directive does. However, it accepts a regular expression. For - example:</p> -<pre> - <FilesMatch "\.(gif|jpe?g|png)$"> -</pre> - - <p>would match most common Internet graphics formats.</p> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received - <hr /> - - <h2><a id="group" name="group">Group directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Group - <em>unix-group</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The Group directive sets the group under which the server - will answer requests. In order to use this directive, the - stand-alone server must be run initially as root. - <em>Unix-group</em> is one of:</p> - - <dl> - <dt>A group name</dt> - - <dd>Refers to the given group by name.</dd> - - <dt># followed by a group number.</dt> - - <dd>Refers to a group by its number.</dd> - </dl> - <p>It is recommended that you set up a new group specifically for - running the server. Some admins use user <code>nobody</code>, - but this is not always possible or desirable.</p> - - <p>Example:</p> - - <code>Group www-group</code> - - <p>Note: if you start the server as a non-root user, it will - fail to change to the specified group, and will instead - continue to run as the group of the original user.</p> - - <p>Special note: Use of this directive in <VirtualHost> - requires a properly configured <a href="../suexec.html">suEXEC - wrapper</a>. When used inside a <VirtualHost> in this - manner, only the group that CGIs are run as is affected. - Non-CGI requests are still processed as the group specified in - the main Group directive.</p> - - <p>SECURITY: See <a href="#user">User</a> for a discussion of - the security considerations.</p> - <hr /> - - <h2><a id="hostnamelookups" - name="hostnamelookups">HostnameLookups directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> HostnameLookups - on|off|double<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>HostnameLookups - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <code>double</code> available only in Apache 1.3 and - above.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Default was - <code>on</code> prior to Apache 1.3. - - <p>This directive enables DNS lookups so that host names can be - logged (and passed to CGIs/SSIs in <code>REMOTE_HOST</code>). - The value <code>double</code> refers to doing double-reverse - DNS. That is, after a reverse lookup is performed, a forward - lookup is then performed on that result. At least one of the ip - addresses in the forward lookup must match the original - address. (In "tcpwrappers" terminology this is called - <code>PARANOID</code>.)</p> - - <p>Regardless of the setting, when <a - href="mod_access.html">mod_access</a> is used for controlling - access by hostname, a double reverse lookup will be performed. - This is necessary for security. Note that the result of this - double-reverse isn't generally available unless you set - <code>HostnameLookups double</code>. For example, if only - <code>HostnameLookups on</code> and a request is made to an - object that is protected by hostname restrictions, regardless - of whether the double-reverse fails or not, CGIs will still be - passed the single-reverse result in - <code>REMOTE_HOST</code>.</p> - - <p>The default for this directive was previously - <code>on</code> in versions of Apache prior to 1.3. It was - changed to <code>off</code> in order to save the network - traffic for those sites that don't truly need the reverse - lookups done. It is also better for the end users because they - don't have to suffer the extra latency that a lookup entails. - Heavily loaded sites should leave this directive - <code>off</code>, since DNS lookups can take considerable - amounts of time. The utility <a - href="../programs/logresolve.html">logresolve</a>, provided in - the <em>/support</em> directory, can be used to look up host - names from logged IP addresses offline.</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">IdentityCheck - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> IdentityCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>IdentityCheck - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive enables RFC1413-compliant logging of the - remote user name for each connection, where the client machine - runs identd or something similar. This information is logged in - the access log.</p> - - <p>The information should not be trusted in any way except for - rudimentary usage tracking.</p> - - <p>Note that this can cause serious latency problems accessing - your server since every request requires one of these lookups - to be performed. When firewalls are involved each lookup might - possibly fail and add 30 seconds of latency to each hit. So in - general this is not very useful on public servers accessible - from the Internet.</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <IfDefine - [!]<em>parameter-name</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> <IfDefine> - is only available in 1.3.1 and later. - - <p>The <IfDefine <em>test</em>>...</IfDefine> - section is used to mark directives that are conditional. The - directives within an IfDefine section are only processed if the - <em>test</em> is true. If <em>test</em> is false, everything - between the start and end markers is ignored.</p> - - <p>The <em>test</em> in the <IfDefine> section directive - can be one of two forms:</p> - - <ul> - <li><em>parameter-name</em></li> - - <li><code>!</code><em>parameter-name</em></li> - </ul> - - <p>In the former case, the directives between the start and end - markers are only processed if the parameter named - <em>parameter-name</em> is defined. The second format reverses - the test, and only processes the directives if - <em>parameter-name</em> is <strong>not</strong> defined.</p> - - <p>The <em>parameter-name</em> argument is a define as given on - the <code>httpd</code> command line via - <code>-D</code><em>parameter-</em>, at the time the server was - started.</p> - - <p><IfDefine> sections are nest-able, which can be used - to implement simple multiple-parameter tests. Example:</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule"><IfModule> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <IfModule - [!]<em>module-name</em>> <em>...</em> - </IfModule><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> IfModule is only - available in 1.2 and later. - - <p>The <IfModule <em>test</em>>...</IfModule> - section is used to mark directives that are conditional. The - directives within an IfModule section are only processed if the - <em>test</em> is true. If <em>test</em> is false, everything - between the start and end markers is ignored.</p> - - <p>The <em>test</em> in the <IfModule> section directive - can be one of two forms:</p> - - <ul> - <li><em>module name</em></li> - - <li>!<em>module name</em></li> - </ul> - - <p>In the former case, the directives between the start and end - markers are only processed if the module named <em>module - name</em> is included in Apache -- either compiled in or - dynamically loaded using <a - href="mod_so.html#loadmodule">LoadModule</a>. The second format - reverses the test, and only processes the directives if <em>module - name</em> is <strong>not</strong> included.</p> - - <p>The <em>module name</em> argument is the file name of the - module, at the time it was compiled. - For example, <code>mod_rewrite.c</code>.</p> - - <p><IfModule> sections are nest-able, which can be used - to implement simple multiple-module tests.</p> - <hr /> - - <h2><a id="include" name="include">Include directive</a></h2> - <strong>Syntax:</strong> Include - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Include is only - available in Apache 1.3 and later. - - <p>This directive allows inclusion of other configuration files - from within the server configuration files.</p> - - <p>The file path specified may be a fully qualified path (i.e. - starting with a slash), or may be relative to the - <code>ServerRoot</code> directory.</p> - - <p>New in Apache 1.3.13 is the feature that if - <code>Include</code> points to a directory, rather than a file, - Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files.</p> - <p>By using a wildcard this can be further limited to, say, - just the '*.conf' files. - </p> - <p>Examples:</p> - <blockquote> - <code>Include /usr/local/apache/conf/ssl.conf<br /> - Include /usr/local/apache/conf/vhosts/ - </code> - </blockquote> - - <p>Or, providing paths relative to your <code>ServerRoot</code> - directory:</p> - - <blockquote> - <code>Include conf/ssl.conf<br /> - Include conf/vhosts/ - </code> - </blockquote> - - <p>Make sure that an included directory does not contain any stray - files, such as editor temporary files, for example, as Apache will - attempt to read them in and use the contents as configuration - directives, which may cause the server to fail on start up. - Running <code>apachectl configtest</code> will give you a list of - the files that are being processed during the configuration - check:</p> - -<pre> -root@host# apachectl configtest - Processing config directory: /usr/local/apache/conf/vhosts - Processing config file: /usr/local/apache/conf/vhosts/vhost1 - Processing config file: /usr/local/apache/conf/vhosts/vhost2 -Syntax OK -</pre> - - <p>This will help in verifying that you are getting only the files - that you intended as part of your configuration.</p> - - <p><strong>See also</strong>: <a - href="../programs/apachectl.html">apachectl</a></p> - - <hr /> - - <h2><a id="keepalive" name="keepalive">KeepAlive - directive</a></h2> - <strong>Syntax: (Apache 1.1)</strong> KeepAlive - <em>max-requests</em><br /> - <strong>Default: (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntax: (Apache 1.2)</strong> KeepAlive on|off<br /> - <strong>Default: (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> KeepAlive is - only available in Apache 1.1 and later. - - <p>The Keep-Alive extension to HTTP/1.0 and the persistent - connection feature of HTTP/1.1 provide long-lived HTTP sessions - which allow multiple requests to be sent over the same TCP - connection. In some cases this has been shown to result in an - almost 50% speedup in latency times for HTML documents with - many images. To enable Keep-Alive connections in Apache 1.2 and - later, set <code>KeepAlive On</code>.</p> - - <p>For HTTP/1.0 clients, Keep-Alive connections will only be - used if they are specifically requested by a client. In - addition, a Keep-Alive connection with an HTTP/1.0 client can - only be used when the length of the content is known in - advance. This implies that dynamic content such as CGI output, - SSI pages, and server-generated directory listings will - generally not use Keep-Alive connections to HTTP/1.0 clients. - For HTTP/1.1 clients, persistent connections are the default - unless otherwise specified. If the client requests it, chunked - encoding will be used in order to send content of unknown - length over persistent connections.</p> - - <p><strong>Apache 1.1 only</strong>: Set <em>max-requests</em> - to the maximum number of requests you want Apache to entertain - per connection. A limit is imposed to prevent a client from - hogging your server resources. Set this to <code>0</code> to - disable support. In Apache 1.2 and 1.3, this is controlled - through the MaxKeepAliveRequests directive instead.</p> - - <p>See also <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a>.</p> - <hr /> - - <h2><a id="keepalivetimeout" - name="keepalivetimeout">KeepAliveTimeout directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> KeepAliveTimeout - is only available in Apache 1.1 and later. - - <p>The number of seconds Apache will wait for a subsequent - request before closing the connection. Once a request has been - received, the timeout value specified by the <a - href="#timeout"><code>Timeout</code></a> directive applies.</p> - - <p>Setting <code>KeepAliveTimeout</code> to a high value may - cause performance problems in heavily loaded servers. The - higher the timeout, the more server processes will be kept - occupied waiting on connections with idle clients.</p> - <hr /> - - <h2><a id="limit" name="limit"><Limit> directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Limit - <em>method</em> [<em>method</em>] ... > ... - </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>Access controls are normally effective for - <strong>all</strong> access methods, and this is the usual - desired behavior. <strong>In the general case, access control - directives should not be placed within a - <code><limit></code> section.</strong></p> - - <p>The purpose of the <Limit> directive is to restrict - the effect of the access controls to the nominated HTTP - methods. For all other methods, the access restrictions that - are enclosed in the <Limit> bracket <strong>will have no - effect</strong>. The following example applies the access - control only to the methods POST, PUT, and DELETE, leaving all - other methods unprotected:</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - <p>The method names listed can be one or more of: GET, POST, PUT, - DELETE, CONNECT, OPTIONS, PATCH, PROPFIND, PROPPATCH, - MKCOL, COPY, MOVE, LOCK, and UNLOCK. <strong>The method name is - case-sensitive.</strong> If GET is used it will also restrict - HEAD requests. The TRACE method cannot be limited.</p> - - <p><strong>Warning:</strong> A <a - href="#limitexcept"><LimitExcept></a> section should - always be used in preference to a <a - href="#limit"><Limit></a> section when restricting access, - since a <a href="#limitexcept"><LimitExcept></a> section - provides protection against arbitrary methods.</p> - - <hr /> - - <h2><a id="limitexcept" name="limitexcept"><LimitExcept> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <LimitExcept - <em>method</em> [<em>method</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3.5 and later - - <p><LimitExcept> and </LimitExcept> are used to - enclose a group of access control directives which will then - apply to any HTTP access method <strong>not</strong> listed in - the arguments; <em>i.e.</em>, it is the opposite of a <a - href="#limit"><Limit></a> section and can be used to - control both standard and nonstandard/unrecognized methods. See - the documentation for <a href="#limit"><Limit></a> for - more details.</p> - - <p>For example:</p> - - <pre> - <LimitExcept POST GET> - Require valid-user - </LimitExcept> - </pre> - - <hr /> - - <h2><a id="limitinternalrecursion" - name="limitinternalrecursion">LimitInternalRecursion directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitInternalRecursion - <em>number</em> [<em>number</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitInternalRecursion - 20</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitInternalRecursion - is only available in Apache 1.3.28 and later. - - <p>An internal redirect happens, for example, when using the <a - href="mod_actions.html#action">Action</a> directive, which internally - redirects the original request to a CGI script. A subrequest is Apache's - mechanism to find out what would happen for some URI if it were requested. - For example, <a href="mod_dir.html">mod_dir</a> uses subrequests to look - for the files listed in the <a - href="mod_dir.html#directoryindex">DirectoryIndex</a> - directive.</p> - - <p><code>LimitInternalRecursion</code> prevents the server - from crashing when entering an infinite loop of internal redirects or - subrequests. Such loops are usually caused by misconfigurations.</p> - - <p>The directive stores two different limits, which are evaluated on - per-request basis. The first <em>number</em> is the maximum number of - internal redirects, that may follow each other. The second <em>number</em> - determines, how deep subrequests may be nested. If you specify only one - <em>number</em>, it will be assigned to both limits. A value of - <code>0</code> means "unlimited".</p> - - <p><strong>Example</strong></p> - <pre> - LimitInternalRecursion 5 - </pre> - - <hr /> - - <h2><a id="limitrequestbody" - name="limitrequestbody">LimitRequestBody directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestBody - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitRequestBody - 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitRequestBody - is only available in Apache 1.3.2 and later. - - <p>This directive specifies the number of <em>bytes</em> from 0 - (meaning unlimited) to 2147483647 (2GB) that are allowed in a - request body.</p> - - <p>The LimitRequestBody directive allows the user to set a - limit on the allowed size of an HTTP request message body - within the context in which the directive is given (server, - per-directory, per-file or per-location). If the client request - exceeds that limit, the server will return an error response - instead of servicing the request. The size of a normal request - message body will vary greatly depending on the nature of the - resource and the methods allowed on that resource. CGI scripts - typically use the message body for passing form information to - the server. Implementations of the PUT method will require a - value at least as large as any representation that the server - wishes to accept for that resource.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service - attacks.</p> - - <p>If, for example, you are permitting file upload to a particular - location, and wich to limit the size of the uploaded file to 100K, - you might use the following directive:</p> - - <pre>LimitRequestBody 102400</pre> - - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">LimitRequestFields directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestFields - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - LimitRequestFields is only available in Apache 1.3.2 and later. - - - <p><em>Number</em> is an integer from 0 (meaning unlimited) to - 32767. The default value is defined by the compile-time - constant <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> (100 as - distributed).</p> - - <p>The LimitRequestFields directive allows the server - administrator to modify the limit on the number of request - header fields allowed in an HTTP request. A server needs this - value to be larger than the number of fields that a normal - client request might include. The number of request header - fields used by a client rarely exceeds 20, but this may vary - among different client implementations, often depending upon - the extent to which a user has configured their browser to - support detailed content negotiation. Optional HTTP extensions - are often expressed using request header fields.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks. - The value should be increased if normal clients see an error - response from the server that indicates too many fields were - sent in the request.</p> - - <p>For example:</p> - - <pre>LimitRequestFields 50</pre> - - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">LimitRequestFieldsize - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestFieldsize - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - LimitRequestFieldsize is only available in Apache 1.3.2 and - later. - - <p>This directive specifies the number of <em>bytes</em> from 0 - to the value of the compile-time constant - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> (8190 as - distributed) that will be allowed in an HTTP request - header.</p> - - <p>The LimitRequestFieldsize directive allows the server - administrator to reduce the limit on the allowed size of an - HTTP request header field below the normal input buffer size - compiled with the server. A server needs this value to be large - enough to hold any one header field from a normal client - request. The size of a normal request header field will vary - greatly among different client implementations, often depending - upon the extent to which a user has configured their browser to - support detailed content negotiation.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks.</p> - - <p>For example:</p> - - <pre>LimitRequestFieldSize 16380</pre> - - <p>Under normal conditions, the value should not be changed from - the default.</p> - <hr /> - - <h2><a id="limitrequestline" - name="limitrequestline">LimitRequestLine directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestLine - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitRequestLine - 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitRequestLine - is only available in Apache 1.3.2 and later. - - <p>This directive sets the number of <em>bytes</em> from 0 to - the value of the compile-time constant - <code>DEFAULT_LIMIT_REQUEST_LINE</code> (8190 as distributed) - that will be allowed on the HTTP request-line.</p> - - <p>The LimitRequestLine directive allows the server - administrator to reduce the limit on the allowed size of a - client's HTTP request-line below the normal input buffer size - compiled with the server. Since the request-line consists of - the HTTP method, URI, and protocol version, the - LimitRequestLine directive places a restriction on the length - of a request-URI allowed for a request on the server. A server - needs this value to be large enough to hold any of its resource - names, including any information that might be passed in the - query part of a GET request.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks.</p> - - <p>For example:</p> - - <pre>LimitRequestLine 16380</pre> - - <p>Under normal conditions, the value should not be changed from - the default.</p> - <hr /> - - <h2><a id="listen" name="listen">Listen directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Listen - [<em>IP-address</em>:]<em>port</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Listen is only - available in Apache 1.1 and later. - - <p>The Listen directive instructs Apache to listen to more than - one IP address or port; by default it responds to requests on - all IP interfaces, but only on the port given by the <code><a - href="#port">Port</a></code> directive.</p> - <tt>Listen</tt> can be used instead of <tt><a - href="#bindaddress">BindAddress</a></tt> and <tt>Port</tt>. It - tells the server to accept incoming requests on the specified - port or address-and-port combination. If the first format is - used, with a port number only, the server listens to the given - port on all interfaces, instead of the port given by the - <tt>Port</tt> directive. If an IP address is given as well as a - port, the server will listen on the given port and interface. - - <p>Note that you may still require a <tt>Port</tt> directive so - that URLs that Apache generates that point to your server still - work.</p> - - <p>Multiple Listen directives may be used to specify a number - of addresses and ports to listen to. The server will respond to - requests from any of the listed addresses and ports.</p> - - <p>For example, to make the server accept connections on both - port 80 and port 8000, use:</p> -<pre> - Listen 80 - Listen 8000 -</pre> - To make the server accept connections on two specified - interfaces and port numbers, use -<pre> - Listen 192.170.2.1:80 - Listen 192.170.2.5:8000 -</pre> - - <p><strong>See Also:</strong> <a href="../dns-caveats.html">DNS - Issues</a><br /> - <strong>See Also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a><br /> - <strong>See Also:</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">Known - Bugs</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">ListenBacklog - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ListenBacklog - <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ListenBacklog - 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ListenBacklog is - only available in Apache versions after 1.2.0. - - <p>The maximum length of the queue of pending connections. - Generally no tuning is needed or desired, however on some - systems it is desirable to increase this when under a TCP SYN - flood attack. See the backlog parameter to the - <code>listen(2)</code> system call.</p> - - <p>This will often be limited to a smaller number by the - operating system. This varies from OS to OS. Also note that - many OSes do not use exactly what is specified as the backlog, - but use a number based on (but normally larger than) what is - set.</p> - <hr /> - - <h2><a id="location" name="location"><Location> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Location - <em>URL-path</em>|<em>URL</em>> ... </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Location is only - available in Apache 1.1 and later. - - <p>The <Location> directive provides for access control - by URL. It is similar to the <a - href="#directory"><Directory></a> directive, and starts a - subsection which is terminated with a </Location> - directive. <code><Location></code> sections are processed - in the order they appear in the configuration file, after the - <Directory> sections and <code>.htaccess</code> files are - read, and after the <Files> sections.</p> - - <p>Note that URLs do not have to line up with the filesystem at - all, it should be emphasized that <Location> operates - completely outside the filesystem.</p> - - <p>For all origin (non-proxy) requests, the URL to be matched - is of the form <code>/path/</code>, and you should not include - any <code>http://servername</code> prefix. For proxy requests, - the URL to be matched is of the form - <code>scheme://servername/path</code>, and you must include the - prefix.</p> - - <p>The URL may use wildcards In a wild-card string, `?' matches - any single character, and `*' matches any sequences of - characters.</p> - - <p><strong>Apache 1.2 and above:</strong> Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Location ~ "/(extra|special)/data"> -</pre> - - <p>would match URLs that contained the substring "/extra/data" - or "/special/data". In Apache 1.3 and above, a new directive <a - href="#locationmatch"><LocationMatch></a> exists which - behaves identical to the regex version of - <code><Location></code>.</p> - - <p>The <code>Location</code> functionality is especially useful - when combined with the <code><a - href="mod_mime.html#sethandler">SetHandler</a></code> - directive. For example, to enable status requests, but allow - them only from browsers at foo.com, you might use:</p> -<pre> - <Location /status> - SetHandler server-status - Order Deny,Allow - Deny from all - Allow from .foo.com - </Location> -</pre> - - <p><strong>Apache 1.3 and above note about / (slash)</strong>: - The slash character has special meaning depending on where in a - URL it appears. People may be used to its behavior in the - filesystem where multiple adjacent slashes are frequently - collapsed to a single slash (<em>i.e.</em>, - <code>/home///foo</code> is the same as - <code>/home/foo</code>). In URL-space this is not necessarily - true. The <code><LocationMatch></code> directive and the - regex version of <code><Location></code> require you to - explicitly specify multiple slashes if that is your intention. - For example, <code><LocationMatch ^/abc></code> would - match the request URL <code>/abc</code> but not the request URL - <code>//abc</code>. The (non-regex) - <code><Location></code> directive behaves similarly when - used for proxy requests. But when (non-regex) - <code><Location></code> is used for non-proxy requests it - will implicitly match multiple slashes with a single slash. For - example, if you specify <code><Location /abc/def></code> - and the request is to <code>/abc//def</code> then it will - match.</p> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="locationmatch" - name="locationmatch"><LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <LocationMatch - <em>regex</em>> ... </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LocationMatch is - only available in Apache 1.3 and later. - - <p>The <LocationMatch> directive provides for access - control by URL, in an identical manner to <a - href="#location"><Location></a>. However, it takes a - regular expression as an argument instead of a simple string. - For example:</p> -<pre> - <LocationMatch "/(extra|special)/data"> -</pre> - - <p>would match URLs that contained the substring "/extra/data" - or "/special/data".</p> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received - <hr /> - - <h2><a id="lockfile" name="lockfile">LockFile - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LockFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The LockFile directive sets the path to the lockfile used - when Apache is compiled with either USE_FCNTL_SERIALIZED_ACCEPT - or USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally - be left at its default value. The main reason for changing it - is if the <code>logs</code> directory is NFS mounted, since - <strong>the lockfile must be stored on a local disk</strong>. - The PID of the main server process is automatically appended to - the filename.</p> - - <p><strong>SECURITY:</strong> It is best to avoid putting this - file in a world writable directory such as - <code>/var/tmp</code> because someone could create a denial of - service attack and prevent the server from starting by creating - a lockfile with the same name as the one the server will try to - create.</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">LogLevel - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LogLevel - <em>level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LogLevel - warn</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LogLevel is only - available in 1.3 or later. - - <p>LogLevel adjusts the verbosity of the messages recorded in - the error logs (see <a href="#errorlog">ErrorLog</a> - directive). The following <em>level</em>s are available, in - order of decreasing significance:</p> - - <table> - <tr> - <th align="left"><strong>Level</strong> </th> - - <th align="left"><strong>Description</strong> </th> - <th align="left"><strong>Example</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>Emergencies - system is unusable.</td> - <td>"Child cannot open lock file. Exiting"</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>Action must be taken immediately.</td> - <td>"getpwuid: couldn't determine user name from uid"</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>Critical Conditions.</td> - <td>"socket: Failed to get a socket, exiting child"</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>Error conditions.</td> - <td>"Premature end of script headers"</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>Warning conditions.</td> - <td>"child process 1234 did not exit, sending another - SIGHUP"</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>Normal but significant condition.</td> - <td>"httpd: caught SIGBUS, attempting to dump core in - ..."</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>Informational.</td> - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..."</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>Debug-level messages</td> - <td>"Opening config file ..."</td> - </tr> - </table> - - <p>When a particular level is specified, messages from all - other levels of higher significance will be reported as well. - <em>E.g.</em>, when <code>LogLevel info</code> is specified, - then messages with log levels of <code>notice</code> and - <code>warn</code> will also be posted.</p> - - <p>Using a level of at least <code>crit</code> is - recommended.</p> - - <p>For example:</p> - - <pre>LogLevel notice</pre> - - <p><strong>NOTE:</strong> When logging to a regular file messages - of the level <code>notice</code> cannot be suppressed and thus are - always logged. However, this doesn't apply when logging is done - using <code>syslog</code>.</p> - - <hr /> - - <h2><a id="maxclients" name="maxclients">MaxClients - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxClients - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MaxClients - 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxClients directive sets the limit on the number of - simultaneous requests that can be supported; not more than this - number of child server processes will be created. To configure - more than 256 clients, you must edit the HARD_SERVER_LIMIT - entry in httpd.h and recompile.</p> - - <p>Any connection attempts over the MaxClients limit will - normally be queued, up to a number based on the <a - href="#listenbacklog">ListenBacklog</a> directive. Once a child - process is freed at the end of a different request, the - connection will then be serviced.</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">MaxKeepAliveRequests - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxKeepAliveRequests - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Only available - in Apache 1.2 and later. - - <p>The MaxKeepAliveRequests directive limits the number of - requests allowed per connection when <a - href="#keepalive">KeepAlive</a> is on. If it is set to - "<code>0</code>", unlimited requests will be allowed. We - recommend that this setting be kept to a high value for maximum - server performance. In Apache 1.1, this is controlled through - an option to the KeepAlive directive.</p> - - <p>For example</p> - - <pre>MaxKeepAliveRequests 500</pre> - - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">MaxRequestsPerChild - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxRequestsPerChild - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxRequestsPerChild directive sets the limit on the - number of requests that an individual child server process will - handle. After MaxRequestsPerChild requests, the child process - will die. If MaxRequestsPerChild is 0, then the process will - never expire.</p> - - <p>Setting MaxRequestsPerChild to a non-zero limit has two - beneficial effects:</p> - - <ul> - <li>it limits the amount of memory that process can consume - by (accidental) memory leakage;</li> - - <li>by giving processes a finite lifetime, it helps reduce - the number of processes when the server load reduces.</li> - </ul> - - <p>However, on Win32, It is recommended that this be set to 0. - If it is set to a non-zero value, when the request count is - reached, the child process exits, and is respawned, at which - time it re-reads the configuration files. This can lead to - unexpected behavior if you have modified a configuration file, - but are not expecting the changes to be applied yet. See also - <a href="#threadsperchild">ThreadsPerChild</a>.</p> - - <p><strong>NOTE:</strong> For <em>KeepAlive</em> requests, only - the first request is counted towards this limit. In effect, it - changes the behavior to limit the number of - <em>connections</em> per child.</p> - <hr /> - - <h2><a id="maxspareservers" - name="maxspareservers">MaxSpareServers directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxSpareServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MaxSpareServers - 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxSpareServers directive sets the desired maximum - number of <em>idle</em> child server processes. An idle process - is one which is not handling a request. If there are more than - MaxSpareServers idle, then the parent process will kill off the - excess processes.</p> - - <p>Tuning of this parameter should only be necessary on very - busy sites. Setting this parameter to a large number is almost - always a bad idea.</p> - - <p>Note that this is the maximum number of <em>spare</em> servers, - not the maximum total number of client requests that can be handled - at one time. If you wish to limit that number, see the <a - href="#maxclients">MaxClients</a> directive.</p> - - <p>This directive has no effect when used with the Apache Web - server on a Microsoft Windows platform.</p> - - <p>See also <a href="#minspareservers">MinSpareServers</a>, - <a href="#startservers">StartServers</a>, and <a - href="#maxclients">MaxClients</a>.</p> - <hr /> - - <h2><a id="minspareservers" - name="minspareservers">MinSpareServers directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MinSpareServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MinSpareServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MinSpareServers directive sets the desired minimum - number of <em>idle</em> child server processes. An idle process - is one which is not handling a request. If there are fewer than - MinSpareServers idle, then the parent process creates new - children at a maximum rate of 1 per second.</p> - - <p>Tuning of this parameter should only be necessary on very - busy sites. Setting this parameter to a large number is almost - always a bad idea.</p> - - <p>Note that setting this directive to some value <i>m</i> ensures - that you will always have at least <i>n + m</i> <code>httpd</code> - processes running when you have <i>n</i> active client requests.</p> - - <p>This directive has no effect on Microsoft Windows.</p> - - <p>See also <a href="#maxspareservers">MaxSpareServers</a>, - <a href="#startservers">StartServers</a>, and <a - href="#maxclients">MaxClients</a>.</p> - <hr /> - - <h2><a id="namevirtualhost" - name="namevirtualhost">NameVirtualHost directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> NameVirtualHost - is only available in Apache 1.3 and later - - <p>The NameVirtualHost directive is a required directive if you - want to configure <a href="../vhosts/">name-based virtual - hosts</a>.</p> - - <p>Although <em>addr</em> can be hostname it is recommended - that you always use an IP address or wildcard, - <em>e.g.</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - With the NameVirtualHost directive you specify the IP address - on which the server will receive requests for the name-based - virtual hosts. This will usually be the address to which your - name-based virtual host names resolve. In cases where a - firewall or other proxy receives the requests and forwards them - on a different IP address to the server, you must specify the - IP address of the physical interface on the machine which will - be servicing the requests. If you have multiple name-based - hosts on multiple addresses, repeat the directive for each - address. - - <p>Note: the "main server" and any _default_ servers will - <strong>never</strong> be served for a request to a - NameVirtualHost IP Address (unless for some reason you specify - NameVirtualHost but then don't define any VirtualHosts for that - address).</p> - - <p>Optionally you can specify a port number on which the - name-based virtual hosts should be used, <em>e.g.</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - In Apache 1.3.13 and greater you can specify a <code>*</code> - for the <em>addr</em>. This creates a wildcard NameVirtualHost - which will match connections to any address that isn't - configured with a more specific NameVirtualHost directive or <a - href="#virtualhost"><VirtualHost></a> section. This is - useful if you want only name-based virtual hosts and you don't - want to hard-code the server's IP address into the - configuration file. - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="options" name="options">Options directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Options - [+|-]<em>option</em> [[+|-]<em>option</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The Options directive controls which server features are - available in a particular directory.</p> - - <p><em>option</em> can be set to <code>None</code>, in which - case none of the extra features are enabled, or one or more of - the following:</p> - - <dl> - <dt>All</dt> - - <dd>All options except for MultiViews. This is the default - setting.</dd> - - <dt>ExecCGI</dt> - - <dd> - Execution of CGI scripts is permitted.</dd> - - <dt>FollowSymLinks</dt> - - <dd> - - The server will follow symbolic links in this - directory.<br /> - <strong>Note</strong>: even though the server follows the - symlink it does <em>not</em> change the pathname used to - match against <code><Directory></code> sections.<br /> - <strong>Note</strong>: this option gets ignored if set - inside a <Location> section.</dd> - - <dt>Includes</dt> - - <dd> - Server-side includes are permitted.</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - - Server-side includes are permitted, but the #exec command and - #exec CGI are disabled. It is still possible to #include - virtual CGI scripts from ScriptAliase'd directories.</dd> - - <dt>Indexes</dt> - - <dd> - If a URL which maps to a directory is requested, and the - there is no DirectoryIndex (<em>e.g.</em>, index.html) in - that directory, then the server will return a formatted - listing of the directory.</dd> - - <dt>MultiViews</dt> - - <dd> - <a href="../content-negotiation.html">Content negotiated</a> - MultiViews are allowed.</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - - The server will only follow symbolic links for which the - target file or directory is owned by the same user id as the - link.<br /> - <strong>Note</strong>: this option gets ignored if set - inside a <Location> section.</dd> - </dl> - Normally, if multiple <code>Options</code> could apply to a - directory, then the most specific one is taken complete; the - options are not merged. However if <em>all</em> the options on - the <code>Options</code> directive are preceded by a + or - - symbol, the options are merged. Any options preceded by a + are - added to the options currently in force, and any options - preceded by a - are removed from the options currently in - force. - - <p>For example, without any + and - symbols:</p> - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options Includes<br /> - </Directory></code> - </blockquote> - then only <code>Includes</code> will be set for the - /web/docs/spec directory. However if the second - <code>Options</code> directive uses the + and - symbols: - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options +Includes -Indexes<br /> - </Directory></code> - </blockquote> - then the options <code>FollowSymLinks</code> and - <code>Includes</code> are set for the /web/docs/spec directory. - - - <p><strong>Note:</strong> Using <code>-IncludesNOEXEC</code> or - <code>-Includes</code> disables server-side includes completely - regardless of the previous setting.</p> - - <p>The default in the absence of any other settings is - <code>All</code>.</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">PidFile directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> PidFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The PidFile directive sets the file to which the server - records the process id of the daemon. If the filename does not - begin with a slash (/) then it is assumed to be relative to the - <a href="#serverroot">ServerRoot</a>. The PidFile is only used - in <a href="#servertype">standalone</a> mode.</p> - - <p>It is often useful to be able to send the server a signal, - so that it closes and then reopens its <a - href="#errorlog">ErrorLog</a> and TransferLog, and re-reads its - configuration files. This is done by sending a SIGHUP (kill -1) - signal to the process id listed in the PidFile.</p> - - <p>The PidFile is subject to the same warnings about log file - placement and <a - href="../misc/security_tips.html#serverroot">security</a>.</p> - <hr /> - - <h2><a id="port" name="port">Port directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Port - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p><em>Number</em> is a number from 0 to 65535; some port - numbers (especially below 1024) are reserved for particular - protocols. See <code>/etc/services</code> for a list of some - defined ports; the standard port for the http protocol is - 80.</p> - - <p>The Port directive has two behaviors, the first of which is - necessary for NCSA backwards compatibility (and which is - confusing in the context of Apache).</p> - - <ul> - <li>In the absence of any <a href="#listen">Listen</a> or <a - href="#bindaddress">BindAddress</a> directives specifying a - port number, a Port directive given in the "main server" - (<em>i.e.</em>, outside any <a - href="#virtualhost"><VirtualHost></a> section) sets the - network port on which the server listens. If there are any - Listen or BindAddress directives specifying - <code>:number</code> then Port has no effect on what address - the server listens at.</li> - - <li>The Port directive sets the <code>SERVER_PORT</code> - environment variable (for <a href="mod_cgi.html">CGI</a> and - <a href="mod_include.html">SSI</a>), and is used when the - server must generate a URL that refers to itself (for example - when creating an external redirect to itself). This behavior - is modified by <a - href="#usecanonicalname">UseCanonicalName</a>.</li> - </ul> - The primary behavior of Port should be considered to be - similar to that of the <a href="#servername">ServerName</a> - directive. The ServerName and Port together specify what you - consider to be the <em>canonical</em> address of the server. - (See also <a href="#usecanonicalname">UseCanonicalName</a>.) - - <p>Port 80 is one of Unix's special ports. All ports numbered - below 1024 are reserved for system use, <em>i.e.</em>, regular - (non-root) users cannot make use of them; instead they can only - use higher port numbers. To use port 80, you must start the - server from the root account. After binding to the port and - before accepting requests, Apache will change to a low - privileged user as set by the <a href="#user">User - directive</a>.</p> - - <p>If you cannot use port 80, choose any other unused port. - Non-root users will have to choose a port number higher than - 1023, such as 8000.</p> - - <p>SECURITY: if you do start the server as root, be sure not to - set <a href="#user">User</a> to root. If you run the server as - root whilst handling connections, your site may be open to a - major security attack.</p> - <hr /> - - <h2><a id="protocolreqcheck" name="protocolreqcheck">ProtocolReqCheck - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ProtocolReqCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ProtocolReqCheck - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config - <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - ProtocolReqCheck is only available in Apache 1.3.27 and later. - - <p>This directive enables strict checking of the Protocol field - in the Request line. Versions of Apache prior to 1.3.26 would - silently accept bogus Protocols (such as <code>HTTP-1.1</code>) - and assume <code>HTTP/1.0</code>. Instead, now the Protocol field - must be valid. If the pre-1.3.26 behavior is desired or required, - it can be enabled via setting <code>ProtocolReqCheck off</code>. - </p> - - <hr /> - - <h2><a id="require" name="require">Require directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Require - <em>entity-name</em> [<em>entity-name</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive selects which authenticated users can access - a resource. The allowed syntaxes are:</p> - - <ul> - <li> - Require user <em>userid</em> [<em>userid</em>] ... - - <p>Only the named users can access the resource.</p> - </li> - - <li> - Require group <em>group-name</em> [<em>group-name</em>] ... - - - <p>Only users in the named groups can access the - resource.</p> - </li> - - <li> - Require valid-user - - <p>All valid users can access the resource.</p> - </li> - <li>file-owner - <p>Only the user, whose name matches the system's name for - the file owner, can access the resource.<br> - [Available after Apache 1.3.20]</p> - </li> - <li>file-group - <p>Only the members of the group, whose name matches the - system's name of the file owner group, can access the - resource.<br>[Available after Apache 1.3.20]</p> - </li> - </ul> - - <p>Require must be accompanied by <a - href="#authname">AuthName</a> and <a - href="#authtype">AuthType</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> (to define - users and groups) in order to work correctly. Example:</p> - - <blockquote> - <code>AuthType Basic<br /> - AuthName "Restricted Directory"<br /> - AuthUserFile /web/users<br /> - AuthGroupFile /web/groups<br /> - Require group admin<br /> - </code> - </blockquote> - Access controls which are applied in this way are effective for - <strong>all</strong> methods. <strong>This is what is normally - desired.</strong> If you wish to apply access controls only to - specific methods, while leaving other methods unprotected, then - place the <code>Require</code> statement into a <a - href="#limit"><Limit></a> section - - <p>See also <a href="#satisfy">Satisfy</a> and <a - href="mod_access.html">mod_access</a>.</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">ResourceConfig - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ResourceConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ResourceConfig - conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The ability to - specify a directory, rather than a file name, is only available in - Apache 1.3.13 and later. - - <p>The server will read this file for more directives after - reading the httpd.conf file. <em>File-path</em> is relative to - the <a href="#serverroot">ServerRoot</a>. This feature can be - disabled using:</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - Or, on Win32 servers, - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - <p>Historically, this file contained most directives except for - server configuration directives and <a - href="#directory"><Directory></a> sections; in fact it - can now contain any server directive allowed in the <em>server - config</em> context. However, since Apache version 1.3.4, the - default <code>srm.conf</code> file which ships with Apache contains - only comments, and all directives are placed in the main server - configuration file, <code>httpd.conf</code>.</p> - - <p>If <code>ResourceConfig</code> points to a directory, rather than - a file, Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files. - </p> - <p>Alternatively you can use a wildcard to limit the scope; i.e - to only *.conf files. - </p> - <p>Note that by default <em>any</em> file in the specified - directory will be loaded as a configuration file. - </p> - <p>So make sure that you don't have stray files in - this directory by mistake, such as temporary files created by your - editor, for example.</p> - - <p>See also <a href="#accessconfig">AccessConfig</a>.</p> - <hr /> - - <h2><a id="rlimit" name="rlimit">RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu">directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitCPU - <em>number</em>|max [<em>number</em>|max] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitCPU is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>CPU resource limits are expressed in seconds per - process.</p> - - <p>See also <a href="#rlimitmem">RLimitMEM</a> or <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">RLimitMEM - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitMEM - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitMEM is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>Memory resource limits are expressed in bytes per - process.</p> - - <p>See also <a href="#rlimitcpu">RLimitCPU</a> or <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">RLimitNPROC - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitNPROC - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitNPROC is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>Process limits control the number of processes per user.</p> - - <p>Note: If CGI processes are <strong>not</strong> running - under userids other than the web server userid, this directive - will limit the number of processes that the server itself can - create. Evidence of this situation will be indicated by - <strong><em>cannot fork</em></strong> messages in the - error_log.</p> - - <p>See also <a href="#rlimitmem">RLimitMEM</a> or <a - href="#rlimitcpu">RLimitCPU</a>.</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Satisfy directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Satisfy any|all<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> Satisfy all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Satisfy is only - available in Apache 1.2 and later - - <p>Access policy if both <code>Allow</code> and - <code>Require</code> used. The parameter can be either - <em>'all'</em> or <em>'any'</em>. This directive is only useful - if access to a particular area is being restricted by both - username/password <em>and</em> client host address. In this - case the default behavior ("all") is to require that the client - passes the address access restriction <em>and</em> enters a - valid username and password. With the "any" option the client - will be granted access if they either pass the host restriction - or enter a valid username and password. This can be used to - password restrict an area, but to let clients from particular - addresses in without prompting for a password.</p> - - <p>See also <a href="#require">Require</a> and <a - href="mod_access.html#allow">Allow</a>.</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">ScoreBoardFile - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScoreBoardFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ScoreBoardFile - logs/apache_status</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ScoreBoardFile directive is required on some - architectures to place a file that the server will use to - communicate between its children and the parent. The easiest - way to find out if your architecture requires a scoreboard file - is to run Apache and see if it creates the file named by the - directive. If your architecture requires it then you must - ensure that this file is not used at the same time by more than - one invocation of Apache.</p> - - <p>If you have to use a ScoreBoardFile then you may see - improved speed by placing it on a RAM disk. But be careful that - you heed the same warnings about log file placement and <a - href="../misc/security_tips.html">security</a>.</p> - - <p>Apache 1.2 and above:</p> - - <p>Linux 1.x users might be able to add <code>-DHAVE_SHMGET - -DUSE_SHMGET_SCOREBOARD</code> to the <code>EXTRA_CFLAGS</code> - in your <code>Configuration</code>. This might work with some - 1.x installations, but won't work with all of them. (Prior to - 1.3b4, <code>HAVE_SHMGET</code> would have sufficed.)</p> - - <p>SVR4 users should consider adding <code>-DHAVE_SHMGET - -DUSE_SHMGET_SCOREBOARD</code> to the <code>EXTRA_CFLAGS</code> - in your <code>Configuration</code>. This is believed to work, - but we were unable to test it in time for 1.2 release. (Prior - to 1.3b4, <code>HAVE_SHMGET</code> would have sufficed.)</p> - - <p><strong>See Also</strong>: <a - href="../stopping.html">Stopping and Restarting Apache</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptInterpreterSource - registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (Windows only) - - <p>This directive is used to control how Apache 1.3.5 and later - finds the interpreter used to run CGI scripts. The default - technique is to use the interpreter pointed to by the #! line - in the script. Setting ScriptInterpreterSource registry will - cause the Windows Registry to be searched using the script file - extension (e.g., .pl) as a search key.</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">SendBufferSize - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SendBufferSize - <em>bytes</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The server will set the TCP buffer size to the number of - bytes specified. Very useful to increase past standard OS - defaults on high speed high latency (<em>i.e.</em>, 100ms or - so, such as transcontinental fast pipes)</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">ServerAdmin - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerAdmin - <em>email-address</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerAdmin sets the e-mail address that the server - includes in any error messages it returns to the client.</p> - - <p>It may be worth setting up a dedicated address for this, - <em>e.g.</em></p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - as users do not always mention that they are talking about the - server! - <hr /> - - <h2><a id="serveralias" name="serveralias">ServerAlias - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerAlias - <em>hostname</em> [<em>hostname</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerAlias is - only available in Apache 1.1 and later. - - <p>The ServerAlias directive sets the alternate names for a - host, for use with <a - href="../vhosts/name-based.html">name-based virtual - hosts</a>.</p> - - <p>Example:</p> - - <pre> - <VirtualHost *> - ServerName server.domain.com - ServerAlias server server2.domain.com server2 - ... - </VirtualHost> - </pre> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="servername" name="servername">ServerName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerName - <em>fully-qualified-domain-name</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerName directive sets the hostname of the server; - this is used when creating redirection URLs. If it is not - specified, then the server attempts to deduce it from its own - IP address; however this may not work reliably, or may not - return the preferred hostname. For example:</p> - - <blockquote> - <code>ServerName www.example.com</code> - </blockquote> - would be used if the canonical (main) name of the actual - machine were <code>simple.example.com</code>. - - <p>If you are using <a - href="../vhosts/name-based.html">name-based virtual hosts</a>, - the <code>ServerName</code> inside a <a - href="#virtualhost"><code><VirtualHost></code></a> - section specifies what hostname must appear in the request's - <code>Host:</code> header to match this virtual host.</p> - - <p><strong>See Also</strong>:<br /> - <a href="../dns-caveats.html">DNS Issues</a><br /> - <a href="../vhosts/">Apache virtual host - documentation</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">ServerPath - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerPath - <em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerPath is - only available in Apache 1.1 and later. - - <p>The ServerPath directive sets the legacy URL pathname for a - host, for use with <a href="../vhosts/">name-based virtual - hosts</a>.</p> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">ServerRoot - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerRoot - /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerRoot directive sets the directory in which the - server lives. Typically it will contain the subdirectories - <code>conf/</code> and <code>logs/</code>. Relative paths for - other configuration files are taken as relative to this - directory.</p> - - <p>See also <a href="../invoking.html">the <code>-d</code> - option to httpd</a>.</p> - - <p>See also <a href="../misc/security_tips.html#serverroot">the - security tips</a> for information on how to properly set - permissions on the ServerRoot.</p> - <hr /> - - <h2><a id="serversignature" - name="serversignature">ServerSignature directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerSignature - On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerSignature - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerSignature - is only available in Apache 1.3 and later. - - <p>The ServerSignature directive allows the configuration of a - trailing footer line under server-generated documents (error - messages, mod_proxy ftp directory listings, mod_info output, - ...). The reason why you would want to enable such a footer - line is that in a chain of proxies, the user often has no - possibility to tell which of the chained servers actually - produced a returned error message.<br /> - The <samp>Off</samp> setting, which is the default, suppresses - the error line (and is therefore compatible with the behavior - of Apache-1.2 and below). The <samp>On</samp> setting simply - adds a line with the server version number and <a - href="#servername">ServerName</a> of the serving virtual host, - and the <samp>EMail</samp> setting additionally creates a - "mailto:" reference to the <a - href="#serveradmin">ServerAdmin</a> of the referenced - document.</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">ServerTokens - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerTokens - Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerTokens - Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerTokens is - only available in Apache 1.3 and later; the - <code>ProductOnly</code> keyword is only available in versions - later than 1.3.12 - - <p>This directive controls whether <samp>Server</samp> response - header field which is sent back to clients includes a - description of the generic OS-type of the server as well as - information about compiled-in modules.</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: - Apache</samp></dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: - Apache/1.3.0</samp></dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: Apache/1.3.0 - (Unix)</samp></dd> - - <dt><code>ServerTokens Full</code> (or not specified)</dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: Apache/1.3.0 - (Unix) PHP/3.0 MyMod/1.2</samp></dd> - </dl> - - <p>This setting applies to the entire server, and cannot be - enabled or disabled on a virtualhost-by-virtualhost basis.</p> - <hr /> - - <h2><a id="servertype" name="servertype">ServerType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerType - <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerType - standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerType directive sets how the server is executed by - the system. <em>Type</em> is one of</p> - - <dl> - <dt>inetd</dt> - - <dd>The server will be run from the system process inetd; the - command to start the server is added to - <code>/etc/inetd.conf</code></dd> - - <dt>standalone</dt> - - <dd>The server will run as a daemon process; the command to - start the server is added to the system startup scripts. - (<code>/etc/rc.local</code> or - <code>/etc/rc3.d/...</code>.)</dd> - </dl> - Inetd is the lesser used of the two options. For each http - connection received, a new copy of the server is started from - scratch; after the connection is complete, this program exits. - There is a high price to pay per connection, but for security - reasons, some admins prefer this option. <font - color="red">Inetd mode is no longer recommended and does not - always work properly. Avoid it if at all possible.</font> - - <p>Standalone is the most common setting for ServerType since - it is far more efficient. The server is started once, and - services all subsequent connections. If you intend running - Apache to serve a busy site, standalone will probably be your - only option.</p> - <hr /> - - <h2><a id="shmemuidisuser" name="shmemuidisuser">ShmemUIDisUser - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ShmemUIDisUser - <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ShmemUIDisUser - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - ShmemUIDisUser directive is only available in Apache 1.3.27 and later. - - <p>The ShmemUIDisUser directive controls whether Apache will change - the <code>uid</code> and <code>gid</code> ownership of System V shared memory - based scoreboards to the server settings of <a href="#user">User</a> and - <a href="#group">Group</a>. Releases of Apache up to 1.3.26 would do - this by default. Since the child processes are already attached to the - shared memory segment, this is not required for normal usage of Apache and - so to prevent possible abuse, Apache will no longer do that. The old - behavior may be required for special cases, however, which can be implemented - by setting this directive to <code>on</code>.</p> - - <p>This directive has no effect on non-System V based scoreboards, such as - <code>mmap</code>. - </p> - - <hr /> - - <h2><a id="startservers" name="startservers">StartServers - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> StartServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>StartServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The StartServers directive sets the number of child server - processes created on startup. As the number of processes is - dynamically controlled depending on the load, there is usually - little reason to adjust this parameter.</p> - - <p>When running under Microsoft Windows, this directive has no - effect. There is always one child which handles all requests. - Within the child requests are handled by separate threads. The - <a href="#threadsperchild">ThreadsPerChild</a> directive - controls the maximum number of child threads handling requests, - which will have a similar effect to the setting of - <samp>StartServers</samp> on Unix.</p> - - <p>See also <a href="#minspareservers">MinSpareServers</a> and - <a href="#maxspareservers">MaxSpareServers</a>.</p> - <hr /> - - <h2><a id="threadsperchild" - name="threadsperchild">ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ThreadsPerChild - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ThreadsPerChild - 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (Windows, - NetWare)<br /> - <strong>Compatibility:</strong> Available only with Apache 1.3 - and later with Windows - - <p>This directive tells the server how many threads it should - use. This is the maximum number of connections the server can - handle at once; be sure and set this number high enough for - your site if you get a lot of hits.</p> - - <p>This directive has no effect on Unix systems. Unix users - should look at <a href="#startservers">StartServers</a> and <a - href="#maxrequestsperchild">MaxRequestsPerChild</a>.</p> - <hr /> - - <h2><a id="threadstacksize" - name="threadstacksize">ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ThreadStackSize - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ThreadStackSize - 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (NetWare)<br /> - <strong>Compatibility:</strong> Available only with Apache 1.3 - and later with NetWare - - <p>This directive tells the server what stack size to use for - each of the running threads. If you ever get a stack overflow - you will need to bump this number to a higher setting.</p> - - <p>This directive has no effect on other systems.</p> - <hr /> - - <h2><a id="timeout" name="timeout">TimeOut directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TimeOut - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The TimeOut directive currently defines the amount of time - Apache will wait for three things:</p> - - <ol> - <li>The total amount of time it takes to receive a GET - request.</li> - - <li>The amount of time between receipt of TCP packets on a - POST or PUT request.</li> - - <li>The amount of time between ACKs on transmissions of TCP - packets in responses.</li> - </ol> - We plan on making these separately configurable at some point - down the road. The timer used to default to 1200 before 1.2, - but has been lowered to 300 which is still far more than - necessary in most situations. It is not set any lower by - default because there may still be odd places in the code where - the timer is not reset when a packet is sent. - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UseCanonicalName - on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UseCanonicalName - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> UseCanonicalName - is only available in Apache 1.3 and later - - <p>In many situations Apache has to construct a - <em>self-referential</em> URL. That is, a URL which refers back - to the same server. With <code>UseCanonicalName on</code> (and - in all versions prior to 1.3) Apache will use the <a - href="#servername">ServerName</a> and <a href="#port">Port</a> - directives to construct the canonical name for the server. This - name is used in all self-referential URLs, and for the values - of <code>SERVER_NAME</code> and <code>SERVER_PORT</code> in - CGIs.</p> - - <p>For example, if <a href="#servername">ServerName</a> is set to - <code>www.example.com</code> and <a href="#port">Port</a> is set to - <code>9090</code>, then the <em>canonical name</em> of the server is - <code>www.example.com:9090</code>. In the event that - <code>Port</code> has its default value of <code>80</code>, the - <code>:80</code> is omitted from the <em>canonical name</em>.</p> - - <p>With <code>UseCanonicalName off</code> Apache will form - self-referential URLs using the hostname and port supplied by - the client if any are supplied (otherwise it will use the - canonical name, as defined above). These values are the same - that are used to implement <a - href="../vhosts/name-based.html">name based virtual hosts</a>, - and are available with the same clients. The CGI variables - <code>SERVER_NAME</code> and <code>SERVER_PORT</code> will be - constructed from the client supplied values as well.</p> - - <p>An example where this may be useful is on an intranet server - where you have users connecting to the machine using short - names such as <code>www</code>. You'll notice that if the users - type a shortname, and a URL which is a directory, such as - <code>http://www/splat</code>, <em>without the trailing - slash</em> then Apache will redirect them to - <code>http://www.domain.com/splat/</code>. If you have - authentication enabled, this will cause the user to have to - authenticate twice (once for <code>www</code> and once again - for <code>www.domain.com</code> -- see <a - href="../misc/FAQ.html#prompted-twice">the FAQ on this subject for - more information</a>). But if <code>UseCanonicalName</code> - is set off, then Apache will redirect to - <code>http://www/splat/</code>.</p> - - <p>There is a third option, <code>UseCanonicalName DNS</code>, - which is intended for use with mass IP-based virtual hosting to - support ancient clients that do not provide a - <code>Host:</code> header. With this option Apache does a - reverse DNS lookup on the server IP address that the client - connected to in order to work out self-referential URLs.</p> - - <p><strong>Warning:</strong> if CGIs make assumptions about the - values of <code>SERVER_NAME</code> they may be broken by this - option. The client is essentially free to give whatever value - they want as a hostname. But if the CGI is only using - <code>SERVER_NAME</code> to construct self-referential URLs - then it should be just fine.</p> - - <p><strong>See also:</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">User directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> User - <em>unix-userid</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The User directive sets the userid as which the server will - answer requests. In order to use this directive, the standalone - server must be run initially as root. <em>Unix-userid</em> is - one of:</p> - - <dl> - <dt>A username</dt> - - <dd>Refers to the given user by name.</dd> - - <dt># followed by a user number.</dt> - - <dd>Refers to a user by their number.</dd> - </dl> - The user should have no privileges which result in it being - able to access files which are not intended to be visible to - the outside world, and similarly, the user should not be able - to execute code which is not meant for httpd requests. It is - recommended that you set up a new user and group specifically - for running the server. Some admins use user - <code>nobody</code>, but this is not always possible or - desirable. For example mod_proxy's cache, when enabled, must be - accessible to this user (see the <a - href="mod_proxy.html#cacheroot"><code>CacheRoot</code> - directive</a>). - - <p>Notes: If you start the server as a non-root user, it will - fail to change to the lesser privileged user, and will instead - continue to run as that original user. If you do start the - server as root, then it is normal for the parent process to - remain running as root.</p> - - <p>Special note: Use of this directive in <VirtualHost> - requires a properly configured <a href="../suexec.html">suEXEC - wrapper</a>. When used inside a <VirtualHost> in this - manner, only the user that CGIs are run as is affected. Non-CGI - requests are still processed with the user specified in the - main User directive.</p> - - <p>SECURITY: Don't set User (or <a href="#group">Group</a>) to - <code>root</code> unless you know exactly what you are doing, - and what the dangers are.</p> - <hr /> - - <h2><a id="virtualhost" name="virtualhost"><VirtualHost> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <VirtualHost - <em>addr</em>[:<em>port</em>] [<em>addr</em>[:<em>port</em>]] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Non-IP - address-based Virtual Hosting only available in Apache 1.1 and - later.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Multiple address - support only available in Apache 1.2 and later. - - <p><VirtualHost> and </VirtualHost> are used to - enclose a group of directives which will apply only to a - particular virtual host. Any directive which is allowed in a - virtual host context may be used. When the server receives a - request for a document on a particular virtual host, it uses - the configuration directives enclosed in the - <VirtualHost> section. <em>Addr</em> can be</p> - - <ul> - <li>The IP address of the virtual host</li> - - <li>A fully qualified domain name for the IP address of the - virtual host.</li> - </ul> - Example: - - <blockquote> - <code><VirtualHost 10.1.2.3><br /> - ServerAdmin webmaster@host.foo.com<br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ErrorLog logs/host.foo.com-error_log<br /> - TransferLog logs/host.foo.com-access_log<br /> - </VirtualHost></code> - </blockquote> - Each VirtualHost must correspond to a different IP address, - different port number or a different host name for the server, - in the former case the server machine must be configured to - accept IP packets for multiple addresses. (If the machine does - not have multiple network interfaces, then this can be - accomplished with the <code>ifconfig alias</code> command (if - your OS supports it), or with kernel patches like <a - href="../misc/vif-info.html">VIF</a> (for SunOS(TM) 4.1.x)). - - <p>You can specify more than one IP address. This is useful if - a machine responds to the same name on two different - interfaces. For example, if you have a VirtualHost that is - available to hosts on an internal (intranet) as well as - external (internet) network. Example:</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - The special name <code>_default_</code> can be specified in - which case this virtual host will match any IP address that is - not explicitly listed in another virtual host. In the absence - of any _default_ virtual host the "main" server config, - consisting of all those definitions outside any VirtualHost - section, is used when no match occurs. - - <p>You can specify a <code>:port</code> to change the port that - is matched. If unspecified then it defaults to the same port as - the most recent <code><a href="#port">Port</a></code> statement - of the main server. You may also specify <code>:*</code> to - match all ports on that address. (This is recommended when used - with <code>_default_</code>.)</p> - - <p><strong>SECURITY</strong>: See the <a - href="../misc/security_tips.html">security tips</a> document - for details on why your security could be compromised if the - directory where logfiles are stored is writable by anyone other - than the user that starts the server.</p> - - <p><strong>NOTE</strong>: The use of <VirtualHost> does - <strong>not</strong> affect what addresses Apache listens on. - You may need to ensure that Apache is listening on the correct - addresses using either <a href="#bindaddress">BindAddress</a> - or <a href="#listen">Listen</a>.</p> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a><br /> - <strong>See also:</strong> <a - href="../dns-caveats.html">Warnings about DNS and - Apache</a><br /> - <strong>See also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a><br /> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.fr b/usr.sbin/httpd/htdocs/manual/mod/core.html.fr deleted file mode 100644 index 9ad34f43d6b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.fr +++ /dev/null @@ -1,4115 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.190 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Noyau d'Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Noyau d'Apache</h1> - - <p>Ces paramètres de configuration contrôlent les - fonctionnalités premières d'Apache, et sont - toujours disponibles.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostNameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#require">require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - - <h2><a id="acceptfilter" name="acceptfilter">Directive - AcceptFilter</a></h2> - <!--%plaintext <?INDEX {\tt AcceptFilter} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AcceptFilter on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccceptFilter on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> server configt<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> core - - <p><code>AcceptFilter</code> contrôle une optimisation - spécifique à BSD. Elle est compilée par - défaut et activée par défaut si votre - système l'implémente (option SO_ACCCEPTFILTER de - setsocketopt()). A l'heure actuelle, seul FreeBSD - l'implémente.</p> - - <p>Se référer à la section concernant les - filtres dans la <a href="../misc/perf-bsd44.html">documentation - sur la performance</a> pour de plus amples informations.</p> - - <p>L'option de compilation <code>AP_ACCEPTFILTER_OFF</code> - peut être utilisée pour changer le défaut - à 'off'. <code>httpd -V</code> et <code>httpd -L</code> - affichent dorénavant les valeurs par défauts au - moment de la compilation, et si oui ou non SO_ACCEPTFILTER a - été défini pour cette compilation.</p> - <hr /> - <!-- XXX translate a name="accessconfig" / Directive AccessConfig - --> - - <h2><a id="accessconfig" name="accessconfig">Directive - AccessConfig</a></h2> - <!--%plaintext <?INDEX {\tt AccessConfig} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AccessConfig - <em>nomfichier|nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccessConfig conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> configuration serveur, - hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur lit dans ce fichier des directives - supplémentaires après avoir ouvert le fichier <a - href="#resourceconfig">ResourceConfig</a>. <em>nomfichier</em> - est exprimé relativement à <a - href="#serverroot">ServerRoot</a>. Cette fonctionnalité - peut être désactivée en écrivant - :</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - ou sur les serverus Win32 - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - - <p>Historiquement, ce fichier ne contenait que des sections <a - href="#directory"><Directory></a>; en fait, il pourra - maintenant contenir toute directive "serveur" autorisée - dans le contexte de la <em>configuration serveur</em>.</p> - - <p>Une nouveauté de la version d'Apache 1.3.13 est la - possibilité qu'<code>AccessConfig</code> - représente un répertoire plutot qu'un fichier. - Apache lira tous les fichiers de ce répertoire ainsi que - tous les sous-répertoires et analysera tous ces fichiers - de configuration.</p> - - <p>Voir également <a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">Directive - AccessFileName</a></h2> - <!--%plaintext <?INDEX {\tt AccessFileName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AccessFileName <em>nomfichier</em> - [<em>nomfichier</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccessFileName .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> configuration serveur, - hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - AccessFileName ne peut accepter plusieurs noms de fichiers - qu'à partir de la version 1.3 d'Apache - - <p>Lorsqu'il retourne un document au client, le serveur cherche - le premier fichier de contrôle d'accès existant - dans cette liste dans chacun des répertoires inscrit - dans le chemin d'accès menant au document, pour - déterminer si l'accès est autorisé dan - chacun de ces répertoires. Par exemple:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - - <p>Avant de servir le document - <code>/usr/local/web/index.html</code>, le serveur lira les - fichiers <code>/.acl</code>, <code>/usr/.acl</code>, - <code>/usr/local/.acl</code> et - <code>/usr/local/web/.acl</code> à la recherche de - directives, sauf si celles-ci ont été - désactivées par l'écriture</p> - - <blockquote> - <code><Directory /> AllowOverride None - </Directory></code> - </blockquote> - - <p><strong>Voir également :</strong> <a - href="#allowoverride">AllowOverride</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">Directive AddDefaultCharset</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AddDefaultCharset On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - AddDefaultCharset n'est disponible qu'à partir de la - version 1.3.12 - - <p>Cette directive spécifie le nom de la table de - caractères qui sera ajouté à toutes les - réponses qui n'ont aucun paramètre sur le type de - contenu dans l'en-tête HTTP. Elle remplace la table de - caractère spécifié dans le corps du - document par l'utilisation du marqueur <code>META</code>. La - mise de <code>AddDefaultCharset Off</code> désactive - cette fonctionnalité. <code>AddDefaultCharset On</code> - active la table de caractère <code>iso-8859-1</code> par - défaut d'Apache. Vous pouvez également - définir une autre table de caractères à - employer. Par exemple <code>AddDefaultCharset utf-8</code>.</p> - <hr /> - - <h2><a id="addmodule" name="addmodule">Directive - AddModule</a></h2> - <!--%plaintext <?INDEX {\tt AddModule} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AddModule <em>module</em> [<em>module</em>] - ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur <br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>AddModule</tt> n'est disponible qu'à partir de la - version 1.2 d'Apache - - <p>Le serveur peut intégrer des modules compilés - qui ne sont pas mis en service. Cette directive peut être - utilisée pour activer ou désactiver ces modules. - Le serveur est installé avec une liste - pré-configurée de modules actifs cette liste peut - être effacée par la directive <a - href="#clearmodulelist">ClearModuleList</a>.</p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">Directive - AllowOverride</a></h2> - <!--%plaintext <?INDEX {\tt AllowOverride} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AllowOverride All|None|<em>type de - directive</em> [<em>type de directive</em>] ... <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AllowOverride All All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> - répertoire<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Lorsque le serveur trouve un fichier .htaccess (comme - spécifié par <a - href="#accessfilename">AccessFileName</a>) il doit savoir - quelles directives declarées dans ce fichier peuvent - outrepasser les droits fixés par des directives - précédentes.</p> - - <p>Si la directive est définie à - <code>None</code>, les fichier .htaccess sont ignorés. - Dans ce cas, le serveur n'essaie même pas de lire les - fichiers .htaccess.</p> - - <p>Si la directive est définie à <code>All</code> - toutes les directives possibles dans le <a - href="directive-dict.html#Context">contexte</a> .htacces sont - autorisées dans les fichiers .htaccess.</p> - - <p>Les <em>types de directives</em> peuvent être parmi - ces groupes de directives :</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - <!--%plaintext <?INDEX {\tt AuthConfig} override> --> - Autorise l'usage de la directive Authorization (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a>, etc.).</dd> - - <dt>FileInfo</dt> - - <dd><!--%plaintext <?INDEX {\tt FileInfo} override> --> - Autorise l'usage de directives contrôlant - l'accès aux types de documents (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a>, - etc.).</dd> - - <dt>Indexes</dt> - - <dd><!--%plaintext <?INDEX {\tt Indexes} override> --> - Autorise l'usage de directives contrôlant l'indexation - des répertoires (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a>, - etc.).</dd> - - <dt>Limit</dt> - - <dd><!--%plaintext <?INDEX {\tt Limit} override> --> - Autorise l'usage de directives contrôlant les - accès de certains hôtes (allow, deny et - order).</dd> - - <dt>Options</dt> - - <dd><!--%plaintext <?INDEX {\tt Options} override> --> - Autorise l'usage de directives contrôlant certaines - fonctionnalités spécifiques des - répertoires (<a href="#options">Options</a> et <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p><strong>Voir également :</strong> <a - href="#accessfilename">AccessFileName</a></p> - <hr /> - - <h2><a id="authname" name="authname">Directive - AuthName</a></h2> - <!--%plaintext <?INDEX {\tt AuthName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AuthName <em>domaine-autorisé</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive indique le nom du schéma - d'autorisation pour un répertoire. Ce schéma sera - donné au client de sorte que l'utilisateur sache quel - nom et quel mot de passe envoyer. <samp>AuthName</samp> prend - un seul argument. Si le schéma d'autorisation contient - des espaces, il doit être entouré de guillemets. - Pour fonctionner correctement, elle devra être - accompagnée des directives <a - href="#authtype">AuthType</a> et <a - href="#require">require</a>, et de directives telles que <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a>.</p> - <hr /> - - <h2><a id="authtype" name="authtype">Directive - AuthType</a></h2> - <!--%plaintext <?INDEX {\tt AuthType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AuthType <em>type</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive selectionne le type d'authentification pour - un répertoire. Seul les types <code>Basic</code> et - <code>Digest</code> sont actuellement - implémentés. - <!--%plaintext <?INDEX {\tt Basic} authentication scheme> --> - Pour fonctionner correctement, elle devra être - accompagnée des directives <a - href="#authname">AuthName</a> et <a - href="#require">require</a>, et de directives telles que <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a>.</p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">Directive - BindAddress</a></h2> - <!--%plaintext <?INDEX {\tt BindAddress} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> BindAddress *|<em>addresse IP</em>|<em>nom de - domaine</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>BindAddress *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Un serveur http sous Unix® peut soit écouter - toutes les adresses IP de la machine sur lequel il est - exécuté, ou uniquement une de ces adresses. Si - l'argument de cette directive est *, le serveur traitera les - connections sur toutes les adresses IP. Sinon, le serveur peut - écouter à partir d'une <em>adresse IP</em> - spécifique ou d'un <em>nom de domaine</em> Internet.</p> - - <p>Une et une seule directive <tt>BindAddress</tt> peut - être utilisée. Pour contrôler plus finement - quels ports et adresses Apache écoute, utilisez la - directive <a href="#listen">Listen</a> au lieu de - <tt>BindAddress</tt>.</p> - - <p><tt>BindAddress</tt> peut être utilisée comme - alternative à l'implantation d'<a - href="../vhosts/">hôtes virtuels</a> utilisant des - serveurs multiples indépendants, soit au lieu d'utiliser - les sections <a - href="#virtualhost"><VirtualHost></a>.</p> - - <p><strong>Voir aussi:</strong> <a - href="../dns-caveats.html">Apache et DNS</a><br /> - <strong>Voir aussi:</strong> <a href="../bind.html">Configurer - les ports et adresses utilisés par Apache</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - directive</a></h2> - <!--%plaintext <?INDEX {\tt BS2000Account} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> BS2000Account <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - BS2000Account n'est valable que pour les machines BS2000, - à partir de la version 1.3 d'Apache. - - <p>La directive <code>BS2000Account</code> n'est disponible que - pour les machines BS2000. Elle doit être employée - pour définir le numéro de compte pour - l'utilisateur non privilégié (qui est - défini par la directive <a href="#user">User</a> ). Ceci - est requis par le sous système POSIX du BS2000 afin de - changer l'environnement d'exécution sosu jacent du BS200 - en effectuant une sous connexion, et éviter ainsi que - des scripts CGI puissent accéder à des ressources - accessible à l'utilisateur privilégié - utilisé pour lancer le serveur, - généralement <samp>SYSROOT</samp>.<br /> - Seulement une directive <code>BS2000Account</code> peut - être utilisée.</p> - - <p><strong>Voir également:</strong> <a - href="../ebcdic.html">Portage EBCDIC d'Apache</a></p> - <hr /> - - <h2><a id="clearmodulelist" name="clearmodulelist">Directive - ClearModuleList</a></h2> - <!--%plaintext <?INDEX {\tt ClearModuleList} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ClearModuleList</tt> n'est disponible qu'à partir de - la version 1.2 d'Apache - - <p>Le serveur dispose à l'installation d'une liste - pré-configurée de modules actifs. Cette directive - efface cette liste. Il est supposé que cette liste sera - reconstruite à partir de directives <a - href="#addmodule">AddModule</a>.</p> - <hr /> - - <h2><a id="contentdigest" name="contentdigest">Directive - ContentDigest</a></h2> - <!--%plaintext <?INDEX {\tt ContentDigest} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ContentDigest <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ContentDigest off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> Options<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> expérimental - - <p><a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ContentDigest n'est disponible qu'à partir de la version - 1.1 d'Apache</p> - - <p>Cette directive active la génération - d'en-têtes <code>Content-MD5</code> conformes aux RFC1864 - et RFC2068.</p> - - <p>MD5 est un algorithme permettant d'extraire un - "résumé" à partir d'un bloc de - données de longueur arbitraire, avec un degré de - confiance suffisant dans la mesure ou une moindre - altération dans les données sera - reflétée par un changement dans le - "résumé".</p> - - <p>L'en-tête <code>Content-MD5</code> procure un test de - l'intégrité de message de bout en bout (MIC) sur - le corps d'entité. Un proxy ou client pourra tester cet - en-tête pour détecter des modifications - accidentelles du corps d'entité en cours de transfert. - Exemple d'en-tête:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== - -</pre> - - <p>Notez que ceci peut réduire les performances de votre - serveur dans la mesure où le "résumé" est - calculé à chaque requête (il ne peut - être mis en cache).</p> - - <p><code>Content-MD5</code> n'est émis que pour des - documents servis par le noyau, et à l'exception de tout - module. Par exemple, les documents SSI, la sortie de scripts - CGI, et des réponses en flux d'octet binaire ne pourront - utiliser cet en-tête.</p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">Directive CoreDumpDirectory</a></h2> - <!--%plaintext <?INDEX {\tt CoreDumpDirectory} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> CoreDumpDirectory - <em>nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> même - répertoire que ServerRoot<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Elle définit le répertoire auquel Apache tente - d'accéder avant d'enregistrer un "noyau dump". Par - défaut, il s'agit du répertoire <a - href="#serverroot">ServerRoot</a>, cependant, si ce - répertoire n'est pas accessible en écriture par - l'utilisateur sous lequel tourne le serveur, le "noyau dump" ne - pourra être généré. Si vous - souhaitez dans ce cas obtenir un "noyau dump" pour des - nécessités de débogage, vous pouvez - utiliser cette directive pour spécifier un autre - répertoire dans lequel vous avez toute autorisation pour - écrire.</p> - <hr /> - - <h2><a id="defaulttype" name="defaulttype">Directive - DefaultType</a></h2> - <!--%plaintext <?INDEX {\tt DefaultType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> DefaultType <em>mime-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>DefaultType text/html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Il peut arriver qu'une requête demande au serveur un - document dont le type ne peut être - déterminé par les tables de MIME.</p> - - <p>Le serveur doit informer le client du type de contenu - (Content-type) du document. Dans le cas d'un type inconnu, il - utilisera le <tt>DefaultType</tt>. Par exemple :</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - - <p>sera approprié dans un répertoire contenant - une majorité d'images gif dont certaines ne - présentent pas explicitement l'extension .gif.</p> - <hr /> - - <h2><a id="directory" name="directory">Directive - <Directory></a></h2> - <!--%plaintext <?INDEX {\tt Directory} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Directory <em>nomrépertoire</em>> - ... </Directory> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p><tt><Directory></tt> et <tt></Directory></tt> - sont utilisés pour "encapsuler" un groupe de directives - applicables uniquement au réprtoire indiqué ainsi - qu'à ses sous-répertoires. Toute directive - autorisée dans un contexte de répertoire peut - apparaître entre ces deux balises. - <em>nomrépertoire</em> est soit le chemin - entièrement qualifié du répertoire, ou un - motif. Dans un motif, '?' remplace un caractère unique - quelconque, et '*' remplace toute séquence de - zéro ou plus caractères quelconques. Sur Apache - 1.3, vous pouvez aussi utiliser les plages de caractères - '[]' comme dans un shell UNIX. De plus aucun des - métacaractères ne peut remplacer un '/', ce qui - correspond plus intimement à la réaction des - shells UNIX. Exemple:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>A partir d'Apache 1.2 :</strong> peuvent être - utilisées les "expressions régulières", - lesquelles devront être précédées du - caractère <code>~</code>. Par exemple :</p> -<pre> - <Directory ~"^/www/.*/[0-9]{3}"> -</pre> - correspondrait à des répertoires dans /www/ dont - le nom serait constitué de trois digits. - - <p>Si plusieurs sections de répertoires pointent sur le - répertoire d'un document (ou l'un de ses pères) - sans qu'il s'agisse d'une expression régulière, - alors les directives sont appliquées selon la loi de "la - plus courte qualification d'abord", combinées aux - directives des fichiers <a - href="#accessfilename">.htaccess</a>. Par exemple, avec - l'écriture</p> - - <blockquote> - <code><Directory /> AllowOverride None - </Directory> <Directory /home/*> AllowOverride - FileInfo </Directory></code> - </blockquote> - - <p>pour le contrôle d'accès au document - <code>/home/web/dir/doc.html</code> les étapes - d'évaluation sont les suivantes :</p> - - <ul> - <li>Applique la directive <code>AllowOverride None</code> - (désactivant les fichiers - <code>.htaccess</code>).</li> - - <li>Appliquela directive <code>AllowOverride FileInfo</code> - (pour le répertoire <code>/home/web</code>).</li> - - <li>Applique toutes les directives <tt>FileInfo</tt> de - <code>/home/web/.htaccess</code></li> - </ul> - - <p>Les sections exprimant des répertoires sous forme - d'expressions régulières sont gérés - légèrement différemment par Apache 1.2 et - 1.3. Sous Apache 1.2, elles sont combinées aux sections - "normales" et s'appliquent dans l'ordre où elles - apparaissent dans le fichier de configuration. Elles ne - s'appliquent qu'une fois, seulement pour celles qui font partie - de la section "à plus courte correspondance". Sous - Apache 1.3 les sections basées sur des expressions - régulières ne sont pas évaluées - tant que toutes les sections "normales" n'ont pas - été considérées. A ce moment, les - sections "régulières" sont traitées dans - l'ordre où elles apparaissent dans le fichier de - configuration. Par exemple, avec l'écriture</p> - - <blockquote> - <code><Directory ~ abc$> ... directives ici ... - </Directory></code> - </blockquote> - - <p>Supposez que le nom de fichier demandé soit - <code>/home/abc/public_html/abc/index.html</code>. Le serveur - considère chacune des sections <code>/</code>, - <code>/home</code>, <code>/home/abc</code>, - <code>/home/abc/public_html</code>, et - <code>/home/abc/public_html/abc</code> dans cet ordre. Sous - Apache 1.2, lorsque <code>/home/abc</code> est pris en compte, - l'expression régulière correspondra et ses termes - seront appliqués. Sous Apache 1.3 l'expression - régulière n'est pas considérée du - tout à ce point de l'arbre. Elle ne le sera pas tant que - toutes les sections "normales" <tt><Directory>s</tt> et - celles des fichiers <code>.htaccess</code> n'ont pas - été appliquées. A ce moment seulement - l'expression régulière reconnaîtra - <code>/home/abc/public_html/abc</code> et les directives seront - appliquées.</p> - - <p><strong>Notez que l'accès par défaut d'Apache - pour les sections <tt><Directory></tt> est <code>Allow - from All</code>. Ceci veut dire que par défaut, Apache - desservira tout fichier indiqué par une URL. Nous - recommandons de modifier ceci à l'aide d'un bloc tel - que</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All -</Directory> -</pre> - - <p><strong>puis désactiver sélectivement la - protection pour les répertoires devant rester - accessibles. Voir la page <a - href="../misc/security_tips.html">Trucs sur la - sécurité</a> pour plus de - détails.</strong></p> - - <p>Les sections de répertoires apparaissent - habituellement dans le fichier access.conf, mais peuvent - être présentes dans n'importe quel fichier de - configuration. Les directives <Directory> ne peuvent - être imbriquées, et ne peuvent petre incluses dans - des sections <a href="#limit"><Limit></a> ou <a - href="#limitexcept"><LimitExcept></a>.</p> - - <p><strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée.</p> - <hr /> - - <h2><a id="directorymatch" name="directorymatch">Directive - <DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <DirectoryMatch <em>regex</em>> ... - </DirectoryMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.3 d'Apache - - <p><tt><DirectoryMatch></tt> et - <tt></DirectoryMatch></tt> sont utilisés pour - encapsuler un groupe de directives s'appliquant uniquement aux - répertoires nommés et ses - sous-répertoires, de manière identique à - la directive <a href="#directory"><Directory></a>. - Cependant, elle n'accepte comme argument qu'une expression - régulière. Par exemple :</p> - - <blockquote> - <code><DirectoryMatch "^/www/.*/[0-9]{3}"></code> - </blockquote> - - <p>correspondrait aux répertoires de /www/ dont le nom - consiste en trois chiffres.</p> - - <p><strong>Voir aussi :</strong> <a - href="#directory"><Directory></a> pour une description de - la manière dont les définitions par expression - régulière sont combinées aux sections - <tt><Directory></tt> "normales".<br /> - <strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="documentroot" name="documentroot">Directive - DocumentRoot</a></h2> - <!--%plaintext <?INDEX {\tt DocumentRoot} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> DocumentRoot <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>DocumentRoot /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive définit le répertoire racine - à partir duquel httpd va distribuer les fichiers. Sauf - si le répertoire est pointé par une directive - telle que Alias, le serveur ajoute le chemin relatif - mentionnée dans l'URL présentée à - cette racine pour établir le chemin complet jusqu'au - document. Exemple :</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - - <p>Un accès à - <code>http://www.my.host.com/index.html</code> se - réferre au document - <code>/usr/web/index.html</code>.</p> - - <p>Un bogue existe pour cette directive mod_dir, laquelle - fonctionne mal lorsque DocumentRoot est donnée avec un - '/' final (c-à-d. "DocumentRoot /usr/web/"). Il vaut - mieux éviter cette écriture.</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICConvert} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICConvert On|Off[=<em>direction</em>] - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - conversion EBCDIC est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - - <p>La directive EBCDICConvert associe une extension de fichier - à une possible conversion (<samp>On</samp> ou - <samp>Off</samp>). Les extensions de fichiers peuvent commencer - ou non par un point.</p> - - <p>Si le format optionnel <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) est employé, - où <i>direction</i> est choisi parmi <samp>In</samp>, - <samp>Out</samp> ou <samp>InOut</samp>, alors la directive ne - s'applique seulement que dans une direction de transfert - donnée (<samp>In</samp> : contenu reçu par une - requête PUT ou POST , <samp>Out</samp> : contenu - renvoyé à une requete GET ou POST, et - <samp>InOut</samp> : conversion dans les deux - directions).<br /> - Sinon, <samp>InOut</samp> (conversion dans les deux - directions) est défini.</p> - - <p>La configuration de conversion basé sur un type de - fichier est testé avant la configuration basé sur - les types MIME, afin de permettre aux règles - génériques MIME d'être surchargées - par une extension spécifique (pplusieurs extensions de - fichier peuvent exister pour le même type MIME).</p> - - <p><strong>Exemple</strong>:<br /> - Avec la configuration suivante, les fichiers - <samp>*.html</samp> contiennent du texte HTML au format EBCDIC, - tandis que les fichiers <samp>*.ahtml</samp> contiennent du - texte HTML au format ASCII :</p> -<pre> - # *.html et *.ahtml contiennet du texte HTML : - AddType text/html .html .ahtml - - # *.ahtml n'est pas converti (il contient déjà du texte ASCII) - EBCDICConvert Off .ahtml - - # Les autres fichiers text/html contiennent du texte EBCDIC: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>Voir également</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> et <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICConvertByType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICConvertByType On|Off[=<em>direction</em>] - <em>mimetype</em> [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - conversion EBCDIC est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - - <p>La directive EBCDICConvertByType associe un type MIME - (pouvant contenir une *) à une éventuelle - conversion (<samp>On</samp> ou <samp>Off</samp>).</p> - - <p>Si le format optionnel <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) est employé, - où <i>direction</i> est choisi parmi <samp>In</samp>, - <samp>Out</samp> ou <samp>InOut</samp>, alors la directive ne - s'applique seulement que dans une direction de transfert - donnée (<samp>In</samp> : contenu reçu par une - requête PUT ou POST , <samp>Out</samp> : contenu - renvoyé à une requete GET ou POST, et - <samp>InOut</samp> : conversion dans les deux - directions).<br /> - Sinon, <samp>InOut</samp> (conversion dans les deux - directions) est défini.</p> - - <p><strong>Par exemple</strong>:<br /> - Une configuration standard pratique devrait au moins contenir - ces directives :</p> -<pre> - # All text documents are stored as EBCDIC files: - # Tous les document textes sont stockés au format EBCDIC - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # Les autres fichiers sont traités comme binaires. - EBCDICConvertByType Off */* -</pre> - Si vous servez seulement que des documents ASCII, par exemple - provenant d'un montage NFS d'un serveur Unix, utilisez : -<pre> - # Tous les documents sont déjà en ASCII: - EBCDICConvertByType Off */* -</pre> - - <p><strong>Voir également</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> et <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICKludge} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICKludge On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - EBCDICKludge est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - Il est désuet et sera abandonné dans les versions - ultérieures.<br /> - - - <p>The EBCDICKludge est proposée par - compatibilité avec les versions d'Apache 1.3.0 à - 1.3.18. Dans ces versions, tous les fichiers dont le type MIME - commence par "text/", "message/" ou "multipart/" ou dont le - type est "application/x-www-form-urlencoded" sont convertis par - défaut, les autres documents sont retournés sans - conversion. Un document est présumé être au - format ASCII iuniquement si il est du type - "<samp>text/<b>x-ascii-</b><i>sous-type</i></samp>", et ne sera - donc pas converti. A la place, le préfixe - "<samp><b>x-ascii-</b></samp>" était supprimé du - type, obtenant ainsi le type MIME - "<samp>text/<i>sous-type</i></samp>" comme type du document - retourné.</p> - - <p>Si la directive EBCDICKludge est mise à - <samp>On</samp>, et si aucune des extensions de fichiers ne - correspondent aux directives <a - href="#ebcdicconvert">EBCDICConvert</a> définis dans le - contexte , alors le serveur teste avec le type MIME de format - <samp><i>type/</i><b>x-ascii-</b><i>sous-type</i></samp>. Si le - document a un tel type alors la chaîne - "<samp><b>x-ascii-</b></samp>" est supprimée et la - conversion est mise à <samp>Off</samp>. Cela permet de - surcharger l'assertion implicite que tous les fichiers sont - stockés au format EBCDIC, par exemple si Apache sert des - fichiers provenant d'un montage NFS d'un répertoire - contenant des documents ASCII.<br /> - En utilisant EBCDICKludge, Il n'y a aucun moyen de forcer un - des autres types MIME (par exemple model/vrml) d'être - traité au format EBCDIC. L'utilisation de la directive - <a href="#ebcdicconvertbytype">EBCDICConvertByType</a> est - préférable pour définir une telle - conversion. Avant Apache 1.3.19, il n'y avait aucun moyen de - forcer ces document binaires d'être traités comme - des fichiers textes EBCDIC</p> - - <p><strong>Voir également</strong> : <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">Directive - ErrorDocument</a></h2> - <!--%plaintext <?INDEX {\tt ErrorDocument} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ErrorDocument <em>code d'erreur - document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Les - contextes répertoire et .htaccess ne sont utilisables - qu'à partir de la version 1.1 d'Apache. - - <p>Dans l'éventualité d'un problème ou - d'une erreur, Apache peut exécuter l'une des quatre - actions suivantes :</p> - - <ol> - <li>sortie d'un message d'erreur simple standard</li> - - <li>sortie d'un message personnalisé</li> - - <li>redirection vers une URL locale pour traiter le - problème (ou l'erreur)</li> - - <li>redirection vers une URL externe pour traiter le - problème (ou l'erreur)</li> - </ol> - - <p>La première option est celle par défaut, les - options 2 à 4 seront obtenues en utilisant la directive - <tt>ErrorDocument</tt>, suivi du code HTTP d'erreur et du - message textuel d'erreur, ou une URL.</p> - - <p><em>Messages</em> dans ce contexte, commence par un - guillemet simple (<code>"</code>), qui ne fait pas partie du - message lui-même. Apache ajoutera souvent des - informations complémentaires explicitant le - problème (ou l'erreur).</p> - - <p>L'URL peut débuter par un slash (/) pour des URL - locales, ou être complètement qualifiées. - Exemples:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>Notez que lorsque vous spécifiez un - <tt>ErrorDocument</tt> qui pointe vers une URL externe (c'est - -à-dire toute adresse commençant par quelque - chose du style "http:") Apache émettra une requête - de redirection au client pour lui indiquer où trouver le - document. Ceci peut perturber les robots et d'autres clients - qui essaient de déterminer si une URL est valide en - testant le code retour de la requête. De plus, si vous - utilisez l'écriture <code>ErrorDocument 401</code> le - client ne saura pas qu'il doit demander un mot de passe - puisqu'il ne recevra pas le code retour 401. Par - conséquent, il est impératif d'utiliser une URL - locale pour une directive "ErrorDocument 401". Ceci est induit - par la nature des schémas d'authentification de base - d'HTTP.</p> - - <p><strong>Voir aussi:</strong> <a - href="../custom-error.html">documentation sur les - réponses personnalisées.</a></p> - <hr /> - - <h2><a id="errorlog" name="errorlog">Directive - ErrorLog</a></h2> - <!--%plaintext <?INDEX {\tt ErrorLog} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ErrorLog <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>ErrorLog - logs/error.log</code> (Windows et OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive définit le nom du fichier dans lequel - le serveur marque la trace des erreurs rencontrées. Si - le nom de fichier ne commence pas par un slash (/), alors la - partie "chemin d'accès" est considérée - relativement à <a href="#serverroot">ServerRoot</a>. - Exemple:</p> - - <blockquote> - <code>ErrorLog /dev/null</code> - </blockquote> - - <p>Cette expression a pour effet de désactiver la trace - d'erreurs.</p> - Si le fichier commence par une barre verticale (|), il est - censé être une commande à exécuter - pour ttraiter le message d'erreur.<br /> - <br /> - - - <p><strong>Apache 1.3 et ultérieur:</strong> en - utilisant <code>syslog</code> à la place d'un fichier - permet d'employer syslogd(8) si le système l'accepte. Le - défau est d'utiliser la fonction syslog - <code>local7</code>, mais vous pouvez remplacer ceci en - utilisant la syntaxe <code>syslog:</code><em>service</em> - où <em>service</em> peut être un des noms - documenté dans syslog(1).</p> - - <p><strong>Sécurité :</strong> Voir la page <a - href="../misc/security_tips.html">note sur la - securité</a> pour plus d'information concernant une - possibilité de brêche de sécurité si - le répertoire d'accueil des fichiers de trace peut - être écrit par tout autre utilisateur que le - propriétaire du processus serveur.</p> - <hr /> - - <h2><a id="files" name="files">Directive <Files></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Files <em>nomfichier</em>> ... - </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.2 d'Apache. - - <p>La directive <tt><Files></tt> permet une gestion de - contrôle d'accès fichier par fichier. Elle est - comparable aux directives <a - href="#directory"><Directory></a> et <a - href="#location"><Location></a>. Elle doit s'apparier - à une directive <tt></Files></tt>. Les directives - applicables au fichier indiqué sont encapsulées - entre ces deux balises. Les sections <tt><Files></tt> - sont traitées dans l'ordre où elles apparaissent - dans le fichier de configuration, une fois traitées les - sections <tt><Directory></tt> et les fichiers .htaccess, - mais avant les sections <tt><Location></tt>.</p> - - <p>L'argument <em>filename</em> peut inclure un nom de fichier, - où un motif, dans lequel '?' correspond à tout - caractère unique quelconque, et '*' correspond à - une séquence de zéro à un nombre - quelconque de caractères. Les "expressions - régulières" peuvent aussi être - utilisées, pourvu qu'elles soient - précédées du caractère - <code>~</code>. Par exemple :</p> -<pre> - <Files ~"\.(gif|jpe?g|png)$"> -</pre> - - <p>correspondrait à la majorité des fichiers - graphiques utilisés sur Internet. A partir de la version - 1.3 d'Apache, l'usage de la directive <a - href="#filesmatch"><FilesMatch></a> est cependant - préférable.</p> - - <p>Notez que, contrairement aux sections <a - href="#directory"><Directory></a> et <a - href="#location"><Location></a>, les sections - <tt><Files></tt> peuvent apparaître dans des - fichiers <code>.htaccess</code>. Ceci permet aux utilisateurs - de contrôler l'accès à leurs propres - fichiers, sur un mode individuel. Lorsqu'elles sont - utilisées dans un fichier <code>.htaccess</code>, si - <em>nomfichier</em> ne commence pas par un slash (/), le - répertoire courant contenant ledit fichier - <code>.htaccess</code> y sera préfixé - automatiquement.</p> - - <p><strong>Voir aussi :</strong> <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="filesmatch" name="filesmatch">Directive - <FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <FilesMatch <em>regex</em>> ... - </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.3 d'Apache. - - <p>La directive <tt><FilesMatch></tt> permet un - contrôle d'accès fichier par fichier, tout comme - la directive <a href="#files"><Files></a>. Cependant, - elle n'accepte qu'un argument sous forme d'expression - régulière. Par exemple :</p> - - <blockquote> - <code><FilesMatch "\.(gif|jpe?g|png)$"></code> - </blockquote> - - <p>qui correspondrait à la plupart des fichiers - graphiques utilisés sur Internet.</p> - - <p><strong>Voir aussi :</strong> <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="group" name="group">Directive Group</a></h2> - <!--%plaintext <?INDEX {\tt Group} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Group <em>groupeUnix</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>Group</tt> définit le groupe dont - les requêtes seront traitées par le serveur. Pour - utiliser cette directive, le serveur stand-alone doit tout - d'abord être exécuté par l'utilisateur - "root". <em>groupeUnix</em> est à choisir parmi :</p> - - <dl> - <dt>un nom de groupe</dt> - - <dd>se réfère à un groupe unix par son - nom.</dd> - - <dt># suivi d'unnuméro de groupe.</dt> - - <dd>se réfère à un groupe par son - indice.</dd> - </dl> - - <p>Il est recommendé de créer un nouveau groupe - d'utilisateurs pour les utilisateurs exécutant le - serveur. Certains administrateurs assignent le serveur à - l'utilisateur <code>nobody</code>, mais ceci n'est pas toujours - possible ou souhaîtable.</p> - - <p><strong>Note :</strong> si vous démarrez le serveur - sous un compte utilisateur autre que "root", la commutation sur - un autre groupe échouera, et le groupe utilisé - restera le groupe initial de l'utilisateur.</p> - - <p><strong>Note spéciale :</strong> L'utilisation de - cette directive dans un contexte <tt><VirtualHost></tt> - nécessite un <a href="../suexec.html">suEXEC wrapper</a> - correctement configuré. De cette manière et dans - ce contexte, seul le groupe dans lequel sont - exécutés les CGI sont affectés. Toute - requête autre que CGI sont toujours lancées dans - le groupe défini par la directive Group principale.</p> - - <p><strong>Sécurité :</strong> Voir <a - href="#user">Utilisateur</a> pour une discussion plus - détaillée sur les aspects utilisateurs.</p> - <hr /> - - <h2><a id="hostnamelookups" name="hostnamelookups">Directive - HostNameLookups</a></h2> - <!--%plaintext <?INDEX {\tt HostNameLookups} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> HostNameLookups <em>on | off | double</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>HostNameLookups off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <code>double</code> n'est disponible qu'à partir de la - version 1.3 d'Apache.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> La - valeur par défaut était <code>on</code> pour - toute version antérieure à la version 1.3 - d'Apache. - - <p>Cette directive autorise la résolution DNS pour la - trace d'accès (et pour les passer aux CGI/SSI en - <code>REMOTE_HOST</code>). La valeur <code>double</code> - signifie une résolution DNS inverse double. - C'est-à-dire, après qu'une résolution - inverse soit effectuée, une résolution est - ensuite effectuée à partir du résultat - obtenu. Au moins une des adresses IP obtenues par la - deuxième résolution doit correspondre à - l'adresse originale. (Dans le langage des "fous de tcp" ceci - s'appelle <code>PARANOID</code>.)</p> - - <p>Indépendamment du mode choisi, lorsque <a - href="mod_access.html">mod_access</a> est utilisé pour - faire du contrôle d'accès par nom d'hôte, - une résolution inverse double sera effectuée. - Ceci est indispensable pour des raisons de - sécurité. Notez que le résultat de cette - résolution inverse double n'est en général - pas accessible sauf si l'option <samp>HostnameLookups - double</samp> est activée. Par exemple, si l'option est - simplement <samp>HostnameLookups on</samp> et une requête - est reçue vers un objet soumis à des restrictions - quant aux noms d'hôtes, et quelque soit le - résultat de la réslution inverse double, les CGI - recevront le résultat de la résolution inverse - dans la variable d'environnement <code>REMOTE_HOST</code>.</p> - - <p>Par défaut, l'état choisi était - <code>on</code> dans les versions d'apache antérieures - à la version 1.3. Elle est aujourd'hui à - <code>off</code> afin de diminuer le trafic pour les sites qui - n'ont pas un besoin absolu de la résolution inverse. - C'est aussi un avantage pour les utilisateurs finaux qui - n'auront pas à attendre la fin du processus de - résolution avant d'être servis. Des sites - chargés devraient plutôt laisser cette opyion - à <code>off</code>, dans la mesure où une - recherche DNS peut consommer un temps non négligeable. - L'utilitaire <code>logresolve</code>, fourni dans le - répertoire <i>/support</i>, peut être - utilisé pour résoudre des noms d'hôtes - à partir des adresses IP tracées en mode - "offline".</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">Directive - IdentityCheck</a></h2> - <!--%plaintext <?INDEX {\tt IdentityCheck} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> IdentityCheck <em>booléen</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>IdentityCheck off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive autorise une trace conforme à la - RFC1413 du nom d'utilisateur pour chaque connexion, lorsque la - machine cliente exécute identd ou un procesus similaire. - Cette information est tracée dans le fichier - <code>access log</code>. <em>booléen</em> vaut soit - <code>on</code> ou <code>off</code>.</p> - - <p>Cette information n'est absolument pas certifiée et - ne peut être considérée que pour une - analyse sommaire.</p> - - <p>Notez que ce fontionnement peut rallonger notablement les - délais d'accès à votre serveur dans la - mesure où chaque requête nécessite - l'exécution d'une résolution. Lorsque des - "firewalls" sont présents chaque résolution peut - éventuellement échouer et ajouter ainsi 30 - secondes d'attente pour chaque accès. En conclusion, - cette option n'est en général pas opportune pour - des serveurs Internet ouverts au public.</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - directive</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <IfDefine - [!]<em>nom-paramètre</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> aucun<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <IfDefine> est disponible à partir de la version - 1.3.1 - - <p>La section <IfDefine - <em>test</em>>...</IfDefine> est employée pour - délimiter des directives conditionnelles. Les directives - à l'intérieur d'un section IfDefine ne sont - prises en compte que si <em>test</em> est vraie. Si - <em>test</em> est faux, tout ce qui se trouve entre le marqueur - de début et celui de fin est ignoré.</p> - - <p>Le <em>test</em> de la section <IfDefine> peut exister - sous deux formes :</p> - - <ul> - <li><em>nom-paramètre</em></li> - - <li><code>!</code><em>nom-paramètre</em></li> - </ul> - - <p>Dans le premier cas, les directives entre les marqueurs de - début et de fin ne sont traité que si le - paramètre nommé <em>nom-paramètre</em> est - défini. Dans le deuxième cas, les directives - entre les marqueurs de début et de fin ne sont - traité que si le paramètre nommé - <em>nom-paramètre</em> n'est <strong>pas</strong> - défini.</p> - - <p>L'argument <em>nom-paramètre</em> est une - définition qui peut être donnée en ligne de - commande d'httpd en utilisant l'option - <code>-D</code><em>nom-paramètre</em>, au lancement du - serveur.</p> - - <p>Les sections <IfDefine> peuvent s'imbriquer, ce qui - permet de réaliser des test sur plusieurs - paramètres. Par exemple :</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule">Directive - <IfModule></a></h2> - <b>Syntaxe :</b> <IfModule [!]<i>nomModule</i>> - <i>...</i> </IfModule><br /> - <b>Défaut :</b> aucun<br /> - <b>Contexte :</b> tous<br /> - <b>Statut :</b> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> IfModule - n'est disponible qu'à partir de la version 1.2 d'Apache. - - - <p>La section <tt><IfModule - <i>test</i>></tt>...</IfModule> permet de rendre - conditionnelles un groupe de directives. Les directives - à l'intérieur d'une section IfModule ne sont - considérées que si le <i>test</i> est - vérifié. Si <i>test</i> vaut faux, toute - directive inclue entre la balise de début et celle de - fin sont ignorées.</p> - - <p>Le <em>test</em> d'une section <tt><IfModule></tt> - peut prendre l'une des formes suivantes :</p> - - <ul> - <li><i>nomModule</i></li> - - <li>!<i>nomModule</i></li> - </ul> - - <p>Dans le premier cas, les directives entre les deux balises - de début et de fin ne sont traitées que si le - module indiqué par <em>nomModule</em> est compilé - dans votre version d'Apache. La seconde forme inverse le sens - du test, et ne traite les directives que si le module - <em>nomModule</em> n'est <b>pas</b> compilé.</p> - - <p>L'argument <em>nomModule</em> spécifie un nom de - module par son nom de fichier source, tel qu'appelé par - la compilation. Par exemple, <code>mod_rewrite.c</code>.</p> - - <p>Les sections <tt><IfModule></tt> peuvent être - imbriquées, ce qui peut être utile pour - implémenter simplement des tests multi-modules.</p> - <hr /> - - <h2><a id="include" name="include">Directive Include</a></h2> - <strong>Syntaxe :</strong> Include <em>nomfichier</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Include - n'est disponible qu'à partir de la version 1.3 d'Apache. - - - <p>Cette directive permet l'inclusion d'autres fichiers de - configuration à partir d'autres fichiers de - configuration serveur.</p> - - <p>A partir de la version Apache 1.3.13, si - <code>Include</code> pointe vers un répertoire plutot - qu'un fichier, Apche lira tous fichiers de ce - répertoire, ou des sous-répertoires, et traitera - chacun de ces fichiers de configuration.</p> - <hr /> - - <h2><a id="keepalive" name="keepalive">Directive - KeepAlive</a></h2> - <strong>Syntaxe : (Apache 1.1)</strong> KeepAlive - <em>requêtesMax</em><br /> - <strong>Défaut : (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntaxe : (Apache 1.2)</strong> KeepAlive - <em>on/off</em><br /> - <strong>Défaut : (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - KeepAlive est disponible à partir de la version 1.1 - d'Apache. - - <p>L'extension Keep-Alive d'HTTP/1.0 et les connexions - persistantes d'HTTP/1.1 fournissent des sessions durables HTTP - , qui autorisent plusieurs requêtes à être - envoyées sur la même connexion. Dans certains cas, - il a été constaté une réduction de - 50% du temps de latence ppour des documents HTML contenant de - nombreuses images. Pour activer les connexions persistantes - (keep-alive) à partir d'Apache 1.2 il faut - définir la directive <code>KeepAlive On</code>.</p> - - <p>Pour les clients HTTP/1.1, Les connexions persistantes ne - sont employées que si elles sont spécifiquement - demandées par un client. De plus, une connexion - persistantes ne peut être employées que si la - taille du contenu est connu à l'avance. Ceci implique - que les contenus dynamiques, tels que les scripts CGI, les - pages SSI, et les listes de répertoires - générés par le serveur n'utilisent pas de - connexions persistentes pour les clients HTTP/1.0. Pour les - clients HTTP/1.1, les connexions sont persistantes par - défaut à moins d'être - spécifiée. Si le client le demande, l'encodage - par tranches est utilisé afin d'envoyer des contenus de - tailles inconnus au travers de connxions persistantes.</p> - - <p><strong>Sous Apache 1.1</strong>: Mettre - <em>requêtesMax</em> au nombre maximum de requêtes - qu'Apache peut traiter par connexion persistante. Une - limitation est imposée pour éviter qu'un client - ne vienne asphyxier votre serveur en ressources. Mettre un - <code>0</code> pour désactiver ce support. A partir de - la version 1.2, ceci est contrôlé par la directive - MaxKeepAliveRequests</p> - Voir aussi la directive <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a>.<br /> - <br /> - - <hr /> - - <h2><a id="keepalivetimeout" name="keepalivetimeout">Directive - KeepAliveTimeout</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> KeepAliveTimeout <em>secondes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>KeepAliveTimeout 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>KeepAliveTimeout</tt> est disponible à partir de la - version 1.1 d'Apache. - - <p>Le nombre de secondes pendant lesquelles Apache attendra une - requête postérieure avant de rompre une connexion. - Dès qu'une requête est reçue, la valeur de - la temporisation spécifiée par la directive <a - href="#timeout">Timeout</a> s'applique.</p> - - <p>Mettre <code>KeepAliveTimeout</code> à une grande - valeur peut créer des problèmes de performance - pour des serveurs chargés. Le plus grand est ce - délai, le plus les processus du serveur seront - occupés en attente de connexions avec des clients - inactifs.</p> - <hr /> - - <h2><a id="limit" name="limit">Directive <Limit></a></h2> - <!--%plaintext <?INDEX {\tt Limit} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Limit <em>méthode méthode</em> - ... > ... </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Les contrôles d'accès sont normalement actives - pour <strong>toutes</strong> les méthodes - d'accès, et ceci est le comportement normal. <strong>En - général, les directives de contrôle - d'accès ne doivent être placées à - l'intérieur d'une section - <code><limit></code>.</strong></p> - - <p>Le but de la directive <Limit> est de restreindre la - portée des contrôles d'accès à - certaines méthodes HTTP. Pour toutes les autres - méthodes, les restrictions d'accès qui sont - situées à l'intérieur de <Limit> - <strong>sont sans effets</strong>. L'exemple suivant applique - le contrôle d'accès uniquement aux méthodes - POST, PUT, and DELETE, laissant les autres méthodes non - protégées :</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - Les noms de méthodes peuvent être choisis parmi - GET, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, - PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, et UNLOCK. - <strong>Le nom de la méthode est sensible à la - casse.</strong> Si GET est employé, il restreindra - également les requêtes HEAD. - <hr /> - - <h2><a id="limitexcept" name="limitexcept">Directive - <LimitExcept></a></h2> - <!--%plaintext <?INDEX {\tt LimitExcept} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <LimitExcept <em>méthode</em> - [<em>méthode</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - disponible à partir de la version 1.3.5 d'Apache. - - <p><LimitExcept> et </LimitExcept> sont - employés pour entourer un groupe de directives de - contrôle d'accès qui s'appliqueront pour n'importe - quelle méthode d'accès ne se trouvant - <strong>pas</strong> en arguments Cette directive est - l'oppsée de <a href="#limit"><Limit></a> et peut - être employée pour contrôler les - méthodes non reconnues ou non standard. Voir la - documentation de <a href="#limit"><Limit></a> pour plus - de détails.</p> - <hr /> - - <h2><a id="limitrequestbody" name="limitrequestbody">Directive - LimitRequestBody</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestBody} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestBody <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestBody 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestBody est disponible à partir de la version - 1.3.2. - - <p>Cette directive détermine la taille maximale en - octets que peut avoir le corps d'une requête. Elle peut - aller de 0 (illimité) à 2147483647 (2GB). La - valeur par défaut est déterminée à - la compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_BODY</code> (0 dans les - distributions).</p> - - <p>La directive LimitRequestBody directive permet à - l'utilisateur de fixer une limite à la taille du corps - d'une requête à l'intérieur du contexte - où cette directive est située (serveur, par - répertoire, par fichier). Si le client effezctue une - requête excédant cette limite, le serveur - retournera un message d'erreur au lieu de traiter la - requête. La taille d'une requête normale peut - beaucoup varier en fonction de la nature de la ressource - demandée et des méthodes d'accès permise - sur cette ressource. Typiquement les scripts CGI utilise le - corps du message pour passer des informations au serveur. Des - implémentation de la méthode PUT nécessite - une valeur au moins aussi grande que le serveur souhaite - recevoir pour cette ressource.</p> - - <p>Cette directive donne à l'administrateur un plus - grand contrôle par rapport à des requêtes - anormales de clients, et peut être utile pour - éviter certaines formes d'attaques par déni de - service.</p> - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">Directive LimitRequestFields</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestFields} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestFields <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestFields est disponible à partir de la version - 1.3.2. - - <p><em>Number</em> est un entier allant de 0 (signifiant sans - limite) à 32767. La valeur par défaut est - définie à la compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> (100 dans la - distribution).</p> - - <p>La directive LimitRequestFields permet à - l'administrateur du serveur de modifier le nombre maximum de - champs autorisé à l'intérieur de - l'en-tête d'une requête HTTP. Un serveur doit avoir - cette valeur supérieure au nombre de champs qu'un client - normal peut inclure. Le nombre de champs utilisé par un - client excède rarement 20, mais ceci peut varier en - fonction de l'implémentation des clients, le plus - souvent il dépend du niveau auquel le client a - configuré son butineur pour accepter une - négociation de contenu très fine. Les extensions - HTTP optionnelles sont exprimées en utilisant des champs - dans l'en-tête de requête.</p> - - <p>Cette directive permet à l'administrateur un meilleur - contrôle par rapport à des requêtes - anormales, ce qui peut être utile pour éviter - certaines attaques par déni de service. Cette valeur - doit être augmentée si certains clients obtiennent - un message d'erreur à leurs requêtes indiquant que - trop de champs sont envoyés dans la requête.</p> - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">Directive - LimitRequestFieldsize</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestFieldsize} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestFieldsize <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestFieldsize est disponible à partir de la - version 1.3.2. - - <p>Cette directive indique la taille maximale de - l'en-tête d'une requête HTTP et peut aller de 0 - <em>octets</em> à la valeur définit à la - compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> (8190 dans la - distribution standard).</p> - - <p>La directive LimitRequestFieldsize permet à - l'administrateur de limiter la taille autorisée pour le - champ d'en-tête HTTP d'une requête à une - valeur inférieure à celle définie à - la compilation. Un serveur doit avoir cette valeur suffisamment - grande pour pouvoir traiter les requêtes de clients - normaux. La taille d'une requête noramle peut beaucoup - varier en fonction de l'implémentation du client, le - plus souvent il dépend du niveau auquel le client a - configuré son butineur pour accepter une - négociation de contenu très fine.</p> - - <p>Cette directive permet l'administrateur d'avoir un meilleur - contrôle sur des requêtes ayant un comportement - anormale, ce qui peut être utile afin d'éviter - certaines formes d'attaques par déni de service. Dans - des conditions normales, cette valeur doit rester celle par - défaut.</p> - <hr /> - - <h2><a id="limitrequestline" name="limitrequestline">Directive - LimitRequestLine</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestLine} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestLine <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestLine 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestLine est disponible à partir de la version - 1.3.2. - - <p>Cette directive indique la taille maximale d'une - requête HTTP et peut aller de 0 <em>octets</em> à - la valeur définit à la compilation par la - constante <code>DEFAULT_LIMIT_REQUEST_LINE</code> (8190 dans la - distribution standard).</p> - - <p>La directive LimitRequestLine permet à - l'administrateur de réduire la limite fixée pour - une requête HTTP en dessous de la valeur fixée - à la compilation. Comme une requête est - composée de la méthode HTTP, d'une URI et de la - version du protocole utilisé, la directive - LimitRequestLine place une restriction sur la taille maximale - que peut avoir une URI dansune requête. Un serveur doit - avoir cette valeur suffisamment grande pour pouvoir traiter - n'importe quelle de ses ressources, en prenant en compte les - informations qui pourrait être passées dans une - requête GET.</p> - - <p>Cette directive permet l'administrateur d'avoir un meilleur - contrôle sur des requêtes ayant un comportement - anormale, ce qui peut être utile afin d'éviter - certaines formes d'attaques par déni de service. Dans - des conditions normales, cette valeur doit rester celle par - défaut.</p> - <hr /> - - <h2><a id="listen" name="listen">Directive Listen</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Listen - [<em>adresseIp</em>:]<em>numéroPort</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Listen - est disponible à partir de la version 1.1 d'Apache. - - <p>La directive <tt>Listen</tt> enjoint Apache à - écouter plus d'une adresse IP ou port; par défaut - Apache répond aux requêtes reçues sur - toutes les interfaces IP, mais seulement celles arrivant sur le - port donné par la directive <a - href="#port">Port</a>.</p> - <tt>Listen</tt> peut être utilisée à la - place de <tt><a href="#bindaddress">BindAddress</a></tt> et - <tt>Port</tt>. Elle indique au serveur d'accepter des - requêtes entrantes sur le port spécifié ou - sur une combinaison adresse-port. Si le premier format est - utilisé (avec seule mention d'un numéro de port), - le serveur "écoutera" tous les ports - spécifiés sur chacune des interfaces IP qu'il - connaît, plutôt que sur le port donné par la - directive <tt>Port</tt>. Si une adresse IP adresse IP est - précisée en complément, le serveur - restreindra son écoute à la combinaison - adresse-port précisée.<br /> - <br /> - - - <p>Notez que vous avez toujours besoin de la directive - <tt>Port</tt> qui permettent à Apache de - générer les URL de retour vers votre serveur.</p> - - <p>Plusieurs directives <tt>Listen</tt> peuvent être - utilisées pour spécifier un ensemble d'adresses - et de ports à écouter. Le serveur répondra - aux requêtes reçues sur n'importe laquelle des - combinaisons adresse-port ainsi spécifiée.</p> - - <p>Par exemple, pour autoriser le serveur à accepter des - connexions sur les ports 80 et 8000, écrire :</p> - - <blockquote> -<pre> -<code>Listen 80 -Listen 8000 -</code> -</pre> - </blockquote> - - <p>Pour autoriser un serveur à accepter des connexions - sur deux "sockets" qualifiés, écrire :</p> -<pre> -Listen 192.170.2.1:80 -Listen 192.170.2.5:8000 -</pre> - - <p><strong>Voir aussi:</strong> <a - href="../dns-caveats.html">Apache et DNS</a><br /> - <strong>Voir aussi:</strong> <a href="../bind.html">Configurer - les ports et adresses utilisée par Apache</a><br /> - <strong>Voir aussi :</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">Bogues - connus</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">Directive - ListenBacklog</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ListenBacklog <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ListenBacklog 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ListenBacklog</tt> n'est disponible qu'à partir de - la version 1.2.0 d'Apache. - - <p>La longueur maximale de la file d'attente des connexions en - attente. En général, aucun ajustement n'est - nécessaire, cependant, il est souhaitable sur certains - systèmes d'augmenter cette longueur de file pour - répondre à des attaques TCP SYN. Voir les - paramètres backlog dans l'appel système - <code>listen(2)</code>.</p> - - <p>Cette directive est limitée à un petit nombre - par le système d'exploitation. Elle peut varier d'un - système à un autre. Il faut également - noter que pour la plupart des systèmes, la valeur - réellement utilisée n'est pas celle - spécifiée par la directive, mais un nombre - basé sur cette valeur (généralement plus - grande).</p> - <hr /> - - <h2><a id="location" name="location">Directive - <Location></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Location <em>URL</em>> ... - </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>Location</tt> est disponible à partir des versions - 1.1 d'Apache. - - <p>La directive <tt><Location></tt> permet d'instaurer un - contrôle d'accès sur une base URL. Elle est - comparable à la directive <a - href="#directory"><Directory></a>, et doit s'apparier - à une directive <tt></Location></tt>. Les - directives s'appliquant à l'URL précisée - seront à inclure entre ces deux balises. Les sections - <tt><Location></tt> sont traitées dans l'ordre - où elles apparaissent dans le fichier de configuration, - une fois les sections <tt><Directory></tt> et les - fichiers <code>.htaccess</code> traités.</p> - - <p>Il faut noter que les URL n'ont pas du tout à suivre - la même organisation que le système de fichiers, - et il faut souligner que la directive <Location> - opère de manière totalement indépendante - du système de fichiers.</p> - - <p>Le <em>préfixe d'URL</em> devra, sauf pour des - requêtes à un proxy, être de la forme - <code>/chemin/</code>, et ne devra pas inclure de mention - <code>http://nomserveur</code>. Elle ne protège pas - nécessairement un répertoire (cela peut - être un fichier individuel, ou un ensemble de fichiers), - et peut inclure des métacaractères. Dans un motif - (avec des métacaractères), '?' remplace un - caractère quelconque, et '*' remplace toute chaîne - quelconque de 0 ou plus caractères. POur les - requêtes à un proxy, l'URL doitt être de la - forme <code>scheme://nomserveur/serveur</code>, et vous devez - inclure le préfixe.</p> - - <p><strong>Apache 1.2 et plus :</strong> Des expression - régulières peuvent être utilisées, - à condition de les faire précéder du - caractère <code>~</code>. Par exemple :</p> - - <blockquote> - <code><Location ~ "/(extra|special)/data"></code> - </blockquote> - - <p>correspondrait à des URL contenant la - sous-chaîne "/extra/data" ou "/special/data". Cependant, - sous Apache 1.3, l'utilisation de la directive <a - href="#locationmatch"><LocationMatch></a> est - conseillée.</p> - - <p>La fonctionnalité <tt>Location</tt> est - particulièrement pratique lorsque combinée - à la directive <a - href="mod_mime.html#sethandler">SetHandler</a>. Par exemple, - pour permettre des requêtes sur les rapports - d'état, mais ne les autoriser que pour des agents - requérant à partir du domaine foo.com, vous - pourriez écrire :</p> - - <blockquote> -<pre> -<code><Location /status> -SetHandler server-status -order deny,allow -deny from all -allow from .foo.com -</Location> -</code> -</pre> - </blockquote> - - <p><strong>Note sur / (barre oblique) pour les version - supérieures à 1.3</strong>: La caractère - barre oblique à une signification particulière en - fonction de l'endroit où il se situe. Des personnes sont - habitués au comportement dans certains systèmes - de fichiers où de multiples caractères obliques - sont remplacés par un caractère unique (par - exemple <code>/home///foo</code> est identique à - <code>/home/foo</code>). Dans le monde des URL ceci n'est pas - obligatoirement vrai. La directive - <code><LocationMatch></code> et la version avec - expression régulière de - <code><Location></code> demande de spécifier - plusieurs caractères obliques si ceci est votre - intention. Par exemple, <code><LocationMatch - ^/abc></code> fonctionnera avec l'URL <code>/abc</code> mais - pas avec l'URL <code>//abc</code>. La directive (sans - expression régulière) - <code><Location></code> se comporte de manière - similaire quand elle est employée pour des - requêtes proxy. Mais si la directive (sans expression - régulière) <code><Location></code> est - utilisée pour des requêtes sans proxy, il - associera implicitement plusieurs obliques à un seul. - Par exemple, si vous spécifiez <code><Location - /abc/def></code> et que la requête est - <code>/abc//def</code> celle ci correspondra.</p> - - <p><strong>Voir aussi</strong>: <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée.</p> - <hr /> - - <h2><a id="locationmatch" name="locationmatch">Directive - <LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <LocationMatch <em>regex</em>> ... - </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Location - est disponible à partir de la version 1.3 d'Apache. - - <p>La directive <tt><LocationMatch></tt> permet - l'établissement d'un contrôle d'accès sur - une base URL, d'une façon identique à la - directive <a href="#location"><Location></a>. Cependant, - elle n'accepte qu'une expression régulière comme - argument. Par exemple :</p> - - <blockquote> - <code><LocationMatch "/(extra|special)/data"></code> - </blockquote> - représente des URL contenant l'une des - sous-chaînes "/extra/data" ou "/special/data". <br /> - <br /> - <strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée. - <hr /> - - <h2><a id="lockfile" name="lockfile">Directive - LockFile</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LockFile <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>LockFile</tt> indique le chemin - d'accès du fichier de verrouillage utilisé - lorsqu'Apache est compilé en mode - <code>USE_FCNTL_SERIALIZED_ACCEPT</code> ou - <code>USE_FLOCK_SERIALIZED_ACCEPT</code>. Ce paramètre - sera laissé généralement dans son - état par défaut. La raison principale qui - conduirait à modifier ce paramètre serait le fait - que le répertoire des traces (<code>logs</code>) soit - monté sous NFS, le fichier de verrouillage devant de - préférence être situé sur un disque - local à la machine serveur pour autant que possible. Le - PID du processus serveur principal est automatiquement - rajouté au nom de fichier.</p> - - <p><strong>SECURITE :</strong> il vaut mieux éviter de - metttre ce fichier dans un répertoire inscriptible par - tout le monde tel que <code>/var/tmp</code> cas quelqu'un - pourrait créer une attaque par déni de service et - empécher le serveur de redémarrer en - créant un fichier de verrouillage de même nom que - celui que veut créer le serveur.</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">Directive - LogLevel</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LogLevel <em>niveau</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>LogLevel - error</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> LogLevel - est disponible à partir de la version 1.3. - - <p>LogLevel ajuste le niveau de verbosité des messages - inscrits dans les traces d'erreur (voir la directive <a - href="#errorlog">ErrorLog</a>). Les niveaux possibles sont par - ordre de gravité décroissante :</p> - - <table> - <tr> - <th align="LEFT"><strong>Niveau</strong> </th> - - <th align="LEFT"><strong>Description</strong> </th> - </tr> - - <tr> - <th> - </th> - - <th align="LEFT"><strong>Exemple</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>Urgences - le système est inutilisable.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Child cannot open lock file. Exiting"</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>Une action doit être prise - immédiatement.</td> - </tr> - - <tr> - <td> - </td> - - <td>"getpwuid: couldn't determine user name from uid"</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>Conditions critiques.</td> - </tr> - - <tr> - <td> - </td> - - <td>"socket: Failed to get a socket, exiting child"</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>Cas d'erreur.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Premature end of script headers"</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>Avertissements.</td> - </tr> - - <tr> - <td> - </td> - - <td>"child process 1234 did not exit, sending another - SIGHUP"</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>Normal mais condition significative.</td> - </tr> - - <tr> - <td> - </td> - - <td>"httpd: caught SIGBUS, attempting to dump core in - ..."</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>Pour information.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..."</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>Messages de déboguage</td> - </tr> - - <tr> - <td> - </td> - - <td>"Opening config file ..."</td> - </tr> - </table> - - <p>Quand un niveau est spécifié, les messages des - niveaux de plus haute gravité seront également - rapportés. Par exemple, quand la directive - <code>LogLevel info</code> est définie, les messages de - niveau <code>notice</code> et <code>warn</code> seront aussi - notifiés.</p> - - <p>L'utilisation d'un niveau de gravité d'au moins - <code>crit</code> est recommandé.</p> - <hr /> - - <h2><a id="maxclients" name="maxclients">Directive - MaxClients</a></h2> - <!--%plaintext <?INDEX {\tt MaxClients} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxClients <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxClients 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxClients</tt> indique le nombre limite de - requêtes simultanées pouvant être - acceptées par le serveur ; il représente le - nombre maximum de processus serveur fils qui peuvent tourner - à un instant donné. Pour configurer plus de 256 - clients, vous devez modifier la constante HARD_SERVER_LIMIT du - fichier source d'Apache httpd.h et recompiler Apache.</p> - - <p>Les tentatives de connexions au delà de MaxClients - sont normalement mises en attente, jusqu'à une limite - fixée par la directive <a - href="#listenbacklog">ListenBacklog</a>. Une fois qu'un - processus fils est libre à la fin d'une requête - différente, la connexion en attente est - traitée.</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">Directive - MaxKeepAliveRequests</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxKeepAliveRequests <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Uniquement à partir de la version 1.2 d'Apache. - - <p>La directive <tt>MaxKeepAliveRequests</tt> limite le nombre - de requêtes permises pour une connexion unique lorsque la - directive <a href="#keepalive">KeepAlive</a> est - activée. Si <em>nombre</em> vaut "<code>0</code>", - chaque connexion peut admettre un nombre illimité de - requêtes. Nous recommendons que ce paramètre soit - réglé sur une valeur relativement haute pour - obtenir des performances optimales du serveur. Dans la version - 1.1 d'Apache, ceci est contrôlé par la directive - Keepalive</p> - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">Directive - MaxRequestsPerChild</a></h2> - <!--%plaintext <?INDEX {\tt MaxRequestsPerChild} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxRequestsPerChild <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxRequestsPerChild</tt> indique le nombre - limite de requêtes qu'un processus serveur fils peut - traîter. Après <tt>MaxRequestsPerChild</tt> - requêtes, ce processus fils meurt. Si ce paramètre - est fixé à 0, alors les processus fils ne meurent - jamais.</p> - - <p>Le fait de mettre <tt>MaxRequestsPerChild</tt> à une - valeur non nulle a deux conséquences - bénéfiques :</p> - - <ul> - <li>cela limite le volume de mémoire qu'un processus - peut consommer (accidentellement) et évite une - saturation mémoire ;</li> - - <li>en donnant à un processus un temps de vie fini, le - nombre total de processus impliqués dans le serveur - décroit lorsque la charge du serveur retombe.</li> - </ul> - - <p>Cependant sur les systèmes Win32, il est - recommandé de mettre cette valeur à 0. Si celle - ci est à une valeur non nulle, quand le nombre de - requêtes est atteint, le processus fils quitte, et est - relancé en relisant les fichiers de configuration. Ceci - peut conduire à un comportement imprévisible si - vous avez modifié un fichier de configuration, mais ne - souhaitez pas que ces changements soient pris en compte. Voir - également <a - href="#threadsperchild">ThreadsPerChild</a>.</p> - - <p><strong>NOTE:</strong> pour les requêtes - <em>KeepAlive</em> requests, seule la première - requête est comptée. En réalité, il - change le comportement afin de limiter le nombre de - <em>connexions</em> par fils.</p> - <hr /> - - <h2><a id="maxspareservers" name="maxspareservers">Directive - MaxSpareServers</a></h2> - <!--%plaintext <?INDEX {\tt MaxSpareServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxSpareServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxSpareServers 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxSpareServers</tt> indique le nombre - maximal de processus fils en <em>attente</em>. Un processus en - attente est un processus qui existe, mais qui ne traite pas de - requête. S'il existe plus de <tt>MaxSpareServers</tt> de - ces processus, alors le père viendra tuer les processus - en supplémentaires.</p> - - <p>L'activation de cette fonctionnalité ne devrait - être nécessaire que sur les site vraiment - très chargés. Régler ce paramètre - sur une grande valeur est de toutes façon toujours une - mauvaise idée.</p> - - <p>Cette directive n'a aucun effet quand elle est - employée sur les plates-formes WIndows.</p> - - <p>Voir aussi <a href="#minspareservers">MinSpareServers</a> et - <a href="#startservers">StartServers</a>.</p> - <hr /> - - <h2><a id="minspareservers" name="minspareservers">Directive - MinSpareServers</a></h2> - <!--%plaintext <?INDEX {\tt MinSpareServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MinSpareServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MinSpareServers 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MinSpareServers</tt> indique le nombre - minimum de processus fils en <em>attente</em> qu'un serveur - pourra conserver. S'il existe moins de <tt>MinSpareServers</tt> - processus serveurs fils en attente, le processus père - recréera des processus fils au rythme de 1 par - seconde.</p> - - <p>L'activation de cette fonctionnalité ne devrait - être nécessaire que sur des sites très - chargés. Régler ce paramètre sur une - grande valeur est de toutes façons toujours une mauvaise - idée.</p> - - <p>Cette directive n'a aucun effet quand elle est - employée sur les plates-formes WIndows.</p> - - <p>Voir aussi <a href="#maxspareservers">MaxSpareServers</a> et - <a href="#startservers">StartServers</a>.</p> - <hr /> - - <h2><a id="namevirtualhost" name="namevirtualhost">Directive - NameVirtualHost</a></h2> - <!--%plaintext <?INDEX {\tt NameVirtualHost} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>NameVirtualHost</tt> n'est disponible qu'à partir de - la version 1.3 d'Apache. - - <p>La directive <tt>NameVirtualHost</tt> est nécessaire - si vous souhaitez configurer <a href="../vhosts/index.html">des - hôtes virtuels nommés</a>.</p> - - <p>Bien que <em>addr</em> puisse être exprimée - comme un nom d'hôte, il est recommandé d'utiliser - une adresse IP, exemple :</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - - <p>Avec cette directive <tt>NameVirtualHost</tt>, l'adresse - nommée par le nom de votre hôte virtuel se - résout. Si vous exploitez plusieurs hôtes - nommés sur des adresses multiples, répétez - cette directive autant de fois que nécessaire (pour - chaque adresse).</p> - - <p>Note: le "serveur principal" et tous les serveurs "par - défaut" ne seront <strong>jamais</strong> servis pour - une requête vers une adresse IP NameVirtualHost (à - moins que pour une raison donnée vous définissiez - NameVirtualHost mais qu'aucun VirtualHosts ne soit - défini pour cette adresse).</p> - - <p>En option, vous pouvez préciser un numéro de - port sur lequel l'hôte virtuel nommé sera atteint, - par exemple :</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - A partir de la version 1.3.13, vous pouvez donner comme adresse - <code>*</code> Ceci crée un NameVirtualHost qui - correspond à toutes les connexions venant de toutes les - adresses IP qui ne sont pas configurés avec une autre - directive NameVirtualHost ou un section <a - href="#virtualhost"><VirtualHost></a>. Cette option est - pratique si vous n'utilisez que des hôtes virtuels - nommés et que vous ne souhaitez pas coder en dur - l'adresse IP de votre machine dans le fichier de - configuration.<br /> - <br /> - <strong>Voir aussi :</strong> <a href="../vhosts/">Hôtes - virtuels sur Apache</a> - <hr /> - - <h2><a id="options" name="options">Directive Options</a></h2> - <!--%plaintext <?INDEX {\tt Options} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Options <em>[+|-]option [+|-]option - ...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <strong>Surcharge:</strong> Options<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>Options</tt> contrôle quelles - fonctions du serveur sont disponibles dans un répertoire - particulier.</p> - - <p><em>option</em> peut valoir <code>None</code>, auquel cas - aucune fonction supplémentaire n'est disponible, ou une - ou plus des possibilités suivantes :</p> - - <dl> - <dt>All</dt> - - <dd>toutes options sauf MultiViews.</dd> - - <dt>ExecCGI</dt> - - <dd><!--%plaintext <?INDEX {\tt ExecCGI} option> --> - L'exécution des scripts CGI est autorisée.</dd> - - <dt>FollowSymLinks</dt> - - <dd> - <!--%plaintext <?INDEX {\tt FollowSymLinks} option> --> - Le serveur est autorisé à suivre les liens - symboliques dans ce répertoire. - - <p><strong>Note</strong>: même si le serveur suit le - lien symbolique, il <b>ne</b> doit <b>pas</b> changer le - chemin d'accès afin de ne pas entrer en - contradiction avec les sections - <tt><Directory></tt>.</p> - </dd> - - <dt>Includes</dt> - - <dd><!--%plaintext <?INDEX {\tt Includes} option> --> - Les inclusions par Server-Side-Include sont permises.</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - <!--%plaintext <?INDEX {\tt IncludesNOEXEC} option> --> - Les SSI sont autorisés, mais pas la commande #exec ni - <code>#include</code> des scripts CGI.</dd> - - <dt>Indexes</dt> - - <dd><!--%plaintext <?INDEX {\tt Indexes} option> --> - Si une URL requise pointe sur un répertoire, et aucun - fichier défini par <tt>DirectoryIndex</tt> (ex. - index.html) n'existe dans ce répertoire, alors le - serveur retourne une liste formatée du contenu du - répertoire.</dd> - - <dt>MultiViews</dt> - - <dd><!--%plaintext <?INDEX {\tt MultiViews} option> --> - <a href="../content-negotiation.html">Un contenu - négocié</a> en <code>MultiViews</code> est - permis.</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - <!--%plaintext <?INDEX {\tt SymLinksIfOwnerMatch} option> --> - Le serveur ne suivra les liens symboliques uniquement si le - fichier visé ou le répertoire visé - appartiennent au même utilisateur que le lien - lui-même.</dd> - </dl> - - <p>Normalement, si plusieurs options <code>Options</code> - peuvent être appliquées à un - répertoire, alors la plus restrictive est - appliquée ; les options ne sont pas combinées. - Cependant, si <i>all</i> les options dans la directive - <code>Options</code> sontprécédées d'un - symbole + ou -, alors les options sont alors combinées - entre elles. Toute option précédée d'un + - est ajoutée aux options en cours, toute option - précédée d'un - est - désactivée.</p> - - <p>Par exemple, sans symboles + ni - :</p> - - <blockquote> -<pre> -<code><Directory /web/docs> -Options Indexes FollowSymLinks -</Directory> -<Directory /web/docs/spec> -Options Includes -</Directory> -</code> -</pre> - </blockquote> - - <p>seul <code>Includes</code> sera activé pour le - répertoire <code>/web/docs/spec</code>. Cependant, si la - seconde directive d'<code>Options</code> utilise les symboles + - et - :</p> - - <blockquote> -<pre> -<code><Directory /web/docs> -Options Indexes FollowSymLinks -</Directory> -<Directory /web/docs/spec> -Options +Includes -Indexes -</Directory> -</code> -</pre> - </blockquote> - - <p>alors les options <code>FollowSymLinks</code> et - <code>Includes</code> sont validées pour le - répertoire <code>/web/docs/spec</code>.</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">Directive PidFile</a></h2> - <!--%plaintext <?INDEX {\tt PidFile} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> PidFile <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>PidFile</tt> définit le fichier dans - lequel le serveur enregistre l'identificateur de processus du - démon. Si le nom de fichier ne commence pas par un slash - (/) alors le fichier est défini relativement au <a - href="#serverroot">ServerRoot</a>. Le fichier <tt>PidFile</tt> - n'est utilisé que dans le mode <a - href="#servertype">standalone</a>.</p> - - <p>Il est souvent utile de pouvoir envoyer un signal au - serveur, pour qu'il referme et réouvre ses fichiers <a - href="#errorlog">ErrorLog</a> et <tt>TransferLog</tt>, et - relise ses fichiers de configuration. Ceci peut être fait - en envoyant un signal SIGHUP (kill -1) au processus - identifié par l'identificateur de processus - marqué dans <tt>PidFile</tt>.</p> - - <p>Le fichier <tt>PidFile</tt> est concerné par les - mêmes problèmes d'emplacement et de <a - href="../misc/security_tips.html">securité</a> que les - fichiers de trace.</p> - <hr /> - - <h2><a id="port" name="port">Directive Port</a></h2> - <!--%plaintext <?INDEX {\tt Port} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Port <em>numéro</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p><em>numéro</em> est un nombre compris entre 0 et - 65535; certains numéros de ports (surtout en dessous de - 1024) sont réservés pour des protocoles - spécifiques. Une liste des ports - prédéfinis est consultable dans la RFC 1340 - "Assigned Numbers" <code>/etc/services</code>; le port standard - assigné au protocole http est le port 80.</p> - - <p>La directive <tt>Port</tt> a deux comportements, le premier - est nécessaire pour assurer la compatibilité NCSA - (et qui peut préter à confusion dans le contexte - d'Apache).</p> - - <ul> - <li>En absence de toute directive <a - href="#listen">Listen</a> ou <a - href="#bindaddress">BindAddress</a> spécifiant un - numéro de port, la directive <tt>Port</tt> - définit le port réseau que le serveur - écoute. S'il existe une directive <tt>Listen</tt> ou - <tt>BindAddress</tt> spécifiant un - <code>:numéro</code> alors la directive Port n'a aucun - effet quant au socket que le serveur écoute.</li> - - <li>La directive Port définit la variable - d'environnement <code>SERVER_PORT</code> (pour les <a - href="mod_cgi.html">CGI</a> et les <a - href="mod_include.html">SSI</a>), laquelle est - utilisée lorsque le serveur génère une - URL qui point sur lui-même (par exemple lorsqu'il - indique une indirection externe vers lui-même).</li> - </ul> - - <p>Dans aucun cas une définition du <tt>Port</tt> ne - définit à quel port un <a - href="#virtualhost">VirtualHost</a> répond, la directive - <tt>VirtualHost</tt> elle-même se chargeant de cette - définition.</p> - - <p>Le comportement premier de la directive <tt>Port</tt> doit - être considéré comme similaire à - celui de la directive <a href="#servername">ServerName</a>. - <tt>ServerName</tt> et <tt>Port</tt> spécifient - conjointement ce que vous considérez être - l'adresse <em>canonique</em> du serveur.</p> - - <p>Le Port 80 est l'un des ports prédéfinis - d'Unix. Tous les ports numérotés en dessous de - 1024 sont réservés à un usage - système, c-à-d. que des utilisateurs non - privilégiés (non-root) ne peuvent les utiliser ; - ces derniers peuvent par contre utiliser des ports de plus haut - rang. Pour utiliser le port 80, le serveur doit être - exécuté sous <code>root</code>. Après - avoir lié le port (bind) et avant d'accepter des - requêtes, Apache changera son utilisateur associé - tel que défini par la directive <a - href="#user">User</a>.</p> - - <p>Si vous ne pouvez utiliser le port 80, choisissez tout autre - port libre. Les utilisateurs non-root devront choisir un - numéro de port supérieur à 1023, 8000 par - exemple.</p> - - <p><strong>Sécurité :</strong> si vous - démarrez le serveur sous <code>root</code>, assurez vous - que la directive <a href="#user">User</a> ne mentionne pas - <code>root</code>. Si vous traitez des requêtes en - disposant toujours de super privilèges, vous ouvrez - votre système à des attaques majeures.</p> - <hr /> - - <h2><a id="require" name="require">Directive require</a></h2> - <!--%plaintext <?INDEX {\tt require} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> require <em>nomEntite Entite - Entite...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <strong>Surcharge:</strong> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive choisi quels utilisateurs autorisés - peuvent accéder à un répertoire. Les - syntaxes valides sont :</p> - - <ul> - <li> - require user <em>utilisateur utilisateur ...</em> - - <p>Seuls les utilisateurs nommés peuvent - accéder au répertoire.</p> - </li> - - <li> - require group <em>nomGroupe nomGroupe ...</em> - - <p>Seuls les utilisateurs des groupes cités peuvent - accéder au répertoire.</p> - </li> - - <li> - require valid-user - - <p>Tout utilisateur reconnu peut accéder au - répertoire (par opposition aux non - utilisateurs).</p> - </li> - </ul> - - <p>Si <code>require</code> apparaît dans une section <a - href="#limit"><Limit></a>, alors les restrictions ne sont - appliquées qu'aux méthodes http - mentionnées. Autrement, toutes les méthodes http - sont restreintes. Exemple :</p> - - <blockquote> -<pre> -<code>AuthType Basic -AuthName unDomaine -AuthUserFile /web/users -AuthGroupFile /web/groups -<Limit GET POST> -require group admin -</Limit> -</code> -</pre> - </blockquote> - - <p>Pour fonctionner correctement, la directive Require doit - être accompagné de directives <a - href="#authname">AuthName</a> et <a - href="#authtype">AuthType</a>, et de directives de type <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> (servant - à définir les utilisateurs et les groupes).</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">Directive - ResourceConfig</a></h2> - <!--%plaintext <?INDEX {\tt ResourceConfig} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ResourceConfig <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ResourceConfig conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur lit dans ce fichier des directives - supplémentaires, après avoir lu le fichier - <code>httpd.conf</code>. <em>nomfichier</em> est - considéré relativement à <a - href="#serverroot">ServerRoot</a>. Cette fonctionnalité - peut être désactivée par l'écriture - :</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - ou sur les serveurs Win32 - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - - <p>Historiquement, ce fichier contenait essentiellement les - directives autres que celles servant à la configuration - du serveur ou les sections <a - href="#directory"><Directory></a> ; en fait, il peut - contenir maintenant toute directive admise dans le contexte - <em>configuration serveur</em>.</p> - - <p>A partir de la version 1.3.13, si la directive - <code>ResourceConfig</code> pointe sur un répertoire - plutot qu'un fichier, Apache lira tous les fichiers de ce - répertoire ou de ses sous-répertoires et les - traitera comme fichiers de configuration.</p> - - <p>Voir aussi <a href="#accessconfig">AccessConfig</a>.</p> - <hr /> - - <h2><a id="rlimit" name="rlimit">Directive RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu"></a></h2> - <!--%plaintext <?INDEX {\tt RLimitCPU} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitCPU <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Non - précisé; utilise le défaut du - système d'exploitation</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitCPU n'est disponible qu'à partir de la version 1.2 - d'Apache - - <p>Accepte 1 ou 2 parametères. Le premier - paramètre indique la limite logicielle pour tous les - processus et le second paramètre la limite - supérieure en termes de ressources. Chacun des - paramètres peut être exprimé par un nombre, - ou <em>max</em> pour indiquer au serveur que la limite est - celle imposée par le système d'exploitation. La - limite supérieure en ressource ne peut être - atteinte que si le serveur tourne sous root, ou - éventuellement pendant la phase de démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>La limite de ressources CPU est exprimée en secondes - par processus.</p> - - <p>Voir aussi <a href="#rlimitmem">RLimitMEM</a> ou <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">Directive - RLimitMEM</a></h2> - <!--%plaintext <?INDEX {\tt RLimitMEM} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitMEM <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Non - précisé ; utilise le défaut du - système d'exploitation</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitMEM is only available in Apache 1.2 and later - - <p>Accepte 1 ou 2 paramètres. Le premier - paramètre fixe la limite logicielle en ressources - mémoire pour tous les processus tandis que le second - paramètre fixe la limite absolue de ressources - mémoire. Chaque paramètre peut être un - nombre, ou <em>max</em> pour indiquer au serveur que la limite - est fixée par le système d'exploitation. La - limite supérieure en ressource ne peut être - atteinte que si le serveur tourne sous root, ou - éventuellement pendant la phase de démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>Les ressources mémoire sont exprimées en - octets par processus.</p> - - <p>Voir aussi <a href="#rlimitcpu">RLimitCPU</a> ou <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">Directive - RLimitNPROC</a></h2> - <!--%plaintext <?INDEX {\tt RLimitNPROC} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitNPROC <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Unset; uses - operating system defaults</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitNPROC n'est disponible qu'à partir de la version - 1.2 d'Apache - - <p>Accepte 1 ou 2 paramètres. Le premier - paramètre fixe la limite logicielle en ressources pour - tous les processus tandis que le second paramètre fixe - la limite absolue de ressources mémoire. Chaque - paramètre peut être un nombre, ou <em>max</em> - pour indiquer au serveur que la limite est fixée par le - système d'exploitation. La limite supérieure en - ressource ne peut être atteinte que si le serveur tourne - sous root, ou éventuellement pendant la phase de - démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>Cette limite contrôle le nombre de processus maximum - par utilisateur.</p> - - <p><strong>Note :</strong> Si les processus CGI <b>ne</b> - tournent <b>pas</b> sous un autre utilisateur que l'utilisateur - du serveur, cette directive limitera aussi le nombre de - processus que le serveur lui-même peut créer. - Cette situation sera indiquée de façon - évidente par des messages d'erreur <b><em>cannot - fork</em></b> dans le fichier error_log.</p> - - <p>Voir aussi <a href="#rlimitmem">RLimitMEM</a> ou <a - href="#rlimitcpu">RLimitCPU</a>.</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Directive Satisfy</a></h2> - <!--%plaintext <?INDEX {\tt Satisfy} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Satisfy <em>'any' ou 'all'</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> Satisfy - all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>Satisfy</tt> n'est disponible qu'à partir de la - version 1.2 d'Apache - - <p>Politique d'accès si à la fois 'allow' et - 'require' sont utilisés. Le paramètre peut valoir - soit <em>'all'</em> soit <em>'any'</em>. Cette directive n'est - utile que si l'accès à une zone - particulière est à la fois restreinte par un - username/password <em>et</em> et par l'adresse d'hôte - client. Dans ce cas le comportement par défaut ("all") - impose au client de passer la restriction d'adresse <em>et</em> - d'entrer un identificateur d'utilisateur et un mot de passe - valides. Avec l'option "any", le client sera servi si son - adresse d'hôte est conforme <em>ou</em> s'il rentre des - paramètres d'identification corrects. Ceci peut - être utilisé pour restreindre un zone par un mot - de passe, tout en laissant quelques client bien - identifiés entrer dans le domaine sans avoir à se - soumettre à la procédure d'identification.</p> - - <p>Voir aussi <a href="#require">Require</a> et <a - href="mod_access.html#allow">Allow</a>.</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">Directive - ScoreBoardFile</a></h2> - <!--%plaintext <?INDEX {\tt ScoreBoardFile} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ScoreBoardFile <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ScoreBoardFile logs/apache_status</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ScoreBoardFile</tt> est nécessaire - sur certaines architectures pour créer un fichier - servant à la communication entre des processus - pères et des processus fils. La meilleure façon - de savoir si votre système nécessite un tel - fichier est d'exécuter Apache et de voir s'il - crée le fichier mentionné dans la directive. Si - votre système nécessite l'emploi de ce fichier, - alors vous devez vous assurer que celui-ci ne peut être - utilisé que par une et une seule invocation - d'Apache.</p> - - <p>Si vous devez utiliser un <tt>ScoreBoardFile</tt>, vous - pourrez optimiser votre temps d'exécution en le - plaçant sur un disque virtuel en RAM. Cependant, - rappelez-vous que les mêmes recommandations sont à - prendre en compte pour la position de ce fichier que pour la - position des fichiers de trace quant à la <a - href="../misc/security_tips.html">securité</a>.</p> - - <p><i>A partir d'Apache 1.2 :</i></p> - - <p>Les utilisateurs de Linux 1.x doivent pouvoir ajouter - <code>-DHAVE_SHMGET</code> aux <code>EXTRA_CFLAGS</code> dans - leur fichier de <code>Configuration</code>. Ceci devrait - fonctionner sur certaines installations en 1.x, mais pas - forcément sur toutes.</p> - - <p>Les utilisateurs de SVR4 devront considérer - l'opportunité d'ajouter <code>-DHAVE_SHMGET</code> aux - <code>EXTRA_CFLAGS</code> dans leur fichier de - <code>Configuration</code>. Il semble que cela fonctionne, mais - nous n'avons pu le tester pour la version 1.2. (avant la - version 1.3b4, <code>HAVE_SHMGET</code> devait suffire.)</p> - <br /> - <br /> - - - <p><strong>Voir aussi</strong> : <a - href="../stopping.html">Arrêter et redémarrer - Apache</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - directive</a></h2> - <!--%plaintext <?INDEX {\tt ScriptInterpreterSource} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ScriptInterpreterSource registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (seulement sur Windows) - - <p>Cette directive sert, à partir de la version 1.3.5 - d'Apache, à déterminer où trouver - l'interpréteur employé pour exécuter les - scripts CGI. La technique par défaut est de prendre - l'interpréteur pointé par les caractères - #! dans le script. En fixant ScriptInterpreterSource à - registry, La table de registration de Windows sera - employée pour chercher l'interpréteur, en prenant - l'extension du fichier comme clé (par exemple .pl).</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">Directive - SendBufferSize</a></h2> - <!--%plaintext <?INDEX {\tt SendBufferSize} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> SendBufferSize <em>octets</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur règle la taille du tampon interne de TCP - au nombre d'octets spécifié. Très utile - pour augmenter les tailles par défaut dans le cas - d'utilisation de liaisons haute vitesse (ex. des liaisons - transcontinantales rapides).</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">Directive - ServerAdmin</a></h2> - <!--%plaintext <?INDEX {\tt ServerAdmin} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerAdmin <em>adresseEMail</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerAdmin</tt> définit l'adresse - e-mail que le serveur inclut dans tout message d'erreur - retourné au client.</p> - - <p>Il peut être utile de dédier une adresse - réservée à cet usage, par exemple :</p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - - <p>car les utilisateur ne rappellent pas toujours dans leur - message ce à propos de quoi ils interviennent!</p> - <hr /> - - <h2><a id="serveralias" name="serveralias">Directive - ServerAlias</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerAlias <em>hôte1 hôte2 - ...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> hôte - virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ServerAlias</tt> est disponible à partir de la - version 1.1 d'Apache - - <p>La directive <tt>ServerAlias</tt> défini un nom - secondaire pour un hôte, utilisable dans le contexte d'<a - href="../vhosts/name-based.html">hôte virtuels - nommés</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a></p> - <hr /> - - <h2><a id="servername" name="servername">Directive - ServerName</a></h2> - <!--%plaintext <?INDEX {\tt ServerName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerName <em>nom de domaine entièrement - qualifié</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerName</tt> définit le nom - d'hôte du serveur ; celui-ci n'est utilisé que - pour créer des URL de redirection. S'il n'est pas - défini, alors le serveur tentera de le résoudre - à partir de sa propre adresse IP ; cependant, cette - résolution n'est pas d'une fiabilité absolue, ou - peut résulter en un nom autre que le nom - "souhaité". Par exemple :</p> - - <blockquote> - <code>ServerName www.wibble.com</code> - </blockquote> - - <p>peut être défini lorsque le nom canonique - (principal) de la machine actuelle est - <code>monster.wibble.com</code>.</p> - - <p>Si vous utilisez des <a - href="../vhosts/name-based.html">hôtes virtuels - nommés</a>, la directive <code>ServerName</code> - à l'intérieur d'une section <a - href="#virtualhost"><code><VirtualHost></code></a> impose - que quel nom d'hôte doit apparaître dans - l'en-tête <code>Host:</code> d'une requête pour - être associé à cet hôte virtuel.</p> - - <p><strong>Voir aussi</strong> : <a - href="../dns-caveats.html">Apache et DNS</a> <a - href="../vhosts/">documentation sur les hôtes virtuels - Apache</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">Directive - ServerPath</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerPath <em>chemin</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> hôte - virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ServerPath</tt> est disponible à partir de la - version 1.1 d'Apache. - - <p>La directive <tt>ServerPath</tt> définit le chemin - d'accès servant de base pour les URL ciblant un <a - href="../vhosts/index.html">hôte virtuel - nommé</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">Directive - ServerRoot</a></h2> - <!--%plaintext <?INDEX {\tt ServerRoot} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerRoot <em>nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerRoot /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerRoot</tt> définit le - répertoire dans lequel se situe le serveur. Typiquement, - ce répertoire contiendra les sous-répertoires - <code>conf/</code> et <code>logs/</code>. Les chemins - d'accès relatifs pour d'autres fichiers de configuration - seront considérés relativement à ce - répertoire.<br /> - Voir aussi <a href="../invoking.html">les <code>-d</code> - options de httpd</a>.</p> - - <p>Voir aussi <a - href="../misc/security_tips.html#serverroot">les trucs de - sécurité</a> pour plus d'informations sur comment - correctment définir les droits d'accès à - ServerRoot.</p> - <hr /> - - <h2><a id="serversignature" name="serversignature">Directive - ServerSignature</a></h2> - <!--%plaintext <?INDEX {\tt ServerSignature} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerSignature On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerSignature Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ServerSignature est disponible à partir de la version - 1.3. - - <p>La directive ServerSignature permet la configuration d'une - ligne de bas de page pour les documents - générés par le serveur (messages d'erreur, - liste des répertoire ftp, affichage de mod_info, ...) - L'utilité de l'emploi d'une telle ligne apparaît - dans la cas d'enchaînement de proxy, où - l'utilisateuir souvent n'a aucune possibilité de - déterminer quel élément de la chaîne - de proxies a produit un message d'erreur.<br /> - La valeur par défaut <samp>Off</samp> supprime la ligne - d'erreur (et est compatible avec le comportement d'Apache 1.2 - et précédents). La valeur <samp>On</samp> ajoute - une ligne contenant la version du serveur, la valeur de <a - href="#servername">ServerName</a> de l'hôte virtuel et la - valeur <samp>EMail</samp> ajoute une référence - "mailto:" vers l'adresse <a href="#serveradmin">ServerAdmin</a> - du document demandé.</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">Directive - ServerTokens</a></h2> - <!--%plaintext <?INDEX {\tt ServerTokens} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerTokens Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerTokens Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur <br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ServerTokens est disponible à partir de la version 1.3 - d'Apache. Le mot clé <code>ProductOnly</code> est - disponible à pertir de la version 1.3.12 - - <p>Cette directive contrôle si le champ - <samp>Server</samp> de l'en-tête de réponse qui - est renvoyé aux clients inclut une description du type - de système de du serveur ainsi que des informations sur - les odules compilés.</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache</samp></dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0</samp></dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0 (Unix)</samp></dd> - - <dt><code>ServerTokens Full</code> (ou non - spécifié)</dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0 (Unix) PHP/3.0 MyMod/1.2</samp></dd> - </dl> - - <p>Cette directive s'applique à la globalité du - serveur et ne paut pas être activé ou - désactivé sur la base d'hôtes virtuels.</p> - <hr /> - - <h2><a id="servertype" name="servertype">Directive - ServerType</a></h2> - <!--%plaintext <?INDEX {\tt ServerType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerType <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerType standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerType</tt> définit comment le - serveur est exécuté par le système - d'exploitation. <em>Type</em> peut prendre l'une des valeurs - suivantes :</p> - - <dl> - <dt>inetd</dt> - - <dd>Le serveur sera exécuté à partir du - processus system inetd ; la commande nécessaire au - démarrage du serveur devra être ajoutée - au fichier <code>/etc/inetd.conf</code></dd> - - <dt>standalone</dt> - - <dd>Le serveur est lancé en tant que démon ; la - commande de démarrage du serveur sera ajoutée - aux scripts de démarrage du système - d'exploitation. (<code>/etc/rc.local</code> ou - <code>/etc/rc3.d/...</code>.)</dd> - </dl> - - <p>Inetd est l'option la moins utilisée des deux. Pour - chaque connexion http demandée, une nouvelle instance du - serveur est créée ; une fois la connexion - établie, ce programme tourne. Ceci implique un - coût important en ressources pour chaque connexion, mais - certains administrateurs préfèrent parfois ce - mode pour des raisons de sécurité.</p> - - <p>Standalone est l'option la plus fréquente pour la - directive <tt>ServerType</tt> dans la mesure où ce - dernier est de loin plus performant. Le serveur n'est - démarré qu'une fois, et dessert toutes les - connexions ultérieures. Si vous utilisez Apache sur un - site très chargé, le mode standalone sera - certainement le seul choix possible.</p> - <hr /> - - <h2><a id="startservers" name="startservers">Directive - StartServers</a></h2> - <!--%plaintext <?INDEX {\tt StartServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> StartServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>StartServers 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>StartServers</tt> définit le nombre - de processus fils créés dès le - démarrage du serveur. Le nombre de ces processus - étant contrôlé dynamiquement en fonction de - la charge, il y a en général peu - d'intérêt à modifier la valeur par - défaut de ce paramètre.</p> - - <p>Lorsque le serveur est exécuté sous Microsoft - Windows, cette directive n'a aucun effet. Comme la version - Windows d'Apache est écrite en multithread, un seul - processus gère l'intégralité des - requêtes. La directive <a - href="#threadsperchild">ThreadsPerChild</a> contrôle le - nombre maximal de threads traitant les requêtes, ce qui a - un effet similaire à la directive Unix - <samp>StartServers</samp></p> - - <p>Voir aussi <a href="#minspareservers">MinSpareServers</a> et - <a href="#maxspareservers">MaxSpareServers</a>.</p> - <hr /> - - <h2><a id="threadsperchild" name="threadsperchild">Directive - ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ThreadsPerChild <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ThreadsPerChild 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (Windows)<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible seulement à partir de la version 1.3 pour - Windows d'Apache - - <p>Cette directive indique au serveur combien de threads il - doit lancer. Cela est équivalent au nombre maximum de - connexions que le serveur peut traiter simultanément ; - soyez sûr de vous et réglez le nombre suffisament - haut si votre site est très fréquenté.</p> - - <p>Cette directive n'a aucun effet sur les systèmes - Unix. Les utilisateurs Unix regarderont les directives <a - href="#startservers">StartServers</a> et <a - href="#maxrequestsperchild">MaxRequestsPerChild</a>.</p> - <hr /> - - <h2><a id="threadstacksize" name="threadstacksize">Directive - ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ThreadStackSize <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ThreadStackSize 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (NetWare)<br /> - <strong>Compatibilité :</strong> disponible à - partir de la version d'Apache 1.3 sur Netware. - - <p>Cette directive indique la taille de la pile à - utiliser pour les threads. Si vous rencontrer un - problème de débordement de pile, vous devez - augmenter cette valeur.</p> - - <p>Cette directive n'a aucun effet sur les autres - systèmes.</p> - <hr /> - - <h2><a id="timeout" name="timeout">Directive TimeOut</a></h2> - <!--%plaintext <?INDEX {\tt TimeOut} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> TimeOut <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>TimeOut</tt> définit la - temporisation courante pendant laquelle Apache attendra l'une - de ces trois choses :</p> - - <ol> - <li>Le temps total de réception d'une requête - GET.</li> - - <li>Le temps entre la réception de paquets TCP lors - d'une requête POST ou PUT.</li> - - <li>Le temps entre deux acquittements lors de la transmission - de paquets TCP de réponse.</li> - </ol> - - <p>Nous prévoyons dans le futur de permettre une - configuration individuelle de chacune de ces temporisations. La - valeur par défaut était de 1200 avant la version - 1.2, mais a été abaissée à 300 - depuis, ce qui est déjà largement plus que - nécessaire dans la plupart des situations. Il n'est - cependant pas réglé plus bas car il peut exister - (encore) des portions de code un peu "floues" par lesquelles le - temporisateur n'est pas remis à zéro lors de la - transmission d'un paquet.</p> - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName directive</a></h2> - <!--%plaintext <?INDEX {\tt UseCanonicalName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> UseCanonicalName on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>UseCanonicalName on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - UseCanonicalName est disponible à partir de la verion - 1.3 - - <p>Dans beaucoup de situations, Apache doit construire des URL - <em>s'autoréférençant</em>, autremnet dit, - des URL référençant le même serveur. - Avec la directive <code>UseCanonicalName on</code> (dans les - versions d'Apache inférieures à 1.3) Apache - utilise les valeurs des directives <a - href="#servername">ServerName</a> et <a href="#port">Port</a> - pour construire un nom canonique du serveur. Ce nom est - utilisé pour toutes les URL autoréférentes - et pour les valeurs de <code>SERVER_NAME</code> et - <code>SERVER_PORT</code> pour les scripts CGI.</p> - - <p>Avec <code>UseCanonicalName off</code>, Apache formera les - URLS autoréférentes en utilisant le nom - d'hôte le numéro de port fourni par le client si - ceux ci sont fournis (sinon il utilisera le nom canonique). Ces - valeurs sont les mêmes qui sont employées pour - implémenter les <a - href="../vhosts/name-based.html">hôtes virtuels - basés sur des noms</a>, et sont disponibles pour les - mêmes clients. Les variable CGI <code>SERVER_NAME</code> - et <code>SERVER_PORT</code> seront aussi construites à - partir des valeurs fournies par les clients.</p> - - <p>Un exemple où cette directive est utile est le cas - d'un serveur intranet où des utilisateurs se connectent - à la machine en utilisant des noms courts tels que - <code>www</code>. Vous noterez que si l'utilisateur tape un nom - court et que l'URL est un répertoire tel que - <code>http://www/splat</code>, <em>sans le caractère - oblique / final</em> , Apache redirigera la requête vers - <code>http://www.domain.com/splat/</code>. Si vous avez une - authentification active, lu'tilisateur devra s'authentifier - deux fois, (une première fois pour <code>www</code> et - une deuxième fois pour An example where this may be - useful is on an intranet server where you have users connecting - to the machine using short names such as . You'll notice that - if the users type a <code>www.domain.com</code>). Mais si la - directive <code>UseCanonicalName</code> est à off, - Apache redirigera vers <code>http://www/splat/</code>.</p> - - <p>Il existe une troisième option, - <code>UseCanonicalName DNS</code>, qui est prévu pour - être employé avec de nombreux hôtes virtuels - basés sur les adresses IP afin de supporter les clients - qui ne fournissent pas d'en-tête <code>Host:</code>. Avec - cette option Apache effectue une résolution DNS inverse - sur l'adresse IP du serveur sur lequel le client se connecte - afin de travailler avec pour les URL - autoréférentes.</p> - - <p><strong>Attention :</strong> si les scripts CGI font des - suppositions sur les valeurs de <code>SERVER_NAME</code> il - peuvent ne plus fonctionner avec cette option. Mais le script - CGI utilise uniquement <code>SERVER_NAME</code> pour construire - des URL autoréférentes, il ne evrait y avoir - aucun problèmes.</p> - - <p><strong>Voir également :</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">Directive User</a></h2> - <!--%plaintext <?INDEX {\tt User} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> User <em>utilisateurUnix</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>User</tt> définit l'utilisateur - associé au serveur. Pour utiliser cette directive, un - serveur standalone devra être lancé sous - <code>root</code>. <em>utilisateurUnix</em> est l'un parmi - :</p> - - <dl> - <dt>un nom d'utilisateur</dt> - - <dd>se réfère à un utilisateur - déclaré du système.</dd> - - <dt># suivi d'un numéro d'utilisateur.</dt> - - <dd>se réfère à l'utilisateur - déclaré du système portant ce - numéro.</dd> - </dl> - - <p>L'utilisateur peut n'avoir aucun privilège ce qui lui - permet néanmoins de pouvoir avoir accès à - des fichiers qui ne sont pas sensés être visibles - du "reste du monde", mais pas d'exécuter du code qui ne - serait pas explicitement exécutable par l'utilisateur - associé à httpd. Il est d'ailleurs - recommandé de créer un utilisateur et un groupe - specialement pour exécuter le serveur. Certains - administrateurs utilisent souvent l'utilisateur - <code>nobody</code>, mais ceci n'est pas toujours possible ou - souhaitable. Par exemple, le cache de mod_proxy quancd celui - est activé , doit être accessible à cette - utilisateur (voir la directive <a - href="mod_proxy.html#cacheroot"><code>CacheRoot</code></a> - ).</p> - - <p><strong>Note :</strong> si vous démarrez le serveur - sous un utilisateur non-root, la tentative pour passer sous un - utilisateur de moindre privilège échouera, et le - serveur continuera à sexécuter sous l'utilisateur - d'origine. Si vous démarrez le serveur sous - <code>root</code>, alors il sera normal que le processus - père continue à s'exécuter sous - <code>root</code>.</p> - - <p><strong>Note spécifique :</strong> L'utilisation de - cette directive dans une section <tt><VirtualHost></tt> - nécessite un <a href="../suexec.html">wrapper suEXEC</a> - correctement configuré. Lorsqu'elle est utilisée - de cette façon dans une section - <tt><VirtualHost></tt>, seul l'utilisateur associé - à l'exécution des scripts CGI est affecté. - Les requêtes non-CGI seront toujours traitées sous - l'utilisateur défini dans la directive User de la - section principale.</p> - - <p><strong>Sécurité :</strong> Ne - définissez pas l'utilisateur (ni le <a - href="#group">groupe</a>) comme <code>root</code> sauf si vous - savez exactement ce que vous faites, et si vous êtes - totalement conscients des risques qui sont encourus.</p> - <hr /> - - <h2><a id="virtualhost" name="virtualhost">Directive - <VirtualHost></a></h2> - <!--%plaintext <?INDEX {\tt VirtualHost} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <VirtualHost <em>adresse</em>[:<em>port</em>] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - "virtualisation" d'hôtes non basés sur l'adressage - IP n'est disponible qu'à partir de la version 1.1 - d'Apache<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> le - support d'adresses multiples n'est disponible qu'à - partir de la version 1.2 d'Apache - - <p>Les directives <VirtualHost> et </VirtualHost> - sont utilisées pour "encapsuler" un groupe de directives - qui s'appliquent à un hôte virtuel particulier. - Toute directive autorisée dans un contexte "hôte - virtuel" peut être présente. Lorsque le serveur - reçoit une requête demandant un document - spécifique sur un hôte virtuel spécifique, - il utilise les directives de configuration explicitées - dans la section <VirtualHost> correspondante. - <em>Adresse</em> peut être :</p> - - <ul> - <li>l'adresse IP de l'hôte virtuel</li> - - <li>un nom de domaine entièrement qualifié pour - l'adresse IP de cet hôte virtuel.</li> - </ul> - - <p>Exemple :</p> - - <blockquote> -<pre> -<code><VirtualHost 10.1.2.3> -ServerAdmin webmaster@host.foo.com -DocumentRoot /www/docs/host.foo.com -ServerName host.foo.com -ErrorLog logs/host.foo.com-error_log -TransferLog logs/host.foo.com-access_log -</VirtualHost> -</code> -</pre> - </blockquote> - - <p>Chaque hôte virtuel doit être associé - à une adresse IP, à un numéro de port ou - à un nom d'hôte différents que celui - attribué au serveur, dans le dernier cas la machine du - serveur doit être configurée pour accepter des - paquets IP sur plusieurs adresses. (Si la machine ne dispose - pas de plusieurs interfaces réseau physiques, ceci peut - être obtenu par la commande <code>ifconfig alias</code> - (si votre OS l'accepte), ou par des patchs du kernel du type <a - href="../misc/vif-info.html">VIF</a> (pour SunOS(TM) - 4.1.x)).</p> - - <p>Vous pouvez spécifier plus d'une adresse IP. Ceci - peut être utile si une machine répond au - même nom venant de deux différentes interfaces. - Par exemple, si vous avez un hôte virtuel qui est - accessible des hôtes à partir d'un réseau - interne (intranet) et externe (internet). Exemple :</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - - <p>Le nom prédéfini <code>_default_</code> peut - être attribué auquel cas cet hôte virtuel - lira toutes les adresses IP qui ne sont pas explicitement - listées dans les autres hôtes virtuels - définis. En l'absence d'un hôte virtuel _default_, - la configuration serveur "principale", à savoir toutes - les définitions en dehors des sections VirtualHost, - seront utilisées si aucun hôte virtuel ne - reconnaît l'adresse.</p> - - <p>Vous pouvez spécifier une commande <code>:port</code> - pour changer le port reconnu par l'hôte virtuel. Si aucun - port n'est mentionné, alors le port reconnu est par - défaut celui mentionné dans la dernière - directive de <code><a href="#port">Port</a></code> de la - section principale qui précède. Vous pouvez - également spécifier <code>:*</code> pour - reconnaître tous les ports à cette adresse. (Ceci - est conseillé lorsque l'hôte virtuel est le - <code>_default_</code>.)</p> - - <p><strong>Sécurité</strong>: Voir les <a - href="../misc/security_tips.html">conseils de - sécurité</a> pour plus de détails sur les - risques encourus si le répertoire contenant les fichiers - de trace peut être écrit par un autre utilisateur - que celui sous lequel est exécuté le serveur.</p> - - <p><strong>Note</strong>: L'utilisation de la directive - <VirtualHost> <strong>n'</strong> affecte - <strong>pas</strong> les adresses qu'écoute Apache. Vous - devez vous assurer que les adresses définies pour les - hôtes virtuels font aussi partie de l'ensemble des - adresses écoutées par Apache et définies - par des directives <a href="#bindaddress">BindAddress</a> ou <a - href="#listen">Listen</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a><br /> - <a href="../dns-caveats.html">Avertissement concernant DNS et - Apache</a><br /> - <a href="../bind.html">Configurer les ports et adresses - utilisés par Apache</a></p> - - <p><strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis deleted file mode 100644 index 20c831bf5eb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis +++ /dev/null @@ -1,4012 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache Core Features</title> - </head> - <!-- English revision: 1.249 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%3%"5!G=(B</h1> - - <p>$B0J2<$N%G%#%l%/%F%#%V$O(B Apache - $B$N%3%"5!G=$r%3%s%H%m!<%k$9$k$b$N$G!">o$KMxMQ2DG=$G$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#acceptmutex">AcceptMutex</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#fileetag">FileETag</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostnameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="#require">Require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - <hr /> - - <h2><a id="acceptfilter" name="acceptfilter">AcceptFilter - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AcceptFilter - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AcceptFilter - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AcceptFilter $B$O(B - Apache 1.3.22 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>AcceptFilter</code> $B$O!"(BBSD - $B$KFCM-$N%U%#%k%?$N:GE,2=$r%3%s%H%m!<%k$7$^$9!#(B - $B$3$N5!G=$O%G%U%)%k%H$GAH$_9~$^$l$^$9!#(B - $B$=$7$F!"%7%9%F%`$,$3$N5!G=$r%5%]!<%H(B - (setsocketopt() $B$G(B SO_ACCEPTFILTER $B%*%W%7%g%s$,MxMQ$G$-$k(B) - $B$7$F$$$l$P!"%G%U%)%k%H$GM-8z$H$J$j$^$9!#(B - $B8=:_$N$H$3$m!"(BFreeBSD $B$K$*$$$F$N$_%5%]!<%H$5$l$F$$$^$9!#(B</p> - - <p>$B>\$7$$>pJs$rF@$k$K$O!"(B<a - href="../misc/perf-bsd44.html">$B@-G=$N%R%s%H(B</a>$B$N%U%#%k%?%;%/%7%g%s$r(B - $B8+$F$/$@$5$$!#(B</p> - - <p>$B$J$*!"%3%s%Q%$%k;~$K(B <code>AP_ACCEPTFILTER_OFF</code> - $B%U%i%0$rMxMQ$9$l$P%G%U%)%k%H$rL58z$K$9$k$3$H$,2DG=$G$9!#(B - <code>httpd -V</code> $B$H(B <code>httpd -L</code> - $B$rMxMQ$9$k$3$H$K$h$C$F!"%3%s%Q%$%k;~$N%G%U%)%k%H$H(B SO_ACCEPTFILTER - $B$,M-8z$K$J$C$F$$$k$+$I$&$+$r;2>H$9$k$3$H$,$G$-$^$9!#(B</p> - - <hr /> - - <h2><a id="acceptmutex" name="acceptmutex">AcceptMutex - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AcceptMutex - uslock|pthread|sysvsem|fcntl|flock|os2sem|tpfcore|none|default<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AcceptMutex - default</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AcceptMutex $B$O(B - Apache 1.3.21 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>AcceptMutex</code> $B$O!"(Baccept() $B$K$*$$$F$I$NJ}K!$N(B - mutex $B$rMxMQ$9$k$N$+$r;XDj$7$^$9!#$J$*!"MxMQ$G$-$k(B mutex - $B$O%3%s%Q%$%k;~$K7hDj$5$l!"(B - $B%W%i%C%H%U%)!<%`$K$h$C$F$O$9$Y$F$NJ}K!$OMxMQ$G$-$J$$$3$H$,$"$j$^$9!#(B - $BMxMQ$G$-$k(B mutex $B$O!"%3%^%s%I%i%$%s%*%W%7%g%s$G(B - <code>httpd -V</code> $B$r;XDj$9$k$H0lMw$,I=<($5$l$^$9!#(B</p> - - <p>$B%3%s%Q%$%k;~$N%U%i%0$H$7$F(B - <code>-D HAVE_METHOD_SERIALIZED_ACCEPT</code> - $B$r;XDj$9$k$3$H$K$h$C$F!"0[$J$kJ}K!$rDI2C$9$k$3$H$b$G$-!"(B - $BFCDj$N%W%i%C%H%U%)!<%`8~$1$K(B <code>include/ap_config.h</code> - $B$rJT=8$9$k$3$H$b2DG=$G$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Microsoft Windows - $B$KBP$7$F;XDj$7$F$b8z2L$O$"$j$^$;$s(B</p> - - <p>$B>\$7$$>pJs$K$D$$$F$O(B<a - href="../misc/perf-tuning.html">$B%Q%U%)!<%^%s%9%A%e!<%s%K%s%0(B</a>$B$r(B - $B;2>H$7$F$/$@$5$$!#(B</p> - - <hr /> - - <h2><a id="accessconfig" name="accessconfig">AccessConfig - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AccessConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AccessConfig - conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a>Apache 1.3.13 - $B0J9_$G$N$_!"%U%!%$%kL>$NBe$o$j$K%G%#%l%/%H%j%Q%9$r;XDj$G$-$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O%P!<%8%g%s(B 2.0 $B0J9_$K$OB8:_$7$^$;$s!#(B - - <p><a href="#resourceconfig">ResourceConfig</a> $B%U%!%$%k$rFI$_9~$s$@8e!"(B - $B$=$l$K2C$($FB?$/$N%G%#%l%/%F%#%V$r$3$3$G5-$7$?%U%!%$%k$+$iFI$_9~$_$^$9!#(B - <em>File-path</em> $B$O!"(B<a href="#serverroot">ServerRoot</a> - $B$G5-$7$?%Q%9$+$i$N!"AjBP%Q%9$G$9!#(B<br /> - $B$J$*!"$3$N5!G=$rL58z$K$9$k$K$O<!$N$h$&$K;XDj$7$^$9!#(B</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - Win32 $B$N>l9g(B - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - - $B0JA0$O!"$3$N%U%!%$%k$K$O(B <a href="#directory"><Directory></a> - $B%;%/%7%g%s$N$_$,=q$+$l$F$$$^$7$?!#(B - $B8=:_$G$O%5!<%P@_Dj%U%!%$%k$K5-=R$G$-$k$3$H$9$Y$F$,5-=R2DG=$K$J$C$F$$$^$9!#(B - $B$?$@!"(BApache $B$N%P!<%8%g%s(B 1.3.4 $B0J9_$G$O!"(B - Apache $B$H6&$KG[I[$5$l$F$$$k%G%U%)%k%H$N(B <code>access.conf</code> - $B%U%!%$%k$K$O%3%a%s%H$7$+=q$+$l$F$*$i$:!"(B - $B$9$Y$F$N%G%#%l%/%F%#%V$,<g$H$J$k%5!<%P@_Dj%U%!%$%k$N(B - <code>httpd.conf</code> $B$K5-=R$5$l$F$$$^$9!#(B - - <p> - $B$b$7!"$3$N(B <code>AccessConfig</code> - $B%G%#%l%/%F%#%V$K!"%U%!%$%k$G$O$J$/%G%#%l%/%H%j$,;XDj$5$l$l$P!"(B - Apache $B$O$=$N%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$rFI$_9~$_!"(B - $B$=$l$i$r@_Dj%U%!%$%k$H$7$F=hM}$7$^$9!#(B</p> - <p>$BBe$o$j$K!"%o%$%k%I%+!<%I$r;H$C$FHO0O$r9J$k$3$H$b$G$-$^$9!#(B - $B$9$J$o$A!"(B*.conf $B%U%!%$%k$N$_!"$H$$$C$?$h$&$K!#(B</p> - <p>$B%G%U%)%k%H$G$O;XDj$5$l$?%G%#%l%/%H%j$N!V(B<em>$B$I$N$h$&$J(B</em>$B!W(B - $B%U%!%$%k$G$b@_Dj%U%!%$%k$H$7$FFI$_9~$^$l$^$9!#(B</p> - <p>$B$G$9$+$i8m$C$F(B ($BNc$($P%(%G%#%?$G%F%s%]%i%j%U%!%$%k$r:n@.$9$kEy(B) - $B%U%!%$%k$rCV$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="#include">Include</a>,<a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">AccessFileName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AccessFileName - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AccessFileName - .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AccessFileName $B$O(B Apache 1.3 - $B0J9_$K$*$$$F$N$_J#?t$N%U%!%$%kL>$r;XDj$G$-$^$9!#(B - - <p>$B%I%-%e%a%s%H$r%/%i%$%"%s%H$KJV$9$H$-!"%5!<%P$O%G%#%l%/%H%j$K(B - $BBP$7$F%"%/%;%9@_Dj%U%!%$%k$,M-8z$K$J$C$F$$$l$P!"$=$N%I%-%e%a%s%H$X$N(B - $B%Q%9>e$K$"$k$9$Y$F$N%G%#%l%/%H%j$+$i$3$3$G;XDj$5$l$?L>A0$N0lMw$NCf$G(B - $B:G=i$K8+$D$+$C$?%U%!%$%k$r!"$=$l$>$l%"%/%;%9@)8f%U%!%$%k$H$7$FFI$_9~$_$^$9!#(B - $BNc$($P(B:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - $B$N$h$&$K;XDj$5$l$F$$$k$H!"(B /usr/local/web/index.html - $B$rJV$9>l9g!"0J2<$N$h$&$K$7$FL58z$K$5$l$F$$$J$$8B$j!"(B - $B%I%-%e%a%s%H$rJV$9A0$K(B /.acl, /usr/.acl, /usr/local/.acl, - /usr/local/web/.acl $B$+$i%G%#%l%/%F%#%V$rFI$_9~$_$^$9!#(B - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory></code> - </blockquote> - - <p><strong>$B;2>H(B:</strong> <a - href="#allowoverride">AllowOverride</a> $B5Z$S(B <a - href="../configuring.html">$B@_Dj%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">AddDefaultCharset $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AddDefaultCharset - On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - AddDefaultCharset $B$O(B Apache 1.3.12 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%X%C%@$K%3%s%F%s%H%?%$%W%Q%i%a!<%?$r(B - $B;}$?$J$$%l%9%]%s%9$KDI2C$5$l$kJ8;z%;%C%H$NL>A0$r;XDj$7$^$9!#(B - $B$3$l$O!"%I%-%e%a%s%HFb$N(B META - $B%?%0$G;XDj$5$l$?$I$N$h$&$JJ8;z%;%C%H$bL58z$K$7$^$9!#(B - <code>AddDefaultCharset Off</code> - $B$H$$$&@_Dj$K$h$j!"$3$N5!G=$OL58z$K$J$j$^$9!#(B - <code>AddDefaultCharset On</code> $B$K$9$l$P!"%G%#%l%/%F%#%V$NMW5aDL$j(B - Apache $BFbIt$N%G%U%)%k%HJ8;z%;%C%H(B <code>iso-8859-1</code> - $B$K@_Dj$7$^$9!#$^$?!"B>$N(B <em>charset</em> $B$b;XDj$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddDefaultCharset utf-8</code> - </blockquote> - - <p><b>$BCm0U(B:</b> $B$3$l$O%G%U%)%k%H$G(B Apache - $B$,@8@.$9$k%9%F!<%?%9%Z!<%8(B ('404 Not Found' $B$d(B - '301 Moved Permanently' $B$J$I(B) $B$K$O1F6A(B<b>$B$7$^$;$s(B</b>$B!#(B - $B$=$l$i$O!"(B($B%Z!<%8$NFbMF$,%O!<%I%3!<%I$5$l$F=q$+$l$F$$$k(B) <i>$B<B:]$N(B</i> - $BJ8;z%;%C%H$,$"$k$?$a!"%G%U%)%k%H$,E,MQ$5$l$kI,MW$O$J$$$+$i$G$9!#(B</p> - - <hr /> - - <h2><a id="addmodule" name="addmodule">AddModule - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AddModule - <em>module</em> [<em>module</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AddModule $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>Apache - $B$G$O!";HMQ$7$J$$%3%s%Q%$%k:Q$_$N%b%8%e!<%k$r;}$D$3$H$,$G$-$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O!"$=$l$i$N%b%8%e!<%k$r;HMQ$9$k$h$&$K$G$-$^$9!#(B - $B5/F08e!"$"$i$+$8$a;HMQ%b%8%e!<%k$N%j%9%H$r:n@.$7$F$$$^$9$,!"(B - <a href="#clearmodulelist">ClearModuleList</a> - $B%G%#%l%/%F%#%V$K$h$j$=$N%j%9%H$NCf?H$r>C$9$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddModule mod_include.c</code> - </blockquote> - - <p><code>AddModule</code> $B$N=gHV$O=EMW$G$9!#%b%8%e!<%k$OM%@hEY$N(B - $B5U=g$K=q$-$^$9!=8e$K=q$+$l$F$$$k$b$N$OA0$NJ}$K=q$+$l$F$$$k$b$N$N(B - $B?6$kIq$$$r>e=q$-$9$k$3$H$,$G$-$^$9!#$3$l$O!"L\$K8+$($k1F6A$,$"$j$^$9!#(B - $BNc$($P!"(BUserDir $B$,(B Alias $B$N8e$K$"$l$P!"%f!<%6$N%[!<%`%G%#%l%/%H%j$N(B - $B%(%$%j%"%9$r:n$k$3$H$O$G$-$^$;$s!#$h$j>\$7$$>pJs$H!"?d>)$5$l$F$$$k(B - $B=gHV$K$D$$$F$O(B Apache $B%=!<%9G[I[Cf$N(B <code>src/Configuration.tmpl</code> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#clearmodulelist">ClearModuleList</a> $B$H(B <a - href="mod_so.html#loadmodule">LoadModule</a></p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">AllowOverride - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AllowOverride - All|None|<em>directive-type</em> [<em>directive-type</em>] - ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AllowOverride - All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$,(B (<a - href="#accessfilename">AccessFileName</a> $B$K$h$C$F;XDj$5$l$?(B) - .htaccess $B%U%!%$%k$r8+$D$1$?;~!"$=$N%U%!%$%k$NCf$G(B - $B@k8@$5$l$?$I$N%G%#%l%/%F%#%V$,$h$jA0$KDj5A$5$l$?%"%/%;%9>pJs$r(B - $B>e=q$-$G$-$k$+$rCN$kI,MW$,$"$j$^$9!#(B</p> - - <p><strong>Note:</strong> <code>AllowOverride</code> is only - valid in <Directory> sections, not in <Location> or - <Files> sections, as implied by the <strong>Context</strong> - section above.</p> - - <p>$B$3$N%G%#%l%/%F%#%V$r(B None $B$K@_Dj$9$k$H!"(B.htaccess - $B%U%!%$%k$O40A4$KL5;k$5$l$^$9!#(B - $B$3$N>l9g!"%5!<%P$O%U%!%$%k%7%9%F%`$N(B .htaccess - $B%U%!%$%k$rFI$`$3$H$r;n$_$5$($7$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$,(B <code>All</code> $B$K@_Dj$5$l$F$$$k$H$-$K$O!"(B - .htaccess $B$H$$$&(B <a - href="directive-dict.html#Context">$B%3%s%F%-%9%H(B</a> - $B$r;}$D$9$Y$F$N%G%#%l%/%F%#%V$,MxMQ$G$-$^$9!#(B</p> - - <p><em>directive-type</em> - $B$K$O!"0J2<$N%G%#%l%/%F%#%V72$N%-!<%o!<%I$N$I$l$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - - $BG'>Z$K4X$9$k%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a> <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>FileInfo</dt> - - <dd> - $B%I%-%e%a%s%H%?%$%W$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a> - <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>Indexes</dt> - - <dd> - $B%G%#%l%/%H%j%$%s%G%C%/%9$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B - (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a> - <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>Limit</dt> - - <dd> - $B%[%9%H$X$N%"%/%;%9@)8f$r9T$&$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_access.html#allow">Allow</a>, - <a href="mod_access.html#deny">Deny</a> - and <a href="mod_access.html#order">Order</a>).</dd> - - <dt>Options</dt> - - <dd> - $BFCDj$N%G%#%l%/%H%j$K$*$1$k5!G=$r;XDj$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B - (<a href="#options">Options</a> $B$H(B <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p>$BNc(B:</p> - <blockquote><code>AllowOverride AuthConfig Indexes</code></blockquote> - - <p><strong>$B;2>H(B:</strong> <a - href="#accessfilename">AccessFileName</a> $B5Z$S(B <a - href="../configuring.html">$B@_Dj%U%!%$%k$N5-=R(B</a></p> - <hr /> - - <h2><a id="authname" name="authname">AuthName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthName - <em>auth-domain</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O%G%#%l%/%H%j$KBP$9$kG'2DNN0h(B ($BLuCm(B: realm) - $B$NL>A0$r;XDj$7$^$9!#(B - $BG'2DNN0h$O!"MxMQ<T$,$I$N%f!<%6L>$H%Q%9%o!<%I$rAw?.$9$l$P$h$$$N$+$r(B - $B%/%i%$%"%s%H$K65$($k$?$a$KMxMQ$7$^$9!#(B - <samp>AuthName</samp> $B$O0l$D$N0z?t$r<h$j!"(B - $B%9%Z!<%9$,4^$^$l$k>l9g$K$O!"0zMQId$G0O$^$J$1$l$P$J$j$^$;$s!#(B - $B$3$N%G%#%l%/%F%#%V$O(B - <a href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d(B - <a href="#require">Require</a> $B%G%#%l%/%F%#%V5Z$S!"(B - <a href="mod_auth.html#authuserfile">AuthUserFile</a> $B$d(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - $B$J$I$N%G%#%l%/%F%#%V$H0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote><code>AuthName "$BHkL)$N%Q%9%o!<%I(B"</code></blockquote> - - <p>$B$3$3$G(B <code>AuthName</code> $B$K;XDj$7$?J8;zNs$,!"(B - $BBgItJ,$N%V%i%&%6$N%Q%9%o!<%I%@%$%"%m%0$KI=<($5$l$^$9!#(B</p> - - <p><strong>$BLuCm(B:</strong> - $B0z?t$KM?$($kJ8;zNs$O1Q?t;z$d%O%$%U%s$J$I$N5-9f$N$_$rMxMQ$9$k$Y$-$G$9$,!"(B2 - $B%P%$%HJ8;z$r;XDj$7$?>l9g$G$b!"(B - Apache $B$ODL>o$NJ8;zNsF1MM$K%/%i%$%"%s%H$XAw=P$7$^$9!#(B - ($B$?$@%5%]!<%H$,I=L@$5$l$F$$$k$o$1$G$O$"$j$^$;$s(B)</p> - - <p><strong>$B;2>H(B:</strong> <a - href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></p> - <hr /> - - <h2><a id="authtype" name="authtype">AuthType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthType - Basic|Digest<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$OBP>]%G%#%l%/%H%j$GMxMQ$9$k%f!<%6!<G'>Z$N<oN`$rA*$S$^$9!#(B - $B$?$@!"8=:_$N$H$3$m$O(B <code>Basic</code> $B<c$7$/$O(B - <code>Digest</code> $B$7$+<BAu$5$l$F$$$^$;$s!#(B - - $B$3$N%G%#%l%/%F%#%V$O(B - <a href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d(B - <a href="#require">Require</a> $B%G%#%l%/%F%#%V5Z$S!"(B - <a href="mod_auth.html#authuserfile">AuthUserFile</a> $B$d(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - $B$J$I$N%G%#%l%/%F%#%V$H0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a - href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">BindAddress - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> BindAddress - *|<em>IP-address</em>|<em>domain-name</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>BindAddress - *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> BindAddress $B$O(B - $BHs?d>)$G(B Apache 2.0 $B$G$O:o=|$5$l$^$9!#(B - - <p>Unix® $B$K$*$$$F(B HTTP $B%5!<%P$O!"%5!<%P$N$9$Y$F$N(B IP - $B%"%I%l%9$r(B listen $B$9$k$3$H$,$G$-!"0l$D$N(B IP $B%"%I%l%9$@$1$r(B - listen $B$9$k$3$H$b$G$-$^$9!#$3$N%G%#%l%/%F%#%V$K(B * - $B$r;XDj$9$k$H!"%5!<%P$O$9$Y$F$N(B IP $B%"%I%l%9>e$G(B listen - $B$r9T$$$^$9!#$=$l0J30$N>l9g$O!"FCDj$N(B <em>IP-address</em> $B$+(B - <em>domain-name</em> $B$N$_$G(B listen $B$7$^$9!#(B</p> - - <p>$BNc(B:</p> - - <code>BindAddress 192.168.15.48</code><br /> - - <p>$B$J$*!"(B<code>BindAddress</code> - $B%G%#%l%/%F%#%V$O0l$D$7$+MxMQ$G$-$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Apache 2.0 $B$K$*$$$F$OHs?d>)$G!"<h$j=|$+$l$F$$$^$9!#(B - $BBe$o$j$K!"F1Ey$N5!G=$r;}$A$+$DJ#?t$N%"%I%l%9$d%]!<%H$K$*$$$F(B - listen $B$G$-$k$h$&$K$J$C$?(B - <code><a href="#listen">Listen</a></code> - $B%G%#%l%/%F%#%V$rMxMQ$G$-$^$9!#(B</p> - <p>BindAddress $B$O!"(B<code><a - href="#virtualhost"><VirtualHost></a></code> - $B%;%/%7%g%s$r;H$&Be$o$j$K!"J#?t$N%5!<%P$r5/F0$7$F(B<a - href="../vhosts/">$B%P!<%A%c%k%[%9%H(B</a>$B$r%5%]!<%H$9$k(B - $B$?$a$KMxMQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> - <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache - $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> BS2000Account - <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> BS2000Account $B$O(B BS2000 - $B%^%7%s$G$+$D(B Apache 1.3.22 $B0J9_$G$N$_MxMQ2DG=$G$9!#(B - - <p><code>BS2000Account</code> $B%G%#%l%/%F%#%V$O!"(BBS2000 - $B%[%9%H$G$N$_M-8z$G$"$j!"(B(<a href="#user">User</a> - $B%G%#%l%/%F%#%V$rMxMQ$7$F(B) Apache - $B$r<B9T$9$k8"8B$r4IM}<T0J30$N%"%+%&%s%HHV9f$K;XDj$9$kI,MW$,$"$j$^$9!#(B - $B$3$l$O!"(BCGI $B%9%/%j%W%H$,!"DL>o(B SYSROOT - $B$G$"$k!"%5!<%P$r5/F0$7$?4IM}<T8"8B$r;}$D%"%+%&%s%H$N(B - $B%j%=!<%9$K%"%/%;%9$G$-$J$$$h$&$K$9$k$?$a$K!"(B - ($B%5%V%m%0%$%s$K$h$C$F!"(BBS2000 $B$N%?%9%/4D6-2<$KCV$+$l$k(B) BS2000 $B$N(B - POSIX $B%5%V%7%9%F%`$K$*$$$FI,MW$G$9!#(B<code>BS2000Account</code> - $B%G%#%l%/%F%#%V$O(B 1 $B2s$@$1MxMQ$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../ebcdic.html">Apache $B$N(B - EBCDIC $B$X$N0\?"HG(B</a></p> - <hr /> - - <h2><a id="clearmodulelist" - name="clearmodulelist">ClearModuleList $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ClearModuleList - $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B%5!<%P$O$"$i$+$8$aM-8z$J%b%8%e!<%k$N0lMw$r;}$C$F$$$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O$=$N0lMw$r%/%j%"$7$^$9!#8e$G(B - <a href="#addmodule">AddModule</a> $B%G%#%l%/%F%#%V$r;H$C$F(B - $B%b%8%e!<%k$r0lMw$K:F$S2C$($k$3$H$,4|BT$5$l$F$$$^$9!#(B</p> - <hr /> - - <p><strong>$B;2>H(B</strong>: <a - href="#addmodule">AddModule</a> $B$H(B <a - href="mod_so.html#loadmodule">LoadModule</a></p> - - <h2><a id="contentdigest" name="contentdigest">ContentDigest - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ContentDigest - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ContentDigest - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> experimental<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ContentDigest $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BRFC1864 $B5Z$S(B RFC2068 $B$K$*$$$FDj5A$5$l$F$$$k(B - <code>Content-MD5</code> $B%X%C%@$N@8@.$rM-8z$K$7$^$9!#(B</p> - - <p>MD5 $B$O!"G$0UD9$N%G!<%?$N!V%a%C%;!<%8%@%$%8%'%9%H!W(B($B!V;XLf!W(B - $B$HI=8=$5$l$k$3$H$b$"$k(B) $B$r7W;;$9$k%"%k%4%j%:%`$G!"(B - $B%G!<%?$NJQ99$,$"$C$?>l9g$K$OHs>o$K9b$$?.MjEY$G(B - $B%a%C%;!<%8%@%$%8%'%9%H$KJQ99$,H?1G$5$l$^$9!#(B</p> - - <p><code>Content-MD5</code> $B%X%C%@$O!"%(%s%I%D!<%(%s%I$G(B - $B%(%s%F%#%F%#%\%G%#!<$K4^$^$l$k%a%C%;!<%8$N40A4@-%A%'%C%/(B - (Message Integrity Check - MIC)$B$rDs6!$7$^$9!#(B - $B$3$N%X%C%@$rD4$Y$k$3$H$G!"%W%m%-%7$d%/%i%$%"%s%H$O!"(B - $BESCf7PO)$K$*$1$k%(%s%F%#%F%#%\%G%#$NM=4|$;$LJQ99$J$I$r(B - $B8!=P$9$k$3$H$,$G$-$^$9!#%X%C%@$NNc(B:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== -</pre> - - <p>$B%j%/%(%9%H$4$H$K%a%C%;!<%8%@%$%8%'%9%H$r7W;;$9$k(B - ($BCM$O%-%c%C%7%e$5$l$^$;$s(B) $B$3$H$+$i!"(B - $B%5!<%P%Q%U%)!<%^%s%9$,Dc2<$9$k$3$H$K$D$$$FCm0U$7$F$/$@$5$$!#(B</p> - - <p><code>Content-MD5</code > - $B$O!"%3%"5!G=$K$h$j=hM}$5$l$?%I%-%e%a%s%H$rAw$k$H$-$N$_M-8z$G$"$j!"(B - SSI $B%I%-%e%a%s%H$d(B CGI $B%9%/%j%W%H$N=PNO!"(B - $B%P%$%H%l%s%8$r;XDj$7$?1~Ez$N>l9g$K$O$3$N%X%C%@$OIUM?$5$l$^$;$s!#(B - </p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">CoreDumpDirectory $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CoreDumpDirectory - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> ServerRoot $B$HF1$8>l=j(B<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$l$K$h$j!"(BApache - $B$,%3%"%@%s%W$r$9$kA0$K0\F0$9$k$?$a$N%G%#%l%/%H%j$r;XDj$G$-$^$9!#(B - $B%G%U%)%k%H$N>l9g$O!"(B<a href="#serverroot">ServerRoot</a> - $B$K$*$$$F;XDj$7$?%G%#%l%/%H%j$H$J$k$b$N$N!"(B - $BDL>o$N>l9g$O%5!<%P$r<B9T$7$F$$$k%f!<%6$K$h$C$F=q$-9~$_8"8B$,L5$/!"(B - $B%3%"%@%s%W$,;D$5$l$k$3$H$O$"$j$^$;$s!#(B - $B$b$7!"%G%P%C%0$N$?$a$K%3%"%@%s%W$,I,MW$J$N$G$"$l$P!"(B - $B$3$N%G%#%l%/%F%#%V$K$h$j0c$&>l=j$K@_Dj$r$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B@_DjNc(B:</p> - - <blockquote> - <code>CoreDumpDirectory /tmp</code> - </blockquote> - - <hr /> - - <h2><a id="defaulttype" name="defaulttype">DefaultType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> DefaultType - <em>MIME-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DefaultType - text/html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$O!"(BMIME $B$N%?%$%W%^%C%W$+$i$O7hDj$G$-$J$$(B - $B%I%-%e%a%s%H$NAw?.$rMW5a$5$l$k$3$H$,$"$j$^$9!#(B</p> - - <p>$B%5!<%P$O!"%I%-%e%a%s%H$N%3%s%F%s%H%?%$%W$r%/%i%$%"%s%H$K(B - $BDLCN$9$kI,MW$,$"$j$^$9$N$G!"$3$N$h$&$K%?%$%W$,L$CN$N>l9g$O(B - <code>DefaultType</code> $B$G;XDj$5$l$?%?%$%W$rMxMQ$7$^$9!#(B - $B@_DjNc(B:</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - $B$3$l$O(B .gif $B$H$$$&3HD%;R$,%U%!%$%kL>$K4^$^$l$F$$$J$$B?$/$N(B - GIF $B2hA|$,4^$^$l$F$$$k%G%#%l%/%H%j$KE,$7$F$$$k$G$7$g$&!#(B - - <p><strong>$B;2>H(B:</strong> <a - href="mod_mime.html#addtype">AddType</a> $B5Z$S(B <a - href="mod_mime.html#typesconfig">TypesConfig</a></p> - - <hr /> - - <h2><a id="directory" name="directory"><Directory> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Directory - <em>directory-path</em>> ... </Directory><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core. - - <p>$B;XDj$5$l$?%G%#%l%/%H%jG[2<$K$N$_%G%#%l%/%F%#%V$rE,MQ$5$;$k$?$a$K!"(B - <Directory> $B5Z$S(B </Directory> - $B$rBP$H$7$F!"%G%#%l%/%F%#%V72$r0O$&$3$H$,$G$-$^$9!#(B - $B0O$$$NCf$G$O!"%G%#%l%/%H%j%3%s%F%-%9%H$G5v2D$5$l$?$9$Y$F$N(B - $B%G%#%l%/%F%#%V$,MxMQ$G$-$^$9!#(B<em>directive-path</em> - $B$O!"%U%k%Q%9<c$7$/$O%o%$%k%I%+!<%I$K$F;XDj$7$^$9!#(B - `?' $B$OG$0U$N(B 1 $BJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(BApache 1.3 - $B$N>l9g!"%7%'%k$K$*$1$k;XDjF1MM!"J8;z$NHO0O;XDj$r(B `[ ]' $B$G2DG=$G$9!#(B - $B$^$?!"(BApache 1.3$B$G$O!"(BUNIX $B$N%7%'%k$N5sF0$K;w$;$k$?$a$K!"(B - $B%o%$%k%I%+!<%I$O(B `/' $BJ8;z$K$O%^%C%A$7$^$;$s!#(B - $BNc(B:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>Apache 1.2 $B0J9_$N>l9g(B:</strong> <code>~</code> - $B$H$$$&J8;z$rIU2C$9$k$3$H$G3HD%@55,I=8=$rMxMQ$9$k$3$H$b$G$-$^$9!#(B<br /> - $BNc$($P!"(B</p> -<pre> - <Directory ~ "^/www/.*/[0-9]{3}"> -</pre> - $B$H$$$C$?;XDj$N>l9g!"(B/www/ $B0J2<$K$"$k?t;z(B 3 - $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B - - <p>$B$b$7J#?t$N(B ($B@55,I=8=0J30$N(B) $B%G%#%l%/%H%j%;%/%7%g%s$,(B - $B%I%-%e%a%s%H$r4^$`%G%#%l%/%H%j(B ($B$d$=$N>e0L%G%#%l%/%H%j(B) - $B$H%^%C%A$7$?$J$i$P!"(B<a href="#accessfilename">.htaccess</a> - $B%U%!%$%k$N%G%#%l%/%F%#%V$bFI$_9~$_$D$D!"(B - $BC;$$%Q%9$+$i=g$KE,MQ$5$l$^$9!#(B - $BNc$($P!"(B</p> - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory><br /> - <br /> - <Directory /home/*><br /> - AllowOverride FileInfo<br /> - </Directory></code> - </blockquote> - $B$H@_Dj$7!"%I%-%e%a%s%H(B <code>/home/web/dir/doc.html</code> - $B$X$N%"%/%;%9$,$"$C$?>l9g$K$O0J2<$N$h$&$KF0:n$7$^$9(B: - - <ul> - <li><code>AllowOverride None</code> $B$,E,MQ$5$l$k!#(B - (<code>.htaccess</code> $B%U%!%$%k$OL58z$K$J$k(B)</li> - - <li><code>AllowOverride FileInfo</code> $B$,E,MQ$5$l$k(B - (<code>/home/web</code> $B%G%#%l%/%H%j$KBP$7$F(B)$B!#(B</li> - - <li><code>/home/web/.htaccess</code> $B$N(B FileInfo - $B%G%#%l%/%F%#%V$,E,MQ$5$l$k!#(B</li> - </ul> - - <p>$B%G%#%l%/%H%j%;%/%7%g%s$K$*$1$k@55,I=8=$K$D$$$F$O!"(BApache 1.2 $B$H(B - 1.3 $B$G<c4307$$$,0c$$$^$9!#(B</p> - - <p>Apache 1.2 $B$N>l9g!"DL>o$N%G%#%l%/%H%j%;%/%7%g%s$,F1$8$/!"(B - $B@_Dj%U%!%$%kFb$K8=$l$k=g$KI>2A$5$l$^$9!#@55,I=8=$N%G%#%l%/%H%j%;%/%7%g%s$O!"(B - $B0lHVC;$/%^%C%A$7$?>l9g$K0lEY$@$1E,MQ$5$l$^$9!#(B - - Apache 1.3 $B$G$O!"(B - $B@55,I=8=$O!"DL>o$N%;%/%7%g%s$,$9$Y$FE,MQ$5$l$k$^$G9MN8$5$l$^$;$s!#(B - $B$=$N8e!"$9$Y$F$N@55,I=8=$,@_Dj%U%!%$%k$K8=$l$?=g$G;n$5$l$^$9!#(B - $BNc$($P!"0J2<$N$h$&$J>l9g$K(B</p> - - <blockquote> - <code><Directory ~ abc$><br /> - ... directives here ...<br /> - </Directory><br /> - </code> - </blockquote> - - $B%"%/%;%9$5$l$F$$$k%U%!%$%kL>$,(B - <code>/home/abc/public_html/abc/index.html</code> - $B$G$"$k$H$7$^$7$g$&!#%5!<%P$O(B <code>/</code>, <code>/home</code>, - <code>/home/abc</code>, <code>/home/abc/public_html</code> $B5Z$S(B - <code>/home/abc/public_html/abc</code> $B$N=g$K9MN8$7$^$9!#(B - Apache 1.2 $B$G$"$l$P!"(B<code>/home/abc</code> - $B$NI>2A$r$9$k:]$K!"@55,I=8=$,%^%C%A$7E,MQ$5$l$^$9!#(B - - Apache 1.3 - $B$N>l9g$O@55,I=8=$O%D%j!<>e$N$=$N;~E@$G$OA4$/9MN8$5$l$^$;$s!#(B - $B$9$Y$F$NDL>o$N(B <Directory> $B$H(B <code>.htaccess</code> - $B%U%!%$%k$,I>2A$5$l$k$^$G!"9MN8$5$l$^$;$s!#$=$N8e!"@55,I=8=$O(B - <code>/home/abc/public_html/abc</code> $B$K%^%C%A$7!"E,MQ$5$l$^$9!#(B - - <p><strong>Apache $B$N%G%U%)%k%H$G$O(B <Directory /> - $B$X$N%"%/%;%9$O(B <samp>Allow from All</samp> - $B$K$J$C$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$O!"(BURL - $B$+$i%^%C%W$5$l$?$I$N%U%!%$%k$G$b(B Apache $B$OAw$k$H$$$&$3$H$G$9!#(B - $B$3$l$O0J2<$N$h$&$K$7$FJQ99$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All - </Directory> -</pre> - - <p><strong>$B$=$7$F%"%/%;%9$r(B<em>$B2DG=$K$7$?$$(B</em> - $B%G%#%l%/%H%j$KBP$7$F8DJL$K@_Dj$9$l$P$h$$$G$7$g$&!#(B - $B$3$N$"$?$j$K$D$$$F$O!"(B<a href="../misc/security_tips.html" - >$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</strong></p> - $B%G%#%l%/%H%j%;%/%7%g%s$O(B access.conf - $B%U%!%$%k$KB8:_$9$k$N$,0lHLE*$G$9$,!"(B - $B$I$N$h$&$J@_Dj%U%!%$%kCf$K$G$b;XDj$G$-$^$9!#(B - <Directory> $B%G%#%l%/%F%#%V$OF~$l;R$K$9$k$3$H$,$G$-$:!"(B - <a href="#limit"><Limit></a> $B$d(B <a - href="#limitexcept"><LimitExcept></a> - $B%;%/%7%g%s$NCf$K$b5-=R$G$-$^$;$s!#(B - - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location $B5Z$S(B Files - $B%;%/%7%g%s$,$I$N$h$&$KF0:n$9$k$N$+(B</a></p> - <p><strong>$B;2>H(B</strong>: <a - href="#directorymatch">DirectoryMatch</a></p> - <hr /> - - <h2><a id="directorymatch" - name="directorymatch"><DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <DirectoryMatch - <em>regex</em>> ... </DirectoryMatch> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_$G;HMQ2DG=(B - - <p>$B;XDj$5$l$?%G%#%l%/%H%jG[2<$K$N$_%G%#%l%/%F%#%V$rE,MQ$5$;$k$?$a$K!"(B - <a href="#directory"><Directory></a> $B$HF1MM$K(B - <DirectoryMatch> $B5Z$S(B </DirectoryMatch> - $B$rBP$H$7$F!"%G%#%l%/%F%#%V72$r0O$&$3$H$,$G$-$^$9!#(B - $B$?$@$7!"0z?t$O@55,I=8=$H$J$j$^$9!#Nc$($P!"(B</p> -<pre> - <DirectoryMatch "^/www/.*/[0-9]{3}"> -</pre> - - <p>$B$H$$$C$?;XDj$N>l9g$O(B /www/ $B0J2<$K$"$k?t;z(B 3 - $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> - $BDL>o$N(B <Directory> - $B%;%/%7%g%s$H0l=o$K@55,I=8=$rMxMQ$9$k$?$a$N2r@b$H$7$F$O(B - <a href="#directory"><Directory></a><br /> - <strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location $B5Z$S(B Files - $B%;%/%7%g%s$,$I$N$h$&$KF0:n$9$k$N$+(B</a></p> - <hr /> - - <h2><a id="documentroot" name="documentroot">DocumentRoot - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> DocumentRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DocumentRoot - /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(Bhttpd - $B$,%U%!%$%k$rDs6!$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(BAlias - $B$N$h$&$J%G%#%l%/%F%#%V$K%^%C%A$7$J$$>l9g$K$O!"%I%-%e%a%s%H$N(B - ($BLuCm(B:$B%U%!%$%k%7%9%F%`>e$N(B) $B%Q%9$r@8@.$9$k$?$a$K!"%j%/%(%9%H$5$l$?(B - URL $B$N%Q%9ItJ,$r%I%-%e%a%s%H%k!<%H$KIUM?$7$^$9!#(B - $BNc(B:</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - $B$3$N>l9g!"(B - <code>http://www.my.host.com/index.html</code> $B$X$N%"%/%;%9$,$"$l$P(B - <code>/usr/web/index.html</code> $B$,JV$5$l$^$9!#(B - - <p>$B$H$3$m$G!"(BDocumentRoot - $B$N0z?t$N%Q%9$N:G8e$NJ8;z$K%9%i%C%7%e$,;XDj$5$l$F$$$k$H(B - (<em>$BNc$($P(B</em>$B!"(B"DocumentRoot /usr/web/" $B$N$h$&$K(B) - $BLdBj$,5/$3$k$H$$$&(B mod_dir $B$N%P%0$,$"$k$h$&$G$9!#(B - $B$=$N$?$a!"$3$N$h$&$J;XDj$O$7$J$$$h$&$K$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICConvert - On|Off[=<em>direction</em>] <em>extension</em> - [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICConvert $B$O(B - Apache 1.3.19 $B0J9_$G$+$D(B EBCDIC - $B%Y!<%9$N%W%i%C%H%U%)!<%`$K$*$$$F$N$_MxMQ2DG=$G$9!#(B - - <p>EBCDICConvert - $B%G%#%l%/%F%#%V$OM?$($i$l$?%U%!%$%k$N3HD%;R$r;XDj$NJQ49@_Dj(B - (<samp>On</samp> $B$+(B <samp>Off</samp>) $B$K%^%C%W$7$^$9!#(B - $B3HD%;R$N:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p>$B%*%W%7%g%s$N7A<0(B <samp>On=<i>direction</i></samp> ($B$d(B - <samp>Off=<i>direction</i></samp>) $B$,;XDj$5$l$k$H(B (<i>direction</i> - $B$O(B <samp>In</samp>, <samp>Out</samp>, <samp>InOut</samp> $B$N$I$l$+(B)$B!"(B - $B%G%#%l%/%F%#%V$O;XDj$5$l$?8~$-$K$@$1E,MQ$5$l$^$9(B (<samp>In</samp>: - PUT $B$d(B POST $B%j%/%(%9%H$G%3%s%F%s%D$r%"%C%W%m!<%I!"(B<samp>Out</samp>: - GET $B$d(B POST $B%j%/%(%9%H$GJV$5$l$k%3%s%F%s%D!"(B<samp>InOut</samp>: - $BN>J}$N8~$-$GJQ49(B)$B!#(B<br /> - $B$=$l0J30$N7A<0$G$O!"(B<samp>InOut</samp> ($BN>J}$N8~$-$GJQ49(B) - $B$G$"$k$H$_$J$5$l$^$9!#(B</p> - - <p>$B0lHLE*$J(B MIME $B$K4p$E$$$?%k!<%k$r!"(B - $B$h$j:Y$+$$%U%!%$%k$N3HD%;R$K4p$E$$$?%k!<%k$,>e=q$-$G$-$k$h$&$K!"(B - $B3HD%;R$K4p$E$$$?@_Dj$O(B MIME - $B%?%$%W$K4p$E$$$?@_Dj$h$jA0$K;n$5$l$^$9!#(B</p> - - <p><strong>$BNc(B</strong>:<br /> - $B0J2<$N@_Dj$G$O!"IaDL$N(B <samp>*.html</samp> $B%U%!%$%k$O(B - EBCDIC $B%(%s%3!<%G%#%s%0$N(B HTML $B$G!"(B<samp>*.ahtml</samp> $B%U%!%$%k$O(B - ASCII $B%(%s%3!<%G%#%s%0$N(B HTML $B$G$9(B:</p> - -<pre> - # *.html $B$H(B *.ahtml $B$O(B HTML: - AddType text/html .html .ahtml - - # *.ahtml $B$OJQ49$5$l$J$$(B ($B4{$K(B ASCII $B$K$J$C$F$$$k(B): - EBCDICConvert Off .ahtml - - # $BB>$N$9$Y$F$N(B text/html $B%U%!%$%k$O(B EBCDIC $B$N$O$:(B: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDICConvertByType - $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICConvertByType - On|Off[=<em>direction</em>] <em>mimetype</em> - [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICConvertByType $B$O(B - Apache 1.3.19 $B0J9_$G$+$D(B EBCDIC $B%Y!<%9$N%W%i%C%H%U%)!<%`$K$*$$$F$N$_(B - $BMxMQ2DG=$G$9!#(B - - <p>EBCDICConvertByType $B%G%#%l%/%F%#%V$OM?$($i$l$?(B MIME $B%?%$%W(B - ($B%o%$%k%I%+!<%I$b2D(B) $B$r;XDj$5$l$?JQ49@_Dj(B (<samp>On</samp> $B$+(B - <samp>Off</samp>) $B$K%^%C%W$7$^$9!#(B</p> - - <p>$B%*%W%7%g%s$N7A<0(B <samp>On=<i>direction</i></samp> ($B$d(B - <samp>Off=<i>direction</i></samp>) $B$,;XDj$5$l$k$H(B (<i>direction</i> - $B$O(B <samp>In</samp>, <samp>Out</samp>, <samp>InOut</samp> $B$N$I$l$+(B)$B!"(B - $B%G%#%l%/%F%#%V$O;XDj$5$l$?8~$-$K$@$1E,MQ$5$l$^$9(B (<samp>In</samp>: - PUT $B$d(B POST $B%j%/%(%9%H$G%3%s%F%s%D$r%"%C%W%m!<%I!"(B<samp>Out</samp>: - GET $B$d(B POST $B%j%/%(%9%H$GJV$5$l$k%3%s%F%s%D!"(B<samp>InOut</samp>: - $BN>J}$N8~$-$GJQ49(B)$B!#(B<br /> - $B$=$l0J30$N7A<0$G$O!"(B<samp>InOut</samp> ($BN>J}$N8~$-$GJQ49(B) - $B$G$"$k$H$_$J$5$l$^$9!#(B</p> - - <p><strong>$BNc(B</strong>:<br /> - $BM-MQ$JI8=`@_Dj$K$O0J2<$N%G%U%)%k%H$,$"$k$Y$-$G$9(B:</p> -<pre> - # $B$9$Y$F$N%F%-%9%H%I%-%e%a%s%H$O(B EBCDIF $B$N%U%!%$%k(B: - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # $B$9$Y$F$NB>$N%U%!%$%k$O%P%$%J%j$H$_$J$9(B - EBCDICConvertByType Off */* -</pre> - $BNc$($P(B NFS $B$G%^%&%s%H$5$l$?(B unix - $B%5!<%P$+$i%I%-%e%a%s%H$rAw$k!"$H$$$&$h$&$K(B - ASCII $B$N%I%-%e%a%s%H$N$_$r07$&>l9g$O!"0J2<$N$h$&$K$7$F$/$@$5$$(B: -<pre> - # $B$9$Y$F$N%I%-%e%a%s%H$O4{$K(B ASCII - EBCDICConvertByType Off */* -</pre> - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDIC $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICKludge - On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICKludge $B$O(B Apache - 1.3.19 $B0J9_$G(B EBCDIC $B%Y!<%9$N%W%i%C%H%U%)!<%`$G$N$_;HMQ2DG=$G$9!#(B - $BHs?d>)$G!">-Mh$N%P!<%8%g%s$G$O:o=|$5$l$kM=Dj$G$9!#(B<br /> - - <p>EBCDICKludge $B$O(B apache $B$N%P!<%8%g%s(B 1.3.0 $B$+$i(B 1.3.18 - $B$H$N8_49@-$rJ]$D$?$a$KDs6!$5$l$F$$$^$9!#$=$l$i$N%P!<%8%g%s$G$O!"(B - "text/", "message/", "multipart" $B$G;O$^$k(B MIME $B%?%$%W$H!"(B - "application/x-www-form-urlencoded" - $B$N$9$Y$F$N%U%!%$%k$O%G%U%)%k%H$GJQ49$5$l!"(B - $BB>$N$9$Y$F$N%I%-%e%a%s%H$OL5JQ49$GAw$i$l$F$$$^$7$?!#(B - "<samp>text/<b>x-ascii-</b><i>subtype</i></samp>" - $B$,%I%-%e%a%s%H$KBP$7$F@_Dj$5$l$F$$$k>l9g$K$N$_!"%I%-%e%a%s%H$O(B - ASCII $B%U%)!<%^%C%H$G$"$k$H$_$J$5$l!":FJQ49$5$l$^$;$s$G$7$?!#(B - $BJQ49$9$kBe$o$j$K!"(B"<samp><b>x-ascii-</b></samp>" - $B$,%?%$%W$+$i<h$j=|$+$l!"(B"<samp>text/<i>subtype</i></samp>" - $B$,%I%-%e%a%s%H$N(B MIME $B%?%$%W$K$J$C$F$$$^$7$?!#(B</p> - - <p>EBCDICKludge $B%G%#%l%/%H%j$,(B <samp>On</samp> $B$K@_Dj$5$l$F$$$F!"(B - <a href="#ebcdicconvert">EBCDICConvert</a> $B%G%#%l%/%F%#%V$,$=$3$N(B - $B%3%s%F%-%9%H$K%^%C%A$9$l$P!"%5!<%P$O(B - <samp><i>type/</i><b>x-ascii-</b><i>subtype</i></samp> $B$H$$$&7A<0$N(B - MIME $B%?%$%W$rD4$Y$^$9!#%I%-%e%a%s%H$K$=$N$h$&$J%?%$%W$,$"$l$P!"(B - "<samp><b>x-ascii-</b></samp>" $B$,<h$j=|$+$l$F!"JQ49$O(B <samp>Off</samp> - $B$K@_Dj$5$l$^$9!#Nc$($P(B NFS $B$G%^%&%s%H$5$l$?%G%#%l%/%H%j$N(B - ASCII $B$N%I%-%e%a%s%H$rAw$C$F$$$k$h$&$J>l9g$K!"$3$l$K$h$j(B - $B$9$Y$F$N%F%-%9%H%U%!%$%k$O(B EBCDIC - $B$G$"$k$H$$$&A0Ds$rJQ99$9$k$3$H$,$G$-$^$9!#(B<br /> - EBCDICKludge $B$G$O!"B>$N(B MIME $B%?%$%W(B (<em>$BNc$($P(B</em> model/vrml) $B$r(B - EBCDIC $B$N%F%-%9%H%U%!%$%k$H$7$F07$&$3$H$O$G$-$^$;$s!#(B - $B$=$N$h$&$JJQ49$K$O>e5-$N(B <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> - $B%G%#%l%/%F%#%V$N;HMQ$,$h$jNI$$J}K!$G$9!#(B(Apache $B%P!<%8%g%s(B 1.3.19 - $B$h$jA0$G$O!"%P%$%J%j%I%-%e%a%s%H$r(B EBCDIC - $B%F%-%9%H%U%!%$%k$H$7$F07$&J}K!$OA4$/$"$j$^$;$s$G$7$?(B)$B!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDIC $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">ErrorDocument - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ErrorDocument - <em>error-code document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%G%#%l%/%H%j<c$7$/$O(B .htaccess - $B%3%s%F%-%9%H$K$*$$$F$N;XDj$O(B Apache 1.1 $B0J9_$G$N$_MxMQ2DG=$G$9!#(B - - <p>$BLdBj$d%(%i!<$,H/@8$7$?$H$-$NF0:n$H$7$F!"(B - Apache $B$K$O0J2<$N;M$D$N$&$A0l$D$NF0:n$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</p> - - <ol> - <li>Apache $BI8=`$N4JC1$J%(%i!<%a%C%;!<%8$rI=<((B</li> - - <li>$B<+J,$G;XDj$7$?%a%C%;!<%8$rI=<((B</li> - - <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"<+%5!<%PFb$N(B - <em>URL-path</em> $B$X%j%@%$%l%/%H(B</li> - - <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"30It$N(B <em>URL</em> - $B$X%j%@%$%l%/%H(B</li> - </ol> - - <p>$B:G=i$N$b$N$,%G%U%)%k%H$NF0:n$G!"(B2 $BHVL\$+$i(B 4 $BHVL\$O!"(B - <code>ErrorDocument</code> $B%G%#%l%/%F%#%V$K$h$j!"(BHTTP - $B$N%l%9%]%s%9%3!<%I$H!"%a%C%;!<%8$+(B URL $B$r;XDj$9$k$3$H$G@_Dj$7$^$9!#(B</p> - - <p><em>$B%a%C%;!<%8(B</em>$B$r5-=R$9$k>l9g$K$O!"Fs=E0zMQId(B 1 $BJ8;z(B - (<code>"</code>) $B$r:G=i$KIUM?$7$^$9!#(B - $BFs=E0zMQId$O%a%C%;!<%8$K$O4^$^$l$^$;$s!#(B - Apache $B$O>l9g$K$h$C$F!"LdBj$d%(%i!<$K$D$$$FIU2CE*$J>pJs$rDs6!$7$^$9!#(B</p> - - <p>URL $B$N>l9g$O!"%m!<%+%k$N(B URL $B$N;XDj$H$7$F%9%i%C%7%e$G;O$^$k(B (/) - $B%Q%9$+!"%/%i%$%"%s%H$,2r<a$G$-$k%U%k(B URL $B$r;XDj$7$^$9!#(B<br /> - $BNc(B:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>$B%j%b!<%H(B URL ($BNc$($P!"F,$K(B http $B$HIUM?$7$?J}K!(B) $B$r(B - <code>ErrorDocument</code> $B$K;XDj$9$k$H$-!"(B - $B$?$H$(J8=q$,F1$8%5!<%P$K$"$m$&$H$b!"%I%-%e%a%s%H$,$I$3$K$"$k$+$rDLCN$9$k$?$a$K!"(B - Apache $B$O%j%@%$%l%/%H$r%/%i%$%"%s%H$KAw=P$9$k$H$$$&$3$H$K!"Cm0U$7$F$/$@$5$$!#(B - $B$3$l$K$O$$$m$$$m$H4XO"$7$F5/$3$kLdBj$,$"$j$^$9!#(B - $BCf$G$b:G$b=EMW$J$N$O!"%/%i%$%"%s%H$O85!9$N%(%i!<%9%F!<%?%9%3!<%I$r<u$1<h$i$:!"(B - $BBe$o$j$K%j%@%$%l%/%H$N%9%F!<%?%9%3!<%I$r<u$1<h$k$H$$$&$3$H$G$9!#(B - $B$3$l$K$h$j!"%9%F!<%?%9%3!<%I$r;H$C$F(B URL $B$,M-8z$G$"$k$+$I$&$+$r7hDj$7$h$&$H$9$k(B - $B%&%'%V%m%\%C%H$d$=$NB>%/%i%$%"%s%H$r!":.Mp$5$;$k$+$b$7$l$^$;$s!#(B - $B$5$i$K!"(B<code>ErrorDocument 401</code> $B$K%j%b!<%H$N(B URL $B$r;XDj$9$k$H!"(B - $B%/%i%$%"%s%H$O(B 401 $B$H$$$&%9%F!<%?%9%3!<%I$r<u$1<h$i$J$$$?$a!"(B - $B%Q%9%o!<%I$r%f!<%6$KF~NOMW5a$7$J$1$l$P$J$i$J$$$3$H$,$o$+$j$^$;$s!#(B - $B=>$C$F!"(B<strong>"ErrorDocument 401" $B$H$$$&%G%#%l%/%F%#%V$r;H$&>l9g$O!"(B - $BI,$:%m!<%+%k$JJ8=q$r;2>H$7$J$1$l$P$J$j$^$;$s!#(B</strong></p> - - <p>$B;2>H(B: <a href="../custom-error.html">$B%l%9%]%s%9$r%+%9%?%^%$%:$9$kJ}K!$K$D$$$F$N2r@b!#(B</a> - $B%9%F!<%?%9%3!<%I$H$=$N0UL#$N40A4$J%j%9%H$O(B <a - href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP - $B;EMM=q(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="errorlog" name="errorlog">ErrorLog - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ErrorLog - <em>file-pathh</em>|syslog[:<em>facility</em>] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ErrorLog - logs/error.log</code> (Windows and OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%(%i!<%m%0%G%#%l%/%F%#%V$O!"%5!<%P$K@8$8$?$5$^$6$^$J%(%i!<$r(B - $B5-O?$9$k$?$a$N%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B - <em>file-path</em> $B$,%9%i%C%7%e(B (/) $B$+$i;O$^$i$J$$>l9g$O!"(B<a - href="#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$H$_$J$5$l$^$9!#(B - <em>file-path</em> $B$,%Q%$%W(B (|) $B$+$i;O$^$k>l9g$O!"(B - $B%(%i!<%m%0$r=hM}$9$k$?$a$K<B9T$5$l$k%3%^%s%I$,(B - $B;XDj$5$l$F$$$k$H2r<a$5$l$^$9!#(B</p> - - <p>$BNc(B</p> - - <p><code>ErrorLog logs/vhost1.error</code></p> - - or - - <p><code>ErrorLog |/usr/local/bin/errorlog.pl</code></p> - - <p><strong>Apache 1.3 $B0J9_$N>l9g(B:</strong> $B%U%!%$%kL>$NBe$o$j$K(B - <code>syslog</code> $B$H;XDj$9$k$3$H$K$h$C$F!"(B - $B%7%9%F%`$,%5%]!<%H$7$F$$$l$P(B syslogd(8) - $B$rMxMQ$7$?%m%.%s%0$,M-8z$K$J$j$^$9!#%G%U%)%k%H$G$O!"(B - <code>local7</code> $B%U%!%7%j%F%#$H$J$j$^$9$,!"(B - <code>syslog:</code><em>facility</em> - $B$H$$$C$?7A$G5-=R$9$k$3$H$K$h$j!"DL>o(B syslog(1) - $B$N%I%-%e%a%s%H$G@bL@$5$l$F$$$k%U%!%7%j%F%#$N0l$D$r;H$&$h$&$K(B - $B$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <p><code>ErrorLog syslog</code></p> - - or - - <p><code>ErrorLog syslog:user</code></p> - - <p>$B%;%-%e%j%F%#(B: - $B%m%0%U%!%$%k$r3JG<$9$k%G%#%l%/%H%j$,!"%5!<%P$r5/F0$7$?%f!<%60J30$N(B - $B%f!<%6$K$h$C$F=q$-9~$a$k>l9g$K%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$3$H$K(B - $B4X$9$k>\:Y$O(B <a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - - <p><strong>$B;2>H(B:</strong> <a href="#loglevel">LogLevel</a> - $B5Z$S(B <a href="../logs.html">Apache $B$N%m%0%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="fileetag" name="fileetag">FileETag $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> FileETag - <i>component</i> ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3.23 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>FileETag - $B%G%#%l%/%F%#%V$O%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$"$k$H$-$K!"(B - ETag ($B%(%s%F%#%F%#%?%0(B) $B1~Ez%X%C%@%U%#!<%k%I$r:n@.$9$k$H$-$K;HMQ$9$k(B - $B%U%!%$%k$NB0@-$r@_Dj$7$^$9!#(B (ETag $B$NCM$O%M%C%H%o!<%/$NBS0h$r@aLs$9$k$?$a$N(B - $B%-%c%C%7%e$N4IM}$G;H$o$l$^$9!#(B) Apache 1.3.22 $B0JA0$G$O!"(BETag $B$NCM$O(B - <i>$B>o$K(B</i>$B%U%!%$%k$N(B inode, $B%5%$%:!":G=*=$@5;~9o(B (mtime) $B$+$i:n@.(B - $B$5$l$F$$$^$7$?!#(BFileETag $B%G%#%l%/%F%#%V$K$h$j!"$3$l$i$N$I$l$r;H$&$+$r(B - $BA*$V$3$H$,$G$-$^$9!#G'<1$5$l$k%-!<%o!<%I$O(B: - </p> - <dl compact="compact"> - <dt><b>INode</b></dt> - <dd>$B%U%!%$%k$N(B inode $BHV9f$r7W;;$K;H$$$^$9(B</dd> - <dt><b>MTime</b></dt> - <dd>$B%U%!%$%k$N:G=*=$@5;~9o$r;H$$$^$9(B</dd> - <dt><b>Size</b></dt> - <dd>$B%U%!%$%k$NCf?H$N%P%$%H?t$r;H$$$^$9(B</dd> - <dt><b>All</b></dt> - <dd>$B;HMQ2DG=$J$9$Y$F$N%U%#!<%k%I$r;H$$$^$9(B - ('<code>FileETag INode MTime Size</code>' $B$HEy2A$G$9(B)</dd> - <dt><b>None</b></dt> - <dd>$B%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$b!"(BETag $B%U%#!<%k%I$r(B - $B1~Ez$KIU2C$7$^$;$s(B</dd> - </dl> - <p> - INode, MTime, Size $B%-!<%o!<%I$K$O(B '+' $B$d(B '-' $B$rA0$KIU$1$F(B - $B;XDj$9$k$3$H$b$G$-$^$9!#$3$N>l9g$O!"$h$j9-$$HO0O$+$i7Q>5$5$l$?(B - $B%G%U%)%k%H$N@_Dj$KJQ99$r2C$($k$h$&$K$J$j$^$9!#$=$N$h$&$J@\F,<-$N(B - $BL5$$%-!<%o!<%I$r;XDj$9$k$H!"B(:B$K7Q>5$7$?@_Dj$rL58z$K$7$^$9!#(B</p> - <p> - $B$"$k%G%#%l%/%H%j$N@_Dj$K(B - '<code>FileETag INode MTime Size</code>' $B$,$"$j!"(B - $B%5%V%G%#%l%/%H%j$N@_Dj$K(B '<code>FileETag -INode</code>' $B$,$"$k$H$-$O!"(B - $B$=$N%5%V%G%#%l%/%H%j$N@_Dj$O(B ($B@_Dj$,>e=q$-$5$l$J$1$l$P%5%V%G%#%l%/%H%j$N(B - $B%5%V%G%#%l%/%H%j$K$b7Q>5$5$l$^$9(B) '<code>FileETag MTime Size</code>' - $B$HF1$8$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="files" name="files"><Files> $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Files - <em>filename</em>> ... </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><Files> $B%G%#%l%/%F%#%V$O!"%U%!%$%kL>$K$h$k%"%/%;%9@)8f$r9T$&$b$N$G!"(B<a - href="#directory"><Directory></a> $B%G%#%l%/%F%#%V$d(B <a - href="#location"><Location></a> $B%G%#%l%/%F%#%V$HF1$8$h$&$J5!G=$r;}$A$^$9!#(B - $B$3$l$O!"(B</Files> $B%G%#%l%/%F%#%V$HBP$K$J$C$F$$$J$1$l$P$J$j$^$;$s!#(B - $B$3$N%;%/%7%g%sCf$N%G%#%l%/%F%#%V$O!"%Y!<%9L>(B ($B%U%!%$%kL>$N:G8e$NItJ,(B) - $B$,;XDj$5$l$?%U%!%$%kL>$K%^%C%A$9$k$9$Y$F$N%*%V%8%'%/%H$KE,MQ$5$l$^$9!#(B - - <code><Files></code> $B%;%/%7%g%s$O(B <Directory> - $B%;%/%7%g%s$H(B <code>.htaccess</code> $B$,FI$_9~$^$l$?8e!"(B - <Location> - $B%;%/%7%g%s$h$j$O@h$K@_Dj%U%!%$%k$K8=$l$?=g$KE,MQ$5$l$^$9!#(B - <Files> $B$O!"(B<Directory> - $B%;%/%7%g%sFb$K%M%9%H$5$;$k$3$H$,$G$-!"(B - $B%U%!%$%k%7%9%F%`$N0lIt$K$N$_8BDj$7$FE,MQ$5$;$k$3$H$,$G$-$^$9!#(B</p> - - <p><em>filename</em> - $B0z?t$O!"%U%!%$%kL>$+%o%$%k%I%+!<%IJ8;zNs$G!"%o%$%k%I%+!<%I$G$O(B - `?' $B$O0l$D$NJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B<code>~</code> - $B$H$$$&J8;z$rIU2C$9$k$3$H$G3HD%@55,I=8=$r;H$&$3$H$b$G$-$^$9!#(B - $BNc$($P!"(B</p> -<pre> - <Files ~ "\.(gif|jpe?g|png)$"> -</pre> - $B$H$9$k$3$H$K$h$j!"0lHLE*$J%$%s%?!<%M%C%H$N2hA|%U%)!<%^%C%H$K%^%C%A$7$^$9!#(B - $B$?$@$7!"(BApache 1.3 $B0J9_$N>l9g$K$O!"(B - <a href="#filesmatch"><FilesMatch></a> $B$r;H$&J}$,?d>)$5$l$F$$$^$9!#(B - - <p>$B$A$J$_$K!"(B<a - href="#directory"><code><Directory></code></a> $B5Z$S(B <a - href="#location"><code><Location></code></a> $B%;%/%7%g%s$H$O0[$J$j!"(B - <code><Files></code> - $B$O(B .htaccess $B%U%!%$%kFb$GMxMQ$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$K$h$j!"%f!<%6$,%U%!%$%kKh$K%"%/%;%9$N@)8f$r9T$J$&$3$H$,$G$-$k$h$&$K(B - $B$J$C$F$$$^$9!#(B - $BNc$($P!"%G%#%l%/%H%jFb$K$"$k0l$D$N%U%!%$%k$KBP$7$F%Q%9%o!<%I$K$h$kJ]8n$r9T$&$K$O!"(B - <code>.htaccess</code> $B$K0J2<$N$h$&$J@_Dj$rDI2C$9$l$PNI$$$G$7$g$&!#(B</p> - - <pre> - <Files admin.cgi> - Require group admin - </Files></pre> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$O%5%V%G%#%l%/%H%j$K$bE,MQ$5$l!"(B - $B>e$NNc$N>l9g$K$O!"FC$K@_Dj$,>e=q$-$5$l$J$$8B$j!"(B - $B%5%V%G%#%l%/%H%jCf$N(B <code>admin.cgi</code> - $B$H$$$&%U%!%$%k$K$bJ]8n$,$+$+$k$H$$$&$3$H$rK:$l$J$$$G$/$@$5$$!#(B</p> - - <p>(<code>Require</code> $B%G%#%l%/%F%#%V$N;H$$J}$K$D$$$F$O!"(B<a - href="#require">Require</a>$B$r;2>H$7$F$/$@$5$$!#(B)</p> - - <p><strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nJ}K!(B</a></p> - <hr /> - - <h2><a id="filesmatch" - name="filesmatch"><FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <FilesMatch - <em>regex</em>> ... </FilesMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><FilesMatch> $B%G%#%l%/%F%#%V$O!"(B<a href="#files"><Files></a> - $B%G%#%l%/%F%#%VF1MM$K%U%!%$%kL>$K$h$k%"%/%;%9@)8f$N5!G=$rDs6!$7$^$9!#$?$@$7!"(B - $B$3$N%G%#%l%/%F%#%V$K$O@55,I=8=$r;XDj$7$^$9!#(B - $BNc$($P(B:</p> -<pre> - <FilesMatch "\.(gif|jpe?g|png)$"> -</pre> - - <p>$B$O0lHLE*$J%$%s%?!<%M%C%H$N2hA|7A<0$K%^%C%A$7$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nJ}K!(B</a></p> - <hr /> - - <h2><a id="group" name="group">Group $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Group - <em>unix-group</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>Group - $B%G%#%l%/%F%#%V$O!"%5!<%P$,%j%/%(%9%H$K1~Ez$9$k:]$N%0%k!<%W$r@_Dj$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$r;H$&$?$a$K$O!"%9%?%s%I%"%m!<%s%5!<%P$r(B root - $B$G5/F0$7$J$1$l$P$J$j$^$;$s!#(B - <em>Unix-group</em> $B$O!"0J2<$N$I$A$i$+$r$H$j$^$9!#(B</p> - - <dl> - <dt>$B%0%k!<%WL>(B</dt> - - <dd>$BL>A0$G%0%k!<%W$r;XDj$7$^$9!#(B</dd> - - <dt># $B$r@hF,$K%0%k!<%W(BID</dt> - - <dd>$B?t;z$G%0%k!<%W$r;XDj$7$^$9!#(B</dd> - </dl> - <p>$B%5!<%P$r<B9T$9$k$?$a$K?7$7$$%0%k!<%W$r:n@.$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B - <code>nobody</code> $B$H;XDj$9$k4IM}<T$b$$$^$9$,!"$=$N%f!<%6$OMxMQ2DG=$G$J$$(B - $B>l9g$b$"$j$^$9$7!"K>$^$7$/$b$"$j$^$;$s!#(B</p> - - <p>$BNc(B:</p> - - <code>Group www-group</code> - - <p>$BCm0UE@(B: root $B%f!<%60J30$G%5!<%P$r5/F0$5$l$?>l9g!"(B - $B;XDj$7$?%0%k!<%W$X0\$k$3$H$,$G$-$:!"$=$N$^$^$N%f!<%6$G<B9T$5$l$^$9!#(B</p> - - <p>$BFC$KCm0U$9$Y$-E@(B: <VirtualHost> - $BFb$G$3$N%G%#%l%/%F%#%V$r;HMQ$9$k$?$a$K$O!"(B<a href="../suexec.html">suEXEC - $B%i%C%Q!<(B</a>$B$,@_Dj$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B - $B$3$N>l9g!"(BCGI $B$r<B9T$9$k$H$-$K$N$_!";XDj$7$?%0%k!<%W$,MxMQ$5$l$^$9!#(B - CGI $B0J30$N>l9g$K$O!"%a%$%s@_Dj$K$*$1$k(B Group - $B%G%#%l%/%F%#%V$G;XDj$5$l$?%0%k!<%W$G=hM}$5$l$^$9!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B%;%-%e%j%F%#$K4X$9$k2r@b$O(B <a href="#user">User</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="hostnamelookups" - name="hostnamelookups">HostnameLookups $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> HostnameLookups - on|off|double<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>HostnameLookups - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - <code>double</code> $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B$h$jA0$O%G%U%)%k%H$,(B - <code>on</code> $B$K$J$C$F$$$^$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%[%9%HL>$r%m%0<}=8$G$-$k$h$&$K(B DNS - $B%k%C%/%"%C%W$rM-8z$K$7$^$9(B ($B$5$i$K!"(BCGI/SSI $B$K(B - <code>REMOTE_HOST</code> $BJQ?t$H$7$FEO$7$^$9(B)$B!#(B<code>double</code> - $B$r;XDj$7$?>l9g!"Fs=E$N5U0z$-$r9T$$$^$9!#$D$^$j!"5U0z$-$N8e$K!"(B - $B$=$N7k2L$KBP$7$F@50z$-$r9T$$$^$9!#@50z$-$N7k2L$N(B IP - $B%"%I%l%9$NCf$K%*%j%8%J%k$N%"%I%l%9$H0lCW$9$k$b$N$,$J$1$l$P$J$j$^$;$s(B - ("tcpwrappers" $B$NMQ8l$G$O(B PARANOID $B$H8F$P$l$F$$$^$9(B)$B!#(B</p> - - <p>$B$A$J$_$K!"(B<a href="mod_access.html">mod_access</a> - $B$G%[%9%HL>$K$h$k%"%/%;%9@)8f$r9T$&>l9g$K$O!"@_Dj$NG!2?$K$h$i$:(B - $BFs=E$N5U0z$-$,<B9T$5$l$^$9!#(B - $B$3$l$O!"%;%-%e%j%F%#$rJ]$D$?$a$KI,MW$G$9!#(B - <code>HostnameLookups double</code> $B$r@_Dj$7$J$$8B$j!"(B - $BB>$NItJ,$O$3$NFs=E5U0z$-$N7k2L$r;H$&$3$H$O$G$-$^$;$s!#Nc$($P!"(B - <code>HostnameLookups on</code> $B$H@_Dj$7$F$"$k>uBV$G!"(B - $B%[%9%HL>$K$h$k%"%/%;%9@)8B$r9T$C$?%*%V%8%'%/%H$X$N(B - $B%j%/%(%9%H$r<u$1$?$H$9$k$H!"Fs=E$N5U0z$-$,@.8y$9$k$+H]$+$K$h$i$:!"(B - <code>REMOTE_HOST</code> $B$K$ODL>o$N5U0z$-7k2L$,EO$5$l$^$9!#(B</p> - - <p>Apache 1.3 $B$h$jA0$N%P!<%8%g%s$G$O!"$3$N%G%#%l%/%F%#%V$N%G%U%)%k%H$O(B - <code>on</code> $B$G$7$?$,!"(B - $BK\Ev$K5U0z$-$rI,MW$H$7$F$$$k$o$1$G$O$J$$%5%$%H$N(B - $B%M%C%H%o!<%/%H%i%U%#%C%/$rDc8:$5$;$k$?$a$K!"(B<code>off</code> - $B$KJQ99$5$l$^$7$?!#%k%C%/%"%C%W$K$h$kM>7W$JCY1d$,$J$/$J$k$?$a!"(B - $B%(%s%I%f!<%6$K$H$C$F$bNI$$$G$7$g$&!#(B - DNS $B$N%k%C%/%"%C%W$K$O!"$+$J$j$N;~4V$,I,MW$H$J$k>l9g$,B?$/!"(B - $BIi2Y$N9b$$%5%$%H$G$O$3$N%G%#%l%/%F%#%V$O(B <code>off</code> - $B$K$9$Y$-$G$9!#$J$*!"(B<em>/support</em> $B%G%#%l%/%H%j$K4^$^$l$k(B - <a href="../programs/logresolve.html">logresolve</a> - $B%f!<%F%#%j%F%#$K$h$j!"(BApache $B$NF0:n$H$OJL$K!"%m%0$K;D$5$l$F$$$k(B - IP $B%"%I%l%9$+$i%[%9%HL>$r%k%C%/%"%C%W$9$k$3$H$,2DG=$G$9!#(B</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">IdentityCheck - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> IdentityCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>IdentityCheck - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%/%i%$%"%s%H%^%7%s>e$G(B - identd $B$d$=$l$KN`;w$7$?%G!<%b%s$,F0:n$7$F$$$k$H$-$K!"(B - $B$=$l$>$l$N@\B3$KBP$7$F(B RFC 1413 - $B$K=`=h$7$?%j%b!<%H%f!<%6$NL>A0$N%m%.%s%0$r9T$&$h$&$K$7$^$9!#(B - $B$3$N>pJs$O!"%"%/%;%9%m%0$K<}=8$5$l$^$9!#(B</p> - - <p>$B$3$3$GF@$i$l$?>pJs$O4JC1$J%f!<%6DI@W$K;H$&0J30$O!"(B - $BA4$/?.Mj$9$k$Y$-$G$O$"$j$^$;$s!#(B</p> - - <p>$B$9$Y$F$N%j%/%(%9%H$KBP$7$F%k%C%/%"%C%W$,9T$o$l$^$9$N$G!"(B - $B?<9o$JCY1d$NLdBj$r5/$3$9$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - ($BLuCm(B: $BNc$($P%/%i%$%"%s%HB&$K(B) $B%U%!%$%"%&%)!<%k$,$"$k$H!"(B - $B%k%C%/%"%C%W$,<:GT$7!"3F%j%/%(%9%H$K(B 30 - $BIC$NCY1d$,2C$o$k$3$H$K$J$k2DG=@-$,$"$j$^$9!#(B - $B=>$C$F!"0lHLE*$K$O%$%s%?!<%M%C%H$+$i%"%/%;%92DG=$J%Q%V%j%C%/$J%5!<%P$G(B - $BM-1W$J$b$N$G$O$"$j$^$;$s!#(B</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <IfDefine - [!]<em>parameter-name</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> <IfDefine> - $B$O(B Apache 1.3.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><IfDefine <em>test</em>>...</IfDefine> - $B%;%/%7%g%s$O!"%G%#%l%/%F%#%V$r>r7oIU$-$G;XDj$9$k$?$a$KMxMQ$7$^$9!#(B - IfDefine $B%;%/%7%g%s$K4^$^$l$k%G%#%l%/%F%#%V$O!"(B<em>test</em> - $B$,Dj5A$5$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#$b$7!"(B<em>test</em> - $B$,Dj5A$5$l$F$$$J$1$l$P!"(B - $B3+;O$H=*N;$N;XDj$N4V$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p> - - <p><IfDefine> $B%;%/%7%g%s%G%#%l%/%F%#%V$K;XDj$9$k(B - <em>test</em> $B$O!"<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9!#(B</p> - - <ul> - <li><em>parameter-name</em></li> - - <li><code>!</code><em>parameter-name</em></li> - </ul> - - <p>$BA0<T$N%1!<%9$G$O!"$b$7(B <em>parameter-name</em> - $B$HL>IU$1$i$l$?%Q%i%a!<%?$,Dj5A$5$l$F$$$l$P!"(B - $B3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#8e<T$N>l9g$O5U$G!"(B - <em>parameter-name</em> - $B$,;XDj$5$l$F(B<strong>$B$$$J$$(B</strong>$B>l9g$K=hM}$5$l$^$9!#(B</p> - - <p><em>parameter-name</em> $B0z?t$O!"%5!<%P$r5/F0$9$k:]$K(B - <code>httpd</code> $B$N%3%^%s%I%i%$%s$K(B - <code>-D</code><em>parameter-</em> $B$H$$$&7A$G;XDj$9$k$HDj5A$5$l$^$9!#(B </p> - - <p><IfDefine> $B%;%/%7%g%s$OF~$l;R$K$9$k$3$H$,$G$-!"(B - $BJ#?t$N%Q%i%a!<%?$K$h$k%F%9%H$r$9$k$?$a$K;HMQ$G$-$^$9!#(B - $BNc(B:</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule"><IfModule> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <IfModule - [!]<em>module-name</em>> <em>...</em> - </IfModule><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> IfModule $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><IfModule <em>test</em>>...</IfModule> - $B%;%/%7%g%s$O!"%G%#%l%/%F%#%V$r>r7oIU$-$G;XDj$9$k$?$a$KMxMQ$7$^$9!#(B - IfModule $B%;%/%7%g%s$K4^$^$l$k%G%#%l%/%F%#%V$O!"(B<em>test</em> - $B$G;XDj$9$k%b%8%e!<%k$,AH$_9~$^$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#$b$7(B - <em>test</em> $B$,AH$_9~$^$l$F$$$J$1$l$P!"3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V(B - $B$OL5;k$5$l$^$9!#(B</p> - - <p><IfModule> $B%;%/%7%g%s%G%#%l%/%F%#%V$K;XDj$9$k(B - <em>test</em> $B$O!"<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9!#(B</p> - - <ul> - <li><em>module name</em></li> - - <li>!<em>module name</em></li> - </ul> - - <p>$BA0<T$N%1!<%9$G$O!"$b$7(B<em>module name</em> - $B$HL>IU$1$i$l$?%b%8%e!<%k$,(B Apache $B$KAH$_9~$^$l$F$$$l$P(B - ($B%3%s%Q%$%k:Q$_$N$b$N$H!"(B<a - href="mod_so.html#loadmodule">LoadModule</a> - $B$rMxMQ$7$FF0E*$KFI$_9~$s$@$b$N$NN>J}(B)$B!"(B - $B3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#8e<T$N>l9g$O5U$G!"(B - <em>module name</em> - $B$,AH$_9~$^$l$F(B<strong>$B$$$J$$(B</strong>$B>l9g$K=hM}$5$l$^$9!#(B</p> - - <p><em>module name</em> - $B0z?t$O!"%3%s%Q%$%k$r$7$?;~$N%b%8%e!<%k$N%U%!%$%kL>$G!"Nc$($P(B - <code>mod_rewrite.c</code> $B$H$$$C$?7A$K$J$j$^$9!#(B</p> - - <p><IfModule> $B%;%/%7%g%s$OF~$l;R$K$9$k$3$H$,2DG=$G$"$j!"(B - $BJ#?t$N%b%8%e!<%k$N%F%9%H$r9T$&$?$a$K;HMQ$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="include" name="include">Include $B%G%#%l%/%F%#%V(B</a></h2> - <strong>$B9=J8(B:</strong> Include - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Include $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$K$h$j!"%5!<%P$N@_Dj%U%!%$%k$+$i(B - $BB>$N@_Dj%U%!%$%k$r%$%s%/%k!<%I$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><em>file-path</em> $B$O!"(B($B%9%i%C%7%e$+$i;O$^$k(B) $B%U%k%Q%9$+!"(B - <code>ServerRoot</code> $B$+$i$NAjBP%Q%9$G;XDj$7$^$9!#(B</p> - - <p>Apache 1.3.13 $B$+$i!"(B<code>Include</code> $B$K%U%!%$%k$NBe$o$j$K(B - $B%G%#%l%/%H%j$r;XDj$9$k$3$H$K$h$C$F!"(B - $B%G%#%l%/%H%j$H$=$N%5%V%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$r(B - $BFI$_9~$s$G=hM}$G$-$k$h$&$K$J$j$^$7$?!#(B</p> - <p>$B%o%$%k%I%+!<%I$r;H$&$3$H$G!"$3$l$rNc$($P(B '*.conf' - $B%U%!%$%k$N$_$K@)8B$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Include /usr/local/apache/conf/ssl.conf<br /> - Include /usr/local/apache/conf/vhosts/ - </code> - </blockquote> - - <p><code>ServerRoot</code> $B$+$i$NAjBP%Q%9$N>l9g$O(B:</p> - - <blockquote> - <code>Include conf/ssl.conf<br /> - Include conf/vhosts/ - </code> - </blockquote> - - <p>$B$J$*!"%G%#%l%/%H%j$r;XDj$9$k:]$O!"%(%G%#%?$N%F%s%]%i%j%U%!%$%k$J$I!"(B - $BL\E*30$N%U%!%$%k$rCV$+$J$$$h$&$K$7$J$1$l$P$J$j$^$;$s!#(B - $B$=$N$h$&$J%U%!%$%k$,$"$k$H!"(BApache $B$O$=$l$i$+$i%G%#%l%/%F%#%V$r(B - $BFI$_9~$b$&$H$7$F!"5/F0$K<:GT$9$k$+$b$7$l$^$;$s!#(B - <code>apachectl configtest</code> $B$r<B9T$9$k$H!"@_Dj$r%A%'%C%/$7$F$$$k;~$K(B - $BFI$_9~$^$l$?%U%!%$%k$N%j%9%H$,I=<($5$l$^$9(B:</p> - -<pre> -root@host# apachectl configtest - Processing config directory: /usr/local/apache/conf/vhosts - Processing config file: /usr/local/apache/conf/vhosts/vhost1 - Processing config file: /usr/local/apache/conf/vhosts/vhost2 -Syntax OK -</pre> - - <p>$B$3$l$K$h$j!"@_Dj$N0lIt$H$7$F0U?^$7$?%U%!%$%k$@$1$,(B - $B;H$o$l$F$$$k$+$I$&$+$r3NG'$G$-$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: <a - href="../programs/apachectl.html">apachectl</a></p> - - <hr /> - - <h2><a id="keepalive" name="keepalive">KeepAlive - $B%G%#%l%/%F%#%V(B</a></h2> - <strong>Syntax: (Apache 1.1)</strong> KeepAlive - <em>max-requests</em><br /> - <strong>Default: (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntax: (Apache 1.2)</strong> KeepAlive on|off<br /> - <strong>Default: (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> KeepAlive $B$O(B Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>HTTP/1.0 $B$N(B Keep-Alive $B3HD%$H(B HTTP/1.1 - $B$N;}B3E*@\B3$N5!G=$O!"J#?t$N%j%/%(%9%H$,F1$8(B TCP - $B$N@\B3$GAw$i$l$k!"D9;~4V;}B3$9$k(B HTTP - $B%;%C%7%g%s$rDs6!$7$^$9!#$?$/$5$s$N2hA|$,4^$^$l$k(B HTML - $B%I%-%e%a%s%H$G$O>l9g$K$h$C$F$OCY1d;~4V$,(B 50% - $BC;=L$5$l$k7k2L$b$G$F$$$^$9!#(BApache 1.2 $B0J9_$G(B Keep-Alive - $B@\B3$rM-8z$K$9$k$K$O(B <code>KeepAlive On</code> $B$H@_Dj$7$^$9!#(B</p> - - <p>HTTP/1.0 $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B - $B%/%i%$%"%s%H$h$jFC$KMW5a$,$"$C$?>l9g$N$_(B Keep-Alive $B@\B3$H$J$j$^$9!#(B - $B$5$i$K!"(BHTTP/1.0 $B%/%i%$%"%s%H$G$O!"%3%s%F%s%D$NMFNL$,@h$K(B - ($BLuCm(B: $BMW5a$KBP$7$F1~Ez$rJV$9A0$K(B) $B$o$+$k>l9g$N$_(B Keep-Alive - $B@\B3$rMxMQ$G$-$^$9!#$3$l$O!"(BCGI $B$N=PNO$d(B SSI $B$N%Z!<%8!"(B - $B%5!<%P$,@8@.$7$?%G%#%l%/%H%j$N%j%9%H$N$h$&$JF0E*%3%s%F%s%D$r(B - HTTP/1.0 $B%/%i%$%"%s%H$KAw$k>l9g$K$O(B Keep-Alive - $B@\B3$r;H$($J$$$3$H$r0UL#$7$^$9!#(BHTTP/1.1 - $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B - $BFC$K;XDj$5$l$J$$8B$j$O%G%U%)%k%H$H$7$F;}B3E*$J@\B3$,9T$J$o$l$^$9!#(B - $B%/%i%$%"%s%H$,MW5a$9$l$P!"%3%s%F%s%D$NMFNL$rH=JL$G$-$J$$$b$N$r(B - $B;}B3E*$J@\B3$rDL$7$FAw$k$?$a$K!"%A%c%s%/%(%s%3!<%G%#%s%0$,MQ$$$i$l$^$9!#(B</p> - - <p><strong>Apache 1.1 $B$N$_(B</strong>: - Apache $B$,@\B3$4$H$K<uIU$G$-$kMW5a$N:GBg?t$r(B <em>max-requests</em> - $B$K$F;XDj$G$-$^$9!#(B - $B@)8B$O!"%5!<%P$N%j%=!<%9$rB?Bg$KMxMQ$9$k$h$&$J%/%i%$%"%s%H$rKI$0$?$a$K(B - $B9T$J$$$^$9!#(B - <code>0</code> $B$K@_Dj$9$k$H@)8BCM$O$J$/$J$j$^$9!#(B - Apache 1.2 $B5Z$S(B 1.3 $B$N>l9g$K$O!"(BMaxKeepAliveRequests - $B%G%#%l%/%F%#%V$K$h$j@)8f$7$^$9!#(B</p> - - <p>$B;2>H(B <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></p> - <hr /> - - <h2><a id="keepalivetimeout" - name="keepalivetimeout">KeepAliveTimeout $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> KeepAliveTimeout - $B$O(B Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B@\B3$rJD$8$kA0$K!"(BApache $B$,<!$N%j%/%(%9%H$r2?ICBT$D$+$r;XDj$7$^$9!#(B - $B%j%/%(%9%H$r<u$1IU$1$?8e$O!"(B<a - href="#timeout"><code>Timeout</code></a> $B%G%#%l%/%F%#%V$K$h$C$F(B - $B;XDj$5$l$?%?%$%`%"%&%HCM$,;H$o$l$^$9!#(B</p> - - <p><code>KeepAliveTimeout</code> $B$rBg$-$JCM$K@_Dj$9$k$H!"(B - $BIi2Y$N9b$$%5!<%P$K$*$$$F$O%Q%U%)!<%^%s%9$NLdBj$r0z$-5/$3$9>l9g$,$"$j$^$9!#(B - $B%?%$%`%"%&%H$,D9$1$l$PD9$$$[$I!"$h$jB?$/$N%5!<%P%W%m%;%9$,(B - $B3hH/$G$J$$%/%i%$%"%s%H$+$i$N@\B3$N=*N;$rBT$AB3$1$k$3$H$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="limit" name="limit"><Limit> $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Limit - <em>method</em> [<em>method</em>] ... > ... - </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%"%/%;%9@)8f$O!"DL>o(B<strong>$B$9$Y$F$N(B</strong>$B%"%/%;%9%a%=%C%I$KBP$7$F(B - $B1F6A$7!"IaDL$O$3$l$,K>$^$7$$5sF0$G$9!#(B - <strong>$B$=$&$7$?$3$H$+$i!"BgItJ,$N>l9g$K$O%"%/%;%9@)8f$K4X$o$k%G%#%l%/%F%#%V$r(B - <code><limit></code> $B%;%/%7%g%sFb$K=q$/$Y$-$G$O$"$j$^$;$s!#(B </strong></p> - - <p><Limit> - $B%G%#%l%/%F%#%V$NL\E*$O!"%"%/%;%9@)8f$NHO0O$r;XDj$5$l$?(B HTTP - $B%a%=%C%I$K8BDj$9$k$?$a$G$9!#$=$l0J30$N%a%=%C%I$O!"(B<Limit> - $B$G0O$o$l$?%"%/%;%9@)8f$N(B<strong>$B1F6A$r<u$1$^$;$s(B</strong>$B!#(B - $B0J2<$NNc$O!"(BPOST, PUT, DELETE - $B$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$r9T$$!"(B - $B$=$l0J30$N%a%=%C%I$K$D$$$F$O@)8B$7$^$;$s(B:</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - $B%a%=%C%I$NL>A0$K$O!"(BGET, POST, PUT, DELETE, CONNECT, OPTIONS, - PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK - $B$NCf$+$i!"0l$D0J>e$rNs5s$9$k$3$H$,$G$-$^$9!#(B - <strong>$B%a%=%C%I$NL>A0$O!"BgJ8;z>.J8;z$r6hJL$7$^$9!#(B</strong> - $B$^$?!"(BGET $B$r;XDj$9$k$H(B HEAD $B$K4X$7$F$b@)8B$,$+$+$j$^$9!#(B - TRACE $B%a%=%C%I$r@)8B$9$k$3$H$O$G$-$^$;$s!#(B - <hr /> - - <h2><a id="limitexcept" name="limitexcept"><LimitExcept> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <LimitExcept - <em>method</em> [<em>method</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3.5 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><LimitExcept> $B$H(B </LimitExcept> - $B$O!"0z?t$K(B<strong>$B4^$^$l$F$$$J$$(B</strong> HTTP - $B$N%"%/%;%9%a%=%C%I$KE,MQ$9$k$?$a$N%"%/%;%9@)8f(B - $B%G%#%l%/%F%#%V$r0O$`$?$a$KMxMQ$7$^$9!#(B<em>$B$D$^$j(B</em>$B!"(B<a - href="#limit"><Limit></a> $B%;%/%7%g%s$NH?BP$NF0:n$r$7!"(B - $BI8=`$N%a%=%C%I$HI8=`30$dL$G'<1$N%a%=%C%I$N>l9g$NN>J}$r@_Dj$G$-$^$9!#(B - <a href="#limit"><Limit></a> - $B$N%I%-%e%a%s%H$bJ;$;$F;2>H$7$F$/$@$5$$!#(B</p> - - <p>$BNc(B:</p> - - <pre> - <LimitExcept POST GET> - Require valid-user - </LimitExcept> - </pre> - - <hr /> - - <h2><a id="limitrequestbody" - name="limitrequestbody">LimitRequestBody $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestBody - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LimitRequestBody - 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LimitRequestBody - $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%j%/%(%9%H%\%G%#$K$*$$$F5v$5$l$k(B 0 - ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 2147483647 (2GB) - $B$^$G$N%P%$%H?t!"(B<em>bytes</em> $B$r;XDj$7$^$9!#%G%U%)%k%HCM$O!"Dj?t(B - <code>DEFAULT_LIMIT_REQUEST_BODY</code> - $B$K$h$j%3%s%Q%$%k;~$KDj5A$5$l$^$9(B ($BG[I[;~$K$O(B 0 $B$H;XDj$5$l$F$$$^$9(B)$B!#(B</p> - - <p>LimitRequestBody $B%G%#%l%/%F%#%V$O!";XDj$5$l$?%3%s%F%-%9%H(B - ($B%5!<%PA4BN!"%G%#%l%/%H%j!"%U%!%$%k!"%m%1!<%7%g%s(B) $BFb$K$*$$$F(B - HTTP $B%j%/%(%9%H%a%C%;!<%8%\%G%#$N5vMF$5$l$k%5%$%:$K@)8B$r$+$1$k$3$H$,$G$-$^$9!#(B - $B%/%i%$%"%s%H$N%j%/%(%9%H$,$=$N@)8BCM$rD6$($F$$$l$P!"(B - $B%5!<%P$O%j%/%(%9%H$r=hM}$;$:$K%(%i!<$rJV$7$^$9!#(B - $BDL>o$N%j%/%(%9%H%a%C%;!<%8%\%G%#$N%5%$%:$O!"%j%=!<%9$N<oN`$d(B - $B5v2D$5$l$F$$$k%a%=%C%I$K$h$C$FBg$-$/JQ$o$j$^$9!#(B - CGI $B%9%/%j%W%H$O!"$h$/%5!<%P$X%U%)!<%`>pJs$rAw?.$9$k$?$a$K(B - $B%a%C%;!<%8%\%G%#$r;H$$$^$9!#(B - PUT $B%a%=%C%I$N<BAu$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F(B - $B>/$J$/$H$b$"$k%j%=!<%9$KBP$7$F%5!<%P$,<u$1IU$1$h$&$H$9$k(B - $BI=8=$NBg$-$5$[$I$NCM$rI,MW$H$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$B$"$k>l=j$X$N%U%!%$%k%"%C%W%m!<%I$r5v2D$9$k$H$7$?>l9g$K!"(B - $B%"%C%W%m!<%I$G$-$k%U%!%$%k$N%5%$%:$r(B 100K $B$K@)8B$7$?$1$l$P!"(B - $B0J2<$N$h$&$K;XDj$9$l$P$h$$$G$7$g$&!#(B</p> - - <pre>LimitRequestBody 102400</pre> - - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">LimitRequestFields $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestFields - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - LimitRequestFields $B$O(BApache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><em>number</em>$B$K$O!"(B0 ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 32767 - $B$^$G$N?tCM$r;XDj$7$^$9!#(B - $B%G%U%)%k%HCM$O!"Dj?t(B <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> - $B$K$h$j%3%s%Q%$%k;~$KDj5A$5$l$^$9(B ($BG[I[;~$K$O(B 100 $B$H;XDj$5$l$F$$$^$9(B)$B!#(B</p> - - <p>LimitRequestBody $B%G%#%l%/%F%#%V$O!"%5!<%P4IM}<T$,(B HTTP - $B%j%/%(%9%HCf$K$*$$$F5v2D$9$k%j%/%(%9%H%X%C%@%U%#!<%k%I?t$r;XDj$7$^$9!#(B - $B%5!<%P$O$3$NCM$K$ODL>o$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K4^$^$l$k$G$"$m$&(B - $B%U%#!<%k%I$N?t$h$jBg$-$JCM$rI,MW$H$7$^$9!#(B - $B%/%i%$%"%s%H$K$h$j;H$o$l$?MW5a%X%C%@!<%U%#!<%k%I$N?t$,(B - 20 $B$rD6$($k$3$H$O$[$H$s$I$"$j$^$;$s$,!"(B - $B$3$l$O<o!9$N%/%i%$%"%s%H$N<BAu$K$h$C$FJQ$o$j!"(B - $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$K$^$G$b(B - $B1F6A$5$l$k$3$H$,$"$j$^$9!#%*%W%7%g%s$N(B HTTP - $B3HD%$O%j%/%(%9%H%X%C%@%U%#!<%k%I$r;H$C$F8=$5$l$k>l9g$,(B - $BB?$/$"$j$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestFields 50</pre> - - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">LimitRequestFieldsize - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestFieldsize - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - LimitRequestFieldsize $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP - $B%j%/%(%9%H%X%C%@Fb$K4^$a$k$3$H$N$G$-$k%P%$%H!"(B<em>bytes</em> $B$r(B - 0 $B$+$i%3%s%Q%$%k;~$KDj5A$5$l$kDj?t(B - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> ($BG[I[;~$K$O(B 8192 $B$H;XDj(B) - $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> - - <p>LimitRequestFieldsize $B%G%#%l%/%F%#%V$O!"(B - $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B - HTTP $B%j%/%(%9%H%X%C%@$N5vMF$5$l$k%5%$%:$r@)8B$9$k$3$H$,$G$-$^$9!#(B - $B%5!<%P$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F!"(B - $BDL>o$N%/%i%$%"%s%H%j%/%(%9%H$+$iAw$i$l$?8D!9$N%X%C%@%U%#!<%k%I$K(B - $B==J,B-$kBg$-$5$rI,MW$H$7$^$9!#(B - $BIaDL$N%j%/%(%9%H%X%C%@$N%5%$%:$O!"8D!9$N%/%i%$%"%s%H$K$h$jBg$-$/JQ$o$j!"(B - $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$K$^$G$b(B - $B1F6A$5$l$k$3$H$,$"$j$^$9!#(B - </p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestFieldSize 16380</pre> - - <p>$BDL>o$O%G%U%)%k%H$+$iJQ99$9$kI,MW$O$J$$$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="limitrequestline" - name="limitrequestline">LimitRequestLine $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestLine - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LimitRequestLine - 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LimitRequestLine - $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H9TFb$G5vMF$5$l$k%P%$%H?t(B - <em>bytes</em> $B$r(B 0 $B$+$i%3%s%Q%$%k;~$NDj?t(B - <code>DEFAULT_LIMIT_REQUEST_LINE</code> ($BG[I[;~$K$O(B 8192 $B$H;XDj(B) - $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> - - <p>LimitRequestLine $B%G%#%l%/%F%#%V$K$h$j!"%5!<%P4IM}<T$O(B - $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B - $B%/%i%$%"%s%H$+$i$N(B HTTP - $B%j%/%(%9%H9T$N%5%$%:$N@)8B$r9T$&$3$H$,$G$-$^$9!#%j%/%(%9%H9T$O!"(B - HTTP $B%a%=%C%I!"(BURI, $B%W%m%H%3%k%P!<%8%g%s$+$i@.$C$F$*$j!"(B - LimitRequestLine $B$O%5!<%P$X$N%j%/%(%9%H$KBP$7$F5vMF$9$k%j%/%(%9%H(B - URI $B$ND9$5$r@)8B$9$k$3$H$K$J$j$^$9!#%5!<%P$O!"(BGET - $B%j%/%(%9%H$N%/%(%jItJ,$b4^$a$F!"%j%=!<%9$NL>A0$,F~$k$KB-$k(B - $BBg$-$5$rI,MW$H$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestLine 16380</pre> - - <p>$BDL>o$N>l9g$K$O!"%G%U%)%k%H$+$iJQ99$9$kI,MW$J$$$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="listen" name="listen">Listen $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Listen - [<em>IP-address</em>:]<em>port</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Listen $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>Listen $B%G%#%l%/%F%#%V$O!"(BApache $B$,J#?t$N(B IP $B%"%I%l%9$d%]!<%H$r(B - listen $B$9$k$h$&$K;X<($7$^$9!#%G%U%)%k%H$G$O!"$9$Y$F$N(B - IP $B%$%s%?!<%U%'!<%9$X$N%j%/%(%9%H$K1~Ez$7!"(B<code><a - href="#port">Port</a></code> $B%G%#%l%/%F%#%V$,;XDj$7$?%]!<%H$N$_$r(B - listen $B$9$k$3$H$K$J$j$^$9!#(B</p> - <tt><a - href="#bindaddress">BindAddress</a></tt> $B$d(B <tt>Port</tt> - $B$NBe$o$j$K(B <tt>Listen</tt> $B$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - <tt>Listen</tt> $B$OFCDj$N%]!<%H<c$7$/$O%"%I%l%9$H%]!<%H$NAH9g$o$;$K$h$j(B - $B%j%/%(%9%H$N<u$1IU$1$r;XDj$9$k$3$H$,2DG=$G$9!#(B - $B:G=i$N%]!<%HHV9f$N$_$N;XDjJ}K!$rMxMQ$7$?>l9g$K$O!"(B - $B%5!<%P$O(B <tt>Port</tt> $B%G%#%l%/%F%#%V$GM?$($i$l$?%]!<%H$KBe$o$j!"(B - $B$9$Y$F$N%$%s%?!<%U%'!<%9>e$G;XDj$5$l$?%]!<%H$r(B listen - $B$7$^$9!#$b$7!"%]!<%H$H0l=o$K(B IP $B%"%I%l%9$,;XDj$5$l$F$$$l$P!"(B - $B;XDj$5$l$?%$%s%?!<%U%'!<%9$N%]!<%H$r(B listen $B$7$^$9!#(B - - <p>$B$J$*!"(BApache $B$,<+J,$N%5!<%P$r;X$9(B URL $B$r@5$7$/@8@.$G$-$k$h$&$K(B - <tt>Port</tt> $B%G%#%l%/%F%#%V$b;H$&I,MW$,$"$k$+$b$7$l$J$$$3$H$K(B - $BCm0U$7$F$/$@$5$$!#(B</p> - - <p>Listen $B$9$kJ#?t$N%"%I%l%9$H%]!<%H$r;XDj$9$k$?$a$K!"(B - $BJ#?t$N(B Listen $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - $B$=$N>l9g!"%5!<%P$O;XDj$5$l$?$9$Y$F$N%"%I%l%9$H%]!<%H$G!"(B - $B%j%/%(%9%H$KBP$9$k1~Ez$r9T$J$$$^$9!#(B</p> - - <p>$B%5!<%P$,(B 80 $BHV%]!<%H$H(B 8000 $BHV%]!<%H$NN>J}$G@\B3$r<u$1IU$1$k@_Dj$NNc(B:</p> -<pre> - Listen 80 - Listen 8000 -</pre> - $BFs$D$N%$%s%?!<%U%'!<%9$H%]!<%HHV9f$K$*$$$F@\B3$r<u$1IU$1$k@_Dj$NNc(B: -<pre> - Listen 192.170.2.1:80 - Listen 192.170.2.5:8000 -</pre> - - <p><strong>$B;2>H(B:</strong> <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a><br /> - <strong>$B;2>H(B:</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">$B4{CN$N%P%0(B</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">ListenBacklog - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ListenBacklog - <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ListenBacklog - 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ListenBacklog $B$O(B Apache 1.2.0 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B<u$1IU$1$G$-$F$$$J$$@\B3$rBT5!$5$;$k:]$N:GBg?t$r;XDj$7$^$9!#(B - $BDL>o$OJQ99$NI,MW$O$"$j$^$;$s$7!"JQ99$9$k$3$H$OK>$^$7$/$"$j$^$;$s!#(B - $B$7$+$7!"%7%9%F%`$K$h$C$F$O(B TCP SYN $B%U%i%C%I967b$r<u$1$F$$$k$H$-$K(B - $B$3$N?tCM$rA}$d$7$?J}$,NI$$>l9g$,$"$j$^$9!#(B<code>listen(2)</code> - $B%7%9%F%`%3!<%k$N(B backlog $B%Q%i%a!<%?$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>$B$3$N?tCM$O!"(BOS $B$K$h$C$F>.$5$JCM$K@)8B$5$l$F$$$k$3$H$,$h$/$"$j!"(B - OS $B$K$h$C$F$5$^$6$^$G$9!#$5$i$K!"B?$/$N(B OS $B$O(B backlog - $B$G;XDj$5$l$?CM$=$N$b$N$r;H$&$N$G$O$J$/!"$=$l$K4p$E$/CM(B - ($BDL>o$O$h$jBg$-$JCM(B) $B$r;H$&$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="location" name="location"><Location> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Location - <em>URL-path</em>|<em>URL</em>> ... </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Location $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><Location> $B%G%#%l%/%F%#%V$O!"(BURL - $B$K$h$k%"%/%;%9@)8f$rDs6!$7$^$9!#(B<a - href="#directory"><Directory></a> $B%G%#%l%/%F%#%V$H;w$F$$$F!"(B - </Location> $B%G%#%l%/%F%#%V$G=*N;$9$k%5%V%;%/%7%g%s$r3+;O$7$^$9!#(B - <code><Location></code> $B%;%/%7%g%s$O!"(B<Directory> - $B%;%/%7%g%s$H(B <code>.htaccess</code> $B$NFI$_9~$_$N8e!"(B<Files> - $B%;%/%7%g%s$rE,MQ$7$?8e$K!"@_Dj%U%!%$%k$K8=$l$?=g$K=hM}$5$l$^$9!#(B</p> - - <p>URL $B$O%U%!%$%k%7%9%F%`$KBP1~$9$kI,MW$O$J$/!"(B<Location> - $B$O40A4$K%U%!%$%k%7%9%F%`$K4X78$;$:F0:n$9$k$3$H$r6/D4$7$F$*$-$^$9!#(B</p> - - <p>$B$9$Y$F$N%j%/%(%9%H(B ($B%W%m%-%7$r=|$/(B) $B$KBP$7!"(BURL $B$O(B - <code>/path/</code> $B$H$$$&!"(B<code>http://servername</code> - $B$H$$$&@\F,<-$r4^$^$J$$7A$G%^%C%A$7$^$9!#(B - $B%W%m%-%7%j%/%(%9%H$N>l9g$K$O!"(B<code>scheme://servername/path</code> - $B$H$$$&@\F,<-$r4^$`7A$G%^%C%A$7!"@\F,<-$r4^$a$F;XDj$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>URL $B$K$O%o%$%k%I%+!<%I$rMxMQ$9$k$3$H$,$G$-$^$9!#(B - `?' $B$OG$0U$N0lJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B </p> - - <p><strong>Apache 1.2 $B0J9_$N>l9g(B:</strong> - <code>~</code> $B$H$$$&J8;z$rDI2C$9$k$3$H$G!"3HD%@55,I=8=$r(B - $BMxMQ$9$k$3$H$b$G$-$^$9!#(B - $BNc$($P!"(B</p> -<pre> - <Location ~ "/(extra|special)/data"> -</pre> - - <p>$B$O(B URL $B$K(B "/extra/data" $B$+(B "/special/data" - $B$H$$$&J8;zNs$,4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#$=$7$F!"(B - Apache 1.3 $B0J9_$N>l9g$K$O!"(B<code><Location></code> - $B$N@55,I=8=HG$HA4$/F1$8F0:n$r$9$k(B <a - href="#locationmatch"><LocationMatch></a> - $B$H$$$&?7$7$$%G%#%l%/%F%#%V$,$"$j$^$9!#(B</p> - - <p><code>Location</code> $B5!G=$O!"(B<code><a - href="mod_mime.html#sethandler">SetHandler</a></code> - $B%G%#%l%/%F%#%V$HAH9g$o$;$FMxMQ$9$k$HFC$KJXMx$G$9!#(B - $BNc$($P!"(Bfoo.com $B$N%V%i%&%6$+$i$N$_%9%F!<%?%9$N;2>H$rM-8z$K$7$?$1$l$P!"(B - $B<!$N$h$&$K$9$l$PNI$$$G$7$g$&!#(B</p> -<pre> - <Location /status> - SetHandler server-status - Order Deny,Allow - Deny from all - Allow from .foo.com - </Location> -</pre> - - <p><strong>Apache 1.3 $B0J9_$K$*$1$k(B / ($B%9%i%C%7%e(B) - $B$N<h$j07$$$K$D$$$F$NCm0U(B:</strong> - $B%9%i%C%7%eJ8;z$O!"(BURL - $BFb$K8=$l$k>l=j$K1~$8$FJQ$o$kFCJL$J0UL#$r;}$C$F$$$^$9!#(B - $B%U%!%$%k%7%9%F%`$K$*$$$FMxMQ$9$k>l9g$K$OJ#?t$N%9%i%C%7%e$G$b0l$D$N(B - $B%9%i%C%7%e$H$7$F07$o$l$^$9$,!"(B($BNc$($P!"(B<code>/home///foo</code> - $B$O(B <code>/home/foo</code> $B$H$$$C$?$h$&$K(B) URL - $B$K$*$$$F$OI,$:$7$b$=$&$J$k$o$1$G$O$"$j$^$;$s!#(B - <code><LocationMatch></code> - $B%G%#%l%/%F%#%V$d@55,I=8=$rMxMQ$7$?(B <code><Location></code> - $B%G%#%l%/%F%#%V$G$=$N$h$&$JF0:n$r$5$;$?$1$l$P!"(B - $BL@<(E*$KJ#?t$N%9%i%C%7%e$r5-=R$9$kI,MW$,$"$j$^$9!#(B - $BNc$($P!"(B<code><LocationMatch ^/abc></code> $B$O!"(B - <code>/abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K%^%C%A$7$^$9$,!"(B - <code>//abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K$O%^%C%A$7$^$;$s!#(B - ($B@55,I=8=$G$J$$(B) <code><Location></code> $B%G%#%l%/%F%#%V$O!"(B - Proxy $B%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$OF1MM$N$U$k$^$$$r$7$^$9$,!"(B - ($B@55,I=8=$G$J$$(B) <code><Location></code> $B$r(B Proxy - $B$G$J$$%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$O!"(B - $B0l$D$N%9%i%C%7%e$GJ#?t$N%9%i%C%7%e$K%^%C%A$7$^$9!#(B - $BNc$($P!"(B<code><Location /abc/def></code> $B$H;XDj$7!"(B - <code>/abc//def</code> - $B$H$$$&%j%/%(%9%H$,$"$l$P!"%^%C%A$9$k$3$H$K$J$j$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a></p> - <hr /> - - <h2><a id="locationmatch" - name="locationmatch"><LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <LocationMatch - <em>regex</em>> ... </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LocationMatch $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p> - <LocationMatch> $B%G%#%l%/%F%#%V$O!"(B<a - href="#location"><Location></a> $B$HF1$8MM$K(B - URL $B$K$h$k%"%/%;%9@)8f$rDs6!$7$^$9!#(B - $B$?$@$7!"0z?t$OIaDL$NJ8;zNs$G$O$J$/!"@55,I=8=$H$J$j$^$9!#Nc$($P!"(B</p> -<pre> - <LocationMatch "/(extra|special)/data"> -</pre> - - <p>$B$O(B URL $B$K(B "/extra/data" $B$+(B "/special/data" $B$H$$$&J8;zNs$,(B - $B4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a></p> - <hr /> - - <h2><a id="lockfile" name="lockfile">LockFile - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LockFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>LockFile $B%G%#%l%/%F%#%V$O(B Apache $B$,(B USE_FCNTL_SERIALIZED_ACCEPT - $B$+(B USE_FLOCK_SERIALIZED_ACCEPT - $B$G%3%s%Q%$%k$5$l$?$H$-$K;H$&%m%C%/%U%!%$%k$X$N%Q%9$r;XDj$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$ODL>o$O%G%U%)%k%HCM$N$^$^$K$7$F$*$/$Y$-$G$9!#(B - $B$3$l$rJQ$($k<g$JM}M3$O!"(B<code>logs</code> $B%G%#%l%/%H%j$,(B NFS - $B%^%&%s%H$5$l$F$$$k!"$H$$$&$b$N$G$9!#$3$l$O!"(B<strong>$B%m%C%/%U%!%$%k$O(B - $B%m!<%+%k%G%#%9%/>e$K:n$i$l$J$1$l$P$J$i$J$$(B</strong>$B$+$i$G$9!#(B - $B<g%5!<%P%W%m%;%9$N(B PID $B$,%U%!%$%kL>$N8e$KDI2C$5$l$^$9!#(B</p> - - <p><strong>$B%;%-%e%j%F%#(B</strong> <code>/var/tmp</code> - $B$N$h$&$J3'$,=q$-9~$a$k%G%#%l%/%H%j$OHr$1$k$N$,8-L@$G$9!#(B - $B$3$l$O!"%5!<%P$,:n@.$7$h$&$H$9$k%m%C%/%U%!%$%k$HF1$8L>A0$N%U%!%$%k$r(B - $B:n@.$9$k$3$H$G!"%5!<%P$N5/F0$rAK;_$9$k!"$H$$$&%5!<%S%95qH]967b$r(B - $B9T$&$3$H$,2DG=$K$J$k$+$i$G$9!#(B</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">LogLevel - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LogLevel - <em>level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LogLevel - warn</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LogLevel $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>LogLevel $B$O!"%(%i!<%m%0$X5-O?$9$k%a%C%;!<%8$N>iD9@-$r;XDj$7$^$9(B - (<a href="#errorlog">ErrorLog</a> $B%G%#%l%/%F%#%V$r8+$F$/$@$5$$(B)$B!#(B - $B0J2<$N(B <em>level</em> $B$r;XDj$G$-!"=g$K=EMWEY$,2<$,$C$F$$$-$^$9!#(B</p> - - <table> - <tr> - <th align="left"><strong>$B%l%Y%k(B</strong> </th> - - <th align="left"><strong>$B@bL@(B</strong> </th> - <th align="left"><strong>$BNc(B</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>$B6[5^(B - $B%7%9%F%`$,MxMQ$G$-$J$$(B</td> - <td>Child cannot open lock file. Exiting - ($B;R%W%m%;%9$,%m%C%/%U%!%$%k$r3+$1$J$$$?$a=*N;$7$?(B)</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>$BD>$A$KBP=h$,I,MW(B</td> - <td>getpwuid: couldn't determine user name from uid - (getpwuid: UID $B$+$i%f!<%6L>$rFCDj$G$-$J$+$C$?(B)</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>$BCWL?E*$J>uBV(B</td> - <td>socket: Failed to get a socket, exiting child - (socket: $B%=%1%C%H$,F@$i$l$J$$$?$a!";R%W%m%;%9$r=*N;$5$;$?(B)</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>$B%(%i!<(B</td> - <td>Premature end of script headers - ($B%9%/%j%W%H$N%X%C%@$,B-$j$J$$$^$^$G=*$o$C$?(B)</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>$B7Y9p(B</td> - <td>child process 1234 did not exit, sending another SIGHUP - ($B;R%W%m%;%9(B 1234 $B$,=*N;$7$J$+$C$?!#$b$&0lEY(B SIGHUP $B$rAw$k(B)</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>$BIaDL$@$,!"=EMW$J>pJs(B</td> - <td>httpd: caught SIGBUS, attempting to dump core in ... - (httpd: SIGBUS $B%7%0%J%k$r<u$1!"(B... $B$X%3%"%@%s%W$r$7$?(B)</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>$BDI2C>pJs(B</td> - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..." ($B!V%5!<%P$OIi2Y$,9b$$!"(B - (StartServers $B$d(B Min/MaxSpareServers $B$NCM$rA}$d$9I,MW$,$"$k$+$b(B)$B!W(B)</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>$B%G%P%C%0%a%C%;!<%8(B</td> - <td>"Opening config file ..." ($B@_Dj%U%!%$%k$r3+$$$F$$$k(B...)</td> - </tr> - </table> - - <p>$BFCDj$N%l%Y%k$,;XDj$5$l$?>l9g!"$=$l$h$j9b$$%l%Y%k$N$9$Y$F$N(B - $B%a%C%;!<%8$,Js9p$5$l$^$9!#(B - <em>$BNc$($P(B</em>$B!"(B<code>LogLevel info</code> $B$K;XDj$9$k$H!"(B - <code>notice</code> $B$H(B <code>warn</code> $B$bJs9p$5$l$^$9!#(B</p> - - <p>$B$J$*(B <code>crit</code> $B0J>e$r;XDj$9$k$3$H$,?d>)$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LogLevel notice</pre> - - <hr /> - - <h2><a id="maxclients" name="maxclients">MaxClients - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxClients - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MaxClients - 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxClients - $B%G%#%l%/%F%#%V$O!"F1;~$K%5%]!<%H$G$-$k:GBg%j%/%(%9%H?t$r@_Dj$7$^$9!#(B - $B;R%5!<%P%W%m%;%9$O!"$3$l$h$jB?$/$O:n@.$5$l$^$;$s!#(B - $B$J$*!"(B256 $B%/%i%$%"%s%H$h$jBg$-$J?tCM$r;XDj$9$k$?$a$K$O!"(Bhttpd.h $B$N(B - HARD_SERVER_LIMIT $B$rJT=8$7$F:F%3%s%Q%$%k$7$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>MaxClients $B$N@)8B$rD6$($?@\B3$O!"DL>o$O(B <a - href="#listenbacklog">ListenBacklog</a> - $B%G%#%l%/%F%#%V$G;XDj$7$??t$^$G%-%e!<$KF~$l$i$l$^$9!#(B - $B$=$7$F!"JL$N%j%/%(%9%H$r=*N;$7;R%W%m%;%9$,2rJ|$5$l$?;~E@$G!"(B - $B@\B3$,<u$1IU$1$i$l$^$9!#(B</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">MaxKeepAliveRequests - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxKeepAliveRequests - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>MaxKeepAliveRequests $B%G%#%l%/%F%#%V$O!"(B<a - href="#keepalive">KeepAlive</a> $B$,M-8z$J>l9g$K!"(B - $B0l2s$N@\B3$G<u$1IU$12DG=$J%j%/%(%9%H$N?t$r@)8B$7$^$9!#(B - "<code>0</code>" $B$K@_Dj$7$F$$$l$P!"<u$1IU$1$k%j%/%(%9%H$OL5@)8B$K$J$j$^$9!#(B - $B$3$N@_Dj$O!"%5!<%P@-G=$r8~>e$5$;$k$?$a$K!"Bg$-$J?tCM$r;XDj$9$k$3$H$r4+$a$^$9!#(B - $B$J$*!"(BApache 1.1 $B$G$O$3$NCM$O!"(BKeepAlive - $B%G%#%l%/%F%#%V$N%*%W%7%g%s$H$7$F;XDj$5$l$F$$$^$7$?!#(B</p> - - <p>$BNc(B</p> - - <pre>MaxKeepAliveRequests 500</pre> - - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">MaxRequestsPerChild - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxRequestsPerChild - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxRequestsPerChild $B%G%#%l%/%F%#%V$O!"(B - $B8D!9$N;R%5!<%P!<%W%m%;%9$,=hM}$G$-$k%j%/%(%9%H$N:GBg?t$r@_Dj$7$^$9!#(B - MaxRequestsPerChild - $B$G;XDj$5$l$??t$N%j%/%(%9%H$r=hM}$9$k$H!";R%W%m%;%9$O=*N;$7$^$9!#(B - $B$J$*!"(B0 $B$r;XDj$9$k$H!"%W%m%;%9$O8B$j$J$/F0$-$D$E$1$^$9!#(B</p> - - <p>MaxRequestsPerChild $B$K$h$j!":GBg?t$r(B 0 - $B0J30$NCM$K@_Dj$9$k$3$H$O!"Fs$D$NM-1W$J8z2L$,$"$j$^$9!'(B</p> - - <ul> - <li>($BM=4|$;$L(B) $B%a%b%j%j!<%/$K$h$C$F%W%m%;%9$,>CHq$9$k(B - $B%a%b%j$NAmNL$r@)8B$9$k$3$H$,$G$-$^$9!#(B</li> - - <li>$B%W%m%;%9$N<B9T;~4V@)8B$,@_$1$i$l$k$3$H$K$h$j!"(B - $B%5!<%P$NIi2YDc8:;~$K%W%m%;%9$N?t$r8:>/$5$;$k$3$H$r=u$1$^$9!#(B</li> - </ul> - - <p>$B$?$@$7!"(BWin32 $B$K$*$$$F$O$3$l$r(B 0 $B$K@_Dj$7$?J}$,NI$$$G$7$g$&!#(B - 0 $B0J30$r;XDj$9$k$H!"%j%/%(%9%H$N@)8B$KE~C#$7$?$H$-$K;R%W%m%;%9$,=*N;$7!"(B - $B;R%W%m%;%9$,$b$&0lEY:n$i$l!"$=$N:]$K@_Dj%U%!%$%k$rFI$_D>$7$^$9!#(B - $B$3$l$K$h$j!"@_Dj%U%!%$%k$r=$@58e$K!"(B - $B$^$@=$@5FbMF$,E,MQ$5$l$k$N$r4|BT$7$F$$$J$$$H$-$K(B - $BM=4|$;$L?6$kIq$$$r$9$k$3$H$,$"$j$^$9!#(B - <a href="#threadsperchild">ThreadsPerChild</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$BCm0U(B:</strong> <em>KeepAlive</em> $B%j%/%(%9%H$N>l9g!"(B - $B:G=i$N%j%/%(%9%H$N$_%+%&%s%H$5$l$^$9!#(B - $B<B<AE*$K$O;R%W%m%;%9$"$?$j$N(B<em>$B@\B3?t(B</em>$B$r;XDj$9$k$b$N$H$$$($^$9!#(B</p> - <hr /> - - <h2><a id="maxspareservers" - name="maxspareservers">MaxSpareServers $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxSpareServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MaxSpareServers - 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxSpareServers $B%G%#%l%/%F%#%V$O!"(B<em>$B%"%$%I%k>uBV(B</em>$B$G$"$k(B - $B;R%5!<%P%W%m%;%9$NK>$^$7$$:GBg?t$r;XDj$7$^$9!#(B - $B%"%$%I%k>uBV$N%W%m%;%9$H$O!"%j%/%(%9%H$r=hM}$7$F$$$J$$%W%m%;%9$N$3$H$G$9!#(B - MaxSpareServers $B$G;XDj$7$??t0J>e$,%"%$%I%k>uBV$G$"$l$P!"(B - $B?F%W%m%;%9$OA}$($9$.$?%W%m%;%9$r(B kill $B$7$^$9!#(B</p> - - <p>$B$3$N?tCM$NJQ99$O!"$H$F$b%"%/%;%9$NB?$$%5%$%H$K$*$$$F$N$_I,MW$H$J$k$G$7$g$&!#(B - $BBg$-$J?tCM$r;XDj$9$k$3$H$O!"$[$H$s$I$N>l9g$K$ONI$/$J$$@_Dj$G$9!#(B</p> - - <p>$B$J$*!"$3$l$O(B<em>$BM=Hw(B</em>$B%5!<%P$N:GBg?t$G$"$j!"(B - $B%/%i%$%"%s%H$+$i$N%j%/%(%9%H$r0lEY$K$I$l$@$1=hM}$G$-$k$N$+$N:GBg?t$r(B - $B;XDj$9$k$b$N$G$O$"$j$^$;$s!#(B - $B$b$7!"$=$&$$$C$?:GBg?t$r;XDj$7$?$$$N$G$"$l$P!"(B<a - href="#maxclients">MaxClients</a> $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BMicrosoft Windows $B%W%i%C%H%U%)!<%`$K$*$1$k(B - Apache $B%5!<%P$G$O0UL#$r;}$A$^$;$s!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a>$B!"(B<a - href="#startservers">StartServers</a>$B!"(B<a - href="#maxclients">MaxClients</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="minspareservers" - name="minspareservers">MinSpareServers $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MinSpareServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MinSpareServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MinSpareServers $B%G%#%l%/%F%#%V$O!"(B<em>$B%"%$%I%k>uBV(B</em>$B$G$"$k(B - $B;R%5!<%P%W%m%;%9$NK>$^$7$$:G>.?t$r;XDj$7$^$9!#(B - $B%"%$%I%k>uBV$N%W%m%;%9$H$O!"%j%/%(%9%H$r=hM}$7$F$$$J$$%W%m%;%9$N$3$H$G$9!#(B - $B$b$7(B MinSpareServers $B$G;XDj$7$??t$h$j%"%$%I%k>uBV$N%5!<%P$,>/$J$1$l$P!"(B - $B?F%W%m%;%9$O(B 1 $BIC4V$K(B 1 $B8D$r8BEY$H$7$F?7$7$$;R%W%m%;%9$r@8@.$7$^$9!#(B</p> - - <p>$B$3$N?tCM$NJQ99$O!"$H$F$b%"%/%;%9$NB?$$%5%$%H$K$*$$$F$N$_I,MW$H$J$k$G$7$g$&!#(B - $BBg$-$J?tCM$r;XDj$9$k$3$H$O!"$[$H$s$I$N>l9g$K$ONI$/$J$$@_Dj$G$9!#(B</p> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$K$*$$$F$"$k?tCM(B <i>m</i> $B$r;XDj$7$?$H$9$k$H!"(B - <i>n</i> $B$H$$$&?t$N2TF0Cf$N%/%i%$%"%s%H%j%/%(%9%H$,$"$k;~$K!"(B - <i>n + m</i> $B0J>e$N(B <code>httpd</code> - $B%W%m%;%9$,3N<B$KJ];}$5$l$k$h$&$K$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BMicrosoft Windows - $B%W%i%C%H%U%)!<%`$G$O0UL#$r;}$A$^$;$s!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a>$B!"(B<a - href="#startservers">StartServers</a>$B!"(B<a - href="#maxclients">MaxClients</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="namevirtualhost" - name="namevirtualhost">NameVirtualHost $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> NameVirtualHost - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>NameVirtualHost $B%G%#%l%/%F%#%V$O!"(B - <a href="../vhosts/">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$N@_Dj$r9T$$$?$$>l9g$K(B - $BI,MW$H$J$k$b$N$G$9!#(B</p> - - <p><em>addr</em> $B$K$O%[%9%HL>$r;XDj$G$-$^$9$,!">o$K(B IP - $B%"%I%l%9$+%o%$%k%I%+!<%I$r;XDj$9$k$N$,?d>)$5$l$^$9!#(B - <em>$BNc$($P!"(B</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - NameVirtualHost $B%G%#%l%/%F%#%V$O!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r(B - $BMxMQ$7$F%j%/%(%9%H$r<u$1IU$1$k(B IP $B%"%I%l%9$r;XDj$7$^$9!#(B - $B$3$l$O!"IaDL$OL>A0%Y!<%9$N%P!<%A%c%k%[%9%H%"%I%l%9$G$9!#(B - $B$?$@$7!"%U%!%$%"!<%&%)!<%k$dB>$N%W%m%-%7$,%j%/%(%9%H$r<u$1IU$1!"(B - $B0c$&(B IP $B%"%I%l%9$N%5!<%P$K%U%)%o!<%I$9$k$H$$$&>l9g$O!"(B - $B%j%/%(%9%H$rDs6!$7$?$$%^%7%s>e$NJ*M}%$%s%?!<%U%'!<%9$N(B - IP $B%"%I%l%9$r;XDj$9$kI,MW$,$"$j$^$9!#(B - $BJ#?t$N%"%I%l%9$GJ#?t$NL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;XDj$9$k>l9g$O(B - $B3F%"%I%l%9$KBP$7$F%G%#%l%/%F%#%V$r=q$$$F$/$@$5$$!#(B - - <p>$B!V<g%5!<%P!W$d!"$I$N(B _default_ $B%5!<%P$b!"(B - NameVirtualHost $B$G;XDj$7$?(B IP $B%"%I%l%9$X$N%j%/%(%9%H(B - $B$r=hM}$9$k$3$H$O(B<strong>$B$"$j$^$;$s(B</strong> ($B$J$<$+(B NameVirtualHost - $B$r;XDj$7$?$1$I$=$N%"%I%l%9$K(B VirtualHost $B$rDj5A$7$J$+$C$?>l9g$r=|$/(B)$B!#(B</p> - - <p>$B$J$*!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$K%]!<%HHV9f$r;XDj$9$k$3$H$b2DG=$G$9!#(B<br /> - $BNc$($P!"(B</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - Apache 1.3.13 $B0J>e$N>l9g$K$O!"(B<em>addr</em> $B$K(B <code>*</code> - $B$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$K$h$j!"(BNameVirtualHost$B%G%#%l%/%F%#%V$d(B <a - href="#virtualhost"><VirtualHost></a> $B%;%/%7%g%s$G;XDj$5$l$J$+$C$?!"(B - $B$h$j:Y$+$/@_Dj$5$l$F$$$k%"%I%l%90J30$N$9$Y$F$N%"%I%l%9$X$N@\B3$K%^%C%A$7$^$9!#(B - $BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$@$1$rMxMQ$7$?$$>l9g$d!"(B - $B@_Dj%U%!%$%kCf$K%5!<%P$N(B IP - $B%"%I%l%9$r5-=R$9$k$3$H$rK>$^$J$$>l9g$KM-MQ$G$7$g$&!#(B - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H2r@b=q(B</a></p> - <hr /> - - <h2><a id="options" name="options">Options $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Options - [+|-]<em>option</em> [[+|-]<em>option</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>Options $B%G%#%l%/%F%#%V$O!"FCDj$N%G%#%l%/%H%j$KBP$7$F(B - $B$I$N5!G=$rM-8z$K$9$k$N$+$r@)8f$7$^$9!#(B</p> - - <p><em>option</em> $B$r(B <code>None</code> - $B$K;XDj$9$k$H!"FCJL$J5!G=$O$9$Y$FL58z$K$J$j$^$9!#$^$?!"0J2<$N<($9(B - 1 $B8D0J>e$N$b$N$r;XDj$G$-$^$9!#(B</p> - - <dl> - <dt>All</dt> - - <dd>MultiViews $B$r=|$$$?$9$Y$F$N5!G=$,M-8z$H$J$j$^$9!#(B - $B$3$l$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>ExecCGI</dt> - - <dd> - CGI $B%9%/%j%W%H$N<B9T$r5v2D$7$^$9!#(B</dd> - - <dt>FollowSymLinks</dt> - - <dd> - $B%5!<%P$,!"$3$N%G%#%l%/%H%jFb$G%7%s%\%j%C%/%j%s%/$r$?$I$l$k$h$&$K$7$^$9!#(B<br /> - <strong>$BCm0UE@(B</strong>: - $B%5!<%P$,%7%s%\%j%C%/%j%s%/$r$?$I$k>l9g$G$b!"(B - <code><Directory></code> - $B%;%/%7%g%s$K%^%C%A$5$;$k$?$a$N%Q%9L>$O(B<em>$BJQ99$5$l$^$;$s(B</em>$B!#(B<br /> - <strong>$BCm0UE@(B</strong>: <Location> - $BFb$K$3$N%*%W%7%g%s$r;XDj$7$F$bL5;k$5$l$^$9!#(B</dd> - - <dt>Includes</dt> - - <dd> - SSI $B$rM-8z$K$7$^$9!#(B</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - SSI $B$OM-8z$K$J$j$^$9$,!"(B#exec $B%3%^%s%I(B $B$H(B #exec CGI - $B$OL58z$K$J$j$^$9!#$?$@$7!"(B#include virtual $B$K$h$j!"(BScriptAlias - $B$5$l$?%G%#%l%/%H%j$G(B CGI $B$r<B9T$9$k$3$H$O2DG=$G$9!#(B</dd> - - <dt>Indexes</dt> - - <dd> - $B$b$7!"(BURL $B$,%G%#%l%/%H%j$K%^%C%W$9$k%j%/%(%9%H$G$"$C$F!"$+$D(B - DirectoryIndex $B$G;XDj$7$?%U%!%$%k(B ($BNc$($P!"(Bindex.html) $B$,(B - $B%G%#%l%/%H%jFb$KL5$1$l$P!"(B - $B%G%#%l%/%H%jFb$N0lMw$r@07A$7$FJV$;$k$h$&$K$7$^$9!#(B</dd> - - <dt>MultiViews</dt> - - <dd> - <a href="../content-negotiation.html">$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a> - $B$5$l$?(B MultiViews $B$r5v2D$7$^$9!#(B</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - $B%7%s%\%j%C%/@h$N%U%!%$%k$^$?$O%G%#%l%/%H%j$,!"(B - $B%7%s%\%j%C%/%j%s%/$N=jM-%f!<%6(B ID - $B$HF1$8>l9g$K$N$_%7%s%\%j%C%/%j%s%/$r$?$I$l$k$h$&$K$7$^$9!#(B<br /> - <strong>$BCm0UE@(B</strong>: <Location> - $BFb$K$3$N%*%W%7%g%s$r;XDj$7$F$bL5;k$5$l$^$9!#(B</dd> - </dl> - $BDL>o!"%G%#%l%/%H%j$KBP$7$FJ#?t$N(B <code>Options</code> - $B$,E,MQ2DG=$J>l9g!":G$b6a$$$b$N0l$D$N$_$,E,MQ$5$l$^$9!#(B - $BJ#?t$N;XDj$,%^!<%8$5$l$k$o$1$G$O$"$j$^$;$s!#$7$+$7!"$9$Y$F$N(B - <code>Options</code> $B%G%#%l%/%F%#%V$,(B + $B$d(B - - $BIU$-$G;XDj$5$l$?>l9g$O%*%W%7%g%s$NCM$O%^!<%8$5$l$^$9!#(B - + $B$rF,$K$D$1$l$P8=:_$N@_Dj$K2C$($i$l!"(B- - $B$rIU$1$l$P8=:_$N@_Dj$+$i:o=|$5$l$^$9!#(B - - <p>$BNc$($P!"(B+ $B$d(B - $B$rMxMQ$7$J$$>l9g$O(B:</p> - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options Includes<br /> - </Directory></code> - </blockquote> - - /web/docs/spec $B$H$$$&%G%#%l%/%H%j$K$O!"(B<code>Includes</code> - $B$@$1$,E,MQ$5$l$^$9!#$7$+$7!"(B2 $BHVL\$N(B <code>Options</code> $B$G(B - + $B$d(B - $B$rMxMQ$7$F$_$k$H(B: - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options +Includes -Indexes<br /> - </Directory></code> - </blockquote> - - /web/docs/spec $B$H$$$&%G%#%l%/%H%j$K$O!"(B <code>FollowSymLinks</code> - $B$H(B <code>Includes</code> $B$,E,MQ$5$l$^$9!#(B - - - <p><strong>$BCm0U(B:</strong> <code>-IncludesNOEXEC</code> $B<c$7$/$O(B - <code>-Includes</code> - $B$r;XDj$9$k$H!"A0$N@_Dj$,$I$N$h$&$K$J$C$F$$$h$&$H$b(B SSI - $B$OL58z$H$J$j$^$9!#(B</p> - - <p>$B$I$N$h$&$J@_Dj$b$5$l$F$$$J$1$l$P!"%G%U%)%k%H$G$O(B - <code>All</code> $B$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">PidFile $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> PidFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>PidFile $B%G%#%l%/%F%#%V$O%5!<%P$,%G!<%b%s$N%W%m%;%9(B ID - $B$r5-O?$9$k%U%!%$%k$r@_Dj$7$^$9!#%U%!%$%kL>$,%9%i%C%7%e(B - (/) $B$+$i;O$a$i$l$F$$$J$1$l$P!"(BServerRoot $B$+$i$NAjBP%Q%9$H$J$j$^$9!#(B - PidFile $B$O(B <a href="#servertype">standalone</a> - $B%b!<%I$G$N$_;HMQ$G$-$^$9!#(B</p> - - <p><a - href="#errorlog">ErrorLog</a> $B$H(B TransferLog $B$rJD$8$F3+$-D>$7$F!"(B - $B@_Dj%U%!%$%k$r:FFI$_9~$_$5$;$k$3$H$,$G$-$k$h$&$K%5!<%P$K(B - $B%7%0%J%k$rAw$k$3$H$,$G$-$l$PJXMx$J$3$H$,$"$j$^$9!#(B - $B$3$l$O!"(BSIGHUP (kill -1) $B%7%0%J%k$r(B PidFile - $B$K5-:\$5$l$F$$$k%W%m%;%9(B ID $B$KAw$k$3$H$K$h$C$F2DG=$G$9!#(B</p> - - <p>PidFile $B$O%m%0%U%!%$%k$N>l=j$H(B <a - href="../misc/security_tips.html#serverroot">$B0BA4@-(B</a>$B$HF1$8$h$&$J(B - $BCm0U$,I,MW$G$9!#(B</p> - <hr /> - - <h2><a id="port" name="port">Port $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Port - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p><em>number</em>$B$K$O!"(B0 $B$+$i(B 65535 - $B$^$G$NHV9f$r;XDj$7$^$9!#$$$/$D$+$N%]!<%HHV9f(B ($BFC$K(B1024$BHV0JA0(B) - $B$O!"FCDj$N%W%m%H%3%k$N$?$a$KM=Ls$5$l$F$$$^$9!#(B - <code>/etc/services</code> - $B$r8+$k$H!"Dj5A$5$l$F$$$k%]!<%H$N0lMw$,$"$j$^$9!#DL>o!"(BHTTP - $B%W%m%H%3%k$NI8=`$N%]!<%H$O(B 80 $B$G$9!#(B</p> - - <p>Port $B%G%#%l%/%F%#%V$O!"Fs$D$N0UL#$r;}$C$F$*$j!"0l$D$O(B - NCSA $B$N>e0L8_49$H$7$F$NI,MW@-$G$9(B (Apache - $B$N@_Dj$G$O:.F1$7$d$9$$E@$G$9(B)</p> - <ul> - <li>$B%]!<%HHV9f$r;XDj$7$F$$$k(B <a href="#listen">Listen</a> $B$d(B <a - href="#bindaddress">BindAddress</a> $B$,$J$1$l$P!"<g%5!<%PFb(B - (<a href="#virtualhost"><VirtualHost></a> $B%;%/%7%g%s30(B) - $B$K5-=R$9$k$3$H$K$h$C$F!"%5!<%P$,(B listen - $B$9$k%]!<%H$NHV9f$r;XDj$G$-$^$9!#(BListen $B<c$7$/$O(B BindAddress - $B$K$*$$$F(B <code>:number</code> $B$H$$$C$?;XDj$,$5$l$F$$$l$P!"(BPort - $B$O%5!<%P$,(B listen $B$9$k%]!<%H$K$O1F6A$7$^$;$s!#(B</li> - - <li>Port $B%G%#%l%/%F%#%V$NCM$O!"(B<code>SERVER_PORT</code> $B4D6-JQ?t(B - (<a href="mod_cgi.html">CGI</a> $B$d(B - <a href="mod_include.html">SSI</a> $B$K$*$$$F@_Dj$5$l$k(B) - $B$r@_Dj$7!"%5!<%P$,<+J,<+?H$r;2>H$9$k(B URL $B$r@8@.$9$k(B - ($BNc$($P!"<+J,<+?H$X30It%j%@%$%l%/%H$r:n@.$9$k>l9g$J$I(B) - $B>l9g$KMxMQ$5$l$^$9!#$3$NF0:n$O(B <a - href="#usecanonicalname">UseCanonicalName</a> - $B$K$h$jJQ99$G$-$^$9!#(B</li> - </ul> - - Port $B%G%#%l%/%F%#%V$N<g$JF0:n$O!"(B<a href="#servername">ServerName</a> - $B%G%#%l%/%F%#%V$HF1MM$N$b$N$H$_$J$9$3$H$,$G$-$^$9!#(B - ServerName $B$H(B Port - $B$O!"%5!<%P$N(B<em>$B@5<0$J(B</em>$B%"%I%l%9$,!"2?$G$"$k$+$r;XDj$7$^$9!#(B - - <p>80 $BHV%]!<%H$O!"(BUNIX $B$NFCJL$J%]!<%H$N0l$D$G$9!#(B1024 - $BHVL$K~$N$9$Y$F$N%]!<%H$O%7%9%F%`$,;HMQ$9$k$?$a$KM=Ls$5$l$F$$$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"0lHL%f!<%6(B (root $B0J30(B) $B$O;HMQ$9$k$3$H$,$G$-$^$;$s!#(B - $B0lHL%f!<%6$O$=$l0J>e$N%]!<%H$7$+;HMQ$G$-$^$;$s!#$=$N$?$a!"(B - 80 $BHV%]!<%H$r;HMQ$9$k$K$O!"(Broot - $B%"%+%&%s%H$G%5!<%P$r5/F0$7$J$1$l$P$J$j$^$;$s!#(B - $B5/F08e$K!"%]!<%H$r%P%$%s%I$7$?8e!"%j%/%(%9%H$r<u$1IU$1$kA0$K(B - Apache $B$O(B <a href="#user">User - $B%G%#%l%/%F%#%V(B</a>$B$G;XDj$5$l$?!"$h$jFC8"$NDc$$%f!<%6$K0\9T$7$^$9!#(B</p> - - <p>$B$b$7!"(B80 $BHV%]!<%H$r;HMQ$G$-$J$$>l9g$K$O!"(B - $B;HMQ$7$F$$$J$$B>$NG$0U$N%]!<%H$rA*$s$G$/$@$5$$!#(Broot $B0J30$N%f!<%6$J$i!"(B - 8000 $B$J$I$N$h$&$K(B 1023 $B$h$j>e$N%]!<%H$rA*$s$G2<$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B$b$7!"(Broot $B$K$h$C$F%5!<%P$r5/F0$7$?$J$i!"(B - <a href="#user">User</a> $B$r(B root $B0J30$K@_Dj$7$F$/$@$5$$!#@\B3$r(B - root $B$G07$&$H!"%5%$%H$O=EBg$J%;%-%e%j%F%#967b$K$5$i$5$l$k(B - $B2DG=@-$,$"$j$^$9!#(B </p> - <hr /> - - <h2><a id="protocolreqcheck" name="protocolreqcheck">ProtocolReqCheck - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ProtocolReqCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ProtocolReqCheck - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B - <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - ProtocolReqCheck $B$O(B Apache 1.3.27 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Request $B9T$N(B Protocol - $B%U%#!<%k%I$N87L)$J%A%'%C%/$r9T$&$h$&$K$7$^$9!#(BApache $B$N(B 1.3.26 - $B0JA0$N%P!<%8%g%s$O(B (<code>HTTP-1.1</code> $B$N$h$&$J(B) $B4V0c$C$?(B - Protocol $B$rL[$C$F<u$1IU$1$F!"(B<code>HTTP/1.0</code> - $B$H$_$J$7$F$$$^$7$?!#$3$N%P!<%8%g%s$G$O$=$&$G$O$J$/!"(BProtocol - $B%U%#!<%k%I$O@5$7$$$b$N$G$J$1$l$P$J$i$J$/$J$j$^$7$?!#(B - 1.3.26 $B0JA0$NF0:n$,K>$^$7$+$C$?$j!"I,MW$@$C$?$j$9$k>l9g$O(B - <code>ProtocolReqCheck off</code> - $B$H@_Dj$9$k$3$H$K$h$j87L)$J%A%'%C%/$r$7$J$$$h$&$K$G$-$^$9!#(B</p> - - <hr /> - - <h2><a id="require" name="require">Require $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Require - <em>entity-name</em> [<em>entity-name</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"$I$NG'>Z:Q$_$N%f!<%6$,%j%=!<%9$K(B - $B%"%/%;%9$9$k$3$H$,$G$-$k$+$r;XDj$7$^$9!#(B - $B0J2<$N$h$&$J9=J8$K$J$j$^$9!#(B</p> - - <ul> - <li> - Require user <em>userid</em> [<em>userid</em>] ... - - <p>$B;XDj$5$l$?%f!<%6$N$_!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - - <li> - Require group <em>group-name</em> [<em>group-name</em>] ... - - - <p>$B;XDj$5$l$?%0%k!<%W$KB0$9$k%f!<%6$N$_!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - - <li> - Require valid-user - - <p>$B$9$Y$F$NG'>Z$5$l$?%f!<%6$K!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - <li>file-owner - <p>$BL>A0$,%U%!%$%k$N=jM-<T$N%7%9%F%`$G$NL>A0$K9g$&%f!<%6$@$1$,(B - $B%j%=!<%9$r%"%/%;%9$G$-$^$9!#(B<br> - [Apache 1.3.20 $B0J9_$G;HMQ2DG=(B]</br> - </li> - <li>file-group - <p>$B%U%!%$%k$N=jM-<T$N%0%k!<%W$N%7%9%F%`$G$NL>A0$K9g$&%0%k!<%W$N%a%s%P$@$1$,(B - $B%j%=!<%9$K%"%/%;%9$G$-$^$9!#(B<br>[Apache 1.3.20 $B0J9_$G;HMQ2DG=(B]</p> - </ul> - - <p>Require $B$O!"@5$7$/F0:n$9$k$?$a$K$O(B <a - href="#authname">AuthName</a> $B5Z$S(B <a - href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d!"(B - <a - href="mod_auth.html#authuserfile">AuthUserFile</a> $B5Z$S(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - ($B%f!<%6$H%0%k!<%W$r;XDj$9$k$?$a$K(B) $B$H$$$C$?%G%#%l%/%F%#%V$H6&$K(B - $B;XDj$9$kI,MW$,$"$j$^$9!#(B - $BNc$($P(B:</p> - - <blockquote> - <code>AuthType Basic<br /> - AuthName "Restricted Directory"<br /> - AuthUserFile /web/users<br /> - AuthGroupFile /web/groups<br /> - Require group admin<br /> - </code> - </blockquote> - $B%"%/%;%9@)8f$O!"(B<strong>$B$9$Y$F$N(B</strong>$B%a%=%C%I$KBP$7$F9T$o$l$^$9!#(B - <strong>$BDL>o$O!"$3$l$,K>$^$7$$F0:n$G$9!#(B</strong> - $B$b$7!"FCDj$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$rE,MQ$7!"(B - $BB>$N%a%=%C%I$O@)8B$7$J$$>l9g$K$O!"(B<a - href="#limit"><Limit></a> $B%;%/%7%g%sFb$K(B <code>Require</code> - $B$r;XDj$7$F$/$@$5$$!#(B - - <p><a href="#satisfy">Satisfy</a> $B5Z$S(B <a - href="mod_access.html">mod_access</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">ResourceConfig - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ResourceConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ResourceConfig - conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%U%!%$%kL>$G$O$J$/!"(B - $B%G%#%l%/%H%j$r;XDj$9$k5!G=$O(B Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B - - <p>$B%5!<%P$O(B httpd.conf $B%U%!%$%k$rFI$_9~$s$@8e!"(B - $BDI2C$N%G%#%l%/%F%#%V$r$3$3$G5-$7$?%U%!%$%k$+$iFI$_9~$_$^$9!#(B - <em>File-path</em>$B$O!"(B<a href="#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$G$9!#(B<br /> - $B$3$N5!G=$rL58z$K$9$k$K$O<!$N$h$&$K;XDj$7$^$9!#(B</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - Win32 $B$N>l9g(B - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - - $B0JA0$O!"%5!<%P@_Dj$K4X$9$k%G%#%l%/%F%#%V$H(B <a - href="#directory"><$B%G%#%l%/%H%j(B></a> - $B%;%/%7%g%s0J30$N$[$H$s$I$N%G%#%l%/%F%#%V$,=q$+$l$F$$$^$7$?!#(B - $B<B:]!"8=:_$G$O!V%5!<%P@_Dj%U%!%$%k!W%3%s%F%-%9%H$K5-=R$G$-$k$3$H$9$Y$F$,(B - $B5-=R2DG=$K$J$C$F$$$^$9!#(B - $B$?$@!"(BApache $B$N%P!<%8%g%s(B 1.3.4 $B0J9_$GG[I[$5$l$F$$$k%G%U%)%k%H$N(B - <code>srm.conf</code> $B$G$O$3$N%U%!%$%kFb$K$O%3%a%s%H$7$+=q$+$l$F$*$i$:!"(B - $B$9$Y$F$N%G%#%l%/%F%#%V$,%5!<%P@_Dj%U%!%$%k$N(B <code>httpd.conf</code> - $B$K5-=R$5$l$F$$$^$9!#(B - - <p> - <code>ResourceConfig</code> - $B$,%U%!%$%k$G$O$J$/%G%#%l%/%H%j$r;XDj$7$F$$$l$P!"(BApache - $B$O$=$N%G%#%l%/%H%jFb$H$9$Y$F$N%5%V%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$r(B - $BFI$_9~$_!"$=$l$i$r@_Dj%U%!%$%k$H$7$F=hM}$7$^$9!#(B</p> - <p>$BBe$o$j$K!"%o%$%k%I%+!<%I$r;H$C$FHO0O$r9J$k$3$H$b$G$-$^$9!#(B - $B$9$J$o$A!"(B*.conf $B%U%!%$%k$N$_!"$H$$$C$?$h$&$K!#(B</p> - <p>$B%G%U%)%k%H$G$O;XDj$5$l$?%G%#%l%/%H%j$N!V(B<em>$B$I$N$h$&$J(B</em>$B!W(B - $B%U%!%$%k$G$b@_Dj%U%!%$%k$H$7$FFI$_9~$^$l$^$9!#(B</p> - <p>$B$G$9$+$i8m$C$F(B ($BNc$($P%(%G%#%?$G%F%s%]%i%j%U%!%$%k$r:n@.$9$kEy(B) - $B%U%!%$%k$rCV$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="#accessconfig">AccessConfig</a></p> - <hr /> - - <h2><a id="rlimit" name="rlimit">RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu">$B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitCPU - <em>number</em>|max [<em>number</em>|max] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitCPU $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>CPU $B%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$NIC?t$GI=$o$5$l$^$9!#(B</p> - - <p><a href="#rlimitmem">RLimitMEM</a> $B$d(B <a - href="#rlimitnproc">RLimitNPROC</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">RLimitMEM - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitMEM - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitMEM $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>$B%a%b%j%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$N%P%$%H?t$GI=$5$l$^$9!#(B</p> - - <p><a href="#rlimitcpu">RLimitCPU</a> $B$d(B <a - href="#rlimitnproc">RLimitNPROC</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">RLimitNPROC - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitNPROC - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitNPROC $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>$B%W%m%;%9$N@)8B$O!"%f!<%6$"$?$j$N%W%m%;%9?t$G@)8f$5$l$^$9!#(B</p> - - <p>$BCm0UE@(B: CGI $B%W%m%;%9$,%&%'%V%5!<%P$N%f!<%6(B ID - $B0J30$G<B9T$5$l$k$N$G(B<strong>$BL5$1$l$P(B</strong>$B!"$3$N%G%#%l%/%F%#%V$O!"(B - $B%5!<%P<+?H$,@8@.$G$-$k%W%m%;%9$N?t$r@)8B$9$k$3$H$K$J$j$^$9!#(B - $B$=$N$h$&$J>u67$K$J$C$F$$$k$+$I$&$+$O!"%(%i!<%m%0$NCf$N(B - <strong><em>cannot fork</em></strong> - $B$H$$$&%a%C%;!<%8$K$h$j3NG'$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><a href="#rlimitcpu">RLimitCPU</a> $B$d(B <a - href="#rlimitcpu">RLimitCPU</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Satisfy $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Satisfy any|all<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> Satisfy all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Satisfy $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>Allow</code> $B$H(B <code>Require</code> - $B$NN>J}$,;H$o$l$F$$$k$H$-$N%"%/%;%9%]%j%7!<$r@_Dj$7$^$9!#%Q%i%a!<%?$O(B - <em>'all'</em> $B$+(B <em>'any'</em> - $B$G$9!#$3$N%G%#%l%/%F%#%V$O$"$k>l=j$X$N%"%/%;%9$,%f!<%6L>(B/$B%Q%9%o!<%I(B - <em>$B$H(B</em>$B%/%i%$%"%s%H$N%[%9%H$N%"%I%l%9$G@)8B$5$l$F$$$k$H$-$K$N$_(B - $BLrN)$A$^$9!#%G%U%)%k%H$NF0:n(B ("all") - $B$O%/%i%$%"%s%H$,%"%I%l%9$K$h$k%"%/%;%9@)8B$rK~$?$7!"(B - <em>$B$+$D(B</em>$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$rF~NO$9$k$3$H$rMW5a$7$^$9!#(B - "any" $B$G$O!"%/%i%$%"%s%H$O%[%9%H$N@)8B$rK~$?$9$+!"(B - $B@5$7$$%f!<%6L>$H%Q%9%o!<%I$NF~NO$r$9$k$+$r$9$l$P%"%/%;%9$r5v2D$5$l$^$9!#(B - $B$3$l$O!"$"$k>l=j$r%Q%9%o!<%I$GJ]8n$9$k$1$l$I!"FCDj$N%"%I%l%9$+$i$N(B - $B%/%i%$%"%s%H$K$O%Q%9%o!<%I$NF~NO$rMW5a$;$:$K%"%/%;%9$r5v2D$9$k!"(B - $B$H$$$&$h$&$J$H$-$K;HMQ$G$-$^$9!#(B</p> - - <p><a href="#require">Require</a> $B$H(B <a - href="mod_access.html#allow">Allow</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">ScoreBoardFile - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScoreBoardFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ScoreBoardFile - logs/apache_status</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%"!<%-%F%/%A%c$K$h$C$F$O!"%5!<%P$N?F%W%m%;%9$H;R%W%m%;%9$,(B - $BDL?.$9$k$?$a$N%U%!%$%k$rCV$/>l=j$r;XDj$9$k$?$a$K(B ScoreBoardFile - $B%G%#%l%/%F%#%V$r;H$&I,MW$,$"$k$3$H$,$"$j$^$9!#(B - $B;HMQ$7$F$$$k%"!<%-%F%/%A%c$,(B scoreboard - $B%U%!%$%k$rI,MW$H$7$F$$$k$+$I$&$+$rD4$Y$k0lHV4JC1$JJ}K!$O(B Apache - $B$r<B9T$7$F$3$N%G%#%l%/%F%#%V$G;XDj$5$l$F$$$k(B - $B%U%!%$%k$r:n@.$9$k$+$I$&$+$r8+$k$3$H$G$9!#(B - $B;HMQ$7$F$$$k%"!<%-%F%/%A%c$G$3$l$,I,MW$J>l9g$O!"$3$N%U%!%$%k$r;H$&(B - Apache $B$O0l$D$@$1$G$"$k$3$H$r3N<B$K$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>ScoreBoardFile $B$r;H$&I,MW$,$"$k>l9g$O!"$=$l$r(B RAM - $B%G%#%9%/>e$KCV$/$3$H$GB.EY$,8~>e$9$k$G$7$g$&!#(B - $B$?$@$7!"%m%0%U%!%$%k$N0LCV$H(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#(B</a>$B$K4X$9$k(B - $B7Y9p$r==J,Cm0U$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>Apache 1.2 $B0J9_(B:</p> - - <p>Linux 1.x $B%f!<%6$O(B <code>Configuration</code> $B$N(B - <code>EXTRA_CFLAGS</code> $B$K(B <code>-DHAVE_SHMGET</code> $B$r(B - $B@_Dj$9$k$3$H$,$G$-$k$+$b$7$l$^$;$s!#$3$l$O!"(B1.x - $B$N$$$/$D$+$G$OF0:n$7$^$9$,!"(B - $B$9$Y$F$GF0:n$9$k$H$$$&$o$1$G$O$"$j$^$;$s!#(B(1.3b4 $B$h$jA0$G$O(B - <code>HAVE_SHMGET</code> $B$G==J,$G$7$?!#(B)</p> - - <p>SVR4 $B%f!<%6$O(B <code>Configuration</code> $B$N(B - <code>EXTRA_CFLAGS</code> $B$K(B <code>-DUSE_SHMGET_SCOREBOARD</code> - $B$rDI2C$9$k$3$H$r9MN8$7$?J}$,NI$$$G$7$g$&!#(B - $B$3$l$OF0:n$9$k$H9M$($i$l$F$$$^$9$,!"(B1.2 - $B$N%j%j!<%9$^$G$K%F%9%H$r$9$k$3$H$O$G$-$^$;$s$G$7$?!#(B(1.3b4 - $B$h$jA0$G$O(B <code>HAVE_SHMGET</code> $B$G==J,$G$7$?!#(B)</p> - - <p><strong>$B;2>H(B</strong>: <a - href="../stopping.html">Apache $B$NDd;_$H:F5/F0(B</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptInterpreterSource - registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (Windows $B$N$_(B) - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BApache 1.3.5 $B0J9_$G(B CGI - $B%9%/%j%W%H$r<B9T$9$k>l9g$KMxMQ$9$k%$%s%?!<%W%j%?$r!"(B - $B$I$N$h$&$KC5$7=P$9$+$K$D$$$F@)8f$9$k$?$a$K;HMQ$7$^$9!#(B - $B%G%U%)%k%H$N>l9g$O%9%/%j%W%H$N(B #! - $B9T$K;X$5$l$F$$$k%$%s%?!<%W%j%?$r;HMQ$7$^$9$,(B - ScriptInterpreterSource registry - $B$r;XDj$9$k$H!"%9%/%j%W%H%U%!%$%k$N3HD%;R(B ($BNc$($P!"(B .pl) - $B$r%-!<$H$7$F!"(BWindows $B$N%l%8%9%H%j$r8!:w$9$k$h$&$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">SendBufferSize - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> SendBufferSize - <em>bytes</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$O!"(BTCP - $B%P%C%U%!$N%5%$%:$r;XDj$5$l$?%P%$%H?t$K@_Dj$7$^$9!#9bB.$GBg$-$JCY1d(B - (<em>$BNc$($P(B</em>$B!"(B100ms $BDxEY$"$k$h$&$J9bB.$JBgN&2#CG2s@~$J$I(B) - $B$N$"$k>l9g$K!"%5%$%:$rI8=`$N(B OS - $B$N%G%U%)%k%H0J>e$KBg$-$/$9$k$?$a$KHs>o$KM-MQ$G$9!#(B</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">ServerAdmin - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerAdmin - <em>email-address</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerAdmin - $B$O!"%/%i%$%"%s%H$KJV$9$5$^$6$^$J%(%i!<%a%C%;!<%8Cf$K5-=R$9$k!"(B - $BEE;R%a!<%k$N%"%I%l%9$r@_Dj$7$^$9!#(B</p> - - <p>$B$=$N:]!"$3$l$N$?$a$K@lMQ$N%"%I%l%9$r@_Dj$9$k$N$,NI$$$G$7$g$&!#(B - <em>$BNc$($P!"(B</em></p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - $B$H$$$C$?$h$&$K$7$^$9!#%f!<%6$O$$$D$b%5!<%P$K4X$9$kOC$G$"$k$H$$$&$3$H$r(B - $BL@5-$7$F$/$k$o$1$G$O$"$j$^$;$s$N$G!#(B - - <hr /> - - <h2><a id="serveralias" name="serveralias">ServerAlias - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerAlias - <em>hostname</em> [<em>hostname</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerAlias $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerAlias$B%G%#%l%/%F%#%V$O!"(B<a - href="../vhosts/name-based.html">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$F(B - $B;HMQ$9$k%[%9%H$NJLL>$r;XDj$7$^$9!#(B</p> - - <p>$BNc(B:</p> - - <pre> - <VirtualHost *> - ServerName server.domain.com - ServerAlias server server2.domain.com server2 - ... - </VirtualHost> - </pre> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></p> - <hr /> - - <h2><a id="servername" name="servername">ServerName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerName - <em>fully-qualified-domain-name</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerName $B%G%#%l%/%F%#%V$O!"%5!<%P$N%[%9%HL>$r@_Dj$7$^$9!#(B - $B$3$l$O!"%j%@%$%l%/%H$9$k(B URL $B$r@8@.$9$k:]$KMxMQ$5$l$^$9!#(B - $BFC$K;XDj$,$J$5$l$F$$$J$+$C$?>l9g$K$O!"<+%5!<%P$KIUM?$5$l$F$$$k(B - IP $B%"%I%l%9$+$i?dB,$7$^$9$,!"$3$l$O3N<B$JJ}K!$G$O$J$/!"(B - $B@5$7$$%[%9%HL>$rJV$9$H$b8B$j$^$;$s!#(B<br /> - $BNc$($P(B:</p> - - <blockquote> - <code>ServerName www.example.com</code> - </blockquote> - $B$r!"%^%7%s$KBP$9$k@5$7$$(B ($B%a%$%s$N(B) $BL>A0$,!"(B - <code>simple.example.com</code> $B$G$"$k$H$-$K;H$&$3$H$,$G$-$^$9!#(B - - <p><a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a> - $B$rMxMQ$7$F$$$k>l9g!"(B<a - href="#virtualhost"><code><VirtualHost></code></a> - $B%;%/%7%g%sFb$N(B <code>ServerName</code> - $B$O$3$N%P!<%A%c%k%[%9%H$K%^%C%A$9$k$?$a$K2?$,%j%/%(%9%H$N(B - Host: $B%X%C%@$K8=$l$kI,MW$,$"$k$N$+$r;XDj$7$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>:<br /> - <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <a href="../vhosts/">Apache$B%P!<%A%c%k%[%9%H@bL@=q(B</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">ServerPath - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerPath - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerPath $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerPath $B%G%#%l%/%F%#%V$O!"(B<a - href="../vhosts/">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$FMxMQ$9$k(B - $B%l%,%7!<$J(B URL $B%Q%9L>$r@_Dj$7$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache - $B%P!<%A%c%k%[%9%H@bL@=q(B</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">ServerRoot - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerRoot - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerRoot - /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerRoot - $B%G%#%l%/%F%#%V$O!"%5!<%P$,<g$KMxMQ$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(B - $BDL>o!"(B<code>conf/</code> $B$d(B <code>logs/</code> - $B$H$$$C$?%5%V%G%#%l%/%H%j$,4^$^$l$^$9!#(B - $B$^$?!"B>$N@_Dj%U%!%$%k$K$*$1$kAjBP%Q%9$O!"(B - $B$3$N%G%#%l%/%H%j$+$i$H$J$j$^$9!#(B</p> - - <p><a href="../invoking.html">httpd $B$N(B <code>-d</code> $B$K$D$$$F(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>ServerRoot $B$N8"8B$r$I$N$h$&$K@_Dj$9$k$+$K$D$$$F$O(B <a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$K4X$9$k3P=q(B</a> - $B$K>pJs$,$"$j$^$9!#(B</p> - <hr /> - - <h2><a id="serversignature" - name="serversignature">ServerSignature $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerSignature - On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerSignature - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerSignature - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerSignature $B%G%#%l%/%F%#%V$O!"%5!<%P$,@8@.$9$k%I%-%e%a%s%H(B - ($B%(%i!<%a%C%;!<%8!"(Bmod_proxy $B$K$*$1$k(B FTP $B$N%G%#%l%/%H%j%j%9%H!"(B - mod_info $B$N=PNO!"Ey!9(B) - $B$N:G2<9T$KIUM?$9$k%U%C%?$N@_Dj$r9T$J$$$^$9!#(B - $B$=$N$h$&$J!"%U%C%?9T$rM-8z$K$7$?$$M}M3$H$7$F$O!"(B - $B%W%m%-%7$,J#?tO"$J$C$F$$$k>l9g$K!"%f!<%6$O$I$N%5!<%P$,JV$7$?(B - $B%(%i!<%a%C%;!<%8$+$rCN$k<jCJ$,$[$H$s$IL5$$$+$i$G$9!#(B<br /> - $B%G%U%)%k%H$G$"$k(B <samp>Off</samp> - $B$K@_Dj$r$9$k$H!"%(%i!<$N:]$N9T$,M^@)$5$l$^$9!#(B - ($B$=$7$F!"(BApache-1.2 $B0JA0$H8_49$NF0:n$r$7$^$9(B) - <samp>On</samp> $B$K@_Dj$7$?>l9g$O!"C1$K%I%-%e%a%s%H$NCf$K!"(B - $B%5!<%P$N%P!<%8%g%s!"2TF0Cf$N%P!<%A%c%k%[%9%H$N(B <a - href="#servername">ServerName</a> $B$N=q$+$l$?9T$rDI2C$7!"(B - <samp>EMail</samp> $B$K$7$?>l9g$O$5$i$K;2>H$5$l$?%I%-%e%a%s%H$KBP$9$k(B <a - href="#serveradmin">ServerAdmin</a> $B$r;X$9(B "mailto:" $B$,DI2C$5$l$^$9!#(B</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">ServerTokens - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerTokens - Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerTokens - Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerTokens $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - $B$^$?!"(B<code>ProductOnly</code> $B%-!<%o!<%I$O(B Apache 1.3.12 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%/%i%$%"%s%H$KAw$jJV$9(B <samp>Server</samp> - $B%l%9%]%s%9%X%C%@Fb$K!"%5!<%P$N0lHLE*$J(B OS - $B<oJL$d!"%3%s%Q%$%k$5$l$FAH$_9~$^$l$F$$$k%b%8%e!<%k$N>pJs$r(B - $B4^$a$k$+$I$&$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: - Apache</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: - Apache/1.3.0</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: Apache/1.3.0 - (Unix)</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens Full</code> ($B$b$7$/$OL$;XDj(B)</dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: Apache/1.3.0 - (Unix) PHP/3.0 MyMod/1.2</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - </dl> - - <p>$B$3$N@_Dj$O%5!<%PA4BN$KE,MQ$5$l!"(B - $B%P!<%A%c%k%[%9%H>e$GM-8z$K$7$?$jL58z$K$7$?$j$O$G$-$^$;$s!#(B</p> - <hr /> - - <h2><a id="servertype" name="servertype">ServerType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerType - <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerType - standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerType $B%G%#%l%/%F%#%V$O!"%5!<%P$,%7%9%F%`$K$I$N$h$&$K(B - $B<B9T$5$l$k$+$r;XDj$7$^$9!#(B - <em>Type</em> $B$K$O!"<!$N$I$A$i$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt>inetd</dt> - - <dd>$B%5!<%P$O!"(Binetd $B%W%m%;%9$+$i<B9T$5$l!"(B - <code>/etc/inetd.conf</code> $B$K5/F0$9$k%3%^%s%I$r5-=R$7$^$9!#(B</dd> - - <dt>standalone</dt> - - <dd>$B%5!<%P$O!"%G!<%b%s%W%m%;%9$H$7$F<B9T$7!"(B - $B%7%9%F%`$N%9%?!<%H%"%C%W%9%/%j%W%H(B - (<code>/etc/rc.local</code> $B$+(B <code>/etc/rc3.d/...</code>) - $B$K5/F0$9$k%3%^%s%I$r5-=R$7$^$9!#(B</dd> - </dl> - - Inetd $B$O!"$"$^$jMxMQ$5$l$^$;$s!#(B - $B$=$N@_Dj$G$O!"(BHTTP $B@\B3$r<u$1$kEY$K!"%5!<%P$,(B 1 - $B$+$iN)$A>e$2$i$l!"@\B3$,=*N;$7$?8e$K%W%m%0%i%`$b=*N;$7$^$9!#(B - $B$3$l$O!"@\B3$NEY$K$H$F$bIi2Y$,$+$+$j$^$9$,!"(B - $B%;%-%e%j%F%#$rM}M3$K$3$N%*%W%7%g%s$r9%$`4IM}<T$b$$$^$9!#(B - <font color="red">$B$?$@!"(BInetd $B%b!<%I$O?d>)$5$l$F$*$i$:!"(B - $B:#8e$b$:$C$HMxMQ2DG=$H$$$&$o$1$G$O$"$j$^$;$s!#(B - $B2DG=$J8B$j;H$o$J$$$G$/$@$5$$!#(B</font> - - <p>Standalone $B$O!"$:$C$H8zN(E*$G$"$k$?$a!"(BServerType - $B$NI8=`E*$J@_Dj$H$J$C$F$$$^$9!#(B - $B%5!<%P$O0lEY5/F0$5$l$k$H!"$9$Y$F$N@\B3$r=hM}$7$^$9!#(B - $B$b$7!"Ii2Y$N9b$$%5%$%H$G(B Apache $B$rMxMQ$9$k$D$b$j$G$"$l$P!"(B - standalone $B$OM#0l$N%*%W%7%g%s$H$$$($k$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="shmemuidisuser" name="shmemuidisuser">ShmemUIDisUser - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ShmemUIDisUser - <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ShmemUIDisUser - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - - <p>ShmemUIDisUser $B%G%#%l%/%F%#%V$O(B System V - $B6&M-%a%b%j$K4p$E$$$?%9%3%"%\!<%I$N!"=jM-<T$N(B <code>uid</code> $B$H(B - <code>gid</code> $B$r%5!<%P$N@_Dj$N(B <a href="#user">User</a> $B$H(B - <a href="#group">Group</a> $B$KJQ99$9$k$+$I$&$+$r@)8f$7$^$9!#(B - Apache 1.3.26 $B$^$G$N%j%j!<%9$O%G%U%)%k%H$G$3$l$r9T$C$F$$$^$7$?!#(B - $B;R%W%m%;%9$O4{$K6&M-%a%b%j%;%0%a%s%H$K%"%?%C%A$5$l$F$$$^$9$N$G!"(B - $B$=$NF0:n$O(B Apache $B$NDL>o$NF0:n$K$OI,MW$G$O$J$/!"967b$rKI$0$?$a$K$b!"(B - Apache $B$O$=$N$h$&$JF0:n$r$7$J$/$J$j$^$7$?!#$7$+$7!"FCJL$J>l9g$K$O(B - $B0JA0$NF0:n$,I,MW$K$J$k$3$H$b$"$j!"$=$l$O$3$N%G%#%l%/%F%#%V$r(B - <code>on</code> $B$K$9$k$3$H$G<B8=$G$-$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(BSystem V $B$K4p$E$$$?%9%3%"%\!<%I$G$O$J$$!"(B - <code>mmap</code> $B$N$h$&$J%7%9%F%`$G$O8zNO$O$"$j$^$;$s!#(B - - </p> - - <hr /> - - <h2><a id="startservers" name="startservers">StartServers - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> StartServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>StartServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>StartServers $B%G%#%l%/%F%#%V$O!"5/F0;~$K$I$l$@$1$N%5!<%P;R%W%m%;%9$r(B - $B<B9T$9$k$N$+$r;XDj$7$^$9!#(B - $B%W%m%;%9$N?t$O!"Ii2Y$K$h$C$FF0E*$K@)8f$5$l$k$?$a!"(B - $BIaDL$O$3$N%Q%i%a!<%?$rJQ99$9$kM}M3$O$[$H$s$I$"$j$^$;$s!#(B</p> - - <p>Microsoft Windows - $B$G<B9T$9$k>l9g$K$O!"$3$N%G%#%l%/%F%#%V$O0UL#$r;}$A$^$;$s!#(B - Windows $B$G$O>o$K0l$D$N;R%W%m%;%9$,$9$Y$F$N%j%/%(%9%H$r07$$$^$9!#(B - $B;R%W%m%;%9$NFbIt$G$O!"%j%/%(%9%H$O%9%l%C%I$G=hM}$5$l$^$9!#(B - <a href="#threadsperchild">ThreadsPerChild</a> $B%G%#%l%/%F%#%V$O(B - $B%j%/%(%9%H$r07$&:GBg$N;R%9%l%C%I$N?t$r@)8f$7$^$9$N$G!"(BUNIX $B$G(B - <samp>StartServers</samp> $B$r;XDj$7$?$N$HF1$8$h$&$J8z2L$K$J$j$^$9!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a> $B$d(B - <a href="#maxspareservers">MaxSpareServers</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="threadsperchild" - name="threadsperchild">ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ThreadsPerChild - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ThreadsPerChild - 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (Windows, - NetWare)<br /> - <strong>$B8_49@-(B:</strong> Windows $B>e$GF0:n$9$k(B Apache 1.3 - $B0J9_$K$*$$$F$N$_M-8z(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%5!<%P$,$I$l$@$1$N%9%l%C%I$r;HMQ$9$k$N$+$r(B - $B;X<($7$^$9!#(B - $B$3$l$,!"%5!<%P$,=hM}$G$-$k:GBg@\B3?t$K$J$j$^$9!#(B - $B$?$/$5$s$N%R%C%H$,$"$k%5%$%H$N>l9g$K$O?tCM$rA}$d$9I,MW$,$"$j$^$9!#(B</p> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$O(B UNIX $B%7%9%F%`>e$G$O0UL#$r;}$A$^$;$s!#(B - UNIX $B$N>l9g$K$O!"(B <a href="#startservers">StartServers</a> $B$d(B <a - href="#maxrequestsperchild">MaxRequestsPerChild</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="threadstacksize" - name="threadstacksize">ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ThreadStackSize - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ThreadStackSize - 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (NetWare)<br /> - <strong>$B8_49@-(B:</strong> NetWare $B>e$GF0:n$9$k(B Apache 1.3 - $B0J9_$K$*$$$F$N$_M-8z(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"3F%9%l%C%I$N%9%?%C%/$N%5%$%:$r%5!<%P$K;X<($7$^$9!#(B - $B%9%?%C%/$,%*!<%P%U%m!<$9$k$h$&$G$"$l$P!"$h$jBg$-$J?tCM$K@_Dj$9$k(B - $BI,MW$,$"$j$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"B>$N%7%9%F%`$N>l9g$K$O0UL#$r;}$A$^$;$s!#(B</p> - <hr /> - - <h2><a id="timeout" name="timeout">TimeOut $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> TimeOut - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>TimeOut $B%G%#%l%/%F%#%V$O!"8=:_$N$H$3$m(B - $B0J2<$N;0$D$NBT$A;~4V$K$D$$$F$NDj5A$r9T$$$^$9(B:</p> - - <ol> - <li>GET $B%j%/%(%9%H$r<u$1<h$k$N$K$+$+$kAm;~4V(B</li> - - <li>POST $B$d(B PUT$B%j%/%(%9%H$K$*$$$F!"<!$N(B TCP - $B%Q%1%C%H$,FO$/$^$G$NBT$A;~4V(B</li> - - <li>$B%l%9%]%s%9$rJV$9:]!"(BTCP $B$N(B ACK $B$,5"$C$F$/$k$^$G$N;~4V(B</li> - </ol> - $B>-Mh$K$OJL!9$N@_Dj$r$9$k$3$H$,2DG=$K$G$-$k$h$&9M0FCf$G$9!#(B - Apache 1.2 $B0JA0$K$*$$$F$O%?%$%^!<$O(B 1200 $B$,%G%U%)%k%H$G$7$?$,!"(B - 300 $B$K2<$2$i$l$^$7$?!#(B300 $B$G$b$[$H$s$I$N>l9g$O==J,$9$.$kCM$G$9!#(B - $B%3!<%ICf$NJQ$J>l=j$K$^$@%Q%1%C%H$rAw$k:]$K%?%$%^$r%j%;%C%H$7$J$$(B - $B>l=j$,$"$k$+$b$7$l$J$$$N$G!"%G%U%)%k%H$r$h$j>.$5$$CM$K$O$7$F$$$^$;$s!#(B - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> UseCanonicalName - on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>UseCanonicalName - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> UseCanonicalName - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$BB?$/$N>u67$G(B Apache $B$O(B<em>$B<+8J;2>H(B</em> - URL$B!"$9$J$o$AF1$8%5!<%P$r;X$9(B URL$B!"$r:n@.$9$kI,MW$,$"$j$^$9!#(B - <code>UseCanonicalName on</code> $B$r;H$&$H(B (1.3 - $B$h$jA0$N$9$Y$F$N%P!<%8%g%s$G$b(B) Apache $B$O(B <a - href="#servername">ServerName</a> $B%G%#%l%/%F%#%V$H(B <a - href="#port">Port</a> - $B%G%#%l%/%F%#%V$r;H$C$F%5!<%P$N@5<0$JL>A0$r:n@.$7$^$9!#(B - $B$3$NL>A0$,$9$Y$F$N<+8J;2>H(B URL $B$G;H$o$l!"(BCGI $B$N(B - <code>SERVER_NAME</code> $B$H(B <code>SERVER_PORT</code> - $B$K$b;H$o$l$^$9!#(B</p> - - <p>$BNc$($P!"(B<a href="#servername">ServerName</a> $B$,(B - <code>www.example.com</code> $B$K@_Dj$5$l$F$$$F!"(B<a - href="#port">Port</a> $B$,(B <code>9090</code> - $B$K@_Dj$5$l$F$$$k>l9g$O!"%5!<%P$N(B<em>$B@5<0$JL>A0(B</em>$B$O(B - <code>www.example.com:9090</code> $B$K$J$j$^$9!#(B<code>Port</code> - $B$NCM$,%G%U%)%k%H$N(B <code>80</code> $B$G$"$k$H$-$O!"(B - <code>:80</code> $B$O(B<em>$B@5<0$JL>A0(B</em>$B$+$i$O>J$+$l$^$9!#(B</p> - - <p><code>UseCanonicalName off</code> $B$G$O(B Apache - $B$O%/%i%$%"%s%H$,%[%9%HL>$H%]!<%H$rDs6!$7$?>l9g$K$O$=$l$i$r85$K<+8J;2>H(B - URL $B$r:n@.$7$^$9(B ($BDs6!$5$l$F$$$J$$>l9g$O>e$GDj5A$5$l$F$$$k$h$&$K(B - $B@5<0$JL>A0$r;H$$$^$9(B)$B!#(B - $B$3$l$i$NCM$O(B<a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N(B - $B%P!<%A%c%k%[%9%H(B</a>$B$r<BAu$9$k$N$K;H$o$l$F$$$k$N$HF1$8CM$G!"(B - $BF1$8%/%i%$%"%s%H$+$i<hF@$G$-$kCM$G$9!#(BCGI $BJQ?t(B - <code>SERVER_NAME</code> $B$H(B <code>SERVER_PORT</code> - $B$b%/%i%$%"%s%H$+$iM?$($i$l$?CM$+$i:n@.$5$l$^$9!#(B</p> - - <p>$B$3$l$,M-MQ$J>l9g$NNc$O!"%$%s%H%i%M%C%H$N%5!<%P$G!"(B<code>www</code> - $B$N$h$&$JC;$$L>A0$G%f!<%6$,%^%7%s$K@\B3$7$F$$$k$H$-$G$9!#(B - $B%f!<%6$,C;$$L>A0$rF~NO$7$F!"(BURL - $B$,(B<em>$B:G8e$N%9%i%C%7%eL5$7$N(B</em>$B%G%#%l%/%H%j$X$N$b$N$G$"$k$H$-$K!"(B - Apache $B$O%j%/%(%9%H$r(B <code>http://www.domain.com/splat/</code> - $B$X%j%@%$%l%/%H$9$k$3$H$K5$IU$/$G$7$g$&!#(B - $BG'>Z$r$9$k$h$&$K@_Dj$7$F$$$k$H!"$3$N>l9g%f!<%6$O(B - 2 $B2sG'>Z$r$7$J$1$l$P$J$i$J$/$J$j$^$9(B (<code>www</code> $B$KBP$7$F(B - 1 $B2s!"(B<code>www.domain.com</code> $B$KBP$7$F$b$&0l2s(B -- - $B$h$j>\$7$$>pJs$O(B <a href="../misc/FAQ.html#prompted-twice">$B$3$NOCBj$N(B - FAQ</a> $B$r;2>H$7$F$/$@$5$$(B)$B!#$7$+$7!"(B<code>UseCanonicalName</code> - $B$,(B off $B$K$J$C$F$$$k$H!"(BApache $B$O(B <code>htttp://www/splat/</code> - $B$K%j%@%$%l%/%H$7$^$9!#(B</p> - - <p>$B;0$DL\$N%*%W%7%g%s(B <code>UseCanonicalName DNS</code> $B$O!"(B - <code>Host:</code> - $B%X%C%@$rDs6!$7$J$$8E$$%/%i%$%"%s%H$r%5%]!<%H$7$?Bg5,LO$J(B IP - $B%Y!<%9$N%P!<%A%c%k%[%9%F%#%s%0$G;HMQ$5$l$k$3$H$r0U?^$7$F$$$^$9!#(B - $B$3$N%*%W%7%g%s$G$O!"(BApache $B$O%/%i%$%"%s%H$,@\B3$7$?(B IP $B%"%I%l%9$K(B - DNS $B$N5U0z$-$r9T$J$C$F<+8J;2>H(B URL $B$r:n@.$7$^$9!#(B</p> - - <p><strong>$B7Y9p(B:</strong> CGI $B$,(B <code>SERVER_NAME</code> - $B$K4X$9$k2>Dj$r9T$J$C$F$$$k$H$-$O!"(B - $B$3$N%*%W%7%g%s$N@_Dj$GF0:n$7$J$/$J$k$+$b$7$l$^$;$s!#(B - $B%/%i%$%"%s%H$O<B<AE*$K$O%[%9%HL>$K$H$7$F(B - $B2?$G$bK>$_$NCM$r;XDj$9$k$3$H$,$G$-$^$9!#$7$+$7!"(BCGI $B$,(B - <code>SERVER_NAME</code> $B$N$_$r;H$C$F<+8J;2>H(B URL - $B$r:n@.$7$F$$$k>l9g$O$I$N@_Dj$r9T$J$C$F$bBg>fIW$J$O$:$G$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">User $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> User - <em>unix-userid</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>User $B%G%#%l%/%F%#%V$O%5!<%P$,%j%/%(%9%H$K1~Ez$9$k$H$-$N%f!<%6(B - ID $B$r@_Dj$7$^$9!#$3$N%G%#%l%/%F%#%V$r;H$&$?$a$K$O!"(Bstandalone - $B%5!<%P$,(B root $B$H$7$F5/F0$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B - <em>Unix-userid</em> $B$O0J2<$N$I$l$+$G$9(B:</p> - - <dl> - <dt>$B%f!<%6L>(B</dt> - - <dd>$BL>A0$G%f!<%6$r;XDj!#(B</dd> - - <dt># $B$N8e$K%f!<%6HV9f!#(B</dt> - - <dd>$BHV9f$G%f!<%6$r;XDj!#(B</dd> - </dl> - $B%f!<%6$O30$N@$3&$+$i8+$i$l$k$3$H$r0U?^$7$F$$$J$$%U%!%$%k$r%"%/%;%9(B - $B$G$-$F$7$^$&$h$&$J8"8B$,L5$$$b$N$K$9$Y$-$G!"F1MM$K(B httpd $B$N%j%/%(%9%H(B - $B$KBP$7$F0U?^$5$l$F$$$J$$%3!<%I$r<B9T$G$-$J$$$h$&$J$b$N$K$9$Y$-$G$9!#(B - $B%5!<%P$r<B9T$9$k$?$a$@$1$K?7$7$$@lMQ$N%f!<%6$H%0%k!<%W$r@_Dj$9$k$3$H$r(B - $B$*4+$a$7$^$9!#4IM}<T$NCf$K$O(B <code>nobody</code> $B$r;H$&?M$b$$$^$9$,!"(B - $B$3$N%f!<%6$O>o$K;HMQ2DG=$H$$$&$o$1$G$O$J$/!"K>$^$7$$$o$1$G$b$"$j$^$;$s!#(B - $BNc$($P!"(Bmod_proxy $B$N%-%c%C%7%e$r;HMQ$7$F$$$k$H$-$O!"(B - $B$=$l$r$3$N%f!<%6$,%"%/%;%9$G$-$kI,MW$,$"$j$^$9(B - (<a href="mod_proxy.html#cacheroot"><code>CacheRoot</code> - $B%G%#%l%/%F%#%V(B</a> $B$r;2>H(B)$B!#(B - - <p>$BCm0U(B: root $B$G$J$$%f!<%6$G%5!<%P$r<B9T$7$?>l9g$O!"$h$j>/$J$$8"8B$N(B - $B%f!<%6$X$NJQ99$K<:GT$7!"85!9$N%f!<%6$H$7$F<B9T$7B3$1$^$9!#(B - root $B$G%5!<%P$r<B9T$7$?$H$-$O!"?F%W%m%;%9$,(B root - $B$N$^$^<B9T$7B3$1$k$N$O@5>o$JF0:n$G$9!#(B</p> - - <p>$BFCJL$JCm0U(B: $B$3$N%G%#%l%/%F%#%V$r(B <VirtualHost> - $BFb$G;H$&$K$OE,@Z$K@_Dj$5$l$?(B <a href="../suexec.html">suEXEC - $B%i%C%Q!<(B</a>$B$,I,MW$G$9!#$3$N$h$&$K(B <VirtualHost> - $B$NCf$G;H$o$l$?$H$-$O(B CGI $B$r<B9T$9$k%f!<%6$@$1$,1F6A$r<u$1$^$9!#(B - CGI $B0J30$N%j%/%(%9%H$O0MA3$H$7$F<g(B User - $B%G%#%l%/%F%#%V$G;XDj$5$l$?%f!<%6$G=hM}$5$l$^$9!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B<+J,$,2?$r$d$C$F$$$k$+$r40A4$KM}2r$7$F$$$F(B - $B$I$N$h$&$J4m81@-$,$"$k$+$rM}2r$7$F$$$J$$>l9g$O!"(B - User ($B$b$7$/$O(B <a href="#group">Group</a>) $B$r(B root - $B$K$7$J$$$G$/$@$5$$!#(B</p> - - <hr /> - - <h2><a id="virtualhost" name="virtualhost"><VirtualHost> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <VirtualHost - <em>addr</em>[:<em>port</em>] [<em>addr</em>[:<em>port</em>]] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> IP $B%"%I%l%9%Y!<%9$G$J$$%P!<%A%c%k%[%9%H$O!"(B - Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $BJ#?t$N%"%I%l%9$N;XDj$O(B Apache 1.2 - $B0J9_$G$N$_2DG=$G$9!#(B - - <p><VirtualHost> $B5Z$S(B </VirtualHost> $B$O!"(B - $B$"$k%P!<%A%c%k%[%9%H$KBP$7$F$N$_E,MQ$5$l$k%G%#%l%/%F%#%V72$r0O$`(B - $B$?$a$K;H$o$l$^$9!#(B - $B%P!<%A%c%k%[%9%H%3%s%F%-%9%H$G5v2D$5$l$k$9$Y$F$N%G%#%l%/%F%#%V$r;XDj2DG=$G$9!#(B - $B%5!<%P$,!";XDj$5$l$?%P!<%A%c%k%[%9%H$K$"$k%I%-%e%a%s%H$X$N%j%/%(%9%H$r<u$1IU$1$?>l9g!"(B - <VirtualHost> $B%;%/%7%g%s$NCf$K$"$k%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#(B - - <em>Addr</em>$B!!$O!"<!$N$b$N$,MxMQ$G$-$^$9!#(B</p> - - <ul> - <li>$B%P!<%A%c%k%[%9%H$N(B IP $B%"%I%l%9(B</li> - - <li>$B%P!<%A%c%k%[%9%H$N(B IP $B$KBP1~$9$k40A4$J%I%a%$%sL>(B</li> - </ul> - $BNc(B: - - <blockquote> - <code><VirtualHost 10.1.2.3><br /> - ServerAdmin webmaster@host.foo.com<br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ErrorLog logs/host.foo.com-error_log<br /> - TransferLog logs/host.foo.com-access_log<br /> - </VirtualHost></code> - </blockquote> - $B3F!9$N%P!<%A%c%k%[%9%H$K$O$=$l$>$l0c$&(B IP - $B%"%I%l%9!"%]!<%HHV9f<c$7$/$O%[%9%HL>$KBP1~$9$kI,MW$,$"$j!"(B - 1 $BHVL\$N>l9g$K$OJ#?t$N%"%I%l%9$G(B IP - $B%Q%1%C%H$r<u?.$G$-$k$h$&$K%5!<%P%^%7%s$r@_Dj$7$J$1$l$P$J$j$^$;$s!#(B - ($B$b$7!"%^%7%s$,J#?t$N%M%C%H%o!<%/%$%s%?!<%U%'!<%9$r;}$?$J$$>l9g$O!"(B - (OS$B$,%5%]!<%H$7$F$$$l$P(B) <code>ifconfig alias</code> $B%3%^%s%I$d(B - <a href="../misc/vif-info.html">VIF</a> $B$N$h$&$J%+!<%M%k%Q%C%A(B - (SunOS(TM) 4.1.x $BMQ(B) $B$K$h$jC#@.$G$-$^$9(B)$B!#(B - - <p>$BJ#?t$N(B IP $B%"%I%l%9$rDj5A$9$k$3$H$b$G$-$^$9!#(B - $BFs$D$N%$%s%?%U%'!<%9$KBP$7$FF1$8L>A0$G1~Ez$7$F$$$k$H$-$KM-MQ$G$7$g$&!#(B - $BNc$($P!"FbIt8~$1(B ($B%$%s%H%i%M%C%H(B) $B$H(B - $B30It8~$1(B ($B%$%s%?!<%M%C%H(B) $B$K%P!<%A%c%k%[%9%H$r$7$F$$$k>l9g$G$9!#(B<br /> - $B@_DjNc(B:</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - - <code>_default_</code> $B$H$$$&FCJL$JL>A0$r;XDj$9$k$3$H$K$h$j!"(B - $BB>$N%P!<%A%c%k%[%9%H$G;XDj$5$l$F$$$J$$(B IP - $B%"%I%l%9$9$Y$F$KBP$7$F%^%C%A$5$;$k$3$H$,2DG=$G$9!#(B_default_ - $B%P!<%A%c%k%[%9%H$,L5$$$H$-$O!"$b$7$I$3$K$b%^%C%A$7$J$$$H(B VirtualHost - $B%;%/%7%g%s$N30$NDj5A$+$i$J$k!V<g!W%5!<%P@_Dj$,;HMQ$5$l$^$9!#(B - - <p><code>:port</code> - $B$H$$$C$?7A<0$G5-=R$9$k$3$H$K$h$j!"%^%C%A$5$;$k%]!<%H$rJQ992DG=$G$9!#(B - $B$3$N;XDj$r$7$J$$>l9g$K$O!"<g%5!<%P@_Dj$K$*$1$k0lHV:G8e$K(B - <code><a href="#port">Port</a></code> - $B$G;XDj$5$l$?%]!<%H$,%G%U%)%k%H$H$J$j$^$9!#(B - <code>:*</code> $B$r;XDj$9$k$3$H$K$h$j!"(B - $B%"%I%l%9>e$N$9$Y$F$N%]!<%H$K%^%C%A$7$^$9!#(B(<code>_default_</code> - $B$N$H$-$O$3$l$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B)</p> - - <p><strong>$B%;%-%e%j%F%#$K4X$7$F(B</strong>: - $B%5!<%P!<$r5/F0$7$?0J30$N%f!<%6$,%m%0%U%!%$%k$,J]4I$5$l$k%G%#%l%/%H%j$K(B - $B=q$-9~$_2DG=$J$H$-$K$J$<%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$+$N>\:Y$O(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$BCm0UE@(B</strong>: <VirtualHost> $B$O(B Apache $B$,(B - Listen $B$9$k(B IP $B%"%I%l%9$K$O1F6A$rM?$((B<strong>$B$^$;$s(B</strong>$B!#(B - <a href="#bindaddress">BindAddress</a> $B$+(B - <a href="#listen">Listen</a> $B$r;H$C$F(B Apache $B$,@5$7$$%"%I%l%9$r(B - listen $B$9$k$h$&$K@_Dj$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a><br /> - <strong>$B;2>H(B:</strong> <a - href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$r@_Dj$9$k(B</a><br /> - <strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a> - </p> - <hr /> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - - - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en deleted file mode 100644 index 0e410866aa6..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en +++ /dev/null @@ -1,314 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Definitions of terms used to describe Apache - directives</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Terms Used to Describe Apache - Directives</h1> - - <p>Each Apache configuration directive is described using a - common format that looks like this:</p> - - <dl> - <dd><a href="#Syntax" rel="Help"><strong>Syntax:</strong></a> - <em>directive-name</em> <em>some args</em><br /> - <a href="#Default" rel="Help"><strong>Default:</strong></a> - <samp><em>directive-name default-value</em></samp><br /> - <a href="#Context" rel="Help"><strong>Context:</strong></a> - <em>context-list</em><br /> - <a href="#Override" - rel="Help"><strong>Override:</strong></a> - <em>override</em><br /> - <a href="#Status" rel="Help"><strong>Status:</strong></a> - <em>status</em><br /> - <a href="#Module" rel="Help"><strong>Module:</strong></a> - <em>module-name</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <em>compatibility notes</em></dd> - </dl> - - <p>Each of the directive's attributes, complete with possible - values where possible, are described in this document.</p> - - <h2>Directive Terms</h2> - - <ul> - <li><a href="#Syntax">Syntax</a></li> - - <li><a href="#Default">Default</a></li> - - <li><a href="#Context">Context</a></li> - - <li><a href="#Override">Override</a></li> - - <li><a href="#Status">Status</a></li> - - <li><a href="#Module">Module</a></li> - - <li><a href="#Compatibility">Compatibility</a></li> - </ul> - <hr /> - - <h2><a id="Syntax" name="Syntax">Syntax</a></h2> - - <p>This indicates the format of the directive as it would - appear in a configuration file. This syntax is extremely - directive-specific, and is described in detail in the - directive's definition. Generally, the directive name is - followed by a series of one or more space-separated arguments. - If an argument contains a space, the argument must be enclosed - in double quotes. Optional arguments are enclosed in square - brackets. Where an argument can take on more than one possible - value, the possible values are separated by vertical bars "|". - Literal text is presented in the default font, while - argument-types for which substitution is necessary are - <em>emphasized</em>. Directives which can take a variable - number of arguments will end in "..." indicating that the last - argument is repeated.</p> - - <p>Directives use a great number of different argument types. A - few common ones are defined below.</p> - - <dl> - <dt><em>URL</em></dt> - - <dd>A complete Uniform Resource Locator including a scheme, - hostname, and optional pathname as in - <code>http://www.example.com/path/to/file.html</code></dd> - - <dt><em>URL-path</em></dt> - - <dd>The part of a <em>url</em> which follows the scheme and - hostname as in <code>/path/to/file.html</code>. The - <em>url-path</em> represents a web-view of a resource, as - opposed to a file-system view.</dd> - - <dt><em>file-path</em></dt> - - <dd>The path to a file in the local file-system beginning - with the root directory as in - <code>/usr/local/apache/htdocs/path/to/file.html</code>. - Unless otherwise specified, a <em>file-path</em> which does - not begin with a slash will be treated as relative to the <a - href="core.html#serverroot">ServerRoot</a>.</dd> - - <dt><em>directory-path</em></dt> - - <dd>The path to a directory in the local file-system - beginning with the root directory as in - <code>/usr/local/apache/htdocs/path/to/</code>.</dd> - - <dt><em>filename</em></dt> - - <dd>The name of a file with no accompanying path information - as in <code>file.html</code>.</dd> - - <dt><em>regex</em></dt> - - <dd>A <a href="../misc/FAQ.html#regex">regular - expression</a>, which is a way of describing a pattern to - match in text. The directive definition will specify what the - <em>regex</em> is matching against.</dd> - - <dt><em>extension</em></dt> - - <dd>In general, this is the part of the <em>filename</em> - which follows the last dot. However, Apache recognizes - multiple filename extensions, so if a <em>filename</em> - contains more than one dot, each dot-separated part of the - filename following the first dot is an <em>extension</em>. - For example, the <em>filename</em> <code>file.html.en</code> - contains two extensions: <code>.html</code> and - <code>.en</code>. For Apache directives, you may specify - <em>extension</em>s with or without the leading dot. In - addition, <em>extension</em>s are not case sensitive.</dd> - - <dt><em>MIME-type</em></dt> - - <dd>A method of describing the format of a file which - consists of a major format type and a minor format type, - separated by a slash as in <code>text/html</code>.</dd> - - <dt><em>env-variable</em></dt> - - <dd>The name of an <a href="../env.html">environment - variable</a> defined in the Apache configuration process. - Note this is not necessarily the same as an operating system - environment variable. See the <a - href="../env.html">environment variable documentation</a> for - more details.</dd> - </dl> - <hr /> - - <h2><a id="Default" name="Default">Default</a></h2> - - <p>If the directive has a default value (<em>i.e.</em>, if you - omit it from your configuration entirely, the Apache Web server - will behave as though you set it to a particular value), it is - described here. If there is no default value, this section - should say "<em>None</em>". Note that the default listed here - is not necessarily the same as the value the directive takes in - the default httpd.conf distributed with the server.</p> - <hr /> - - <h2><a id="Context" name="Context">Context</a></h2> - - <p>This indicates where in the server's configuration files the - directive is legal. It's a comma-separated list of one or more - of the following values:</p> - - <dl> - <dt><strong>server config</strong></dt> - - <dd>This means that the directive may be used in the server - configuration files (<em>e.g.</em>, <samp>httpd.conf</samp>, - <samp>srm.conf</samp>, and <samp>access.conf</samp>), but - <strong>not</strong> within any - <samp><VirtualHost></samp> or <Directory> - containers. It is not allowed in <samp>.htaccess</samp> files - at all.</dd> - - <dt><strong>virtual host</strong></dt> - - <dd>This context means that the directive may appear inside - <samp><VirtualHost></samp> containers in the server - configuration files.</dd> - - <dt><strong>directory</strong></dt> - - <dd>A directive marked as being valid in this context may be - used inside <samp><Directory></samp>, - <samp><Location></samp>, and <samp><Files></samp> - containers in the server configuration files, subject to the - restrictions outlined in <a href="../sections.html">How - Directory, Location and Files sections work</a>.</dd> - - <dt><strong>.htaccess</strong></dt> - - <dd>If a directive is valid in this context, it means that it - can appear inside <em>per</em>-directory - <samp>.htaccess</samp> files. It may not be processed, though - depending upon the <a href="#Override" - rel="Help">overrides</a> currently active.</dd> - </dl> - - <p>The directive is <em>only</em> allowed within the designated - context; if you try to use it elsewhere, you'll get a - configuration error that will either prevent the server from - handling requests in that context correctly, or will keep the - server from operating at all -- <em>i.e.</em>, the server won't - even start.</p> - - <p>The valid locations for the directive are actually the - result of a Boolean OR of all of the listed contexts. In other - words, a directive that is marked as being valid in - "<samp>server config, .htaccess</samp>" can be used in the - <samp>httpd.conf</samp> file and in <samp>.htaccess</samp> - files, but not within any <Directory> or - <VirtualHost> containers.</p> - <hr /> - - <h2><a id="Override" name="Override">Override</a></h2> - - <p>This directive attribute indicates which configuration - override must be active in order for the directive to be - processed when it appears in a <samp>.htaccess</samp> file. If - the directive's <a href="#Context" rel="Help">context</a> - doesn't permit it to appear in <samp>.htaccess</samp> files, - this attribute should say "<em>Not applicable</em>".</p> - - <p>Overrides are activated by the <a - href="core.html#allowoverride" - rel="Help"><samp>AllowOverride</samp></a> directive, and apply - to a particular scope (such as a directory) and all - descendants, unless further modified by other - <samp>AllowOverride</samp> directives at lower levels. The - documentation for that directive also lists the possible - override names available.</p> - <hr /> - - <h2><a id="Status" name="Status">Status</a></h2> - - <p>This indicates how tightly bound into the Apache Web server - the directive is; in other words, you may need to recompile the - server with an enhanced set of modules in order to gain access - to the directive and its functionality. Possible values for - this attribute are:</p> - - <dl> - <dt><strong>Core</strong></dt> - - <dd>If a directive is listed as having "Core" status, that - means it is part of the innermost portions of the Apache Web - server, and is always available.</dd> - - <dt><strong>Base</strong></dt> - - <dd>A directive labeled as having "Base" status is supported - by one of the standard Apache modules which is compiled into - the server by default, and is therefore normally available - unless you've taken steps to remove the module from your - configuration.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>A directive with "Extension" status is provided by one of - the modules included with the Apache server kit, but the - module isn't normally compiled into the server. To enable the - directive and its functionality, you will need to change the - server build configuration files and re-compile Apache.</dd> - - <dt><strong>Experimental</strong></dt> - - <dd>"Experimental" status indicates that the directive is - available as part of the Apache kit, but you're on your own - if you try to use it. The directive is being documented for - completeness, and is not necessarily supported. The module - which provides the directive may or may not be compiled in by - default; check the top of the page which describes the - directive and its module to see if it remarks on the - availability.</dd> - </dl> - <hr /> - - <h2><a id="Module" name="Module">Module</a></h2> - - <p>This quite simply lists the name of the source module which - defines the directive.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibility</a></h2> - - <p>If the directive wasn't part of the original Apache version - 1 distribution, the version in which it was introduced should - be listed here. If the directive has the same name as one from - the NCSA HTTPd server, any inconsistencies in behavior between - the two should also be mentioned. Otherwise, this attribute - should say "<em>No compatibility issues.</em>"</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr deleted file mode 100644 index 817a984f246..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr +++ /dev/null @@ -1,261 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.4 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Termes utilisés pour décrire les - directives Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Termes utilisés pour décrire - les directives Apache</h1> - - <p>Chaque directive de configuration d'Apache est - décrite selon un format de présentation commun - ressemblant à ceci :</p> - - <dl> - <dd><a href="#Syntax" - rel="Help"><strong>Syntaxe:</strong></a> - <em>nomDirective</em> <em>arguments</em><br /> - <a href="#Default" - rel="Help"><strong>Défaut:</strong></a> - <samp><em>nomDirective - valeursParDéfaut</em></samp><br /> - <a href="#Context" rel="Help"><strong>Contexte:</strong></a> - <em>listeDeContextes</em><br /> - <a href="#Override" - rel="Help"><strong>Surcharge:</strong></a> - <em>DirectivesSurchargées</em><br /> - <a href="#Status" rel="Help"><strong>Statut:</strong></a> - <em>statut</em><br /> - <a href="#Module" rel="Help"><strong>Module:</strong></a> - <em>nomModule</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibilité:</strong></a> - <em>notes concernant la compatibilité</em></dd> - </dl> - - <p>Chacun des attributs possibles pour les directives, avec - toutes leurs valeurs possibles sont décrites dans ce - document.</p> - - <h2>Termes employés pour les directives</h2> - - <ul> - <li><a href="#Syntax">Syntaxe</a></li> - - <li><a href="#Default">Défaut</a></li> - - <li><a href="#Context">Contexte</a></li> - - <li><a href="#Override">Surcharge</a></li> - - <li><a href="#Status">Statut</a></li> - - <li><a href="#Module">Module</a></li> - - <li><a href="#Compatibility">Compatibilité</a></li> - </ul> - <hr /> - - <h2><a id="Syntax" name="Syntax">Syntaxe</a></h2> - - <p>Indique le format dans laquelle la directive doit être - inscrite dans les fichiers de configuration. Cette syntaxe est - très spécifique pour chaque directive, et est - décrite en détail dans la définition de la - directive. Généralement, le nom de la directive - est suivi d'un ou de plusieurs arguments. Les arguments - optionnels sont entourés de crochets Quand un argument - peut prendre plus d'une valeur possible, les valeurs possibles - sont séparées par une barre verticale. Les - valeurs littérales sont affichée avec la fontes - par défaut, tandis qur les type d'arguments pour - lesquels une substitution doit être faite sont en - italique. Les diretrives pouvant avoir un nombre variable - d'arguments se terminent avec "..." indiquant que le dernier - argument se répète.</p> - <hr /> - - <h2><a id="Default" name="Default">Défaut</a></h2> - - <p>Si la directive a une valeur par défaut - (<em>c-à-d.</em>, si elle n'apparait pas du tout dans le - fichier de configuration, le serveur Apache se comportera comme - si cette directive avait été écrite en - mentionnant cette valeur), elle est spécifiée - ici. Si aucune valeur n'est définie par défaut, - cette section précisera "<em>Non - précisé</em>".</p> - <hr /> - - <h2><a id="Context" name="Context">Contexte</a></h2> - - <p>Indique là ou l'implantation de la directive dans le - fichier de configuration est licite. Il est exprimé - comme une liste séparée par des virgules, et - pouvant contenir les éléments suivants :</p> - - <dl> - <dt><strong>configuration serveur</strong></dt> - - <dd>La directive peut être utilisée dans le - fichier de configuration du serveur (<em>ex.</em>, - <samp>httpd.conf</samp>, <samp>srm.conf</samp>, et - <samp>access.conf</samp>), mais dans <strong>aucune</strong> - des sections intérieures des containers - <samp><VirtualHost></samp> ni <Directory>. Elle - n'est pas permise dans aucun des fichiers - <samp>.htaccess</samp>.</dd> - - <dt><strong>hôte virtuel</strong></dt> - - <dd>Dans ce contexte, la directive peut apparaître dans - les containers <samp><VirtualHost></samp> écrits - dans les fichiers de configuration du serveur.</dd> - - <dt><strong>répertoire</strong></dt> - - <dd>La directive peut apparaître dans les containers - <samp><Directory></samp> écrits dans les - fichiers de configuration du serveur.</dd> - - <dt><strong>.htaccess</strong></dt> - - <dd>La directive peut apparaître dans les fichiers - <samp>.htaccess</samp> situé dans chacun des - répertoires. Elle peut ou ne pas être - interprétée, suivant la configuration des - directives <a href="#Override" rel="Help">de - surcharge</a>.</dd> - </dl> - - <p>Les directives ne sont autorisées <em>que</em> dans - les contextes cités ; si vous essayez de les - écrire ailleurs, vous provoquerez une erreur de - configuration qui soit conduira le serveur à ignorer les - requêtes dans le contexte spécifié, soit - peut empêcher le serveur de fonctionner -- - <em>c-à-d.</em>, le serveur refusera de - démarrer.</p> - - <p>Les emplacements valides pour les directives sont le - résultat d'un OU booléen de tous les contextes - cités. En d'autres termes, une directive marquée - comma étant valide dans le contexte "<samp>configuration - serveur, .htaccess</samp>" peut être utilisée dans - le fichier <samp>httpd.conf</samp> et dans les fichiers - <samp>.htaccess</samp>, mais pas dans le container - <Directory> ni <VirtualHost>.</p> - <hr /> - - <h2><a id="Override" name="Override">Surcharge</a></h2> - - <p>Cet attribut de directive précise quelle surcharge - doit être permise pour que la directive puisse être - interprétée lorsqu'elle apparaît dans un - fichier <samp>.htaccess</samp>. Si le <a href="#Context" - rel="Help">contexte</a> de directive ne permet pas une - écriture dans les fichiers <samp>.htaccess</samp>, cet - attribut doit mentionner "<em>Non applicable</em>".</p> - - <p>Les surcharges sont gérées par la directive <a - href="core.html#allowoverrides" - rel="Help"><samp>AllowOverrides</samp></a>, et ont une - portée définie, par exemple un répertoire - donné et tous ses descendants, sauf si la configuration - de surcharge est changée à un endroit de la - descendance par une directive <samp>AllowOverrides</samp> d'un - niveau inférieur. La documentation pour cette directive - liste aussi les noms possibles de surcharges disponibles.</p> - <hr /> - - <h2><a id="Status" name="Status">Statut</a></h2> - - <p>Indique à quel module du serveur Apache Web la - directive est rattachée ; en d'autres termes, vous - devrez peut être recompiler le serveur en - précisant un ensemble plus large de modules pour pouvoir - bénéficier de cette fonctionnalité. Les - valeurs possibles pour cet attribut sont :</p> - - <dl> - <dt><strong>Noyau</strong></dt> - - <dd>Il s'agit d'une directive du noyau d'Apache et est de ce - fait toujours disponible.</dd> - - <dt><strong>Base</strong></dt> - - <dd>La directive est implémentée dans un module - d'Apache faisant partie de l'ensemble de compilation de base, - et est normalement disponible sauf si vous avez explicitement - enlevé ce module à la compilation.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>La directive est implémentée par un module - faisant partie de l'Apache Server Kit, mais ce module n'est - pas compilé par défaut. Pour activer cette - directive, et rendre opérationnelle cette - fonctionnalité, vous devrez modifier le fichier de - configuration de compilation et recompiler Apache.</dd> - - <dt><strong>Expérimental</strong></dt> - - <dd>Le statut "Experimental" indique que la directive est - disponible dans le Kit Apache, mais que vous ne pouvez - l'utiliser qu'à vos risques et périls. La - directive est documenté dans un souci - d'exhaustivité mais n'est pas forcément - supportée. Le module qui donne accès à - cette directive peut être ou ne pas être - compilé par défaut ; reportez vous en - tête de la page qui décrit la directive et le - module pour toute remarque concernant sa - disponibilité.</dd> - </dl> - <hr /> - - <h2><a id="Module" name="Module">Module</a></h2> - - <p>Donne simplement le nom du module ou est - implémentée cette fonctionnalité.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibilité</a></h2> - - <p>Si la directive ne faisait pas partie de la version 1 - d'Apache, le numéro indique la version dans laquelle - elle a été introduite. Si la directive a le - même nom qu'une ancienne directive du serveur HTTPd du - NCSA, toute différence de comportement y sera - mentionnée. Dans les autres cas, cette rubrique - affichera "<em>Pas de remarques sur - compatiblité.</em>"</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis deleted file mode 100644 index 6529458d7ad..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis +++ /dev/null @@ -1,310 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Apache $B$N%G%#%l%/%F%#%V$N2r@b$K;H$o$l$kMQ8l(B</title> -</head> -<!-- English revision: 1.7 --> -<!-- Background white, links blue (unvisited), navy (visited), red (active) --> -<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" -alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - -<h1 align="center">Apache -$B$N%G%#%l%/%F%#%V$N2r@b$K;H$o$l$kMQ8l(B</h1> - -<p>$B$=$l$>$l$N(B Apache -$B%G%#%l%/%F%#%V$O!"<!$N$h$&$J6&DL$N=q<0$K$h$C$F5-=R$5$l$^$9(B:</p> - -<dl> -<dd><a href="#Syntax" rel="Help"><strong>$B9=J8(B:</strong></a> -<em>directive-name</em> <em>some args</em><br /> - <a href="#Default" rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> -<samp><em>directive-name default-value</em></samp><br /> - <a href="#Context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> -<em>context-list</em><br /> - <a href="#Override" rel="Help"><strong>$B>e=q$-(B:</strong></a> -<em>override</em><br /> - <a href="#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> -<em>status</em><br /> - <a href="#Module" rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> -<em>module-name</em><br /> - <a href="#Compatibility" rel="Help"><strong>$B8_49@-(B:</strong></a> -<em>compatibility notes</em></dd> -</dl> - -<p>$B$3$N%I%-%e%a%s%H$G$O%G%#%l%/%F%#%V$N$=$l$>$l$NB0@-$,@bL@$5$l(B -$B$F$$$^$9!#2DG=$J>l9g$O%G%#%l%/%F%#%V$,<h$jF@$k$9$Y$F$NCM$b=q$+$l$F$$$^$9!#(B</p> - -<h2>$B%G%#%l%/%F%#%V$NMQ8l(B</h2> - -<ul> -<li><a href="#Syntax">$B9=J8(B</a></li> - -<li><a href="#Default">$B%G%U%)%k%H(B</a></li> - -<li><a href="#Context">$B%3%s%F%-%9%H(B</a></li> - -<li><a href="#Override">$B>e=q$-(B</a></li> - -<li><a href="#Status">$B%9%F!<%?%9(B</a></li> - -<li><a href="#Module">$B%b%8%e!<%k(B</a></li> - -<li><a href="#Compatibility">$B8_49@-(B</a></li> -</ul> - -<hr /> -<h2><a id="Syntax" name="Syntax">$B9=J8(B</a></h2> - -<p>$B@_Dj%U%!%$%kCf$N%G%#%l%/%F%#%V$N=q<0$r<($7$^$9!#(B -$B$3$N9=J8$O%G%#%l%/%F%#%VFCM-$J$N$G!">\:Y$O%G%#%l%/%F%#%V$N@bL@$r(B -$B;2>H$7$F$/$@$5$$!#0lHLE*$K!"%G%#%l%/%F%#%VL>$N8e$K$O(B -$B6uGr$K$h$jJ,3d$5$l$?$$$/$D$+$N0z?t$,B3$-$^$9!#(B -$B0z?t$,6uGr$r4^$`$H$-$OFs=E0zMQId(B ($BLuCm(B: ") -$B$G0O$^$l$F$$$^$9!#(B $B%*%W%7%g%J%k$J0z?t$O3g8L(B ($BLuCm(B: -[]) $B$G0O$^$l$F$$$^$9!#(B -$B0z?t$,J#?t$NCM$r<h$jF@$k>l9g$O!"$=$l$i$NCM$O?bD>$NK@(B "|" $B$G(B -$BJ,3d$5$l$F$$$^$9!#(B -$BJQ99$5$l$J$$%F%-%9%H$O%G%U%)%k%H$N%U%)%s%H$GI=<($5$l!"CV49$NI,MW$J(B -$B0z?t$O(B<em>$B6/D4$5$l$F(B</em>$BI=<($5$l$^$9!#(B -$B0z?t$N?t$,JQ$o$k%G%#%l%/%F%#%V$O:G8e$N(B -$B0z?t$,7+$jJV$5$l$k$3$H$r<($9$?$a$K(B "..." $B$G=*$o$j$^$9!#(B</p> - -<p>$B%G%#%l%/%F%#%V$OB?$/$N0c$&7?$N0z?t$r$H$j$^$9!#$$$/$D$+!"NI$/(B -$B;H$o$l$k$b$N$r0J2<$GDj5A$7$^$9!#(B</p> - -<dl> -<dt><em>URL</em></dt> - -<dd><code>http://www.example.com/path/to/file.html</code> -$B$N$h$&$K!"(B -$B%9%-!<%`!"%[%9%HL>!"%Q%9L>(B($B>JN,2DG=(B)$B$r4^$s$G$$$k40A4$J(B -Uniform Resource Locator$B!#(B</dd> - -<dt><em>URL-path</em></dt> - -<dd><code>/path/to/file.html</code> $B$N$h$&$K!"%9%-!<%`$H(B -$B%[%9%HL>$N8e$KB3$/(B <em>url</em> $B$N0lIt!#(B<em>url-path</em> -$B$O(B $B%U%!%$%k%7%9%F%`$+$i$N;kE@$G$O$J$/!"(B -$B%&%'%V$+$i$N;kE@$G%j%=!<%9$rI=8=$7$^$9!#(B</dd> - -<dt><em>file-path</em></dt> - -<dd><code>/usr/local/apache/htdocs/path/to/file.html</code> -$B$N$h$&$K!"(B -$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`>e$N%U%!%$%k$X$N%Q%9!#(B -$BDL>o!"%9%i%C%7%e$G;O$^$i$J$$(B <em>file-path</em> $B$O(B <a -href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$H$7$F(B -$B07$o$l$^$9!#(B</dd> - -<dt><em>directory-path</em></dt> - -<dd><code>/usr/local/apache/htdocs/path/to/</code> $B$N$h$&$K!"(B -$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$X$N(B -$B%Q%9!#(B</dd> - -<dt><em>filename</em></dt> - -<dd><code>file.html</code> $B$N$h$&$K!"%Q%9>pJs$NIU$$$F$$$J$$(B -$B%U%!%$%kL>!#(B</dd> - -<dt><em>regex</em></dt> - -<dd><a href="../misc/FAQ.html#regex">$B@55,I=8=(B</a>$B!#$3$l$O!"(B -$B%F%-%9%H$N%^%C%A$N%Q%?!<%s$rI=$7$^$9!#%G%#%l%/%F%#%V$NDj5A$,(B -<em>regex</em> $B$,2?$KBP$7$F%^%C%A$r9T$J$&$N$+$r;XDj$7$^$9!#(B</dd> - -<dt><em>extension</em></dt> - -<dd>$B0lHLE*$K$O(B <em>filename</em> -$B$N:G8e$N%I%C%H$N8e$NItJ,$G$9!#(B $B$7$+$7!"(BApache -$B$OJ#?t$N%U%!%$%k$N3HD%;R$rG'<1$7$^$9$N$G!"(B<em>filename</em> -$B$KJ#?t$N%I%C%H$,$"$k$H!":G=i$N%I%C%H$N8e$N!"$=$l$>$l$N%I%C%H$GJ,N%$5$l$?ItJ,$,(B -<em>extension</em> ($BLuCm(B: $B3HD%;R(B) -$B$K$J$j$^$9!#Nc$($P!"(B<em>filename</em> <code>file.html.en</code> -$B$K$OFs$D$N3HD%;R$,$"$j$^$9!#(B<code>.html</code> $B$H(B -<code>.en</code> $B$G$9!#(BApache -$B$N%G%#%l%/%F%#%V$G$O!"(B<em>extension</em> -$B$O%I%C%HIU$-$G$bL5$7$G$b;XDj$G$-$^$9!#$5$i$K!"(B<em>extension</em> -$B$O(B $BBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B</dd> - -<dt><em>MIME-type</em></dt> - -<dd><code>text/html</code> $B$N$h$&$K!"%9%i%C%7%e$GJ,N%$5$l$?(B -$B<g%U%)!<%^%C%H$HI{%U%)!<%^%C%H$K$h$C$F%U%!%$%k$N7A<0$r(B -$BI=$9J}K!$G$9!#(B</dd> - -<dt><em>env-variable</em></dt> - -<dd>Apache $B$N@_Dj$K$h$jDj5A$5$l$k(B <a -href="../env.html">$B4D6-JQ?t(B</a>$B$NL>A0$G$9!#$3$l$O%*%Z%l!<%F%#%s%0%7%9%F%`$N(B -$B4D6-JQ?t$HF1$8$H$O8B$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#>\:Y$O(B <a -href="../env.html">$B4D6-JQ?t$N@bL@(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</dd> -</dl> - -<hr /> -<h2><a id="Default" name="Default">$B%G%U%)%k%H(B</a></h2> - -<p>$B%G%#%l%/%F%#%V$K%G%U%)%k%HCM(B -(<em>$B$9$J$o$A(B</em>$B!"@_Dj%U%!%$%k$+$i(B -$B>JN,$5$l$F$$$F$b!"(BApache -$B%&%'%V%5!<%P$OFCDj$NCM$K@_Dj$5$l$F$$$k$+$N$h$&$K(B -$BF0:n$7$^$9(B) $B$,$"$k>l9g$O$3$3$K5-=R$5$l$^$9!#(B -$B%G%U%)%k%HCM$NL5$$>l9g!"$3$3$O(B "<em>None</em>" $B$H(B -$B=q$+$l$^$9!#$3$3$G=q$+$l$F$$$k%G%U%)%k%H$O%5!<%P$H6&$KG[I[$5$l$F$$$k(B -$B%G%U%)%k%H$N(B httpd.conf -$BFb$K=q$+$l$F$$$k%G%#%l%/%F%#%V$NCM$H(B -$B0c$&2DG=@-$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - -<hr /> -<h2><a id="Context" name="Context">$B%3%s%F%-%9%H(B</a></h2> - -<p> -$B$3$l$O!"%5!<%P$N@_Dj%U%!%$%kCf$N$I$3$G%G%#%l%/%F%#%V$,M-8z$J$N$+$r<($7$^$9!#(B -$B<!$K<($9CM$,0l$D0J>e%+%s%^6h@Z$j$GNs5s$5$l$F$$$^$9!#(B</p> - -<dl> -<dt><strong>$B%5!<%P@_Dj%U%!%$%k(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k(B -(<em>$BNc$($P(B</em>$B!"(B<samp>httpd.conf</samp>, -<samp>srm.conf</samp>, <samp>access.conf</samp>) -$BFb$G$O;HMQ$G$-$^$9$,!"(B <samp><VirtualHost></samp>$B$d(B -<samp><Directory></samp> $B$NCf$G$O(B -<strong>$B;HMQ$G$-$J$$(B</strong>$B$3$H$r<($7$^$9!#(B -<samp>.htaccess</samp>$B%U%!%$%k$G$N;HMQ$O5v2D$5$l$F$$$^$;$s!#(B</dd> - -<dt><strong>$B%P!<%A%c%k%[%9%H(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N(B <samp><VirtualHost></samp> -$B$NCf$G;HMQ$G$-$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>$B%G%#%l%/%H%j(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N(B -<samp><Directory></samp>$B!"(B -<samp><Location></samp>$B!"(B<samp><Files></samp> -$B$NCf$G!"(B <a -href="../sections.html">Directory$B!"(BLocation$B!"(BFiles -$B%;%/%7%g%s$N5!G=(B</a> -$B$G@bL@$5$l$F$$$k@)8B$N2<$G;HMQ$G$-$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>.htaccess</strong></dt> - -<dd>$B$3$l$O!"%G%#%l%/%H%j(B<em>$BKh(B</em>$B$N(B -<samp>.htaccess</samp> $B%U%!%$%kFb$G(B -$B;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B $B$?$@!"(B<a href="#Override" -rel="Help">$B>e=q$-(B</a> -$B$N@_Dj$K$h$C$F$O!"=hM}$5$l$J$$$+$b$7$l$^$;$s!#(B</dd> -</dl> - -<p> -$B%G%#%l%/%F%#%V$O;X<($5$l$?%3%s%F%-%9%H$G(B<em>$B$N$_(B</em>$B5v2D$5$l$^$9!#(B -$BB>$N>l=j$G;H$*$&$H$9$k$H!"%5!<%P$,$=$N%3%s%F%-%9%H$r@5$7$/07$($J$/(B -$B$J$k$h$&$J@_Dj%(%i!<$,H/@8$9$k$+!"%5!<%P$,$^$C$?$/F0:n$7$J$/$J$k!"(B -<em>$B$9$J$o$A(B</em>$B!"%5!<%P$,5/F0$7$J$/$J$k$H$$$&$3$H$K$J$j$^$9!#(B</p> - -<p> -$B%G%#%l%/%F%#%V$NM-8z$J0LCV$O!"<B:]$O5s$2$i$l$F$$$k%3%s%F%-%9%H$N(B -$BO@M}OB(B ($BLuCm(B: Boolen OR) $B$K$J$j$^$9!#8@$$49$($k$H!"(B -"<samp>$B%5!<%P@_Dj%U%!%$%k!"(B.htaccess</samp>" $B$GM-8z$@$H(B -$B5-$5$l$F$$$k%G%#%l%/%F%#%V$O(B <samp>httpd.conf</samp> -$B%U%!%$%k$H(B <samp>.htaccess</samp> $B%U%!%$%k$H$GM-8z$G$9$,!"(B -<samp><Directory></samp> $B$d(B -<samp><VirtualHost></samp> $B$NCf$G$O;HMQ$G$-$^$;$s!#(B</p> - -<hr /> -<h2><a id="Override" name="Override">$B>e=q$-(B</a></h2> - -<p>$B$3$N%G%#%l%/%F%#%V$NB0@-$O!"(B<samp>.htaccess</samp> -$B%U%!%$%kCf$K(B -$B%G%#%l%/%F%#%V$,8=$l$?$H$-$K!"$=$l$N=hM}$rM-8z$K$9$k$?$a$K(B -$B$I$N@_Dj$N>e=q$-$,I,MW$+$r<($7$^$9!#(B $B%G%#%l%/%F%#%V$N(B <a -href="#Context" rel="Help">$B%3%s%F%-%9%H(B</a> -$B$,!"(B<samp>.htaccess</samp> -$B%U%!%$%kCf$G$O5v2D$7$F$$$J$$>l9g$O!"(B $B$3$NB0@-$O(B -"<em>$BE,MQIT2D(B</em>" $B$H=q$+$l$^$9!#(B</p> - -<p>$B>e=q$-$O!"(B<a href="core.html#allowoverride" -rel="Help"><samp>AllowOverride</samp></a> -$B%G%#%l%/%F%#%V$K$h$C$FM-8z$K$5$l!"(B -$BFCDj$N%9%3!<%W(B($B%G%#%l%/%H%j$J$I(B)$B$H!"(B -$B$5$i$K2<0L$N%l%Y%k$N(B <samp>AllowOverride</samp> -$B$G=$@5$5$l$J$$8B$j!"(B $B$=$NG[2<$KBP$7$FE,MQ$5$l$^$9!#(B -$B%G%#%l%/%F%#%V$N%I%-%e%a%s%H$O<h$jF@$k>e=q$-$NL>A0$b5s$2$^$9!#(B</p> - -<hr /> -<h2><a id="Status" name="Status">$B%9%F!<%?%9(B</a></h2> - -<p>$B$3$l$O%G%#%l%/%F%#%V$,(B Apache -$B%&%'%V%5!<%P$K$I$l$/$i$$$-$D$/AH$_9~$^$l$F$$$k$+$r(B -$B<($7$^$9!#8@$$49$($l$P!"%G%#%l%/%F%#%V$H$=$N5!G=$rMxMQ$9$k$?$a$K!"(B -$B%b%8%e!<%k$N?t$rA}$d$7$F!"%5!<%P$r:F%3%s%Q%$%k$9$kI,MW$,$"$k$+$b$7$l$J$$(B -$B$H$$$&$3$H$r<($7$^$9!#(B -$B$3$NB0@-$,<h$jF@$kCM$O0J2<$N$b$N$G$9(B:</p> - -<dl> -<dt><strong>Core</strong></dt> - -<dd>"Core" $B$N%G%#%l%/%F%#%V$O(B Apache -$B%&%'%V%5!<%P$N4pK\$H$J$k$Y$-$b$N$G$"$j!"(B -$B>o$K;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>Base</strong></dt> - -<dd>"Base" $B$N%G%#%l%/%F%#%V$O(B -$B%G%U%)%k%H$G%5!<%P$KAH$_9~$^$l$F$$$kI8=`%b%8%e!<%k$NCf$N0l$D$G%5(B -$B%]!<%H$5$l$F$$$F!"$o$6$o$6@_Dj$+$i%b%8%e!<%k$r:o=|$7$?$H$-$r=|$$$F!"(B -$BDL>o$G$O;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>Extension</strong></dt> - -<dd>"Extension" $B$N%G%#%l%/%F%#%V$O!"(B Apache -$B%5!<%P$NG[I[J*$KF1:-$5$l$F$$$k%b%8%e!<%k$N0l$D$GDs6!$5$l$F$$$k$b$N$N!"(B -$BDL>o$G$O%5!<%P$KAH$_9~$^$l$F$$$J$$$3$H$r<($7$^$9!#(B -$B%G%#%l%/%F%#%V$H$=$N5!G=$rM-8z$K$9$k$K$O!"%5!<%P%S%k%IMQ$N@_Dj%U%!%$%k$r(B -$BJQ99$7$F(B Apache $B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#(B</dd> - -<dt><strong>Experimental</strong></dt> - -<dd>"Experimental" $B$N%G%#%l%/%F%#%V$O!"(BApache $BG[I[J*$K(B -$BF1:-$5$l$F$$$k$b$N$N!";n$7$?$$>l9g$O<+8J@UG$$G9T$J$&(B -$BI,MW$,$"$k$H$$$&$3$H$r<($7$^$9!#%G%#%l%/%F%#%V$O!"$9$Y$F$N%I%-%e%a%s%H$r(B -$B40A4$K$=$m$o$;$k$?$a$K2r@b$5$l$F$$$^$9$,!"%5%]!<%H$5$l$F$$$k$H$O8B$j$^$;$s!#(B -$B%G%#%l%/%F%#%V$rDs6!$9$k%b%8%e!<%k$O%G%U%)%k%H$GAH$_9~$^$l$F$$$k$+$b(B -$B$7$l$^$;$s$7!"$=$&$G$J$$$+$b$7$l$^$;$s!#;HMQ2DG=$+$I$&$+$O!"(B -$B%G%#%l%/%F%#%V$H%b%8%e!<%k$N@bL@$r$7$F$$$k%Z!<%8$N@hF,$rD4$Y$F$/$@$5$$!#(B</dd> -</dl> - -<hr /> -<h2><a id="Module" name="Module">$B%b%8%e!<%k(B</a></h2> - -<p> -$B$3$l$OC1=c$K%G%#%l%/%F%#%V$,Dj5A$5$l$F$$$k%b%8%e!<%k$NL>A0$r5-:\$7$^$9!#(B</p> - -<hr /> -<h2><a id="Compatibility" name="Compatibility">$B8_49@-(B</a></h2> - -<p>$B%G%#%l%/%F%#%V$,(B Apache 1 -$B$NG[I[$KAH$_9~$^$l$F$$$J$+$C$?>l9g!"(B -$B%G%#%l%/%F%#%V$,F3F~$5$l$?%P!<%8%g%s$,$3$3$K=q$+$l$F$$$^$9!#(B -$B%G%#%l%/%F%#%V$,(B NCSA HTTPd -$B%5!<%P$N$b$N$HF1$8L>A0$G$"$k>l9g!"(B -$B0[$J$k5sF0$,$"$k$H$3$3$K=q$+$l$^$9!#(B -$B5sF0$,F1$8>l9g$O!"(B"<em>$B8_49@-$NLdBjL5$7(B</em>" -$B$H=q$+$l$F$$$^$9!#(B</p> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - -</body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.de b/usr.sbin/httpd/htdocs/manual/mod/directives.html.de deleted file mode 100644 index a5375d5b361..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.de +++ /dev/null @@ -1,264 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> -<HTML> -<HEAD> -<TITLE>Apache Konfigurationsdirektiven</TITLE> -</HEAD> - -<!-- Background white, links blue (unvisited), navy (visited), red (active) --> -<BODY - BGCOLOR="#FFFFFF" - TEXT="#000000" - LINK="#0000FF" - VLINK="#000080" - ALINK="#FF0000" -> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - -<H1 ALIGN="CENTER">Apache Konfigurationsdirektiven</H1> -<P> -Dieses Dokument enthält eine vollständige Liste aller -Konfigurationsdirektiven der Apache Standard-Distribution. -Die Beschreibungen sind dabei in einem einheitlichen Format verfasst, -wobei es zu den im Beschreibungsformat verwendeten Feldern eine eigene -<A - HREF="directive-dict.html" - REL="Glossary" ->Legende</A> -gibt. -</P> -<UL> -<li><a href="core.html#acceptfilter">AcceptFilter</a></li> -<li><a href="core.html#acceptmutex">AcceptMutex</a></li> -<LI><A HREF="core.html#accessconfig">AccessConfig</A> -<LI><A HREF="core.html#accessfilename">AccessFileName</A> -<LI><A HREF="mod_actions.html#action">Action</A> -<LI><A HREF="mod_autoindex.html#addalt">AddAlt</A> -<LI><A HREF="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</A> -<LI><A HREF="mod_autoindex.html#addaltbytype">AddAltByType</A> -<LI><A HREF="mod_mime.html#addcharset">AddCharset</A> -<LI><A HREF="core.html#adddefaultcharset">AddDefaultCharset</A> -<LI><A HREF="mod_autoindex.html#adddescription">AddDescription</A> -<LI><A HREF="mod_mime.html#addencoding">AddEncoding</A> -<LI><A HREF="mod_mime.html#addhandler">AddHandler</A> -<LI><A HREF="mod_autoindex.html#addicon">AddIcon</A> -<LI><A HREF="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</A> -<LI><A HREF="mod_autoindex.html#addiconbytype">AddIconByType</A> -<LI><A HREF="mod_mime.html#addlanguage">AddLanguage</A> -<LI><A HREF="core.html#addmodule">AddModule</A> -<LI><A HREF="mod_info.html#addmoduleinfo">AddModuleInfo</A> -<LI><A HREF="mod_mime.html#addtype">AddType</A> -<LI><A HREF="mod_log_agent.html#agentlog">AgentLog</A> -<LI><A HREF="mod_alias.html#alias">Alias</A> -<LI><A HREF="mod_alias.html#aliasmatch">AliasMatch</A> -<LI><A HREF="mod_access.html#allow">Allow</A> -<LI><A HREF="mod_proxy.html#allowconnect">AllowCONNECT</A> -<LI><A HREF="core.html#allowoverride">AllowOverride</A> -<LI><A HREF="mod_auth_anon.html#anonymous">Anonymous</A> -<LI><A HREF="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</A> -<LI><A HREF="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</A> -<LI><A HREF="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</A> -<LI><A HREF="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</A> -<LI><A HREF="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</A> -<LI><A HREF="mod_auth.html#authauthoritative">AuthAuthoritative</A> -<LI><A HREF="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</A> -<LI><A HREF="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</A> -<LI><A HREF="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</A> -<LI><A HREF="mod_auth_db.html#authdbuserfile">AuthDBUserFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</A> -<LI><A HREF="mod_digest.html#authdigestfile">AuthDigestFile</A> -<LI><A HREF="mod_auth.html#authgroupfile">AuthGroupFile</A> -<LI><A HREF="core.html#authname">AuthName</A> -<LI><A HREF="core.html#authtype">AuthType</A> -<LI><A HREF="mod_auth.html#authuserfile">AuthUserFile</A> -<LI><A HREF="core.html#bindaddress">BindAddress</A> -<LI><A HREF="mod_setenvif.html#browsermatch">BrowserMatch</A> -<LI><A HREF="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</A> -<LI><A HREF="core.html#bs2000account">BS2000Account</A> -<LI><A HREF="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</A> -<LI><A HREF="mod_proxy.html#cachedirlength">CacheDirLength</A> -<LI><A HREF="mod_proxy.html#cachedirlevels">CacheDirLevels</A> -<LI><A HREF="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</A> -<LI><A HREF="mod_proxy.html#cachegcinterval">CacheGcInterval</A> -<LI><A HREF="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</A> -<LI><A HREF="mod_proxy.html#cachemaxexpire">CacheMaxExpire</A> -<LI><A HREF="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</A> -<LI><A HREF="mod_proxy.html#cacheroot">CacheRoot</A> -<LI><A HREF="mod_proxy.html#cachesize">CacheSize</A> -<LI><A HREF="mod_speling.html#checkspelling">CheckSpelling</A> -<LI><A HREF="core.html#clearmodulelist">ClearModuleList</A> -<LI><A HREF="core.html#contentdigest">ContentDigest</A> -<li><a href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> -<LI><A HREF="mod_usertrack.html#cookieexpires">CookieExpires</A> -<li><a href="mod_usertrack.html#cookieformat">CookieFormat</a></li> -<LI><A HREF="mod_cookies.html#cookielog">CookieLog</A> (mod_cookies) -<LI><A HREF="mod_log_config.html#cookielog">CookieLog</A> (mod_log_config) -<li><a href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> -<li><a href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> -<LI><A HREF="mod_usertrack.html#cookietracking">CookieTracking</A> -<LI><A HREF="core.html#coredumpdirectory">CoreDumpDirectory</A> -<LI><A HREF="mod_log_config.html#customlog">CustomLog</A> -<LI><A HREF="mod_autoindex.html#defaulticon">DefaultIcon</A> -<LI><A HREF="mod_mime.html#defaultlanguage">DefaultLanguage</A> -<LI><A HREF="core.html#defaulttype">DefaultType</A> -<LI><A HREF="mod_access.html#deny">Deny</A> -<LI><A HREF="core.html#directory"><Directory></A> -<LI><A HREF="core.html#directorymatch"><DirectoryMatch></A> -<LI><A HREF="mod_dir.html#directoryindex">DirectoryIndex</A> -<LI><A HREF="core.html#documentroot">DocumentRoot</A> -<LI><A HREF="core.html#ebcdicconvert">EBCDICConvert</A> -<LI><A HREF="core.html#ebcdicconvertbytype">EBCDICConvertByType</A> -<LI><A HREF="core.html#ebcdickludge">EBCDICKludge</A> -<LI><A HREF="core.html#errordocument">ErrorDocument</A> -<li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> -<LI><A HREF="core.html#errorlog">ErrorLog</A> -<LI><A HREF="mod_example.html#example">Example</A> -<LI><A HREF="mod_expires.html#expiresactive">ExpiresActive</A> -<LI><A HREF="mod_expires.html#expiresbytype">ExpiresByType</A> -<LI><A HREF="mod_expires.html#expiresdefault">ExpiresDefault</A> -<LI><A HREF="mod_status.html#extendedstatus">ExtendedStatus</A> -<LI><A HREF="mod_autoindex.html#fancyindexing">FancyIndexing</A> -<li><a href="core.html#fileetag">FileETag</a></li> -<LI><A HREF="core.html#files"><Files></A> -<LI><A HREF="core.html#filesmatch"><FilesMatch></A> -<LI><A HREF="mod_mime.html#forcetype">ForceType</A> -<LI><A HREF="core.html#group">Group</A> -<LI><A HREF="mod_headers.html#header">Header</A> -<LI><A HREF="mod_autoindex.html#headername">HeaderName</A> -<LI><A HREF="core.html#hostnamelookups">HostNameLookups</A> -<LI><A HREF="core.html#identitycheck">IdentityCheck</A> -<LI><A HREF="core.html#ifdefine"><IfDefine></A> -<LI><A HREF="core.html#ifmodule"><IfModule></A> -<LI><A HREF="mod_imap.html#imapbase">ImapBase</A> -<LI><A HREF="mod_imap.html#imapdefault">ImapDefault</A> -<LI><A HREF="mod_imap.html#imapmenu">ImapMenu</A> -<LI><A HREF="core.html#include">Include</A> -<LI><A HREF="mod_autoindex.html#indexignore">IndexIgnore</A> -<LI><A HREF="mod_autoindex.html#indexoptions">IndexOptions</A> -<LI><A HREF="mod_autoindex.html#indexorderdefault">IndexOrderDefault</A> -<LI><A HREF="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</A> -<LI><A HREF="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</A> -<LI><A HREF="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</A> -<LI><A HREF="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</A> -<LI><A HREF="core.html#keepalive">KeepAlive</A> -<LI><A HREF="core.html#keepalivetimeout">KeepAliveTimeout</A> -<LI><A HREF="mod_negotiation.html#languagepriority">LanguagePriority</A> -<LI><A HREF="core.html#limit"><Limit></A> -<LI><A HREF="core.html#limitexcept"><LimitExcept></A> -<LI><A HREF="core.html#limitinternalrecursion">LimitInternalRecursion</A> -<LI><A HREF="core.html#limitrequestbody">LimitRequestBody</A> -<LI><A HREF="core.html#limitrequestfields">LimitRequestFields</A> -<LI><A HREF="core.html#limitrequestfieldsize">LimitRequestFieldsize</A> -<LI><A HREF="core.html#limitrequestline">LimitRequestLine</A> -<LI><A HREF="core.html#listen">Listen</A> -<LI><A HREF="core.html#listenbacklog">ListenBacklog</A> -<LI><A HREF="mod_so.html#loadfile">LoadFile</A> -<LI><A HREF="mod_so.html#loadmodule">LoadModule</A> -<LI><A HREF="core.html#location"><Location></A> -<LI><A HREF="core.html#locationmatch"><LocationMatch></A> -<LI><A HREF="core.html#lockfile">LockFile</A> -<LI><A HREF="mod_log_config.html#logformat">LogFormat</A> -<LI><A HREF="core.html#loglevel">LogLevel</A> -<LI><A HREF="core.html#maxclients">MaxClients</A> -<LI><A HREF="core.html#maxkeepaliverequests">MaxKeepAliveRequests</A> -<LI><A HREF="core.html#maxrequestsperchild">MaxRequestsPerChild</A> -<LI><A HREF="core.html#maxspareservers">MaxSpareServers</A> -<LI><A HREF="mod_cern_meta.html#metadir">MetaDir</A> -<LI><A HREF="mod_cern_meta.html#metafiles">MetaFiles</A> -<LI><A HREF="mod_cern_meta.html#metasuffix">MetaSuffix</A> -<LI><A HREF="mod_mime_magic.html#mimemagicfile">MimeMagicFile</A> -<LI><A HREF="core.html#minspareservers">MinSpareServers</A> -<LI><A HREF="mod_mmap_static.html#mmapfile">MMapFile</A> -<LI><A HREF="core.html#namevirtualhost">NameVirtualHost</A> -<LI><A HREF="mod_proxy.html#nocache">NoCache</A> -<LI><A HREF="core.html#options">Options</A> -<LI><A HREF="mod_access.html#order">Order</A> -<LI><A HREF="mod_env.html#passenv">PassEnv</A> -<LI><A HREF="core.html#pidfile">PidFile</A> -<LI><A HREF="core.html#port">Port</A> -<li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> -<LI><A HREF="mod_proxy.html#proxyblock">ProxyBlock</A> -<LI><A HREF="mod_proxy.html#proxydomain">ProxyDomain</A> -<LI><A HREF="mod_proxy.html#proxypass">ProxyPass</A> -<LI><A HREF="mod_proxy.html#proxypassreverse">ProxyPassReverse</A> -<LI><A HREF="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</A> -<LI><A HREF="mod_proxy.html#proxyremote">ProxyRemote</A> -<LI><A HREF="mod_proxy.html#proxyrequests">ProxyRequests</A> -<LI><A HREF="mod_proxy.html#proxyvia">ProxyVia</A> -<LI><A HREF="mod_autoindex.html#readmename">ReadmeName</A> -<LI><A HREF="mod_alias.html#redirect">Redirect</A> -<LI><A HREF="mod_alias.html#redirectmatch">RedirectMatch</A> -<LI><A HREF="mod_alias.html#redirectperm">RedirectPermanent</A> -<LI><A HREF="mod_alias.html#redirecttemp">RedirectTemp</A> -<LI><A HREF="mod_log_referer.html#refererignore">RefererIgnore</A> -<LI><A HREF="mod_log_referer.html#refererlog">RefererLog</A> -<LI><A HREF="mod_mime.html#removeencoding">RemoveEncoding</A> -<LI><A HREF="mod_mime.html#removehandler">RemoveHandler</A> -<LI><A HREF="mod_mime.html#removetype">RemoveType</A> -<LI><A HREF="core.html#require">Require</A> -<LI><A HREF="core.html#resourceconfig">ResourceConfig</A> -<LI><A HREF="mod_rewrite.html#RewriteBase">RewriteBase</A> -<LI><A HREF="mod_rewrite.html#RewriteCond">RewriteCond</A> -<LI><A HREF="mod_rewrite.html#RewriteEngine">RewriteEngine</A> -<LI><A HREF="mod_rewrite.html#RewriteLock">RewriteLock</A> -<LI><A HREF="mod_rewrite.html#RewriteLog">RewriteLog</A> -<LI><A HREF="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</A> -<LI><A HREF="mod_rewrite.html#RewriteMap">RewriteMap</A> -<LI><A HREF="mod_rewrite.html#RewriteOptions">RewriteOptions</A> -<LI><A HREF="mod_rewrite.html#RewriteRule">RewriteRule</A> -<LI><A HREF="core.html#rlimitcpu">RLimitCPU</A> -<LI><A HREF="core.html#rlimitmem">RLimitMEM</A> -<LI><A HREF="core.html#rlimitnproc">RLimitNPROC</A> -<LI><A HREF="core.html#satisfy">Satisfy</A> -<LI><A HREF="core.html#scoreboardfile">ScoreBoardFile</A> -<LI><A HREF="mod_actions.html#script">Script</A> -<LI><A HREF="mod_alias.html#scriptalias">ScriptAlias</A> -<LI><A HREF="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</A> -<LI><A HREF="core.html#scriptinterpretersource">ScriptInterpreterSource</A> -<LI><A HREF="mod_cgi.html#scriptlog">ScriptLog</A> -<LI><A HREF="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</A> -<LI><A HREF="mod_cgi.html#scriptloglength">ScriptLogLength</A> -<LI><A HREF="core.html#sendbuffersize">SendBufferSize</A> -<LI><A HREF="core.html#serveradmin">ServerAdmin</A> -<LI><A HREF="core.html#serveralias">ServerAlias</A> -<LI><A HREF="core.html#servername">ServerName</A> -<LI><A HREF="core.html#serverpath">ServerPath</A> -<LI><A HREF="core.html#serverroot">ServerRoot</A> -<LI><A HREF="core.html#serversignature">ServerSignature</A> -<LI><A HREF="core.html#servertokens">ServerTokens</A> -<LI><A HREF="core.html#servertype">ServerType</A> -<LI><A HREF="mod_env.html#setenv">SetEnv</A> -<LI><A HREF="mod_setenvif.html#setenvif">SetEnvIf</A> -<LI><A HREF="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</A> -<LI><A HREF="mod_mime.html#sethandler">SetHandler</A> -<li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> -<LI><A HREF="core.html#startservers">StartServers</A> -<LI><A HREF="core.html#threadsperchild">ThreadsPerChild</A> -<LI><A HREF="core.html#timeout">TimeOut</A> -<LI><A HREF="mod_log_config.html#transferlog">TransferLog</A> -<LI><A HREF="mod_mime.html#typesconfig">TypesConfig</A> -<LI><A HREF="mod_env.html#unsetenv">UnsetEnv</A> -<LI><A HREF="core.html#usecanonicalname">UseCanonicalName</A> -<LI><A HREF="core.html#user">User</A> -<LI><A HREF="mod_userdir.html#userdir">UserDir</A> -<LI><A HREF="core.html#virtualhost"><VirtualHost></A> -<LI><A HREF="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</A> -<LI><A HREF="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</A> -<LI><A HREF="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</A> -<LI><A HREF="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</A> -<LI><A HREF="mod_include.html#xbithack">XBitHack</A> -</UL> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - -</BODY> -</HTML> diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.en b/usr.sbin/httpd/htdocs/manual/mod/directives.html.en deleted file mode 100644 index 97d728422aa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.en +++ /dev/null @@ -1,625 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache directives</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache Directives</h1> - - <p>Each Apache directive available in the standard Apache - distribution is listed here. They are described using a - consistent format, and there is <a href="directive-dict.html" - rel="Glossary">a dictionary</a> of the terms used in their - descriptions available.</p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a - href="core.html#accessfilename">AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a - href="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addaltbytype">AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a - href="core.html#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a - href="mod_autoindex.html#adddescription">AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addiconbytype">AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a - href="mod_info.html#addmoduleinfo">AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">Allow</a></li> - - <li><a - href="mod_proxy.html#allowconnect">AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a - href="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</a></li> - - <li><a - href="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</a></li> - - <li><a - href="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</a></li> - - <li><a - href="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</a></li> - - <li><a - href="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</a></li> - - <li><a - href="mod_auth.html#authauthoritative">AuthAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_db.html#authdbuserfile">AuthDBUserFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a></li> - - <li><a - href="mod_digest.html#authdigestfile">AuthDigestFile</a></li> - - <li><a - href="mod_auth.html#authgroupfile">AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a - href="mod_auth.html#authuserfile">AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a - href="mod_setenvif.html#browsermatch">BrowserMatch</a></li> - - <li><a - href="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a - href="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</a></li> - - <li><a - href="mod_proxy.html#cachedirlength">CacheDirLength</a></li> - - <li><a - href="mod_proxy.html#cachedirlevels">CacheDirLevels</a></li> - - <li><a - href="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</a></li> - - <li><a - href="mod_proxy.html#cachegcinterval">CacheGcInterval</a></li> - - <li><a - href="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li> - - <li><a - href="mod_proxy.html#cachemaxexpire">CacheMaxExpire</a></li> - - <li><a - href="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a href="core.html#cgicommandargs">CGICommandArgs</a></li> - - <li><a - href="mod_speling.html#checkspelling">CheckSpelling</a></li> - - <li><a - href="core.html#clearmodulelist">ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a - href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> - - <li><a - href="mod_usertrack.html#cookieexpires">CookieExpires</a></li> - - <li><a - href="mod_usertrack.html#cookieformat">CookieFormat</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> - - <li><a - href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> - - <li><a - href="mod_usertrack.html#cookietracking">CookieTracking</a></li> - - <li><a - href="core.html#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a - href="mod_log_config.html#customlog">CustomLog</a></li> - - <li><a - href="mod_autoindex.html#defaulticon">DefaultIcon</a></li> - - <li><a - href="mod_mime.html#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_define.html#define">Define</a> - - <li><a href="mod_access.html#deny">Deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a - href="core.html#directorymatch"><DirectoryMatch></a></li> - - <li><a - href="mod_dir.html#directoryindex">DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a - href="mod_expires.html#expiresactive">ExpiresActive</a></li> - - <li><a - href="mod_expires.html#expiresbytype">ExpiresByType</a></li> - - <li><a - href="mod_expires.html#expiresdefault">ExpiresDefault</a></li> - - <li><a - href="mod_status.html#extendedstatus">ExtendedStatus</a></li> - - <li><a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a></li> - - <li><a href="core.html#fileetag">FileETag</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a - href="core.html#filesmatch"><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a - href="mod_autoindex.html#headername">HeaderName</a></li> - - <li><a - href="core.html#hostnamelookups">HostnameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a - href="mod_autoindex.html#indexignore">IndexIgnore</a></li> - - <li><a - href="mod_autoindex.html#indexoptions">IndexOptions</a></li> - - <li><a - href="mod_autoindex.html#indexorderdefault">IndexOrderDefault</a></li> - - <li><a - href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</a></li> - - <li><a - href="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a - href="core.html#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a - href="mod_negotiation.html#languagepriority">LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a - href="core.html#limitexcept"><LimitExcept></a></li> - - <li><a - href="core.html#limitinternalrecursion">LimitInternalRecursion</a></li> - - <li><a - href="core.html#limitrequestbody">LimitRequestBody</a></li> - - <li><a - href="core.html#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="core.html#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a - href="core.html#limitrequestline">LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a - href="core.html#locationmatch"><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a - href="mod_log_config.html#logformat">LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a - href="core.html#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="core.html#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a - href="core.html#maxspareservers">MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a - href="mod_cern_meta.html#metasuffix">MetaSuffix</a></li> - - <li><a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></li> - - <li><a - href="core.html#minspareservers">MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a - href="core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">Order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a - href="mod_proxy.html#proxypassreverse">ProxyPassReverse</a></li> - - <li><a - href="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a - href="mod_proxy.html#proxyrequests">ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a - href="mod_autoindex.html#readmename">ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a - href="mod_alias.html#redirectmatch">RedirectMatch</a></li> - - <li><a - href="mod_alias.html#redirectperm">RedirectPermanent</a></li> - - <li><a - href="mod_alias.html#redirecttemp">RedirectTemp</a></li> - - <li><a - href="mod_log_referer.html#refererignore">RefererIgnore</a></li> - - <li><a - href="mod_log_referer.html#refererlog">RefererLog</a></li> - - <li><a - href="mod_mime.html#removeencoding">RemoveEncoding</a></li> - - <li><a - href="mod_mime.html#removehandler">RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">Require</a></li> - - <li><a - href="core.html#resourceconfig">ResourceConfig</a></li> - - <li><a - href="mod_rewrite.html#RewriteBase">RewriteBase</a></li> - - <li><a - href="mod_rewrite.html#RewriteCond">RewriteCond</a></li> - - <li><a - href="mod_rewrite.html#RewriteEngine">RewriteEngine</a></li> - - <li><a - href="mod_rewrite.html#RewriteLock">RewriteLock</a></li> - - <li><a href="mod_rewrite.html#RewriteLog">RewriteLog</a></li> - - <li><a - href="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#RewriteMap">RewriteMap</a></li> - - <li><a - href="mod_rewrite.html#RewriteOptions">RewriteOptions</a></li> - - <li><a - href="mod_rewrite.html#RewriteRule">RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a - href="core.html#scoreboardfile">ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a - href="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></li> - - <li><a - href="core.html#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a - href="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></li> - - <li><a - href="mod_cgi.html#scriptloglength">ScriptLogLength</a></li> - - <li><a - href="core.html#sendbuffersize">SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a - href="core.html#serversignature">ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a - href="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="mod_ssl/ssl_reference.html#SSLPassPhraseDialog">SSLPassPhraseDialog</a> - <li><a href="mod_ssl/ssl_reference.html#SSLMutex">SSLMutex</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRandomSeed">SSLRandomSeed</a> - <li><a href="mod_ssl/ssl_reference.html#SSLSessionCache">SSLSessionCache</a> - <li><a href="mod_ssl/ssl_reference.html#SSLSessionCacheTimeout">SSLSessionCacheTimeout</a> - <li><a href="mod_ssl/ssl_reference.html#SSLEngine">SSLEngine</a> - <li><a href="mod_ssl/ssl_reference.html#SSLProtocol">SSLProtocol</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCipherSuite">SSLCipherSuite</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCertificateFile">SSLCertificateFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCertificateKeyFile">SSLCertificateKeyFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCACertificatePath">SSLCACertificatePath</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCACertificateFile">SSLCACertificateFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCARevocationPath">SSLCARevocationPath</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCARevocationFile">SSLCARevocationFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLVerifyClient">SSLVerifyClient</a> - <li><a href="mod_ssl/ssl_reference.html#SSLVerifyDepth">SSLVerifyDepth</a> - <li><a href="mod_ssl/ssl_reference.html#SSLLog">SSLLog</a> - <li><a href="mod_ssl/ssl_reference.html#SSLLogLevel">SSLLogLevel</a> - <li><a href="mod_ssl/ssl_reference.html#SSLOptions">SSLOptions</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRequireSSL">SSLRequireSSL</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRequire">SSLRequire</a> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a - href="core.html#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a - href="mod_log_config.html#transferlog">TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a - href="core.html#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a - href="core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr b/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr deleted file mode 100644 index 9576f91168c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr +++ /dev/null @@ -1,580 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.69 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Directives Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Directives Apache</h1> - - <p>Chacune des directives Apache disponible dans la - distribution standard est listée ici. Elles sont - décrites selon un format précis, et nous - fournissons un <a href="directive-dict.html" - rel="Glossary">dictionnaire</a> des termes utilisés pour - leur description.</p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a - href="core.html#accessfilename">AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a - href="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addaltbytype">AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a - href="core.html#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a - href="mod_autoindex.html#adddescription">AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addiconbytype">AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a - href="mod_info.html#addmoduleinfo">AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">allow</a></li> - - <li><a - href="mod_proxy.html#allowconnect">AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a - href="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</a></li> - - <li><a - href="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</a></li> - - <li><a - href="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</a></li> - - <li><a - href="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</a></li> - - <li><a - href="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</a></li> - - <li><a - href="mod_auth.html#authauthoritative">AuthAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_db.html#authdbuserfile">AuthDBUserFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a></li> - - <li><a - href="mod_digest.html#authdigestfile">AuthDigestFile</a></li> - - <li><a - href="mod_auth.html#authgroupfile">AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a - href="mod_auth.html#authuserfile">AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a - href="mod_setenvif.html#browsermatch">BrowserMatch</a></li> - - <li><a - href="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a - href="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</a></li> - - <li><a - href="mod_proxy.html#cachedirlength">CacheDirLength</a></li> - - <li><a - href="mod_proxy.html#cachedirlevels">CacheDirLevels</a></li> - - <li><a - href="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</a></li> - - <li><a - href="mod_proxy.html#cachegcinterval">CacheGcInterval</a></li> - - <li><a - href="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li> - - <li><a - href="mod_proxy.html#cachemaxexpire">CacheMaxExpire</a></li> - - <li><a - href="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a - href="mod_speling.html#checkspelling">CheckSpelling</a></li> - - <li><a - href="core.html#clearmodulelist">ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a - href="mod_usertrack.html#cookieexpires">CookieExpires</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookietracking">CookieTracking</a></li> - - <li><a - href="core.html#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a - href="mod_log_config.html#customlog">CustomLog</a></li> - - <li><a - href="mod_autoindex.html#defaulticon">DefaultIcon</a></li> - - <li><a - href="mod_mime.html#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_access.html#deny">deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a - href="core.html#directorymatch"><DirectoryMatch></a></li> - - <li><a - href="mod_dir.html#directoryindex">DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a - href="mod_expires.html#expiresactive">ExpiresActive</a></li> - - <li><a - href="mod_expires.html#expiresbytype">ExpiresByType</a></li> - - <li><a - href="mod_expires.html#expiresdefault">ExpiresDefault</a></li> - - <li><a - href="mod_status.html#extendedstatus">ExtendedStatus</a></li> - - <li><a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a - href="core.html#filesmatch"><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a - href="mod_autoindex.html#headername">HeaderName</a></li> - - <li><a - href="core.html#hostnamelookups">HostNameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a - href="mod_autoindex.html#indexignore">IndexIgnore</a></li> - - <li><a - href="mod_autoindex.html#indexoptions">IndexOptions</a></li> - - <li><a - href="mod_autoindex.html#indexorderdefault">IndexOrderDefault</a></li> - - <li><a - href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</a></li> - - <li><a - href="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a - href="core.html#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a - href="mod_negotiation.html#languagepriority">LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a - href="core.html#limitexcept"><LimitExcept></a></li> - - <li><a - href="core.html#limitrequestbody">LimitRequestBody</a></li> - - <li><a - href="core.html#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="core.html#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a - href="core.html#limitrequestline">LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a - href="core.html#locationmatch"><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a - href="mod_log_config.html#logformat">LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a - href="core.html#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="core.html#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a - href="core.html#maxspareservers">MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a - href="mod_cern_meta.html#metasuffix">MetaSuffix</a></li> - - <li><a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></li> - - <li><a - href="core.html#minspareservers">MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a - href="core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a - href="mod_proxy.html#proxypassreverse">ProxyPassReverse</a></li> - - <li><a - href="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a - href="mod_proxy.html#proxyrequests">ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a - href="mod_autoindex.html#readmename">ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a - href="mod_alias.html#redirectmatch">RedirectMatch</a></li> - - <li><a - href="mod_alias.html#redirectperm">RedirectPermanent</a></li> - - <li><a - href="mod_alias.html#redirecttemp">RedirectTemp</a></li> - - <li><a - href="mod_log_referer.html#refererignore">RefererIgnore</a></li> - - <li><a - href="mod_log_referer.html#refererlog">RefererLog</a></li> - - <li><a - href="mod_mime.html#removeencoding">RemoveEncoding</a></li> - - <li><a - href="mod_mime.html#removehandler">RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">require</a></li> - - <li><a - href="core.html#resourceconfig">ResourceConfig</a></li> - - <li><a - href="mod_rewrite.html#RewriteBase">RewriteBase</a></li> - - <li><a - href="mod_rewrite.html#RewriteCond">RewriteCond</a></li> - - <li><a - href="mod_rewrite.html#RewriteEngine">RewriteEngine</a></li> - - <li><a - href="mod_rewrite.html#RewriteLock">RewriteLock</a></li> - - <li><a href="mod_rewrite.html#RewriteLog">RewriteLog</a></li> - - <li><a - href="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#RewriteMap">RewriteMap</a></li> - - <li><a - href="mod_rewrite.html#RewriteOptions">RewriteOptions</a></li> - - <li><a - href="mod_rewrite.html#RewriteRule">RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a - href="core.html#scoreboardfile">ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a - href="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></li> - - <li><a - href="core.html#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a - href="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></li> - - <li><a - href="mod_cgi.html#scriptloglength">ScriptLogLength</a></li> - - <li><a - href="core.html#sendbuffersize">SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a - href="core.html#serversignature">ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a - href="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a - href="core.html#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a - href="mod_log_config.html#transferlog">TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a - href="core.html#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a - href="core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis deleted file mode 100644 index 24d9d5489d4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis +++ /dev/null @@ -1,598 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%G%#%l%/%F%#%V(B</title> - - </head> - <!-- English revision: 1.82 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%G%#%l%/%F%#%V(B</h1> - - <p>$BDL>o$N(B Apache $BG[I[$K4^$^$l$k(B Apache $B$N%G%#%l%/%F%#%V$O!"(B - $B<!$N$h$&$K$J$j$^$9!#5-=R$K4X$9$k4pK\=q<0$K$D$$$F$O!"(B - $B$=$l$i$NM-8z$JI=5-$K4X$9$k(B <a href="directive-dict.html" - rel="glossary">$B<-=q(B</a> $B$,MQ0U$5$l$F$$$^$9!#(B - </p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a href="core.html#accessfilename" - >AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a href="mod_autoindex.html#addaltbyencoding" - >AddAltByEncoding</a></li> - - <li><a href="mod_autoindex.html#addaltbytype" - >AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a href="core.html#adddefaultcharset" - >AddDefaultCharset</a></li> - - <li><a href="mod_autoindex.html#adddescription" - >AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a href="mod_autoindex.html#addiconbyencoding" - >AddIconByEncoding</a></li> - - <li><a href="mod_autoindex.html#addiconbytype" - >AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a href="mod_info.html#addmoduleinfo" - >AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">Allow</a></li> - - <li><a href="mod_proxy.html#allowconnect" - >AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a href="mod_auth_anon.html#authoritative" - >Anonymous_Authoritative</a></li> - - <li><a href="mod_auth_anon.html#logemail" - >Anonymous_LogEmail</a></li> - - <li><a href="mod_auth_anon.html#mustgiveemail" - >Anonymous_MustGiveEmail</a></li> - - <li><a href="mod_auth_anon.html#nouserid" - >Anonymous_NoUserID</a></li> - - <li><a href="mod_auth_anon.html#verifyemail" - >Anonymous_VerifyEmail</a></li> - - <li><a href="mod_auth.html#authauthoritative" - >AuthAuthoritative</a></li> - - <li><a href="mod_auth_db.html#authdbauthoritative" - >AuthDBAuthoritative</a></li> - - <li><a href="mod_auth_db.html#authdbgroupfile" - >AuthDBGroupFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmauthoritative" - >AuthDBMAuthoritative</a></li> - - <li><a href="mod_auth_dbm.html#authdbmgroupfile" - >AuthDBMGroupFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmgroupfile" - >AuthDBMGroupFile</a></li> - - <li><a href="mod_auth_db.html#authdbuserfile" - >AuthDBUserFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmuserfile" - >AuthDBMUserFile</a></li> - - <li><a href="mod_digest.html#authdigestfile" - >AuthDigestFile</a></li> - - <li><a href="mod_auth.html#authgroupfile" - >AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a href="mod_auth.html#authuserfile" - >AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a href="mod_setenvif.html#browsermatch" - >BrowserMatch</a></li> - - <li><a href="mod_setenvif.html#browsermatchnocase" - >BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a href="mod_proxy.html#cachedefaultexpire" - >CacheDefaultExpire</a></li> - - <li><a href="mod_proxy.html#cachedirlength" - >CacheDirLength</a></li> - - <li><a href="mod_proxy.html#cachedirlevels" - >CacheDirLevels</a></li> - - <li><a href="mod_proxy.html#cacheforcecompletion" - >CacheForceCompletion</a></li> - - <li><a href="mod_proxy.html#cachegcinterval" - >CacheGcInterval</a></li> - - <li><a href="mod_proxy.html#cachelastmodifiedfactor" - >CacheLastModifiedFactor</a></li> - - <li><a href="mod_proxy.html#cachemaxexpire" - >CacheMaxExpire</a></li> - - <li><a href="mod_negotiation.html#cachenegotiateddocs" - >CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a href="core.html#cgicommandargs">CGICommandArgs</a></li> - - <li><a href="mod_speling.html#checkspelling" - >CheckSpelling</a></li> - - <li><a href="core.html#clearmodulelist" - >ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> - - <li><a href="mod_usertrack.html#cookieexpires" - >CookieExpires</a></li> - - <li><a - href="mod_usertrack.html#cookieformat">CookieFormat</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> - - <li><a href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> - - <li><a href="mod_usertrack.html#cookietracking" - >CookieTracking</a></li> - - <li><a href="core.html#coredumpdirectory" - >CoreDumpDirectory</a></li> - - <li><a href="mod_log_config.html#customlog" - >CustomLog</a></li> - - <li><a href="mod_autoindex.html#defaulticon" - >DefaultIcon</a></li> - - <li><a href="mod_mime.html#defaultlanguage" - >DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_access.html#deny">Deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a href="core.html#directorymatch" - ><DirectoryMatch></a></li> - - <li><a href="mod_dir.html#directoryindex" - >DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a href="mod_expires.html#expiresactive" - >ExpiresActive</a></li> - - <li><a href="mod_expires.html#expiresbytype" - >ExpiresByType</a></li> - - <li><a href="mod_expires.html#expiresdefault" - >ExpiresDefault</a></li> - - <li><a href="mod_status.html#extendedstatus" - >ExtendedStatus</a></li> - - <li><a href="mod_autoindex.html#fancyindexing" - >FancyIndexing</a></li> - - <li><a href="core.html#fileetag">FileETag</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a href="core.html#filesmatch" - ><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a href="mod_autoindex.html#headername" - >HeaderName</a></li> - - <li><a href="core.html#hostnamelookups" - >HostnameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a href="mod_autoindex.html#indexignore" - >IndexIgnore</a></li> - - <li><a href="mod_autoindex.html#indexoptions" - >IndexOptions</a></li> - - <li><a href="mod_autoindex.html#indexorderdefault" - >IndexOrderDefault</a></li> - - <li><a href="mod_isapi.html#isapireadaheadbuffer" - >ISAPIReadAheadBuffer</a></li> - - <li><a href="mod_isapi.html#isapilognotsupported" - >ISAPILogNotSupported</a></li> - - <li><a href="mod_isapi.html#isapiappendlogtoerrors" - >ISAPIAppendLogToErrors</a></li> - - <li><a href="mod_isapi.html#isapiappendlogtoquery" - >ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a href="core.html#keepalivetimeout" - >KeepAliveTimeout</a></li> - - <li><a href="mod_negotiation.html#languagepriority" - >LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a href="core.html#limitexcept" - ><LimitExcept></a></li> - - <li><a href="core.html#limitinternalrecursion" - >LimitInternalRecursion</a></li> - - <li><a href="core.html#limitrequestbody" - >LimitRequestBody</a></li> - - <li><a href="core.html#limitrequestfields" - >LimitRequestFields</a></li> - - <li><a href="core.html#limitrequestfieldsize" - >LimitRequestFieldsize</a></li> - - <li><a href="core.html#limitrequestline" - >LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a href="core.html#locationmatch" - ><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a href="mod_log_config.html#logformat" - >LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a href="core.html#maxkeepaliverequests" - >MaxKeepAliveRequests</a></li> - - <li><a href="core.html#maxrequestsperchild" - >MaxRequestsPerChild</a></li> - - <li><a href="core.html#maxspareservers" - >MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a href="mod_cern_meta.html#metasuffix" - >MetaSuffix</a></li> - - <li><a href="mod_mime_magic.html#mimemagicfile" - >MimeMagicFile</a></li> - - <li><a href="core.html#minspareservers" - >MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a href="core.html#namevirtualhost" - >NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">Order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a href="mod_proxy.html#proxypassreverse" - >ProxyPassReverse</a></li> - - <li><a href="mod_proxy.html#proxyreceivebuffersize" - >ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a href="mod_proxy.html#proxyrequests" - >ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a href="mod_autoindex.html#readmename" - >ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a href="mod_alias.html#redirectmatch" - >RedirectMatch</a></li> - - <li><a href="mod_alias.html#redirectperm" - >RedirectPermanent</a></li> - - <li><a href="mod_alias.html#redirecttemp" - >RedirectTemp</a></li> - - <li><a href="mod_log_referer.html#refererignore" - >RefererIgnore</a></li> - - <li><a href="mod_log_referer.html#refererlog" - >RefererLog</a></li> - - <li><a href="mod_mime.html#removeencoding" - >RemoveEncoding</a></li> - - <li><a href="mod_mime.html#removehandler" - >RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">Require</a></li> - - <li><a href="core.html#resourceconfig" - >ResourceConfig</a></li> - - <li><a href="mod_rewrite.html#rewritebase" - >RewriteBase</a></li> - - <li><a href="mod_rewrite.html#rewritecond" - >RewriteCond</a></li> - - <li><a href="mod_rewrite.html#rewriteengine" - >RewriteEngine</a></li> - - <li><a href="mod_rewrite.html#rewritelock" - >RewriteLock</a></li> - - <li><a href="mod_rewrite.html#rewritelog">RewriteLog</a></li> - - <li><a href="mod_rewrite.html#rewriteloglevel" - >RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#rewritemap">RewriteMap</a></li> - - <li><a href="mod_rewrite.html#rewriteoptions" - >RewriteOptions</a></li> - - <li><a href="mod_rewrite.html#rewriterule" - >RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a href="core.html#scoreboardfile" - >ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a href="mod_alias.html#scriptaliasmatch" - >ScriptAliasMatch</a></li> - - <li><a href="core.html#scriptinterpretersource" - >ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a href="mod_cgi.html#scriptlogbuffer" - >ScriptLogBuffer</a></li> - - <li><a href="mod_cgi.html#scriptloglength" - >ScriptLogLength</a></li> - - <li><a href="core.html#sendbuffersize" - >SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a href="core.html#serversignature" - >ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a href="mod_setenvif.html#setenvifnocase" - >SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a href="core.html#threadsperchild" - >ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a href="mod_log_config.html#transferlog" - >TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a href="core.html#usecanonicalname" - >UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a href="core.html#virtualhost" - ><VirtualHost></a></li> - - <li><a href="mod_vhost_alias.html#virtualdocumentroot" - >VirtualDocumentRoot</a></li> - - <li><a href="mod_vhost_alias.html#virtualdocumentrootip" - >VirtualDocumentRootIP</a></li> - - <li><a href="mod_vhost_alias.html#virtualscriptalias" - >VirtualScriptAlias</a></li> - - <li><a href="mod_vhost_alias.html#virtualscriptaliasip" - >VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en deleted file mode 100644 index b211f866f46..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en +++ /dev/null @@ -1,308 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache modules</h1> - - <p>Below is a list of all of the modules that come as part of - the Apache distribution. See also the list of modules <a - href="./">sorted alphabetically</a> and the complete - alphabetical list of <a href="directives.html">all Apache - directives</a>. For modules that are not part of the Apache - distribution, please see <a - href="http://modules.apache.org/">http://modules.apache.org</a>.</p> - - <h2>Core</h2> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Core Apache features</dd> - </dl> - - <h2>Environment Creation</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a></dt> - - <dd>Passing of environments to CGI scripts</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - and up</dt> - - <dd>Set environment variables based on client - information</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>Generate unique request identifier for every request</dd> - </dl> - - <h2>Content Type Decisions</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Determining document types using file extensions</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Determining document types using "magic numbers"</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Content negotiation</dd> - </dl> - - <h2>URL Mapping</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Mapping different parts of the host filesystem in the - document tree, and URL redirection</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 and - up</dt> - - <dd>Powerful URI-to-filename mapping using regular - expressions</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>User home directories</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 and - up</dt> - - <dd>Automatically correct minor typos in URLs</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 and up</dt> - - <dd>Support for dynamically configured mass virtual - hosting</dd> - </dl> - - <h2>Directory Handling</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Basic directory handling</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Automatic directory listings</dd> - </dl> - - <h2>Access Control</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Access control based on client hostname or IP - address</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>User authentication using text files</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>User authentication using DBM files</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a></dt> - - <dd>User authentication using Berkeley DB files</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - and up</dt> - - <dd>Anonymous user access to authenticated areas</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 and up</dt> - - <dd>Experimental MD5 authentication</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 and - up</dt> - - <dd>MD5 authentication</dd> - </dl> - - <h2>HTTP Response</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 and - up</dt> - - <dd>Add arbitrary HTTP headers to resources</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - and up</dt> - - <dd>Support for HTTP header metafiles</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 and - up</dt> - - <dd>Apply Expires: headers to resources</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Sending files which contain their own HTTP headers</dd> - </dl> - - <h2>Dynamic Content</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Server-parsed documents</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Invoking CGI scripts</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 and - up</dt> - - <dd>Executing CGI scripts based on media type or request - method</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 only</dt> - - <dd>Windows ISAPI Extension support</dd> - </dl> - - <h2>Internal Content Handlers</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 and - up</dt> - - <dd>Server status display</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 and - up</dt> - - <dd>Server configuration information</dd> - </dl> - - <h2>Logging</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>User-configurable logging replacement for - mod_log_common</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Logging of User Agents</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Logging of document references</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - and up</dt> - - <dd>User tracking using Cookies (replacement for - mod_cookies.c)</dd> - </dl> - - <h2>Miscellaneous</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 and - up</dt> - - <dd>The imagemap file handler</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 and - up</dt> - - <dd>Caching proxy abilities</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 and up</dt> - - <dd>Support for loading modules (DLLs on Windows) at - runtime</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 and up</dt> - - <dd>Experimental file caching, mapping files into memory to - improve performace</dd> - - <dt><a href="mod_ssl/index.html">mod_ssl</a> Apache 1.3 with mod_ssl - applied</dt> - - <dd>Apache SSL interface to OpenSSL</dd> - </dl> - - <h2>Development</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 and - up</dt> - - <dd>Demonstrates Apache API</dd> - </dl> - - <h2>Obsolete</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - only</dt> - - <dd>Set environment variables based on User-Agent strings. - Replaced by mod_setenvif in Apache 1.3 and up</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> up to Apache - 1.1.1</dt> - - <dd>Support for Netscape-like cookies. Replaced in Apache 1.2 - by mod_usertrack</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* and - earlier</dt> - - <dd>Start-time linking with the GNU libdld. Replaced in - Apache 1.3 by mod_so</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> up to - Apache 1.1.1</dt> - - <dd>Standard logging in the Common Logfile Format. Replaced - by the mod_log_config module in Apache 1.2 and up</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr deleted file mode 100644 index f8542681efa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr +++ /dev/null @@ -1,329 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Traduction anglais 1.11 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Modules Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Modules Apache</h1> - - <p>Ci dessous est donnée une liste des modules faisant - partie de la distribution Apache. Voir aussi la liste des - modules <a href="./">triés alphabétiquement</a> - et la liste complète alphabétique de <a - href="directives.html">toutes les directives d'Apache</a>. Pour - les modules d'Apache qui ne font pas partie de la distribution, - vous pouvez consulter <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <h2>Base</h2> - - <dl> - <dt><a href="core.html">Base</a></dt> - - <dd>Fonctionnalités de base d'Apache</dd> - </dl> - - <h2>Création de l'environnement</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 et - supérieur</dt> - - <dd>Passage d'environnement aux scripts CGI</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - et supérieur</dt> - - <dd>Définition de variables d'environnement en - fonction des informations client</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - et supérieur</dt> - - <dd>Génération d'identifiants uniques de - requête</dd> - </dl> - - <h2>Gestion du type de contenu</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Détermination du type des documents en fonction de - l'extension du fichier</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Détermination du type des documents en fonction de - "nombres magiques"</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Négotiation de contenu</dd> - </dl> - - <h2>Transformation d'URL</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Association de différentes parties du - système de fichier de l'hôte dans l'arborescence - des documents, et redirection des URL.</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 et - supérieur</dt> - - <dd>Association des URI à des fichiers en utilisant - des expressions régulières</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>Répertoires personnels d'utilisateurs</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 et - supérieur</dt> - - <dd>Correction automatique d'erreurs de frappe mineures dans - les URL</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 et supérieur</dt> - - <dd>Support d'hôtes virtuels dynamiquement - configurables</dd> - </dl> - - <h2>Gestion des répertoires</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Gestion de base des répertoires</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Création automatique des listes des - répertoires</dd> - </dl> - - <h2>Contrôle d'accès</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Contrôle d'accès basé sur le nom du - client ou son adresse IP</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier texte</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier DBM</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 and - up</dt> - - <dd>Authentification des utilisateurs à partir d'une - base Berkeley</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - et supérieur</dt> - - <dd>Accès aux utilisateurs anonymes à des zones - authentifiées</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 et supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5 (expérimental)</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5</dd> - </dl> - - <h2>Réponse HTTP</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout d'en-têtes HTTP aux ressources</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - et supérieur</dt> - - <dd>Support des métafichiers d'en-tête HTTP</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout de l'en-tête Expires: pour les ressources - demandées</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Envoi de fichiers contenant leurs propres en-têtes - HTTP</dd> - </dl> - - <h2>Contenu dynamique</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Documents analysés par le serveur</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Appel des scripts CGI</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 et - supérieur</dt> - - <dd>Exécution de scripts CGI en fonction du type de - média ou de la requête</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 - seulement</dt> - - <dd>Support des extensions Windows ISAPI</dd> - </dl> - - <h2>Gestion du contenu interne</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 et - supérieur</dt> - - <dd>Affichage de l'état du système</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 et - supérieur</dt> - - <dd>Informations sur la configuration du serveur</dd> - </dl> - - <h2>Trace</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>Trace configurable des accès. Remplace - mod_log_common</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Trace des User Agents</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Trace des référence d'un document</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - et supérieur</dt> - - <dd>Suivi des utilisateurs à l'aide de cookies - (remplacement de mod_cookies)</dd> - </dl> - - <h2>Divers</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 et - supérieur</dt> - - <dd>Gestion des fichiers imagemap</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 et - supérieur</dt> - - <dd>Module de cache par proxy</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 et - supérieur</dt> - - <dd>Support des modules dynamiques (.so sur Unix, .dll sur - Win32)</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 et supérieur</dt> - - <dd>Module expérimental de cache mémoire des - fichiers afin d'améliorer les performances</dd> - </dl> - - <h2>Développement</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 et - supérieur</dt> - - <dd>Démonstration de l'API Apache</dd> - </dl> - - <h2>Obsolète</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - seulement</dt> - - <dd>Définition de variables d'environnement en - fonction de la chaîne User-Agent. Ce module est - remplacé par mod_setenvif à partir de la - version 1.3</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> jusqu'à - Apache 1.1.1</dt> - - <dd>Support des cookies Netscape. Ce module est - remplacé dans Apache 1.2 par le module - mod_usertrack</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* et - précédents</dt> - - <dd>Lien au lancement en utilisant la librairie GNU libdld. - Ce module est remplcé dans Apache 1.3 par mod_so</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - jusqu'à Apache 1.1.1</dt> - - <dd>Trace des accès utilisant le "Common Logfile - Format". Ce module est remplacé par mod_log_config - à partir d'Apache 1.2</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis deleted file mode 100644 index 605f9aced7e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis +++ /dev/null @@ -1,278 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - - <title>Apache $B%b%8%e!<%k(B</title> - </head> - <!-- English revision: 1.12 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k(B</h1> - - <p>Apache $B$NG[I[$K4^$^$l$F$$$k%b%8%e!<%k$O!"0J2<$NDL$j$G$9!#(B - <a href="./">$B%"%k%U%!%Y%C%H=g(B</a> $B$d(B <a href="directives.html">Apache - $B$NA4%G%#%l%/%F%#%V(B</a> $B$N%"%k%U%!%Y%C%H=g%j%9%H$b;2>H$7$F$/$@$5$$!#(B - Apache $B$NG[I[$K4^$^$l$J$$(B Apache $B%b%8%e!<%k$K$D$$$F$O(B <a - href="http://modules.apache.org/">http://modules.apache.org</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%3%"(B</h2> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Apache $B$N%3%"(B</dd> - </dl> - - <h2>$B4D6-JQ?t$NA`:n(B</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a></dt> - - <dd>CGI $B%9%/%j%W%H$KBP$7$F$5$^$6$^$J4D6-JQ?t$rEO$9(B</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B%/%i%$%"%s%H$N>pJs$r85$K4D6-JQ?t$r@_Dj$9$k(B</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>$B%j%/%(%9%H$4$H$K!"0l0U$J%j%/%(%9%H(B ID $B$r@8@.$9$k(B</dd> - </dl> - - <h2>$B%3%s%F%s%D$N<oN`$r7hDj$9$k(B</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>$B%U%!%$%k$N3HD%;R$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>"$B%^%8%C%/%J%s%P!<(B" $B$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>$B%3%s%F%s%H%M%4%7%(!<%7%g%s5!G=$rDs6!$9$k(B</dd> - </dl> - - <h2>URL $B$N%^%C%T%s%0$r9T$&(B</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>$B%[%9%H%U%!%$%k%7%9%F%`$N%I%-%e%a%s%H%D%j!<$X$N%^%C%T%s%05Z$S(B - URL $B$N%j%@%$%l%/%7%g%s$r9T$J$&(B</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B@55,I=8=$rMxMQ$7$?!"(BURI - $B$+$i%U%!%$%kL>$X$N6/NO$J%^%C%T%s%05!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>$B%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 $B0J9_(B</dt> - - <dd>URL $B$N>.$5$J5-=R%_%9$r<+F0E*$K=$@5$9$k(B</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache 1.3.7 $B0J9_(B</dt> - - <dd>$B$?$/$5$s$N%P!<%A%c%k%[%9%H@_Dj$rF0E*$K9=@.$9$k(B</dd> - </dl> - - <h2>$B%G%#%l%/%H%j$r<h$j07$&(B</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>$B%G%#%l%/%H%j$N<h$j07$$$K$D$$$F$N!"4pK\E*$J5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>$B<+F0E*$K%G%#%l%/%H%j0lMw$r:n@.$9$k(B</dd> - </dl> - - <h2>$B%"%/%;%9@)8f(B</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>$B%/%i%$%"%s%H$N%[%9%HL>$d(B IP $B%"%I%l%9$K$h$C$F%"%/%;%9@)8f$r9T$J$&(B</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>$B%F%-%9%H%U%!%$%k7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>DBM $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a></dt> - - <dd>Berkeley DB $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$BG'>Z$,I,MW$H$J$k%(%j%"$X$NF?L>(B (anonymous) $B$G$N%"%/%;%95!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache 1.3.8 $B0J9_(B</dt> - - <dd>MD5 $B$r;HMQ$7$?G'>Z5!G=(B ($BLuCm(B: Digest $BG'>Z(B) $B$rDs6!$9$k(B</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 $B0J9_(B</dt> - - <dd>MD5 $BG'>Z(B ($BLuCm(B: Digest $BG'>Z(B) $B5!G=$rDs6!$9$k(B - (mod_auth_digest $B$K$h$j!"(Bmod_digest $B$OHs?d>)$K$J$C$F$$$k(B)</dd> - </dl> - - <h2>HTTP $B%l%9%]%s%9(B</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$KG$0U$N(B HTTP $B%X%C%@$r2C$($k(B</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 $B0J9_(B</dt> - - <dd>HTTP $B%X%C%@%a%?%U%!%$%k$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$K(B Expires: $B%X%C%@$rE,MQ$9$k(B</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>HTTP $B%X%C%@$r4^$`%U%!%$%k$rAw?.$9$k(B</dd> - </dl> - - <h2>$BF0E*%3%s%F%s%D(B</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>SSI $B%I%-%e%a%s%H$rM-8z$K$9$k(B</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>CGI $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K$h$C$F(B CGI - $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 $B$N$_(B</dt> - - <dd>Windows ISAPI $B%(%/%9%F%s%7%g%s$r%5%]!<%H$9$k(B</dd> - </dl> - - <h2>$BFbIt%3%s%F%s%D%O%s%I%i(B-</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N2TF0>u67$rI=<($9$k(B</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N@_Dj>pJs$r1\Mw$9$k(B</dd> - </dl> - - <h2>$B%m%.%s%0(B</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>mod_log_common $B$NBe$o$j$H$J$k$b$N$G!"%f!<%6$,=q<0$r@_Dj$G$-$k(B</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>User Agent $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>$B%I%-%e%a%s%H$N;2>H85(B (REFERER) $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 $B0J9_(B</dt> - - <dd>cookie $B$K$h$j%f!<%6$NDI@W$r9T$J$&(B (mod_cookies.c $B$rCV$-49$($?$b$N(B)</dd> - </dl> - - <h2>$B$=$NB>(B</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%$%a!<%8%^%C%W%U%!%$%k$r<h$j07$&5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 $B0J9_(B</dt> - - <dd>proxy $B%-%c%C%7%e5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B<B9T;~$K%b%8%e!<%k(B (UNIX$B$G$O(B .so$B!"(BWin32 $B$G$O(B .dll) - $B$rF0E*FI$_9~$_$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache $B0J9_(B</dt> - - <dd>$B%U%!%$%k$N%-%c%C%7%s%0$r9T$J$&<B83E*$J%b%8%e!<%k$G!"(B - $B%U%!%$%k$r%a%b%jFb$K%^%C%T%s%0$9$k$3$H$K$h$j%Q%U%)!<%^%s%9$r8~>e$5$;$k(B</dd> - </dl> - - <h2>$B3+H/MQ(B</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 $B0J9_(B</dt> - - <dd>Apache API $B$N%G%b%s%9%H%l!<%7%g%sMQ(B</dd> - </dl> - - <h2>$B8=:_$G$OMxMQ$5$l$F$$$J$$%b%8%e!<%k(B</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* $B$N$_(B</dt> - - <dd>User-Agent $BJ8;zNs$r85$K4D6-JQ?t$r@_Dj$9$k!#(BApache 1.3 - $B0J9_$K$*$$$F!"(Bmod_setenvif $B$GCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> Apache 1.1.1 $B0J9_(B</dt> - - <dd>Netscape $B$N$h$&$J(B cookie $B$r%5%]!<%H$9$k!#(B Apache 1.2 - $B$K$*$$$F!"(Bmod_usertrack $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* $B0JA0(B</dt> - - <dd>GNU libdld $B$rMQ$$$F5/F0;~$K%b%8%e!<%k$N%j%s%/$r9T$J$&!#(BApache - 1.3 $B$K$*$$$F!"(Bmod_so $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> Apache 1.1.1 $B0J9_(B</dt> - - <dd>Common Logfile Format - $B$G$NI8=`E*$J=q<0$K$h$j%m%0$r5-O?$9$k!#(BApache 1.2 - $B0J9_$K$*$$$F!"(Bmod_log_config $B%b%8%e!<%k$KCV$-49$($i$l$?(B</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.en b/usr.sbin/httpd/htdocs/manual/mod/index.html.en deleted file mode 100644 index 1773eab64fb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.en +++ /dev/null @@ -1,263 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache modules</h1> - - <p>Below is a list of all of the modules that come as part of - the Apache distribution. See also the list of modules <a - href="index-bytype.html">sorted by type</a> and the complete - alphabetical list of <a href="directives.html">all Apache - directives</a>. For Apache modules that are not part of the - Apache distribution, please see <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Core Apache features</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Access control based on client hostname or IP - address</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 and - up</dt> - - <dd>Executing CGI scripts based on media type or request - method</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Mapping different parts of the host filesystem in the - document tree, and URL redirection</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Sending files which contain their own HTTP headers</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>User authentication using text files</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - and up</dt> - - <dd>Anonymous user access to authenticated areas</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 and - up</dt> - - <dd>User authentication using Berkeley DB files</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>User authentication using DBM files</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 and up</dt> - - <dd>MD5 authentication</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Automatic directory listings</dd> - - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - only</dt> - - <dd>Set environment variables based on User-Agent strings. - Replaced by mod_setenvif in Apache 1.3 and up</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - and up</dt> - - <dd>Support for HTTP header metafiles</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Invoking CGI scripts</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> up to Apache - 1.1.1</dt> - - <dd>Support for Netscape-like cookies. Replaced in Apache 1.2 - by mod_usertrack</dd> - - <dt><a href="mod_define.html">mod_define</a></dt> - - <dd>Variable Definition for Arbitrary Directives</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 and - up</dt> - - <dd>MD5 authentication (deprecated by mod_auth_digest)</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Basic directory handling</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* and - earlier</dt> - - <dd>Start-time linking with the GNU libdld. Replaced in - Apache 1.3 by mod_so</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 and up</dt> - - <dd>Passing of environments to CGI scripts</dd> - - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 and - up</dt> - - <dd>Demonstrates Apache API</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 and - up</dt> - - <dd>Apply Expires: headers to resources</dd> - - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 and - up</dt> - - <dd>Add arbitrary HTTP headers to resources</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 and - up</dt> - - <dd>The imagemap file handler</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Server-parsed documents</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 and - up</dt> - - <dd>Server configuration information</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 only</dt> - - <dd>Windows ISAPI Extension support</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Logging of User Agents</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> up to - Apache 1.1.1</dt> - - <dd>Standard logging in the Common Logfile Format. Replaced - by the mod_log_config module in Apache 1.2 and up</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>User-configurable logging replacement for - mod_log_common</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Logging of document references</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Determining document types using file extensions</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Determining document types using "magic numbers"</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 and up</dt> - - <dd>Experimental file caching, mapping files into memory to - improve performance</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Content negotiation</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 and - up</dt> - - <dd>Caching proxy abilities</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 and - up</dt> - - <dd>Powerful URI-to-filename mapping using regular - expressions</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - and up</dt> - - <dd>Set environment variables based on client - information</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 and up</dt> - - <dd>Support for loading modules (.so's on Unix, .dll's on - Win32) at runtime</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 and - up</dt> - - <dt><a href="mod_ssl/index.html">mod_ssl</a> Apache 1.3 with mod_ssl - applied</dt> - - <dd>Apache SSL interface to OpenSSL</dd> - - <dd>Automatically correct minor typos in URLs</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 and - up</dt> - - <dd>Server status display</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>Generate unique request identifier for every request</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>User home directories</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - and up</dt> - - <dd>User tracking using Cookies (replacement for - mod_cookies.c)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 and up</dt> - - <dd>Support for dynamically configured mass virtual - hosting</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.fr b/usr.sbin/httpd/htdocs/manual/mod/index.html.fr deleted file mode 100644 index 86f1a62d6f0..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.fr +++ /dev/null @@ -1,278 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Traduction anglais 1.38 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Modules Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Modules Apache</h1> - - <p>Ci dessous est donnée une liste des modules faisant - partie de la distribution Apache. Voir aussi la liste des - modules <a href="index-bytype.html">triés par type</a> - et la liste complète alphabétique de <a - href="directives.html">toutes les directives d'Apache</a>. Pour - les modules d'Apache qui ne font pas partie de la distribution, - vous pouvez consulter <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <dl> - <dt><a href="core.html">Base</a></dt> - - <dd>Fonctionnalités de base d'Apache</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Contrôle d'accès basé sur le nom du - client ou son adresse IP</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 et - supérieur</dt> - - <dd>Exécution de scripts CGI en fonction du type de - média ou de la requête</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Association de différentes parties du - système de fichier de l'hôte dans l'arborescence - des documents, et redirection des URL.</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Envoi de fichiers contenant leurs propres en-têtes - HTTP</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier texte</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - et supérieur</dt> - - <dd>Accès aux utilisateurs anonymes à des zones - authentifiées</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentification des utilisateurs à partir d'une - base Berkeley</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier DBM</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 et supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5 (expérimental)</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Création automatique des listes des - répertoires</dd> - - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - seulement</dt> - - <dd>Définition de variables d'environnement en - fonction de la chaîne User-Agent. Ce module est - remplacé par mod_setenvif à partir de la - version 1.3</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - et supérieur</dt> - - <dd>Support des métafichiers d'en-tête HTTP</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Appel des scripts CGI</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> jusqu'à - Apache 1.1.1</dt> - - <dd>Support des cookies Netscape. Ce module est - remplacé dans Apache 1.2 par le module - mod_usertrack</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentication MD5</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Gestion de base des répertoires</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* et - précédents</dt> - - <dd>Lien au lancement en utilisant la librairie GNU libdld. - Ce module est remplcé dans Apache 1.3 par mod_so</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 et - supérieur</dt> - - <dd>Passage d'environnement aux scripts CGI</dd> - - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 et - supérieur</dt> - - <dd>Démonstration de l'API Apache</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout de l'en-tête Expires: pour les ressources - spécifiées</dd> - - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout d'en-têtes HTTP aux ressources</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 et - supérieur</dt> - - <dd>Gestion des fichiers imagemap</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Documents analysés par le serveur</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 et - supérieur</dt> - - <dd>Informations sur la configuration du serveur</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 - seulement</dt> - - <dd>Support des extensions Windows ISAPI</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Trace des User Agents</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - jusqu'à Apache 1.1.1</dt> - - <dd>Trace des accès utilisant le "Common Logfile - Format". Ce module est remplacé par mod_log_config - à partir d'Apache 1.2</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>Trace configurable des accès. Remplace - mod_log_common</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Trace des référants d'un document</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Détermination du type des documents en fonction de - l'extension du fichier</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Détermination du type des documents en fonction de - "nombres magiques"</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 et supérieur</dt> - - <dd>Module expérimental de cache mémoire des - fichiers afin d'améliorer les performances</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Négotiation de contenu</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 et - supérieur</dt> - - <dd>Module de cache par proxy</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 et - supérieur</dt> - - <dd>Association des URI à des fichiers en utilisant - des expressions régulières</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - et supérieur</dt> - - <dd>Définition de variables d'environnement en - fonction des informations client</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 et - supérieur</dt> - - <dd>Support des modules dynamiques (.so sur Unix, .dll sur - Win32)</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 et - supérieur</dt> - - <dd>Correction automatique d'erreurs de frappe mineures dans - les URL</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 et - supérieur</dt> - - <dd>Affichage de l'état du système</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>Répertoires personnels d'utilisateurs</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - et supérieur</dt> - - <dd>Génération d'identifiants uniques de - requête</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - et supérieur</dt> - - <dd>Suivi des utilisateurs à l'aide de cookies - (remplacement de mod_cookies)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 et supérieur</dt> - - <dd>Support d'hôtes virtuels dynamiquement - configurables</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis deleted file mode 100644 index d1e50ccf49b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%b%8%e!<%k(B</title> - - </head> - <!-- English revision: 1.42 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k(B</h1> - - <p>Apache $B$NG[I[$K4^$^$l$F$$$k%b%8%e!<%k$O!"0J2<$NDL$j$G$9!#(B - <a href="index-bytype.html">$B<oN`=g$N%b%8%e!<%k%j%9%H(B</a> $B$d(B - <a href="directives.html">Apache $B$NA4%G%#%l%/%F%#%V(B</a> - $B$N%"%k%U%!%Y%C%H=g%j%9%H$b;2>H$7$F$/$@$5$$!#(B - Apache $B$NG[I[$K4^$^$l$J$$(B Apache $B%b%8%e!<%k$K$D$$$F$O(B - <a href="http://modules.apache.org/" - >http://modules.apache.org</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Apache $B$N%3%"(B</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>$B%/%i%$%"%s%H$N%[%9%HL>$d(B IP - $B%"%I%l%9$K$h$C$F%"%/%;%9@)8f$r9T$J$&(B</dd> - - <dt><a href="mod_actions.html">mod_actions</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K$h$C$F(B CGI - $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>$B%[%9%H%U%!%$%k%7%9%F%`$N%I%-%e%a%s%H%D%j!<$X$N%^%C%T%s%05Z$S(B - URL $B$N%j%@%$%l%/%7%g%s$r9T$J$&(B</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>HTTP $B%X%C%@$r4^$`%U%!%$%k$rAw?.$9$k(B</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>$B%F%-%9%H%U%!%$%k7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?(B - $B%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>$BG'>Z$,I,MW$H$J$k%(%j%"$X$NF?L>(B (anonymous) - $B$G$N%"%/%;%95!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>Berkeley DB - $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>DBM $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> - Apache 1.3.8 $B0J9_(B</dt> - - <dd>MD5 $B$r;HMQ$7$?G'>Z5!G=(B ($BLuCm(B: Digest $BG'>Z(B) - $B$rDs6!$9$k(B</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>$B<+F0E*$K%G%#%l%/%H%j0lMw$r:n@.$9$k(B</dd> - - <dt><a href="mod_browser.html">mod_browser</a> - Apache 1.2.* $B$G$N$_M-8z(B</dt> - - <dd>User-Agent $BJ8;zNs$r85$K4D6-JQ?t$r@_Dj$9$k!#(B - Apache 1.3 $B0J9_$K$*$$$F!"(Bmod_setenvif $B$GCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>HTTP $B%X%C%@%a%?%U%!%$%k$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>CGI $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> - Apache 1.1.1 $B0J9_(B</dt> - - <dd>Netscape $B$N$h$&$J(B cookie $B$r%5%]!<%H$9$k!#(B - Apache 1.2 $B$K$*$$$F!"(Bmod_usertrack $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 $B0J9_(B</dt> - - <dd>MD5 $BG'>Z(B ($BLuCm(B: Digest $BG'>Z(B) $B5!G=$rDs6!$9$k(B - (mod_auth_digest $B$K$h$j!"(Bmod_digest $B$OHs?d>)$K$J$C$F$$$k(B)</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>$B%G%#%l%/%H%j$N<h$j07$$$K$D$$$F$N!"4pK\E*$J5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_dld.html">mod_dld</a> - Apache 1.2.* $B5Z$S$=$l0JA0(B</dt> - - <dd>GNU libdld $B$rMQ$$$F5/F0;~$K%b%8%e!<%k$N%j%s%/$r9T$J$&!#(B - Apache 1.3 $B$K$*$$$F!"(Bmod_so $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 $B0J9_(B</dt> - - <dd>CGI $B%9%/%j%W%H$KEO$94D6-JQ?t$NA`:n$r9T$J$&(B</dd> - - <dt><a href="mod_example.html">mod_example</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>Apache API $B$N%G%b%s%9%H%l!<%7%g%sMQ(B</dd> - - <dt><a href="mod_expires.html">mod_expires</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$K(B Expires: $B%X%C%@$rE,MQ$9$k(B</dd> - - <dt><a href="mod_headers.html">mod_headers</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$KG$0U$N(B HTTP $B%X%C%@$r2C$($k(B</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%$%a!<%8%^%C%W%U%!%$%k$r<h$j07$&5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>SSI $B%I%-%e%a%s%H$rM-8z$K$9$k(B</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N@_Dj>pJs$r1\Mw$9$k(B</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 $B$N$_(B</dt> - - <dd>Windows ISAPI $B%(%/%9%F%s%7%g%s$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>User Agent $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - Apache 1.1.1 $B0J9_(B</dt> - - <dd>Common Logfile Format $B$G$NI8=`E*$J=q<0$K$h$j%m%0$r5-O?$9$k!#(B - Apache 1.2 $B0J9_$K$*$$$F!"(Bmod_log_config - $B%b%8%e!<%k$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>mod_log_common - $B$NBe$o$j$H$J$k$b$N$G!"%f!<%6$,=q<0$r@_Dj$G$-$k(B</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>$B%I%-%e%a%s%H$N;2>H85(B (REFERER) $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>$B%U%!%$%k$N3HD%;R$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>"$B%^%8%C%/%J%s%P!<(B" - $B$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%U%!%$%k$N%-%c%C%7%s%0$r9T$J$&<B83E*$J%b%8%e!<%k$G!"(B - $B%U%!%$%k$r%a%b%jFb$K%^%C%T%s%0$9$k$3$H$K$h$j(B - $B%Q%U%)!<%^%s%9$r8~>e$5$;$k(B</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>$B%3%s%F%s%H%M%4%7%(!<%7%g%s5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 $B0J9_(B</dt> - - <dd>proxy $B%-%c%C%7%e5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B@55,I=8=$rMxMQ$7$?!"(BURI - $B$+$i%U%!%$%kL>$X$N6/NO$J%^%C%T%s%05!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%/%i%$%"%s%H$N>pJs$r85$K4D6-JQ?t$r%;%C%H$9$k(B</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B<B9T;~$K%b%8%e!<%k(B (UNIX$B$G$O(B .so$B!"(BWin32 $B$G$O(B .dll) - $B$rF0E*FI$_9~$_$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_speling.html">mod_speling</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>URL $B$N>.$5$J5-=R%_%9$r<+F0E*$K=$@5$9$k(B</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N2TF0>u67$rI=<($9$k(B</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>$B%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%j%/%(%9%H$4$H$K!"0l0U$J%j%/%(%9%H(B ID $B$r@8@.$9$k(B</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>cookie $B$K$h$j%f!<%6$NDI@W$r9T$J$&(B - (mod_cookies.c $B$rCV$-49$($?$b$N(B)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> - Apache 1.3.7 $B0J9_(B</dt> - - <dd>$B$?$/$5$s$N%P!<%A%c%k%[%9%H@_Dj$rF0E*$K9=@.$9$k(B</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en deleted file mode 100644 index c5d6db86d98..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en +++ /dev/null @@ -1,350 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_access</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_access</h1> - - <p>This module provides access control based on client - hostname, IP address, or other characteristics of the client - request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_access.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - access_module</p> - - <h2>Summary</h2> - - <p>The directives provided by mod_access are used in <code><a - href="core.html#directory"><Directory></a>, <a - href="core.html#files"><Files></a>,</code> and <code><a - href="core.html#location"><Location></a></code> sections - as well as <code><a - href="core.html#accessfilename">.htaccess</a></code> files to - control access to particular parts of the server. Access can be - controlled based on the client hostname, IP address, or other - characteristics of the client request, as captured in <a - href="../env.html">environment variables</a>. The - <code>Allow</code> and <code>Deny</code> directives are used to - specify which clients are or are not allowed access to the - server, while the <code>Order</code> directive sets the default - access state, and configures how the <code>Allow</code> and - <code>Deny</code> directives interact with each other.</p> - - <p>Both host-based access restrictions and password-based - authentication may be implemented simultaneously. In that case, - the <a href="core.html#satisfy">Satisfy</a> directive is used - to determine how the two sets of restrictions interact.</p> - - <p>In general, access restriction directives apply to all - access methods (<code>GET</code>, <code>PUT</code>, - <code>POST</code>, etc). This is the desired behavior in most - cases. However, it is possible to restrict some methods, while - leaving other methods unrestricted, by enclosing the directives - in a <a href="core.html#limit"><Limit></a> section.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#allow">Allow</a></li> - - <li><a href="#deny">Deny</a></li> - - <li><a href="#order">Order</a></li> - </ul> - - <p>See also <a href="core.html#satisfy">Satisfy</a> and <a - href="core.html#require">Require</a>.</p> - <hr /> - - <h2><a id="allow" name="allow">Allow</a> <a id="allowfromenv" - name="allowfromenv">directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Allow from - all|<em>host</em>|env=<em>env-variable</em> - [<em>host</em>|env=<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>The <code>Allow</code> directive affects which hosts can - access an area of the server. Access can be controlled by - hostname, IP Address, IP Address range, or by other - characteristics of the client request captured in environment - variables.</p> - - <p>The first argument to this directive is always - <code>from</code>. The subsequent arguments can take three - different forms. If <code>Allow from all</code> is specified, - then all hosts are allowed access, subject to the configuration - of the <code>Deny</code> and <code>Order</code> directives as - discussed below. To allow only particular hosts or groups of - hosts to access the server, the <em>host</em> can be specified - in any of the following formats:</p> - - <dl> - <dt>A (partial) domain-name</dt> - - <dd>Example: <code>Allow from apache.org</code><br /> - Hosts whose names match, or end in, this string are allowed - access. Only complete components are matched, so the above - example will match <code>foo.apache.org</code> but it will - not match <code>fooapache.org</code>. This configuration will - cause the server to perform a double reverse DNS lookup on the - client IP address, regardless of the setting of the <a - href="core.html#hostnamelookups">HostnameLookups</a> - directive. It will do a reverse DNS lookup on the IP address to - find the associated hostname, and then do a forward lookup on - the hostname to assure that it matches the original IP address. - Only if the forward and reverse DNS are consistent and the - hostname matches will access be allowed.</dd> - - <dt>A full IP address</dt> - - <dd>Example: <code>Allow from 10.1.2.3</code><br /> - An IP address of a host allowed access</dd> - - <dt>A partial IP address</dt> - - <dd>Example: <code>Allow from 10.1</code><br /> - The first 1 to 3 bytes of an IP address, for subnet - restriction.</dd> - - <dt>A network/netmask pair</dt> - - <dd>Example: <code>Allow from - 10.1.0.0/255.255.0.0</code><br /> - A network a.b.c.d, and a netmask w.x.y.z. For more - fine-grained subnet restriction. (Apache 1.3 and later)</dd> - - <dt>A network/nnn CIDR specification</dt> - - <dd>Example: <code>Allow from 10.1.0.0/16</code><br /> - Similar to the previous case, except the netmask consists of - nnn high-order 1 bits. (Apache 1.3 and later)</dd> - </dl> - - <p>Note that the last three examples above match exactly the - same set of hosts.</p> - - <p>The third format of the arguments to the <code>Allow</code> - directive allows access to the server to be controlled based on - the existence of an <a href="../env.html">environment - variable</a>. When <code>Allow from - env=</code><em>env-variable</em> is specified, then the request - is allowed access if the environment variable - <em>env-variable</em> exists. The server provides the ability - to set environment variables in a flexible way based on - characteristics of the client request using the directives - provided by <a href="mod_setenvif.html">mod_setenvif</a>. - Therefore, this directive can be used to allow access based on - such factors as the clients <code>User-Agent</code> (browser - type), <code>Referer</code>, or other HTTP request header - fields.</p> - - <p>Example:</p> - - <blockquote> -<pre> -SetEnvIf User-Agent ^KnockKnock/2.0 let_me_in -<Directory /docroot> - Order Deny,Allow - Deny from all - Allow from env=let_me_in -</Directory> -</pre> - </blockquote> - - <p>In this case, browsers with a user-agent string beginning - with <tt>KnockKnock/2.0</tt> will be allowed access, and all - others will be denied.</p> - - <p>See also <a href="#deny">Deny</a>, <a - href="#order">Order</a> and <a - href="mod_setenvif.html#setenvif">SetEnvIf</a>.</p> - <hr /> - - <h2><a id="deny" name="deny">Deny</a> <a id="denyfromenv" - name="denyfromenv">directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Deny from - all|<em>host</em>|env=<em>env-variable</em> - [<em>host</em>|env=<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>This directive allows access to the server to be restricted - based on hostname, IP address, or environment variables. The - arguments for the <code>Deny</code> directive are identical to - the arguments for the <a href="#allow">Allow</a> directive.</p> - - <p>See also <a href="#allow">Allow</a>, <a - href="#order">Order</a> and <a - href="mod_setenvif.html#setenvif">SetEnvIf</a>.</p> - <hr /> - - <h2><a id="order" name="order">Order directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Order - <em>ordering</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Order - Deny,Allow</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>The <code>Order</code> directive controls the default access - state and the order in which <a href="#allow">Allow</a> and <a - href="#deny">Deny</a> directives are evaluated. - <em>Ordering</em> is one of</p> - - <dl> - <dt>Deny,Allow</dt> - - <dd>The <code>Deny</code> directives are evaluated before the - <code>Allow</code> directives. Access is allowed by default. - Any client which does not match a <code>Deny</code> directive - or does match an <code>Allow</code> directive will be allowed - access to the server.</dd> - - <dt>Allow,Deny</dt> - - <dd>The <code>Allow</code> directives are evaluated before - the <code>Deny</code> directives. Access is denied by - default. Any client which does not match an - <code>Allow</code> directive or does match a - <code>Deny</code> directive will be denied access to the - server.</dd> - - <dt>Mutual-failure</dt> - - <dd>Only those hosts which appear on the <code>Allow</code> - list and do not appear on the <code>Deny</code> list are - granted access. This ordering has the same effect as - <code>Order Allow,Deny</code> and is deprecated in favor of - that configuration.</dd> - </dl> - - <p>Keywords may only be separated by a comma; no whitespace is - allowed between them. Note that in all cases every - <code>Allow</code> and <code>Deny</code> statement is - evaluated.</p> - - <p>In the following example, all hosts in the apache.org domain - are allowed access; all other hosts are denied access.</p> - - <blockquote> - <code>Order Deny,Allow<br /> - Deny from all<br /> - Allow from apache.org<br /> - </code> - </blockquote> - - <p>In the next example, all hosts in the apache.org domain are - allowed access, except for the hosts which are in the - foo.apache.org subdomain, who are denied access. All hosts not - in the apache.org domain are denied access because the default - state is to deny access to the server.</p> - - <blockquote> - <code>Order Allow,Deny<br /> - Allow from apache.org<br /> - Deny from foo.apache.org<br /> - </code> - </blockquote> - - <p>On the other hand, if the <code>Order</code> in the last - example is changed to <code>Deny,Allow</code>, all hosts will - be allowed access. This happens because, regardless of the - actual ordering of the directives in the configuration file, - the <code>Allow from apache.org</code> will be evaluated last - and will override the <code>Deny from foo.apache.org</code>. - All hosts not in the <code>apache.org</code> domain will also - be allowed access because the default state will change to - <em>allow</em>.</p> - - <p>The presence of an <code>Order</code> directive can affect - access to a part of the server even in the absence of - accompanying <code>Allow</code> and <code>Deny</code> - directives because of its effect on the default access state. - For example,</p> - - <blockquote> - <code><Directory /www><br /> - Order Allow,Deny<br /> - </Directory></code> - </blockquote> - - <p>will deny all access to the <code>/www</code> directory - because the default access state will be set to - <em>deny</em>.</p> - - <p>The <code>Order</code> directive controls the order of - access directive processing only within each phase of the - server's configuration processing. This implies, for example, - that an <code>Allow</code> or <code>Deny</code> directive - occurring in a <Location> section will always be - evaluated after an <code>Allow</code> or <code>Deny</code> - directive occurring in a <Directory> section or - <code>.htaccess</code> file, regardless of the setting of the - <code>Order</code> directive. For details on the merging of - configuration sections, see the documentation on <a - href="../sections.html">How Directory, Location and Files - sections work</a>.</p> - - <p>See also: <a href="#deny">Deny</a> and <a - href="#allow">Allow</a>. <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis deleted file mode 100644 index 73400b56044..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis +++ /dev/null @@ -1,345 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_access</title> - - </head> - <!-- English revision: 1.30 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_access $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%[%9%HL>!"(BIP - $B%"%I%l%9!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$NFCD'$K4p$E$$$?(B - $B%"%/%;%9@)8f5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_access.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - access_module</p> - - <h2>$B35MW(B</h2> - - <p>mod_access $B$K$h$jDs6!$5$l$k%G%#%l%/%F%#%V$O%5!<%P$NFCDj$NItJ,$X$N(B - $B%"%/%;%9$r@)8f$9$k$?$a$K(B <code><a href="core.html#directory" - ><Directory></a>, <a href="core.html#files"><Files></a - ></code>, <code><a href="core.html#location"><Location></a - ></code> $B$H(B <code><a href="core.html#accessfilename">.htaccess</a - ></code> $B%U%!%$%k$G;HMQ$5$l$^$9!#%/%i%$%"%s%H$N%[%9%HL>!"(BIP - $B%"%I%l%9$d(B <a href="../env.html">$B4D6-JQ?t(B</a - >$B$H$7$F<hF@$5$l$?!"$=$NB>$N%j%/%(%9%H$NFCD'$K4p$E$$$F(B - $B%"%/%;%9@)8f$r9T$J$&$3$H$,$G$-$^$9!#(B<code>Allow</code> $B$H(B - <code>Deny</code> $B%G%#%l%/%F%#%V$O$I$N$h$&$J%/%i%$%"%s%H$K%"%/%;%9$r(B - $B5v2D$9$k!"$7$J$$$+$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#0lJ}!"(B - <code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9>uBV$H!"(B - <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> - $B%G%#%l%/%F%#%V$H$N$*8_$$$X$N1F6A$N;EJ}$r@_Dj$7$^$9!#(B - </p> - - <p>$B%[%9%H$K$h$k%"%/%;%9@)8B$H%Q%9%o!<%I$K$h$kG'>Z$rF1;~$K(B - $B9T$J$&$3$H$,2DG=$G$9!#$=$N>l9g!"$=$NFs$D$N@)8B$N4X78$r;XDj$9$k$?$a$K(B - <a href="core.html#satisfy">Satisfy</a> - $B%G%#%l%/%F%#%V$r;HMQ$7$^$9!#(B</p> - - <p>$B0lHLE*$K$O!"%"%/%;%9@)8B%G%#%l%/%F%#%V$O$9$Y$F$N%"%/%;%9%a%=%C%I(B - (<code>GET</code>, <code>PUT</code>, <code>POST</code> $B$J$I(B) - $B$KE,MQ$5$l$^$9!#$=$7$F!"$[$H$s$I$N>l9g$3$l$,K>$^$7$$F0:n$G$9!#(B - $B$7$+$7!"(B<a href="core.html#limit"><Limit></a> - $B%;%/%7%g%s$NCf$K%G%#%l%/%F%#%V$r=q$/$3$H$G!"(B - $B0lIt$N%a%=%C%I$K$N$_@)8B$r$+$1$k$3$H$b$G$-$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#allow">Allow</a></li> - - <li><a href="#deny">Deny</a></li> - - <li><a href="#order">Order</a></li> - </ul> - - <p><a href="core.html#satisfy">Satisfy</a> $B$H(B - <a href="core.html#require">Require</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="allow" name="allow">Allow</a> <a id="allowfromenv" - name="allowfromenv">$B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Allow from - all|<em>host</em>|env=<em>env-variablename</em> - [<em>host</em>|env=<em>env-variablename</em>] ...<br /> - <a href="directive-dict.html#context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p><code>Allow</code> $B%G%#%l%/%F%#%V$O$I$N%[%9%H$,(B - $B%5!<%P$N$"$kNN0h$r%"%/%;%9$G$-$k$+$K1F6A$rM?$($^$9!#(B - $B%"%/%;%9$O%[%9%HL>!"(BIP $B%"%I%l%9!"(BIP $B%"%I%l%9$NHO0O$d!"(B - $B4D6-JQ?t$H$7$F<hF@$5$l$?!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$N(B - $BFCD'$K$h$C$F@)8f$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$N:G=i$N0z?t$O>o$K(B <code>from</code> $B$G$9!#(B - $B$=$l$KB3$/0z?t$O;0$D$N0c$C$?7A<0$,$"$j$^$9!#(B<code>Allow from - all</code> $B$,;XDj$5$l$F$$$l$P!"$9$Y$F$N%[%9%H$K%"%/%;%9$r5v2D$7!"(B - $B%"%/%;%9@)8B$O2<$G@bL@$5$l$F$$$k$h$&$K!"(B<code>Deny</code> - $B%G%#%l%/%F%#%V$H(B <code>Order</code> - $B%G%#%l%/%F%#%V$N@_Dj$G7h$^$j$^$9!#(B - $BFCDj$N%[%9%H$d%[%9%H72$K$N$_%5!<%P$X$N%"%/%;%9$r5v2D$9$k$?$a$K$O!"(B - $B0J2<$N$I$l$+$N7A<0$G(B <em>host</em> $B$r;XDj$9$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt>$B%I%a%$%sL>(B ($B$N0lIt(B)</dt> - - <dd>$BNc(B: <code>Allow from apache.org</code><br /> - $B$3$NJ8;zNs$K9g$&$+!"$3$l$G=*$o$kL>A0$N%[%9%H$N%"%/%;%9$,5v2D$5$l$^$9!#(B - $B3FItJ,$,40A4$K9g$&$b$N$@$1$KE,MQ$5$l$^$9$N$G!">e$NNc$O(B - <code>foo.apache.org</code> $B$K$O%^%C%A$7$^$9$,!"(B - <code>fooapache.org</code> $B$K$O%^%C%A$7$^$;$s!#(B - $B$3$N@_Dj$r$9$k$H!"%5!<%P$O(B - <a href="core.html#hostnamelookups">HostnameLookups</a> - $B$N@_Dj$K4X$o$i$:!"%/%i%$%"%s%H$N(B IP $B%"%I%l%9$KBP$7$F(B - DNS $B$N5U0z$-$r9T$J$$$^$9!#(B</dd> - - <dt>$B40A4$J(B IP $B%"%I%l%9(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.2.3</code><br /> - $B%"%/%;%9$r5v2D$9$k(B IP $B%"%I%l%9$G$9!#(B</dd> - - <dt>IP $B%"%I%l%9$N0lIt(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1</code><br /> - $B%5%V%M%C%H$N@)8BMQ$N!"(BIP - $B%"%I%l%9$N:G=i$N0l$D$+$i;0$D$^$G$N%P%$%H$G$9!#(B</dd> - - <dt>$B%M%C%H%o!<%/(B/$B%M%C%H%^%9%/(B $B$NBP(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.0.0/255.255.0.0</code><br /> - $B%M%C%H%o!<%/(B a.b.c.d $B$H%M%C%H%^%9%/(B w.x.y.z $B$G$9!#(B - $B$h$j:YN3EY$N%5%V%M%C%H@)8BMQ$G$9!#(B(Apache 1.3 $B0J9_(B)</dd> - - <dt>$B%M%C%H%o!<%/(B/nnn CIDR $B;XDj(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.0.0/16</code><br /> - $B%M%C%H%^%9%/$,(B nnn $B$N>e0L%S%C%H$,(B 1 - $B$H$J$C$F$$$k$b$N$+$i$J$k$3$H0J30$OA0$N$b$N$HF1$8$G$9!#(B - (Apache 1.3 $B0J9_(B)</dd> - </dl> - - <p>$BCm(B: $B:G8e$N;0$D$NNc$O$^$C$?$/F1$8%[%9%H$K9g$$$^$9!#(B</p> - - - <p><code>Allow</code> $B%G%#%l%/%F%#%V$N0z?t$N;0$DL\$N7A<0$O!"(B - <a href="../env.html">$B4D6-JQ?t(B</a> - $B$NB8:_$K$h$j%"%/%;%9$N@)8f$r9T$J$($k$h$&$K$9$k$b$N$G$9!#(B - <code>Allow from env=</code><em>variablename</em> - $B$,;XDj$5$l$F$$$k$H!"4D6-JQ?t(B <em>variablename</em> - $B$,B8:_$7$?>l9g$K%j%/%(%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#%5!<%P$O(B - <a href="mod_setenvif.html">mod_setenvif</a> - $B$N%G%#%l%/%F%#%V$K$h$j!"%/%i%$%"%s%H$N%j%/%(%9%H(B - $B$NFCD'$K4p$E$$$F=@Fp$K4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B - $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$N(B - <code>User-Agent</code> ($B%V%i%&%6$N<oN`(B)$B!"(B<code>Referer</code> - $B$dB>$N(B HTTP $B%j%/%(%9%H$N%X%C%@%U%#!<%k%I$J$I$K4p$E$$$F(B - $B%"%/%;%95v2D$r$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B - </p> - - <p>$BNc(B:</p> - - <blockquote> -<pre> -SetEnvIf User-Agent ^KnockKnock/2.0 let_me_in -<Directory /docroot> - Order Deny,Allow - Deny from all - Allow from env=let_me_in -</Directory> -</pre> - </blockquote> - - <p>$B$3$N>l9g!"(Buser-agent $B$NJ8;zNs$,(B <tt>KnockKnock/2.0</tt> - $B$G;O$^$k%V%i%&%6$N$_$,%"%/%;%9$r5v2D$5$l!"(B - $BB>$N$b$N$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <p><a href="#deny">Deny</a>, <a href="#order">Order</a>, - <a href="mod_setenvif.html#setenvif">SetEnvIf</a> - $B%G%#%l%/%F%#%V$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="deny" name="deny">Deny</a> <a id="denyfromenv" - name="denyfromenv">$B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Deny from - all|<em>host</em>|env=<em>variablename</em> - [<em>host</em>|env=<em>variablename</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%[%9%HL>!"(BIP - $B%"%I%l%9!"4D6-JQ?t$K4p$E$$$F%5!<%P$X$N%"%/%;%9$r@)8B$7$^$9!#(B - <code>Deny</code> $B%G%#%l%/%F%#%V$N0z?t$O(B <a href="#allow">Allow</a> - $B%G%#%l%/%F%#%V$H$^$C$?$/F1$8$G$9!#(B</p> - - <p><a href="#allow">Allow</a>, <a href="#order">Order</a>, - <a href="mod_setenvif.html#setenvif">SetEnvIf</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="order" name="order">Order $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Order - <em>ordering</em><br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Order - Deny,Allow</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p><code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$H(B - <a href="#allow">Allow</a> $B%G%#%l%/%F%#%V$H(B <a href="#deny">Deny</a> - $B%G%#%l%/%F%#%V$,I>2A$5$l$k=gHV$r@)8f$7$^$9!#(B - <em>Ordering</em> $B$O0J2<$N$I$l$+$G$9!#(B</p> - - <dl> - <dt>Deny,Allow</dt> - - <dd><code>Deny</code> $B%G%#%l%/%F%#%V$,(B <code>Allow</code> - $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B - $B%"%/%;%9$O%G%U%)%k%H$G5v2D$5$l$^$9!#(B<code>Deny</code> - $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Allow</code> - $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B</dd> - - <dt>Allow,Deny</dt> - - <dd><code>Allow</code> $B%G%#%l%/%F%#%V$,(B <code>Deny</code> - $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B - $B%"%/%;%9$O%G%U%)%k%H$G5qH]$5$l$^$9!#(B<code>Allow</code> - $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Deny</code> - $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B - </dd> - - <dt>Mutual-failure</dt> - - <dd><code>Allow</code> $B$N%j%9%H$K8=$l$F!"(B<code>Deny</code> - $B$N%j%9%H$K8=$l$J$$%[%9%H$N$_$,%"%/%;%9$r5v2D$5$l$^$9!#(B - $B$3$N=gHVIU$1$O(B <code>Order Allow,Deny</code> $B$HF1$88z2L$r;}$A!"(B - $B$=$N@_Dj$NJ}$,9%$^$7$$$?$a$KHs?d>)$H$J$C$F$$$^$9!#(B</dd> - </dl> - - <p>$B%-!<%o!<%I$O%3%s%^$GJ,N%$9$k$3$H$@$1$,2DG=$G$9!#(B - $B4V$K6uGr$,$"$C$F$O$$$1$^$;$s!#$I$N>l9g$G$b!"(B<code>Allow</code> $B$H(B - <code>Deny</code> $BJ8$OA4$FI>2A$5$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - </p> - - <p>$B0J2<$NNc$G$O!"(Bapache.org - $B%I%a%$%s$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B - $BB>$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <blockquote> - <code>Order Deny,Allow<br /> - Deny from all<br /> - Allow from apache.org<br /> - </code> - </blockquote> - - <p>$B<!$NNc$G$O!"(Bfoo.apache.org $B%5%V%I%a%$%s$K$"$k%[%9%H0J30$N!"(B - apache.org $B%I%a%$%s$N$9$Y$F$N%[%9%H$,%"%/%;%9$r5v2D$5$l$^$9!#(B - apache.org - $B%I%a%$%s$G$J$$%[%9%H$O!"%G%U%)%k%H$N>uBV$,%"%/%;%95qH]$N$?$a!"(B - $B%5!<%P$X$N%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <blockquote> - <code>Order Allow,Deny<br /> - Allow from apache.org<br /> - Deny from foo.apache.org<br /> - </code> - </blockquote> - - <p>$B0lJ}!">e$NNc$N(B <code>Order</code> $B$,(B <code>Deny,Allow</code> - $B$KJQ$o$C$F$$$l$P!"$9$Y$N%[%9%H$K%"%/%;%9$,5v2D$5$l$^$9!#(B - $B$3$l$O!"@_Dj%U%!%$%kCf$N<B:]$N=gHV$K4X$o$i$:!"(B - <code>Allow from apache.org</code> $B$,:G8e$KI>2A$5$l$F!"(B - <code>Deny from foo.apache.org</code> $B$r>e=q$-$9$k$+$i$G$9!#(B - <code>apache.org</code> - $B%I%a%$%s$K$J$$%[%9%H$b!"%G%U%)%k%H$N>uBV$,(B <em>allow</em> - $B$KJQ2=$9$k$?$a$K!"%"%/%;%9$r5v2D$5$l$^$9!#(B - </p> - - <p><code>Order</code> - $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$K1F6A$rM?$($k$N$G!"(B - <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> - $B%G%#%l%/%F%#%V$,L5$/$F$b!"%5!<%P$N%"%/%;%9$K1F6A$rM?$($k$3$H$,$G$-$^$9!#(B - $B$?$H$($P!"(B</p> - - <blockquote> - <code><Directory /www><br /> - Order Allow,Deny<br /> - </Directory></code> - </blockquote> - - <p>$B$O%G%U%)%k%H$N%"%/%;%9>uBV$,(B <em>deny</em> $B$K$J$k$?$a!"(B - <code>/www</code> $B%G%#%l%/%H%j$X$N$9$Y$F$N%"%/%;%9$r5qH]$7$^$9!#(B - </p> - - <p><code>Order</code> - $B%G%#%l%/%F%#%V$O%5!<%P$N@_Dj=hM}$N3FCJ3,$G$@$1(B - $B%"%/%;%9%G%#%l%/%F%#%V$N=hM}$N=gHV$rJQ99$7$^$9!#$3$l$O!"$?$H$($P!"(B - <code>Order</code> $B%G%#%l%/%F%#%V$N@_Dj$K4X$o$i$:!"(B - <Location> $B%;%/%7%g%s$N(B <code>Allow</code> $B%G%#%l%/%F%#%V$d(B - <code>Deny</code> $B%G%#%l%/%F%#%V$O!"(B<Directory> $B%;%/%7%g%s$d(B - <code>.htaccess</code> $B%U%!%$%k$N(B <code>Allow</code> - $B%G%#%l%/%F%#%V$d(B <code>Deny</code> - $B%G%#%l%/%F%#%V$h$j$b>o$K8e$KI>2A$5$l$k$H$$$&$3$H$r0UL#$7$^$9!#(B - $B@_Dj%;%/%7%g%s$N%^!<%8$N>\:Y$K$D$$$F$O!"(B - <a href="../sections.html">Directory,Location, Files - $B%;%/%7%g%s$NF0:nJ}K!(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><a href="#deny">Deny</a> $B$H(B <a href="#allow">Allow</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en deleted file mode 100644 index 642e8c8c70f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en +++ /dev/null @@ -1,163 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Module mod_actions</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_actions</h1> - - <p>This module provides for executing CGI scripts based on - media type or request method.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_actions.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - action_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Summary</h2> - - <p>This module has two directives. The Action directive lets - you run CGI scripts whenever a file of a certain type is - requested. The Script directive lets you run CGI scripts - whenever a particular method is used in a request. This makes - it much easier to execute scripts that process files.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#action">Action</a></li> - - <li><a href="#script">Script</a></li> - </ul> - <hr /> - - <h2><a id="action" name="action">Action directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Action <em>action-type - cgi-script</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Action is only - available in Apache 1.1 and later</p> - - <p>This directive adds an action, which will activate - <em>cgi-script</em> when <em>action-type</em> is triggered by the - request. The <i>cgi-script</i> is the URL-path to a resource that - has been configured as a CGI script using <code>ScriptAlias</code> - or <code>AddHandler</code>. The <em>action-type</em> can be either - a <a href="../handler.html">handler</a> or a MIME content type. It - sends the URL and file path of the requested document using the - standard CGI PATH_INFO and PATH_TRANSLATED environment - variables.</p> - - <p>Examples:</p> - <pre> - # Requests for files of a particular type: - Action image/gif /cgi-bin/images.cgi - - # Files of a particular file extension - AddHandler my-file-type .xyz - Action my-file-type /cgi-bin/program.cgi - </pre> - - <p>In the first example, requests for files with a MIME content - type of <code>image/gif</code> will instead be handled by the - specified cgi script <code>/cgi-bin/images.cgi</code>.</p> - - <p>In the second example, requests for files with a file extension of - <code>.xyz</code> are handled instead by the specified cgi script - <code>/cgi-bin/program.cgi</code>.</p> - - <p><strong>See also</strong>: <a - href="mod_mime.html#addhandler">AddHandler</a></p> - - <hr /> - - <h2><a id="script" name="script">Script directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Script <em>method - cgi-script</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Script is only - available in Apache 1.1 and later; arbitrary method use is only - available with 1.3.10 and later</p> - - <p>This directive adds an action, which will activate - <i>cgi-script</i> when a file is requested using the method of - <i>method</i>. The <i>cgi-script</i> is the URL-path to a resource - that has been configured as a CGI script using - <code>ScriptAlias</code> or <code>AddHandler</code>. The URL and - file path of the requested document is sent using the standard CGI - PATH_INFO and PATH_TRANSLATED environment variables.</p> - - <blockquote> - Prior to Apache 1.3.10, <i>method</i> can only be one of - <code>GET</code>, <code>POST</code>, <code>PUT</code>, or - <code>DELETE</code>. As of 1.3.10, any arbitrary method name - may be used. <b>Method names are case-sensitive</b>, so - <code>Script PUT</code> and <code>Script put</code> - have two entirely different effects. - </blockquote> - - <p>Note that the Script command defines default actions only. - If a CGI script is called, or some other resource that is - capable of handling the requested method internally, it will do - so. Also note that Script with a method of <code>GET</code> - will only be called if there are query arguments present - (<em>e.g.</em>, foo.html?hi). Otherwise, the request will - proceed normally.</p> - - <p>Examples:</p> -<pre> - # For <ISINDEX>-style searching - Script GET /cgi-bin/search - # A CGI PUT handler - Script PUT /~bob/put.cgi -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis deleted file mode 100644 index 75bdec448db..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis +++ /dev/null @@ -1,164 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Module mod_actions</title> - - </head> - <!-- English revision: 1.19 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_actions $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K1~$8$F(B - CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_actions.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - action_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$OFs$D$N%G%#%l%/%F%#%V$,$"$j$^$9!#(BAction - $B%G%#%l%/%F%#%V$OFCDj$N%?%$%W$N%U%!%$%k$r%j%/%(%9%H$5$l$?>l9g$K(B - CGI $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(BScript - $B%G%#%l%/%F%#%V$O%j%/%(%9%H$GFCDj$N%a%=%C%I$,;HMQ$5$l$?$H$-$K(B CGI - $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B - $B$3$l$O%U%!%$%k$r=hM}$9$k%9%/%j%W%H$N<B9T$r$:$C$H4JC1$K$7$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#action">Action</a></li> - <li><a href="#script">Script</a></li> - </ul> - <hr /> - - <h2><a id="action" name="action">Action $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Action <em>action-type - cgi-script</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <em>action-type</em> - $B$,%j%/%(%9%H$5$l$?$H$-$K(B <em>cgi-script</em> - $B$,<B9T$5$l$k$H$$$&F0:n$rDI2C$7$^$9!#(B<i>cgi-script</i> $B$O(B - <code>ScriptAlias</code> $B$d(B <code>AddHandler</code> $B$K$h$C$F(B - CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B - <em>Action-type</em> $B$K$O(B - <a href="../handler.html">handler</a> $B$+(B MIME - $B%3%s%F%s%H%?%$%W$r;XDj$G$-$^$9!#%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL - $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED - $B$r;H$C$FEA$($i$l$^$9!#(B</p> - - <p>$BNc(B:</p> - <pre> - # Requests for files of a particular type: - Action image/gif /cgi-bin/images.cgi - - # Files of a particular file extension - AddHandler my-file-type .xyz - Action my-file-type /cgi-bin/program.cgi - </pre> - - <p>$B:G=i$NNc$G$O!"(BMIME $B%3%s%F%s%H%?%$%W$,(B <code>image/gif</code> - $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B - <code>/cgi-bin/images.cgi</code> $B$,8F$P$l$^$9!#(B</p> - - <p>2 $BHVL\$NNc$G$O!"3HD%;R$,(B <code>.xyz</code> $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"(B - $B$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B - <code>/cgi-bin/program.cgi</code> $B$,8F$P$l$^$9!#(B</p> - - <p><a href="mod_mime.html#addhandler">AddHandler</a> - $B$b(B<strong>$B;2>H(B</strong>$B$7$F$/$@$5$$(B</p> - - <hr /> - - <h2><a id="script" name="script">Script $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Script <em>method - cgi-script</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Script $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#G$0U$N%a%=%C%I$N;HMQ$O(B 1.3.10 - $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <i>method</i> - $B$H$$$&%a%=%C%I$r;H$C$F%j%/%(%9%H$,9T$J$o$l$?$H$-$K(B - <i>cgi-script</i> $B$r<B9T$9$k$H$$$&F0:n$rDI2C$7$^$9!#(B - <i>cgi-script</i> $B$O(B - <code>ScriptAlias</code> $B$d(B <code>AddHandler</code> $B$K$h$C$F(B - CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B - $B%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI - $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED $B$r;H$C$FEA$($i$l$^$9!#(B</p> - - <blockquote> - Apache 1.3.10 $B$h$jA0$G$O!"(B<i>method</i> $B$O(B <code>GET</code>, - <code>POST</code>, <code>PUT</code>, <code>DELETE</code> - $B$@$1$,;XDj2DG=$G$7$?!#(B1.3.10 - $B$G$O!"G$0U$N%a%=%C%IL>$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - <b>$B%a%=%C%IL>$OBgJ8;z>.J8;z$r6hJL$7$^$9(B</b>$B!#$G$9$+$i!"(B - <code>Script PUT</code> $B$H(B <code>Script put</code> - $B$O$^$C$?$/0c$C$?8z2L$K$J$j$^$9!#(B - </blockquote> - - <p>Script $B%3%^%s%I$O%G%U%)%k%H$NF0:n$rDI2C$9$k$@$1$G$"$k$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$b$7(B CGI $B%9%/%j%W%H$,8F$P$l$?$j!"%j%/%(%9%H$5$l$?(B - $B%a%=%C%I$rFbIt$G07$&$3$H$N$G$-$kB>$N%j%=!<%9$,$"$l$P!"$=$l$,9T$J$o$l$^$9!#(B - <code>GET</code> $B%a%=%C%I$N(B Script $B$OLd9g$;0z?t$,$"$k>l9g$K$N$_(B - (<em>$B$?$H$($P(B</em>$B!"(Bfoo.html?hi) $B8F$P$l$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B - $B$=$&$G$J$$>l9g$O!"%j%/%(%9%H$ODL>oDL$j=hM}$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> -<pre> - # For <ISINDEX>-style searching - Script GET /cgi-bin/search - # A CGI PUT handler - Script PUT /~bob/put.cgi -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en deleted file mode 100644 index 3a39c6dc001..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en +++ /dev/null @@ -1,395 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_alias</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_alias</h1> - - <p>This module provides for mapping different parts of the host - filesystem in the document tree, and for URL redirection.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_alias.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - alias_module</p> - - <h2>Summary</h2> - - <p>The directives contained in this module allow for - manipulation and control of URLs as requests arrive at the - server. The <code>Alias</code> and <code>ScriptAlias</code> - directives are used to map between URLs and filesystem paths. - This allows for content which is not directly under the <a - href="core.html#documentroot"><code>DocumentRoot</code></a> to - be served as part of the web document tree. The - <code>ScriptAlias</code> directive has the additional effect of - marking the target directory as containing only CGI - scripts.</p> - - <p>The <code>Redirect</code> directives are used to instruct - clients to make a new request with a different URL. They are - often used when a resource has moved to a new location.</p> - - <p>A more powerful and flexible set of directives for - manipulating URLs is contained in the <a - href="mod_rewrite.html"><code>mod_rewrite</code></a> - module.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#alias">Alias</a></li> - - <li><a href="#aliasmatch">AliasMatch</a></li> - - <li><a href="#redirect">Redirect</a></li> - - <li><a href="#redirectmatch">RedirectMatch</a></li> - - <li><a href="#redirecttemp">RedirectTemp</a></li> - - <li><a href="#redirectperm">RedirectPermanent</a></li> - - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li><a href="#scriptaliasmatch">ScriptAliasMatch</a></li> - </ul> - <hr /> - - <h2><a id="alias" name="alias">Alias directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Alias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias</p> - - <p>The Alias directive allows documents to be stored in the - local filesystem other than under the <a - href="core.html#documentroot">DocumentRoot</a>. URLs with a - (%-decoded) path beginning with <em>url-path</em> will be - mapped to local files beginning with - <em>directory-filename</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>Alias /image /ftp/pub/image</code> - </blockquote> - - <p>A request for http://myserver/image/foo.gif would cause the - server to return the file /ftp/pub/image/foo.gif.</p> - - <p>Note that if you include a trailing / on the - <em>url-path</em> then the server will require a trailing / in - order to expand the alias. That is, if you use <code>Alias - /icons/ /usr/local/apache/icons/</code> then the url - <code>/icons</code> will not be aliased.</p> - - <p>Note that you may need to specify additional <a - href="core.html#directory"><code><Directory></code></a> - sections which cover the <em>destination</em> of aliases. - Aliasing occurs before <code><Directory></code> sections - are checked, so only the destination of aliases are affected. - (Note however <a - href="core.html#location"><code><Location></code></a> - sections are run through once before aliases are performed, so - they will apply.)</p> - - <p>See also <a href="#scriptalias">ScriptAlias</a>.</p> - <hr /> - - <h2><a id="aliasmatch" name="aliasmatch">AliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a href="#alias">Alias</a>, - but makes use of standard regular expressions, instead of - simple prefix matching. The supplied regular expression is - matched against the URL-path, and if it matches, the server - will substitute any parenthesized matches into the given string - and use it as a filename. For example, to activate the - <code>/icons</code> directory, one might use:</p> -<pre> - AliasMatch ^/icons(.*) /usr/local/apache/icons$1 -</pre> - <hr /> - - <h2><a id="redirect" name="redirect">Redirect - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Redirect - [<em>status</em>] <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The directory - and .htaccess context's are only available in versions 1.1 and - later. The <em>status</em> argument is only available in Apache - 1.2 or later.</p> - - <p>The Redirect directive maps an old URL into a new one. The - new URL is returned to the client which attempts to fetch it - again with the new address. <em>URL-path</em> a (%-decoded) - path; any requests for documents beginning with this path will - be returned a redirect error to a new (%-encoded) URL beginning - with <em>URL</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>Redirect /service http://foo2.bar.com/service</code> - </blockquote> - - <p>If the client requests http://myserver/service/foo.txt, it - will be told to access http://foo2.bar.com/service/foo.txt - instead.</p> - - <p><strong>Note:</strong> Redirect directives take precedence - over Alias and ScriptAlias directives, irrespective of their - ordering in the configuration file. Also, <em>URL-path</em> - must be an absolute path, not a relative path, even when used - with .htaccess files or inside of <Directory> - sections.</p> - - <p>If no <em>status</em> argument is given, the redirect will - be "temporary" (HTTP status 302). This indicates to the client - that the resource has moved temporarily. The <em>status</em> - argument can be used to return other HTTP status codes:</p> - - <dl> - <dt>permanent</dt> - - <dd>Returns a permanent redirect status (301) indicating that - the resource has moved permanently.</dd> - - <dt>temp</dt> - - <dd>Returns a temporary redirect status (302). This is the - default.</dd> - - <dt>seeother</dt> - - <dd>Returns a "See Other" status (303) indicating that the - resource has been replaced.</dd> - - <dt>gone</dt> - - <dd>Returns a "Gone" status (410) indicating that the - resource has been permanently removed. When this status is - used the <em>url</em> argument should be omitted.</dd> - </dl> - - <p>Other status codes can be returned by giving the numeric - status code as the value of <em>status</em>. If the status is - between 300 and 399, the <em>url</em> argument must be present, - otherwise it must be omitted. Note that the status must be - known to the Apache code (see the function - <code>send_error_response</code> in http_protocol.c).</p> - - <p>Example:</p> - - <pre> - Redirect permanent /one http://example.com/two<br /> - Redirect 303 /two http://example.com/other - </pre> - <hr /> - - <h2><a id="redirectmatch" - name="redirectmatch">RedirectMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectMatch - [<em>status</em>] <em>regex URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a - href="#redirect">Redirect</a>, but makes use of standard - regular expressions, instead of simple prefix matching. The - supplied regular expression is matched against the URL-path, - and if it matches, the server will substitute any parenthesized - matches into the given string and use it as a filename. For - example, to redirect all GIF files to like-named JPEG files on - another server, one might use:</p> -<pre> - RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg -</pre> - <hr /> - - <h2><a id="redirecttemp" name="redirecttemp">RedirectTemp - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectTemp - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> This directive - is only available in Apache 1.2 and later</p> - - <p>This directive makes the client know that the Redirect is - only temporary (status 302). Exactly equivalent to - <code>Redirect temp</code>.</p> - <hr /> - - <h2><a id="redirectperm" name="redirectperm">RedirectPermanent - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectPermanent - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> This directive - is only available in Apache 1.2 and later</p> - - <p>This directive makes the client know that the Redirect is - permanent (status 301). Exactly equivalent to <code>Redirect - permanent</code>.</p> - <hr /> - - <h2><a id="scriptalias" name="scriptalias">ScriptAlias - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptAlias - <em>URL-path file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias</p> - - <p>The ScriptAlias directive has the same behavior as the <a - href="#alias">Alias</a> directive, except that in addition it - marks the target directory as containing CGI scripts that will be - processed by <a href="mod_cgi.html">mod_cgi</a>'s cgi-script - handler. URLs with a (%-decoded) path beginning with - <em>URL-path</em> will be mapped to scripts beginning with the - second argument which is a full pathname in the local - filesystem.</p> - - <p>Example:</p> - - <blockquote> - <code>ScriptAlias /cgi-bin/ /web/cgi-bin/</code> - </blockquote> - - <p>A request for http://myserver/cgi-bin/foo would cause the - server to run the script /web/cgi-bin/foo.</p> - <hr /> - - <h2><a id="scriptaliasmatch" - name="scriptaliasmatch">ScriptAliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptAliasMatch - <em>regex file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a - href="#scriptalias">ScriptAlias</a>, but makes use of standard - regular expressions, instead of simple prefix matching. The - supplied regular expression is matched against the URL-path, - and if it matches, the server will substitute any parenthesized - matches into the given string and use it as a filename. For - example, to activate the standard <code>/cgi-bin</code>, one - might use:</p> -<pre> - ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis deleted file mode 100644 index 627a35c42b5..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis +++ /dev/null @@ -1,397 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - - <title>Apache module mod_alias</title> - - </head> - <!-- English revision: 1.35 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_alias $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%[%9%H%U%!%$%k%7%9%F%`>e$N$$$m$$$m$J0c$&>l=j$r(B - $B%I%-%e%a%s%H%D%j!<$K%^%C%W$9$k5!G=$H!"(B - URL $B$N%j%@%$%l%/%H$r9T$J$&5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_alias.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - alias_module</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$N%G%#%l%/%F%#%V$O%5!<%P$K%j%/%(%9%H$,E~Ce$7$?$H$-$K(B - URL $B$NA`:n$d@)8f$r$9$k$3$H$r2DG=$K$7$^$9!#(B<code>Alias</code> - $B%G%#%l%/%F%#%V$H(B <code>ScriptAlias</code> $B%G%#%l%/%F%#%V$O(B - URL $B$H%U%!%$%k%7%9%F%`$N%Q%9$r%^%C%W$9$k$?$a$K;HMQ$5$l$^$9!#$3$l$O(B - <a href="core.html#documentroot"><code>DocumentRoot</code></a> - $B$N2<$K$J$$%I%-%e%a%s%H$r%&%'%V$N%I%-%e%a%s%H%D%j!<$N0lIt$H$7$F(B - $BAw$i$l$k$h$&$K$7$^$9!#(B<code>ScriptAlias</code> - $B%G%#%l%/%F%#%V$K$O%^%C%W@h$N%G%#%l%/%H%j$,(B CGI - $B%9%/%j%W%H$N$_$G$"$k$3$H$r<($9$H$$$&DI2C$N8z2L$,$"$j$^$9!#(B - </p> - - <p><code>Redirect</code> $B%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K0c$C$?(B - URL $B$K?7$7$$%j%/%(%9%H$rAw$k$h$&$K;X<($7$^$9!#$3$l$O!"(B - $B%j%=!<%9$,?7$7$$>l=j$K0\F0$7$?$H$-$K$h$/;HMQ$5$l$^$9!#(B</p> - - <p>URL $B$rA`:n$9$k$?$a$N$h$j6/NO$G=@Fp$J%G%#%l%/%F%#%V72$O(B <a - href="mod_rewrite.html"><code>mod_rewrite</code></a> - $B%b%8%e!<%k$K$"$j$^$9!#(B - </p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#alias">Alias</a></li> - - <li><a href="#aliasmatch">AliasMatch</a></li> - - <li><a href="#redirect">Redirect</a></li> - - <li><a href="#redirectmatch">RedirectMatch</a></li> - - <li><a href="#redirecttemp">RedirectTemp</a></li> - - <li><a href="#redirectperm">RedirectPermanent</a></li> - - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li><a href="#scriptaliasmatch">ScriptAliasMatch</a></li> - </ul> - <hr /> - - <h2><a id="alias" name="alias">Alias $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Alias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias</p> - - <p>Alias $B%G%#%l%/%F%#%V$O%I%-%e%a%s%H$r%m!<%+%k%U%!%$%k%7%9%F%`$N(B - <a href="core.html#documentroot">DocumentRoot</a> - $B0J30$N>l=j$KJ]4I$9$k$3$H$r2DG=$K$7$^$9!#(B<em>Url-path</em> - (% $B$,I|9f$5$l$?(B) $B$G;O$^$k%Q%9$N(B URL $B$O(B - <em>directory-filename</em> - $B$G;O$^$k%m!<%+%k%U%!%$%k$K%^%C%W$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Alias /image /ftp/pub/image</code> - </blockquote> - - <p>http://myserver/image/foo.gif $B$X$N%j%/%(%9%H$KBP$7$F!"%5!<%P$O(B - $B%U%!%$%k(B /ftp/pub/image/foo.gif $B$rJV$7$^$9!#(B</p> - - <p>$B$b$7(B <em>url-path</em> $B$N:G8e$K(B / - $B$r=q$$$?$J$i!"%5!<%P$O%(%$%j%"%9$rE83+$9$k$?$a$K:G8e$N(B / - $B$rMW5a$9$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#$9$J$o$A!"(B<code>Alias /icons/ - /usr/local/apache/icons/</code> $B$H$$$&$b$N$r;HMQ$7$F$$$k$H!"(B - <code>/icons</code> $B$H$$$&(B url $B$O%(%$%j%"%9$5$l$^$;$s!#(B</p> - - <p>$B%(%$%j%"%9$N(B<em>$B9T$-@h(B</em>$B$r4^$s$G$$$k(B <a - href="core.html#directory"><code><Directory></code></a> - $B%;%/%7%g%s$rDI2C$9$kI,MW$,$"$k$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - $B%(%$%j%"%9$NE83+$O(B <code><Directory></code> - $B%;%/%7%g%s$rD4$Y$kA0$K9T$J$o$l$^$9$N$G!"(B - $B%(%$%j%"%9$N9T$-@h$N(B <code><Directory></code> $B%;%/%7%g%s$N$_(B - $B8z2L$,$"$j$^$9!#(B - ($B$7$+$7!"(B<a - href="core.html#location"><code><Location></code></a> - $B%;%/%7%g%s$O%(%$%j%"%9$,=hM}$5$l$kA0$K<B9T$5$l$^$9$N$G!"(B - $B$3$A$i$OE,MQ$5$l$^$9!#(B)</p> - - <p><a href="#scriptalias">ScriptAlias</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="aliasmatch" name="aliasmatch">AliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=(B</p> - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#alias">Alias</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#$?$H$($P!"(B - <code>/icons</code> $B%G%#%l%/%H%j$r;HMQ$9$k$h$&$K$9$k(B - $B$?$a$K$O0J2<$N$h$&$J$b$N$,;HMQ$G$-$^$9(B:</p> -<pre> - AliasMatch ^/icons(.*) /usr/local/apache/icons$1 -</pre> - <hr /> - - <h2><a id="redirect" name="redirect">Redirect - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Redirect [<em>status</em>] - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%G%#%l%/%H%j$H(B - .htaccess $B$N%3%s%F%-%9%H$O(B 1.1 $B0J9_$N$_!#(B<em>Status</em> - $B0z?t$O(B Apache 1.2 $B0J9_!#(B</p> - - <p>Redirect $B%G%#%l%/%F%#%V$O8E$$(B URL $B$r?7$7$$$b$N$X%^%C%W$7$^$9!#(B - $B?7$7$$(B URL $B$,%/%i%$%"%s%H$KJV$5$l$^$9!#$=$7$F!"(B - $B%/%i%$%"%s%H$O?7$7$$%"%I%l%9$r$b$&0l2s<hF@$7$h$&$H$7$^$9!#(B - <em>URL-path</em> (% $B$,I|9f$5$l$?(B) $B%Q%9$G;O$^$k%I%-%e%a%s%H$X$N(B - $B$9$Y$F$N%j%/%(%9%H$O(B <em>URL</em> $B$G;O$^$k?7$7$$(B - (% $B$,Id9f2=$5$l$?(B) URL $B$X$N%j%@%$%l%/%H%(%i!<$,JV$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Redirect /service http://foo2.bar.com/service</code> - </blockquote> - - <p>$B%/%i%$%"%s%H$O(B http://myserver/service/foo.txt - $B$X$N%j%/%(%9%H$r9T$J$&$H!"Be$o$j$K(B http://foo2.bar.com/service/foo.txt - $B$r%"%/%;%9$9$k$h$&$K9p$2$i$l$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> - $B@_Dj%U%!%$%kCf$N=gHV$K4X$o$i$:!"(BRedirect $B%G%#%l%/%F%#%V$O(B Alias - $B%G%#%l%/%F%#%V$H(B ScriptAlias $B%G%#%l%/%F%#%V$h$j$bM%@h$5$l$^$9!#(B - $B$^$?!"(B.htaccess $B%U%!%$%k$d(B <Directory> - $B%;%/%7%g%s$NCf$G;H$o$l$F$$$?$H$7$F$b!"(B<em>URL-path</em> - $B$OAjBP%Q%9$G$O$J$/!"@dBP%Q%9$G$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$b$7(B <em>status</em> $B0z?t$,M?$($i$l$F$$$J$1$l$P!"%j%@%$%l%/%H$O(B - "temporary" (HTTP $B%9%F!<%?%9(B 302) $B$K$J$j$^$9!#$3$l$O%/%i%$%"%s%H$K(B - $B%j%=!<%9$,0l;~E*$K0\F0$7$?$H$$$&$3$H$r<($7$^$9!#(B<em>Status</em> - $B0z?t$O(B $BB>$N(B HTTP $B$N%9%F!<%?%9%3!<%I$rJV$9$?$a$K;HMQ$9$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt>permanent</dt> - - <dd>$B1J5W$K%j%@%$%l%/%H$r$9$k%9%F!<%?%9(B (301) $B$rJV$7$^$9!#(B - $B$3$l$O%j%=!<%9$,1J5W$K0\F0$7$?$H$$$&$3$H$r0UL#$7$^$9!#(B</dd> - - <dt>temp</dt> - - <dd>$B0l;~E*$J%j%@%$%l%/%H%9%F!<%?%9(B (302) - $B$rJV$7$^$9!#$3$l$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>seeother</dt> - - <dd>"See Other" $B%9%F!<%?%9(B (303) $B$rJV$7$^$9!#(B - $B$3$l$O%j%=!<%9$,B>$N$b$N$GCV$-49$($i$l$?$3$H$r0UL#$7$^$9!#(B</dd> - - <dt>gone</dt> - - <dd>"Gone" $B%9%F!<%?%9(B (410) $B$rJV$7$^$9!#$3$l$O%j%=!<%9$,1J5W$K(B - $B:o=|$5$l$?$3$H$r0UL#$7$^$9!#$3$N%9%F!<%?%9$,;HMQ$5$l$?>l9g!"(B - <em>url</em> $B0z?t$O>JN,$5$l$J$1$l$P$J$j$^$;$s!#(B</dd> - </dl> - - <p><em>Status</em> $B$NCM$K%9%F!<%?%9%3!<%I$r?tCM$GM?$($k$3$H$G(B - $BB>$N%9%F!<%?%9%3!<%I$bJV$9$3$H$,$G$-$^$9!#%9%F!<%?%9$,(B 300 $B$H(B 399 - $B$N4V$K$"$k>l9g!"(B<em>url</em> $B0z?t$OB8:_$7$F$$$J$1$l$P$$$1$^$;$s!#(B - $B$=$NB>$N>l9g$O>JN,$5$l$F$$$J$1$l$P$J$j$^$;$s!#$?$@$7!"(B - $B%9%F!<%?%9$O(B Apache $B$N%3!<%I$,CN$C$F$$$k$b$N$G$"$kI,MW$,$"$j$^$9(B - (http_protocol.c $B$N4X?t(B <code>send_error_response</code> - $B$r8+$F$/$@$5$$(B)$B!#(B</p> - <p>$BNc(B:</p> - - <pre> - Redirect permanent /one http://example.com/two<br /> - Redirect 303 /two http://example.com/other - </pre> - <hr /> - - <h2><a id="redirectmatch" - name="redirectmatch">RedirectMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectMatch - [<em>status</em>] <em>regex URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#redirect">Redirect</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B - $B$?$H$($P!"$9$Y$F$N(B GIF $B%U%!%$%k$rJL%5!<%P$NF1MM$JL>A0$N(B JPEG - $B%U%!%$%k$K%j%@%$%l%/%H$9$k$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B: - </p> -<pre> - RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg -</pre> - <hr /> - - <h2><a id="redirecttemp" name="redirecttemp">RedirectTemp - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectTemp <em>URL-path - URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - $B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect - $B$,0l;~E*$J$b$N$G$"$k(B ($B%9%F!<%?%9(B 302) $B$3$H$rCN$i$;$^$9!#(B - <code>Redirect temp</code> $B$H$^$C$?$/F1$8$G$9!#(B</p> - <hr /> - - <h2><a id="redirectperm" name="redirectperm">RedirectPermanent - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectPermanent - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - $B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect $B$,1J5WE*$J$b$N(B - ($B%9%F!<%?%9(B 301) $B$G$"$k$3$H$rCN$i$;$^$9!#(B - <code>Redirect premanent</code> $B$H$^$C$?$/F1$8$G$9!#(B</p> - <hr /> - - <h2><a id="scriptalias" name="scriptalias">ScriptAlias - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptAlias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias</p> - - <p>ScriptAlias $B%G%#%l%/%F%#%V$O!"BP>]%G%#%l%/%H%j$K(B - <a href="mod_cgi.html">mod_cgi</a> $B$N(B cgi-script - $B%O%s%I%i$G=hM}$5$l$k(B CGI - $B%9%/%j%W%H$,$"$k$3$H$r<($90J30$O(B - <a href="#alias">Alias</a> - $B%G%#%l%/%F%#%V$HF1$8?6$kIq$$$r$7$^$9!#(B<em>URL-path</em> - (% $B$,I|9f$5$l$?(B) $B%Q%9$G(B $B;O$^$k(B URL $B$O%m!<%+%k$N%U%!%$%k%7%9%F%`$N(B - $B%U%k%Q%9$G$"$kFsHVL\$N0z?t$K%^%C%W$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>ScriptAlias /cgi-bin/ /web/cgi-bin/</code> - </blockquote> - - <p>http://myserver/cgi-bin/foo $B$X$N%j%/%(%9%H$KBP$7$F%5!<%P$O%9%/%j%W%H(B - /web/cgi-bin/foo $B$r<B9T$7$^$9!#(B</p> - <hr /> - - <h2><a id="scriptaliasmatch" - name="scriptaliasmatch">ScriptAliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptAliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#scriptalias">ScriptAlias</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B - $B$?$H$($P!"I8=`$N(B <code>/cgi-bin</code> - $B$r;HMQ$9$k$h$&$K$9$k$?$a$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B: - </p> -<pre> - ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en deleted file mode 100644 index 55ae8e997c9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_asis</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_asis</h1> - - <p>This module provides for sending files which contain their - own HTTP headers.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_asis.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - asis_module</p> - - <h2>Summary</h2> - - <p>This module provides the handler <code>send-as-is</code> - which causes Apache to send the document without adding most of - the usual HTTP headers.</p> - - <p>This can be used to send any kind of data from the server, - including redirects and other special HTTP responses, without - requiring a cgi-script or an nph script.</p> - - <p>For historical reasons, this module will also process any - file with the mime type <code>httpd/send-as-is</code>.</p> - - <h2>Directives</h2> - - <p>This module provides no directives.</p> - - <h2>Usage</h2> - - <p>In the server configuration file, associate files with the - <code>send-as-is</code> handler <em>e.g.</em></p> - - <blockquote> - <code>AddHandler send-as-is asis</code> - </blockquote> - The contents of any file with a <code>.asis</code> extension - will then be sent by Apache to the client with almost no - changes. Clients will need HTTP headers to be attached, so do - not forget them. A Status: header is also required; the data - should be the 3-digit HTTP response code, followed by a textual - message. - - <p>Here's an example of a file whose contents are sent <em>as - is</em> so as to tell the client that a file has - redirected.</p> - - <blockquote> - <code>Status: 301 Now where did I leave that URL<br /> - Location: http://xyz.abc.com/foo/bar.html<br /> - Content-type: text/html<br /> - <br /> - <HTML><br /> - <HEAD><br /> - <TITLE>Lame excuses'R'us</TITLE><br /> - </HEAD><br /> - <BODY><br /> - <H1>Fred's exceptionally wonderful page has moved - to<br /> - <A - HREF="http://xyz.abc.com/foo/bar.html">Joe's</A> - site.<br /> - </H1><br /> - </BODY><br /> - </HTML></code> - </blockquote> - - <p>Notes: the server always adds a Date: and Server: header to - the data returned to the client, so these should not be - included in the file. The server does <em>not</em> add a - Last-Modified header; it probably should. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis deleted file mode 100644 index ce19d13e16f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_asis</title> - - </head> - <!-- English revision: 1.11--> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_asis $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O<+J,MQ$N(B HTTP - $B%X%C%@$,$"$k%U%!%$%k$rAw?.$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_asis.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - asis_module</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$O%O%s%I%i(B <code>send-as-is</code> - $B$rDs6!$7$^$9!#$3$N%O%s%I%i$ODL>o$N(B HTTP - $B%X%C%@$r$[$H$s$IDI2C$9$k$3$H$J$/%I%-%e%a%s%H$rAw?.$7$^$9!#(B</p> - - <p>$B$3$l$O%5!<%P$+$i$I$s$J<oN`$N%G!<%?$rAw$k$H$-$K$b;HMQ$G$-$^$9!#(B - Cgi $B%9%/%j%W%H$d(B nph $B%9%/%j%W%H$,L5$/$F$b%j%@%$%l%/%H$dB>$NFCJL$J(B - HTTP $B1~Ez$rAw$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNr;KE*$JM}M3$K$h$j!"$3$N%b%8%e!<%k$O(B mime $B%?%$%W(B - <code>httpd/send-as-is</code> $B$N%U%!%$%k$b=hM}$7$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$O%G%#%l%/%F%#%V$O$"$j$^$;$s!#(B</p> - - <h2>$B;HMQK!(B</h2> - - <p>$B%5!<%P@_Dj%U%!%$%k$G!"%U%!%$%k$H(B <code>send-as-is</code> - $B%O%s%I%i$rNc$($P0J2<$N$h$&$K4XO"IU$1$F$/$@$5$$!#(B</p> - - <blockquote> - <code>AddHandler send-as-is .asis</code> - </blockquote> - - <p>$B3HD%;R$,(B <code>.asis</code> $B$N$9$Y$F$N%U%!%$%k$NFbMF$O(B Apache - $B$+$i%/%i%$%"%s%H$X$[$H$s$IJQ99L5$/Aw$i$l$^$9!#%/%i%$%"%s%H$K$O(B - HTTP $B%X%C%@$,I,MW$G$9$N$G!"%U%!%$%k$K=q$/$3$H$rK:$l$J$$$G$/$@$5$$!#(B - Status: $B%X%C%@$bI,MW$G$9!#%G!<%?$O(B 3 $B7e$N(B HTTP - $B1~Ez%3!<%I$H!"$=$N8e$K%F%-%9%H%a%C%;!<%8$,B3$$$?$b$N$G$J$1$l$P$J$j$^$;$s!#(B - - $B$3$l$O%/%i%$%"%s%H$K%U%!%$%k$,0\F0$7$?$3$H$rCN$i$;$k$?$a$K(B - <em>as is</em> ($B$=$N$^$^(B) $B$GAw$i$l$k%U%!%$%k$NFbMF$NNc$G$9!#(B - </p> - - <blockquote> - <code>Status: 301 Now where did I leave that URL<br /> - Location: http://xyz.abc.com/foo/bar.html<br /> - Content-type: text/html<br /> - <br /> - <HTML><br /> - <HEAD><br /> - <TITLE>Lame excuses'R'us</TITLE><br /> - </HEAD><br /> - <BODY><br /> - <H1>Fred's exceptionally wonderful page has moved - to<br /> - <A - HREF="http://xyz.abc.com/foo/bar.html">Joe's</A> - site.<br /> - </H1><br /> - </BODY><br /> - </HTML></code> - </blockquote> - - <p>$BCm0U(B: $B%5!<%P$O%/%i%$%"%s%H$KJV$5$l$k%G!<%?$K>o$K(B Date: $B$H(B Server: - $B%X%C%@$rDI2C$7$^$9$N$G!"$=$l$i$,%U%!%$%k$K=q$+$l$F$$$F$O$$$1$^$;$s!#(B - $B%5!<%P$O(B Last-Modified $B%X%C%@$rDI2C(B<em>$B$7$^$;$s(B</em>$B!#(B - $B$*$=$i$/$O$=$&$9$Y$-$G$7$g$&$1$l$I!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en deleted file mode 100644 index 7fabe112cfa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en +++ /dev/null @@ -1,322 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_auth</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_auth</h1> - - <p>This module provides for user authentication using text - files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_auth.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - auth_module</p> - - <h2>Summary</h2> - - <p>This module allows the use of HTTP Basic Authentication to - restrict access by looking up users in plain text password and - group files. Similar functionality and greater scalability is - provided by <a href="mod_auth_dbm.html">mod_auth_dbm</a> and <a - href="mod_auth_db.html">mod_auth_db</a>. HTTP Digest - Authentication is provided by <a - href="mod_auth_digest.html">mod_auth_digest</a>.</p> - - <p><b>Note that these credential-based security mechanisms are - only as strong as your Web server's security. As a rule, they - are <i>not</i> as strong as the operating system's own security - system.</b></p> - - <h2>Directives</h2> - - <ul> - <li><a href="#authgroupfile">AuthGroupFile</a></li> - - <li><a href="#authuserfile">AuthUserFile</a></li> - - <li><a href="#authauthoritative">AuthAuthoritative</a></li> - </ul> - - <p>See also: <a href="core.html#require">require</a>, <a - href="core.html#satisfy">satisfy</a>, and <a - href="#require">mod_auth require keywords</a>.</p> - <hr /> - - <h2><a id="require" name="require"><code>mod_auth</code> - Require Keywords</a></h2> - - <p>The <code>mod_auth</code> module supports the following - keywords that can be given to the <a - href="core.html#require">Require</a> directive:</p> - - <dl compact="compact"> - <dt><code>user <i>username</i> [...]</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also be one of those listed on the Require - directive.</dd> - - <dt><code>group <i>groupname</i> [...]</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also be a member of one of the named groups in - the <a href="#authgroupfile">AuthGroupFile</a> database.</dd> - - <dt><code>valid-user</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database. Any valid - username from that file will be allowed.</dd> - - <dt><code>file-owner</code></dt> - - <dd>[Available after Apache 1.3.20] The supplied username and - password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also match the system's name for the owner of - the file being requested. That is, if the operating system - say the requested file is owned by <code>jones</code>, then - the username used to access it through the Web must be - <code>jones</code> as well.</dd> - - <dt><code>file-group</code></dt> - - <dd>[Available after Apache 1.3.20] The supplied username and - password must be in the <a - href="#authuserfile">AuthUserFile</a> database, the name of - the group that owns the file must be in the <a - href="#authgroupfile">AuthGroupFile</a> database, and the - username must be a member of that group. For example, if the - operating system says the requested file is owned by group - <code>accounts</code>, the group <code>accounts</code> must - be in the AuthGroupFile database and the username used in the - request must be a member of that group.</dd> - </dl> - <hr /> - - <h2><a id="example" name="example">Example of <code>Require - file-owner</code></a></h2> - - <p>Consider a multi-user system running the Apache Web server, - with each user having his or her own files in - <code>~/public_html/private</code>. Assuming that there is a - single AuthUserFile database that lists all of their usernames, - and that their Web usernames match the ones that actually own - the files on the server, then the following stanza would allow - only the user himself access to his own files. User - <code>jones</code> would not be allowed to access files in - <code>/home/smith/public_html/private</code> unless they were - owned by <code>jones</code> instead of <code>smith</code>.</p> -<pre> - <Directory /home/*/public_html/private> - AuthType Basic - AuthName MyPrivateFile - AuthUserFile /usr/local/apache/etc/.htpasswd-allusers - Satisfy All - Require file-owner - </Directory> -</pre> - <hr /> - - <h2><a id="authgroupfile" - name="authgroupfile">AuthGroupFile</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthGroupFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>The AuthGroupFile directive sets the name of a textual file - containing the list of user groups for user authentication. - <em>File-path</em> is the path to the group file. If it is not - absolute (<em>i.e.</em>, if it doesn't begin with a slash), it - is treated as relative to the ServerRoot.</p> - - <p>Each line of the group file contains a groupname followed by - a colon, followed by the member usernames separated by spaces. - Example:</p> - - <blockquote> - <code>mygroup: bob joe anne</code> - </blockquote> - Note that searching large text files is <em>very</em> - inefficient; <a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a> - should be used instead. - - <p>Security: make sure that the AuthGroupFile is stored outside - the document tree of the web-server; do <em>not</em> put it in - the directory that it protects. Otherwise, clients will be able - to download the AuthGroupFile.</p> - - <p>See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authuserfile">AuthUserFile</a>.</p> - <hr /> - - <h2><a id="authuserfile" name="authuserfile">AuthUserFile</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthUserFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>The AuthUserFile directive sets the name of a textual file - containing the list of users and passwords for user - authentication. <em>File-path</em> is the path to the user - file. If it is not absolute (<em>i.e.</em>, if it doesn't begin - with a slash), it is treated as relative to the ServerRoot.</p> - - <p>Each line of the user file contains a username followed by a - colon, followed by the <code>crypt()</code> encrypted password. - The behavior of multiple occurrences of the same user is - undefined.</p> - - <p>The utility <a href="../programs/htpasswd.html">htpasswd</a> - which is installed as part of the binary distribution, or which - can be found in <code>src/support</code>, is used to maintain - this password file. See the <code>man</code> page for more - details. In short</p> - - <blockquote> - <code>htpasswd -c Filename username</code><br /> - Create a password file 'Filename' with 'username' as the - initial ID. It will prompt for the password. <code>htpasswd - Filename username2</code><br /> - Adds or modifies in password file 'Filename' the 'username'. - </blockquote> - - <p>Note that searching large text files is <em>very</em> - inefficient; <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a> - should be used instead.</p> - - <dl> - <dt><b>Security:</b></dt> - - <dd>Make sure that the AuthUserFile is stored outside the - document tree of the web-server; do <em>not</em> put it in - the directory that it protects. Otherwise, clients may be - able to download the AuthUserFile.</dd> - - <dd>Also be aware that null usernames are permitted, and null - passwords as well (through Apache 1.3.20). If your - AuthUserFile includes a line containing only a colon (':'), a - '<code>Require valid-user</code>' will allow access if both - the username and password in the credentials are - omitted.</dd> - </dl> - See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authgroupfile">AuthGroupFile</a>. - <hr /> - - <h2><a id="authauthoritative" - name="authauthoritative">AuthAuthoritative</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthAuthoritative - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>AuthAuthoritative on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>Setting the AuthAuthoritative directive explicitly to - <strong>'off'</strong> allows for both authentication and - authorization to be passed on to lower level modules (as - defined in the <code>Configuration</code> and - <code>modules.c</code> files) if there is <strong>no - userID</strong> or <strong>rule</strong> matching the supplied - userID. If there is a userID and/or rule specified; the usual - password and access checks will be applied and a failure will - give an Authorization Required reply.</p> - - <p>So if a userID appears in the database of more than one - module; or if a valid <code>Require</code> directive applies to - more than one module; then the first module will verify the - credentials; and no access is passed on; regardless of the - AuthAuthoritative setting.</p> - - <p>A common use for this is in conjunction with one of the - database modules; such as <a - href="mod_auth_db.html"><code>mod_auth_db.c</code></a>, <a - href="mod_auth_dbm.html"><code>mod_auth_dbm.c</code></a>, - <code>mod_auth_msql.c</code>, and <a - href="mod_auth_anon.html"><code>mod_auth_anon.c</code></a>. - These modules supply the bulk of the user credential checking; - but a few (administrator) related accesses fall through to a - lower level with a well protected AuthUserFile.</p> - - <p><a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> By default; control is - not passed on; and an unknown userID or rule will result in an - Authorization Required reply. Not setting it thus keeps the - system secure; and forces an NCSA compliant behavior.</p> - - <p>Security: Do consider the implications of allowing a user to - allow fall-through in his .htaccess file; and verify that this - is really what you want; Generally it is easier to just secure - a single .htpasswd file, than it is to secure a database such - as mSQL. Make sure that the AuthUserFile is stored outside the - document tree of the web-server; do <em>not</em> put it in the - directory that it protects. Otherwise, clients will be able to - download the AuthUserFile.</p> - - <p>See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authgroupfile">AuthGroupFile</a>.</p> - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis deleted file mode 100644 index 5188114dffa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis +++ /dev/null @@ -1,335 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache module mod_auth</title> - </head> - <!-- English revision: 1.29 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_auth $B%b%8%e!<%k(B</h1> - - <p> - $B$3$N%b%8%e!<%k$O%F%-%9%H%U%!%$%k$r;H$C$F%f!<%6$NG'>Z$r9T$J$&5!G=$r(B - $BDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_auth.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - auth_module</p> - - <h2>$B35MW(B</h2> - - <p> - $B$3$N%b%8%e!<%k$O%f!<%6$r%W%l!<%s%F%-%9%H$N%Q%9%o!<%I$H%0%k!<%W(B - $B%U%!%$%k$GD4$Y$k$3$H$K$h$j!"(BHTTP - $B4pK\G'>Z$G%"%/%;%9$r@)8B$9$k$3$H$r(B - $B2DG=$K$7$^$9!#F1MM$N5!G=$G%9%1!<%i%S%j%F%#$N$"$k$b$N$O(B <a - href="mod_auth_dbm.html">mod_auth_dbm</a> $B$H(B <a - href="mod_auth_db.html">mod_auth_db</a> $B$K$h$jDs6!$5$l$^$9!#(B - HTTP $B%@%$%8%'%9%HG'>Z$O(B <a - href="mod_auth_digest.html">mod_auth_digest</a> - $B$K$h$jDs6!$5$l$F$$$^$9!#(B</p> - - <p> - <b>$B$3$l$i$NG'>Z$K4p$E$$$?%;%-%e%j%F%#$N5!9=$O$;$$$<$$%&%'%V%5!<%P$N(B - $B%;%-%e%j%F%#$HF1DxEY$N6/EY$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B - $B0lHL$K!"%*%Z%l!<%F%#%s%0%7%9%F%`$N%;%-%e%j%F%#%7%9%F%`$[$I$O(B - $B6/$/(B<i>$B$"$j$^$;$s(B</i>$B!#(B</b></p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#authgroupfile">AuthGroupFile</a></li> - - <li><a href="#authuserfile">AuthUserFile</a></li> - - <li><a href="#authauthoritative">AuthAuthoritative</a></li> - </ul> - - <p>$B;2>H(B: <a href="core.html#require">require</a>, <a - href="core.html#satisfy">satisfy</a>, <a href="#require">mod_auth - require $B%-!<%o!<%I(B</a>$B!#(B</p> - <hr /> - - <h2><a id="require" name="require"><code>mod_auth</code> Require - $B%-!<%o!<%I(B</a></h2> - - <p><code>mod_auth</code> $B%b%8%e!<%k$O(B <a - href="core.html#require">Require</a> $B%G%#%l%/%F%#%V$KBP$9$k(B - $B0J2<$N%-!<%o!<%I$r%5%]!<%H$7$^$9(B:</p> - - <dl compact="compact"> - <dt><code>user <i>username</i> [...]</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,(B - Require $B%G%#%l%/%F%#%V$K%j%9%H(B - $B$5$l$F$$$kI,MW$,$"$j$^$9!#(B</dd> - - <dt><code>group <i>groupname</i> [...]</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,(B - <a href="#authgroupfile">AuthGroupFile</a> - $B%G!<%?%Y!<%9$K$"$k(B - $B;XDj$5$l$?%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B</dd> - - <dt><code>valid-user</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$,(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j$^$9!#$=$N%U%!%$%k$K$"$kM-8z$J%f!<%6L>$O%"%/%;%9$,5v2D(B - $B$5$l$^$9!#(B</dd> - - <dt><code>file-owner</code></dt> - - <dd>[Apache 1.3.20 $B$+$i(B] - $BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,%j%/%(%9%H$5$l$?%U%!%$%k$N(B - $B%7%9%F%`$N=jM-<T$NL>A0$H0lCW$9$kI,MW$,$"$j$^$9!#$D$^$j!"(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$,%j%/%(%9%H$5$l$?%U%!%$%k$,(B - <code>jones</code> $B$G$"$k!"$H8@$C$?>l9g$O!"(BWeb - $B$rDL$7$F(B $B%"%/%;%9$9$k%f!<%6L>$b(B <code>jones</code> - $B$G$"$kI,MW$G$"$k!"(B $B$H$$$&$3$H$G$9!#(B</dd> - - <dt><code>file-group</code></dt> - - <dd>[Apache 1.3.20 $B$+$i(B] - $BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j!"%U%!%$%k$r=jM-$9$k%0%k!<%WL>$,(B <a - href="#authgroupfile">AuthGroupFile</a> $B%G!<%?%Y!<%9$K(B - $B$"$kI,MW$,$"$j!"%f!<%6L>$,$=$N%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B - $BNc$($P!"%*%Z%l!<%F%#%s%0%7%9%F%`$,%j%/%(%9%H$5$l$?%U%!%$%k$,(B - $B%0%k!<%W(B <code>accounts</code> - $B$K$h$j=jM-$5$l$F$$$k$H8@$C$?(B $B>l9g!"%0%k!<%W(B - <code>accounts</code> $B$,(B AuthGroupFile $B%G!<%?%Y!<%9$K(B - $BB0$7$F$$$kI,MW$,$"$j!"%j%/%(%9%H$K;HMQ$5$l$?%f!<%6L>$b(B - $B$=$N%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B</dd> - </dl> - <hr /> - - <h2><a id="authgroupfile" name="authgroupfile">AuthGroupFile</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthGroupFile - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth - - <p>AuthGroupFile $B%G%#%l%/%F%#%V$O%f!<%6G'>Z$N$?$a$N(B - $B%f!<%6%0%k!<%W$N%j%9%H$,=q$+$l$?%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B - <em>Filename</em> - $B$O%0%k!<%W%U%!%$%k$N%Q%9$G$9!#@dBP%Q%9$G$J$$$H$-$O(B - (<em>$B$9$J$o$A(B</em>$B!"%9%i%C%7%e$G;O$^$i$J$$$H$-$O(B)$B!"(BServerRoot - $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p> - $B%0%k!<%W%U%!%$%k$N$=$l$>$l$N9T$O!"%0%k!<%WL>!"%3%m%s!"6uGr$G(B - $B6h@Z$i$l$?%0%k!<%W$KB0$9$k%f!<%6L>!"$+$i$J$j$^$9!#Nc(B:</p> - - <blockquote> - <code>mygroup: bob joe anne</code> - </blockquote> - - <p> - $BBg$-$J%F%-%9%H%U%!%$%k$rC5$9$N$O(B<em>$BHs>o(B</em>$B$K8zN($,0-$$$H$$$&$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$=$N$h$&$J>l9g$O!"Be$o$j$K(B <a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a> - $B$r(B $B;H$C$F$/$@$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: AuthGroupFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$K(B - $BJ]4I$7$F$/$@$5$$!#$=$l$,J]8n$7$F$$$k%G%#%l%/%H%j$K$OCV$+(B<em>$B$J$$(B</em>$B$G(B - $B$/$@$5$$!#$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthGroupFile - $B$r%@%&%s%m!<%I(B $B$G$-$F$7$^$$$^$9!#(B</p> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authuserfile">AuthUserFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="authuserfile" name="authuserfile">AuthUserFile</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthUserFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth<br /> - - - <p>AuthUserFile - $B%G%#%l%/%F%#%V$O%f!<%6G'>Z$N$?$a$N%f!<%6$H%Q%9%o!<%I$N(B - $B%j%9%H$,=q$+$l$?%F%-%9%H%U%!%$%k$rL>A0$r@_Dj$7$^$9!#(B<em>File-path</em> - $B$O(B $B%f!<%6%U%!%$%k$X$N%Q%9$G$9!#@dBP%Q%9$G$J$$$H$-$O(B - (<em>$B$9$J$o$A(B</em>$B!"(B - $B%9%i%C%7%e$G;O$^$i$J$$$H$-$O(B)$B!"(BServerRoot - $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p> - $B%f!<%6%U%!%$%k$N$=$l$>$l$N9T$O!"%f!<%6L>!"%3%m%s!"(B<code>crypt()</code> - $B$K$h$j0E9f2=$5$l$?(B - $B%Q%9%o!<%I!"$+$i$J$j$^$9!#F1$8%f!<%6$,J#?t2s8=$l$?$H$-$NF0:n$O(B - $BITDj$G$9!#(B</p> - - <p> - $B%P%$%J%jG[I[$N0lIt$H$7$F%$%s%9%H!<%k$5$l$F$$$k$+!"(B<code>src/support</code> - $B$K$"$k(B <a href="../programs/htpasswd.html">htpasswd</a> - $B%f!<%F%#%j%F%#$O!"(B - $B$3$N%Q%9%o!<%I%U%!%$%k$r0];}$9$k$?$a$K;HMQ$5$l$^$9!#>\:Y$O(B - <code>man</code> - $B%Z!<%8$r;2>H$7$F$/$@$5$$!#<jC;$+$K@bL@$9$k$H(B</p> - - <blockquote> - <code>htpasswd -c Filename username</code><br /> - $B$O(B 'username' $B$r=i4|(B ID $B$H$7$F%Q%9%o!<%I%U%!%$%k(B - 'Filename' $B$r(B - $B:n@.$7$^$9!#$3$l$O%Q%9%o!<%I$NF~NO$rB%$7$^$9!#(B <code>htpasswd - Filename username2</code><br /> - $B$O%Q%9%o!<%I%U%!%$%k(B 'Filename' $B$K(B 'username' $B$r(B - $BDI2C$9$k$+!"4{$K$"$k(B 'username' $B$r=$@5$7$^$9!#(B - </blockquote> - - <p> - $BBg$-$J%F%-%9%H%U%!%$%k$rC5$9$N$O(B<em>$BHs>o(B</em>$B$K8zN($,0-$$$H$$$&$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$=$N$h$&$J>l9g$O!"Be$o$j$K(B <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a> - $B$r(B $B;H$C$F$/$@$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: AuthUserFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$K(B - $BJ]4I$7$F$/$@$5$$!#$=$l$,J]8n$7$F$$$k(B - $B%G%#%l%/%H%j$K$OCV$+$J$$$G$/$@$5$$!#(B - $B$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthUserFile - $B$r%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</p> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authgroupfile">AuthGroupFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="authauthoritative" - name="authauthoritative">AuthAuthoritative</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthAuthoritative - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>AuthAuthoritative on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth - - <p>AuthAuthoritative $B%G%#%l%/%F%#%V$rL@<(E*$K(B - <strong>'off'</strong> $B$K(B $B@_Dj$9$k$H!"(BuserID - $B$K9g$&(B <strong>userID $B$,L5$$(B</strong> $B$H$-$H!"(B - $B$=$l$K9g$&(B<strong>$B%k!<%k(B</strong>$B$,L5$$$H$-$K!"G'>Z$H8"8B$NIUM?$NN>J}$r(B - (<code>$B@_Dj(B</code> $B$d(B <code>modules.c</code> - $B$GDj5A$5$l$F$$$k(B $BJ}K!$G(B) - $B2<0L$N%b%8%e!<%k$KEO$9$3$H$r2DG=$K$7$^$9!#(B userID - $B$+%k!<%k$,;XDj$5$l$F$$$k$H$-$K$O!"DL>o$HF1$8%Q%9%o!<%I$H(B - $B%"%/%;%9$N%A%'%C%/$,9T$J$o$l!"@.8y$7$J$+$C$?>l9g$O(B - Authorization Required $B1~Ez$,JV$5$l$^$9!#(B</p> - - <p>$B$G$9$+$i!"(BuserID - $B$,J#?t$N%b%8%e!<%k$N%G!<%?%Y!<%9$K8=$l$?$j!"(B $B@5$7$$(B - <code>Require</code> - $B%G%#%l%/%F%#%V$,J#?t$N%b%8%e!<%k$KE,MQ$5$l$?$j(B - $B$9$k$H$-$O!":G=i$N%b%8%e!<%k$,;q3J$rD4::$7$^$9!#(BAuthAuthoritative - $B$N(B - $B@_Dj$K4X$o$i$:!"%"%/%;%9$ND4::$OJL$N%b%8%e!<%k$K$OEO$5$l$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$NIaDL$NMxMQJ}K!$O!"(B<a - href="mod_auth_db.html"><code>mod_auth_db.c</code></a>, <a - href="mod_auth_dbm.html"><code>mod_auth_dbm.c</code></a>, - <code>mod_auth_msql.c</code>, <a - href="mod_auth_anon.html"><code>mod_auth_anon.c</code></a> - $B$N$h$&$J%G!<%?%Y!<%9%b%8%e!<%k$H0l=o$K;H$&$b$N$G$9!#(B - $B$3$l$i$N%b%8%e!<%k$OBgItJ,$N%f!<%6$N;q3JD4::$r9T$J$&5!G=$rDs6!$7$^$9!#(B - $B$7$+$7!">.?t$N(B ($B4IM}<T4XO"$N(B) $B%"%/%;%9$ONI$/J]8n$5$l$F$$$k(B AuthUserFile - $B$KEO$5$l$^$9!#(B</p> - - <p><a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - $B%G%U%)%k%H$G$O@)8f$OEO$5$l$^$;$s!#(B $BCN$i$J$$(B userID - $B$d%k!<%k$N7k2L$O(B Authorization Require $B1~Ez$K$J$j$^$9!#(B - $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$r@_Dj$7$J$$$H%7%9%F%`$r0BA4$KJ]$D$3$H$,$G$-!"(B - NCSA $B$HF1$8F0:n$r$9$k$h$&$K$G$-$^$9!#(B</p> - - <dl> - <dt><b>$B%;%-%e%j%F%#(B:</b></dt> - - <dd>AuthUserFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$KJ]4I$7$F$/$@$5$$!#(B - $B$=$l$,J]8n$7$F$$$k(B - $B%G%#%l%/%H%j$K$OCV$+(B<em>$B$J$$(B</em>$B$G$/$@$5$$!#(B - $B$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthUserFile - $B$r%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</dd> - - <dd> - $B$^$?!"6u$N%f!<%6L>$d!"6u$N%Q%9%o!<%I$,5v2D$5$l$k$3$H$KCm0U$7$F$/$@$5$$(B - (Apache 1.3.20 $B$+$i(B)$B!#(B AuthUserFile $B$K%3%m%s(B - (':') $B$N$_$N9T$,$"$l$P!"(B - $BG'>Z;~$K%f!<%6L>$H%Q%9%o!<%I$,N>J}6&>JN,$5$l$?$H$-$K(B - '<code>Require valid-user</code>' - $B$O%"%/%;%9$r5v2D$7$^$9!#(B</dd> - </dl> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authgroupfile">AuthGroupFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en deleted file mode 100644 index 8b21039fb40..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en +++ /dev/null @@ -1,228 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_cgi</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_cgi</h1> - - <p>This module provides for execution of CGI scripts.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_cgi.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - cgi_module</p> - - <h2>Summary</h2> - <!-- XXX: Should have references to CGI definition/RFC --> - Any file that has the mime type - <code>application/x-httpd-cgi</code> or handler - <code>cgi-script</code> (Apache 1.1 or later) will be treated - as a CGI script, and run by the server, with its output being - returned to the client. Files acquire this type either by - having a name containing an extension defined by the <a - href="mod_mime.html#addtype">AddType</a> directive, or by being - in a <a href="mod_alias.html#scriptalias">ScriptAlias</a> - directory. Files that are not in a <a - href="mod_alias.html#scriptalias">ScriptAlias</a> directory, - but which are of type <code>application/x-httpd-cgi</code> by - virtue of an <code>AddType</code> directive, will still not be - executed by the server unless <code>Options ExecCGI</code> is - enabled. See the <a - href="core.html#options"><code>Options</code></a> directive for - more details. - - <p>When the server invokes a CGI script, it will add a variable - called <code>DOCUMENT_ROOT</code> to the environment. This - variable will contain the value of the <a - href="core.html#documentroot">DocumentRoot</a> configuration - variable.</p> - - <p>For an introduction to using CGI scripts with Apache, see - our tutorial on <a href="../howto/cgi.html">Dynamic Content - with CGI</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#scriptlog">ScriptLog</a></li> - - <li><a href="#scriptloglength">ScriptLogLength</a></li> - - <li><a href="#scriptlogbuffer">ScriptLogBuffer</a></li> - </ul> - - <p>See also: <a href="core.html#options">Options</a>, <a - href="mod_alias.html#scriptalias">ScriptAlias</a>, <a - href="mod_mime.html#addtype">AddType</a> and <a - href="mod_mime.html#addhandler">AddHandler</a>.</p> - - <h2>CGI Environment variables</h2> - The server will set the CGI environment variables as described - in the <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI - specification</a>, with the following provisions: - - <dl> - <dt>REMOTE_HOST</dt> - - <dd>This will only be set if <a - href="core.html#hostnamelookups"><code>HostnameLookups</code></a> - is set to <code>on</code> (it is off by default), and if a - reverse DNS lookup of the accessing host's address indeed - finds a host name.</dd> - - <dt>REMOTE_IDENT</dt> - - <dd>This will only be set if <a - href="core.html#identitycheck">IdentityCheck</a> is set to - <code>on</code> and the accessing host supports the ident - protocol. Note that the contents of this variable cannot be - relied upon because it can easily be faked, and if there is a - proxy between the client and the server, it is usually - totally useless.</dd> - - <dt>REMOTE_USER</dt> - - <dd>This will only be set if the CGI script is subject to - authentication.</dd> - </dl> - - <h2><a id="cgi_debug" name="cgi_debug">CGI Debugging</a></h2> - Debugging CGI scripts has traditionally been difficult, mainly - because it has not been possible to study the output (standard - output and error) for scripts which are failing to run - properly. These directives, included in Apache 1.2 and later, - provide more detailed logging of errors when they occur. - - <h2>CGI Logfile Format</h2> - When configured, the CGI error log logs any CGI which does not - execute properly. Each CGI script which fails to operate causes - several lines of information to be logged. The first two lines - are always of the format: -<pre> - %% [<em>time</em>] <em>request-line</em> - %% <em>HTTP-status</em> <em>CGI-script-filename</em> -</pre> - If the error is that CGI script cannot be run, the log file - will contain an extra two lines: -<pre> - %%error - <em>error-message</em> -</pre> - Alternatively, if the error is the result of the script - returning incorrect header information (often due to a bug in - the script), the following information is logged: -<pre> - %request - <em>All HTTP request headers received</em> - <em>POST or PUT entity (if any)</em> - %response - <em>All headers output by the CGI script</em> - %stdout - <em>CGI standard output</em> - %stderr - <em>CGI standard error</em> -</pre> - (The %stdout and %stderr parts may be missing if the script did - not output anything on standard output or standard error). - <hr /> - - <h3><a id="scriptlog" name="scriptlog">ScriptLog</a> - directive</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLog - <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p>The <tt>ScriptLog</tt> directive sets the CGI script error - logfile. If no ScriptLog is given, no error log is created. If - given, any CGI errors are logged into the filename given as - argument. If this is a relative file or path it is taken - relative to the server root.</p> - - <p>This log will be opened as the user the child processes run - as, ie. the user specified in the main <a - href="core.html#user">User</a> directive. This means that - either the directory the script log is in needs to be writable - by that user or the file needs to be manually created and set - to be writable by that user. If you place the script log in - your main logs directory, do <strong>NOT</strong> change the - directory permissions to make it writable by the user the child - processes run as.</p> - - <p>Note that script logging is meant to be a debugging feature - when writing CGI scripts, and is not meant to be activated - continuously on running servers. It is not optimized for speed - or efficiency, and may have security problems if used in a - manner other than that for which it was designed.</p> - <hr /> - - <h3><a id="scriptloglength" - name="scriptloglength">ScriptLogLength</a> directive</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLogLength - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> 10385760<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p><tt>ScriptLogLength</tt> can be used to limit the size of - the CGI script logfile. Since the logfile logs a lot of - information per CGI error (all request headers, all script - output) it can grow to be a big file. To prevent problems due - to unbounded growth, this directive can be used to set an - maximum file-size for the CGI logfile. If the file exceeds this - size, no more information will be written to it.</p> - <hr /> - - <h3><a id="scriptlogbuffer" - name="scriptlogbuffer">ScriptLogBuffer</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLogBuffer - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> 1024<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p>The size of any PUT or POST entity body that is logged to - the file is limited, to prevent the log file growing too big - too quickly if large bodies are being received. By default, up - to 1024 bytes are logged, but this can be changed with this - directive. <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis deleted file mode 100644 index 0253eb2c50d..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis +++ /dev/null @@ -1,229 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_cgi</title> - - </head> - <!-- English revision: 1.25 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_cgi $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_cgi.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> cgi_module - </p> - - <h2>$B35MW(B</h2> - <!-- XXX: Should have references to CGI definition/RFC --> - <p>Mime $B%?%$%W$,(B <code>application/x-httpd-cgi</code> - $B$G$"$k$+!"%O%s%I%i(B <code>cgi-script</code> (Apache 1.1 $B0J9_(B) - $B$,;XDj$5$l$F$$$k%U%!%$%k$O(B CGI $B%9%/%j%W%H$H$7$F07$o$l!"(B - $B%5!<%P$K$h$j<B9T$5$l!"$=$N=PNO$,%/%i%$%"%s%H$KJV$5$l$^$9!#(B - $B%U%!%$%k$O!"(B<a href="mod_mime.html#addtype">AddType</a> - $B%G%#%l%/%F%#%V$K;XDj$5$l$?(B $B3HD%;R$rL>A0$K4^$`$+!"(B - <a href="mod_alias.html#scriptalias">ScriptAlias</a> - $B%G%#%l%/%H%j$KB8:_$9$k$3$H$K$h$j$3$N%?%$%W$K$J$j$^$9!#(B - <a href="mod_alias.html#scriptalias">ScriptAlias</a> - $B%G%#%l%/%H%j$K$J$/!"(B<code>AddType</code> - $B%G%#%l%/%F%#%V$K$h$j(B <code>application/x-httpd-cgi</code> - $B$N%?%$%W$r;}$D%U%!%$%k$O!"(B<code>Options ExecCGI</code> - $B$,;XDj$5$l$F$$$J$1$l$P%5!<%P$K$h$j<B9T$5$l$k$3$H$O$"$j$^$;$s!#(B - $B>\:Y$O(B <a href="core.html#options"><code>Options</code></a> - $B%G%#%l%/%F%#%V$r(B $B;2>H$7$F$/$@$5$$!#(B - </p> - - <p>$B%5!<%P$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$H$-$K$O!"(B - <code>DOCUMENT_ROOT</code> - $B$H8F$P$l$kJQ?t$r4D6-$KDI2C$7$^$9!#$3$NJQ?t$O(B - <a href="core.html#documentroot">DocumentRoot</a> - $B$NCM$rJ];}$7$^$9!#(B</p> - - <p>Apache $B$G(B CGI $B%9%/%j%W%H$r;HMQ$9$k$?$a$N%$%s%H%m%@%/%7%g%s$O!"(B - <a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#scriptlog">ScriptLog</a></li> - - <li><a href="#scriptloglength">ScriptLogLength</a></li> - - <li><a href="#scriptlogbuffer">ScriptLogBuffer</a></li> - </ul> - - <p><a href="core.html#options">Options</a>, <a - href="mod_alias.html#scriptalias">ScriptAlias</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="mod_mime.html#addhandler">AddHandler</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <h2>CGI $B4D6-JQ?t(B</h2> - <p>$B%5!<%P$O(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI - $B5,3J(B</a> $B$G7h$a$i$l$F$$$k(B CGI - $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N$b$N$O!">r7oIU$-$G@_Dj$5$l$^$9!#(B</p> - - <dl> - <dt>REMOTE_HOST</dt> - - <dd><a - href="core.html#hostnamelookups"><code>HostnameLookups</code></a> - $B$,(B <code>on</code> ($B%G%U%)%k%H$G$O(B off $B$G$9(B) - $B$G!"%"%/%;%9$7$F$$$k%[%9%H$N%"%I%l%9$N(B DNS - $B$N5U0z$-$,<B:]$K%[%9%HL>$r8+$D$1$?$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> - - <dt>REMOTE_IDENT</dt> - - <dd><a href="core.html#identitycheck">IdentityCheck</a> - $B$,(B <code>on</code> $B$K@_Dj$5$l$F$$$F!"%"%/%;%9$7$F$$$k%[%9%H$,(B - ident $B%W%m%H%3%k$r%5%]!<%H$7$F$$$k$H$-$K$N$_@_Dj$5$l$^$9!#(B - $B$3$l$O4JC1$K56$k$3$H$,$G$-!"%/%i%$%"%s%H$H%5!<%P$N4V$K(B - $B%W%m%-%7$,$"$l$P$^$C$?$/Lr$KN)$?$J$$$N$G!"(B - $B$3$NJQ?t$NCM$O?.MQ$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - </dd> - - <dt>REMOTE_USER</dt> - - <dd>CGI - $B%9%/%j%W%H$KG'>Z$,I,MW$J$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> - </dl> - - <h2><a id="cgi_debug" name="cgi_debug">CGI $B$N%G%P%C%0(B</a></h2> - <p>CGI $B%9%/%j%W%H$N%G%P%C%0$O!"@5$7$/F0:n$7$F$$$J$$%9%/%j%W%H$N=PNO(B - ($BI8=`=PNO$H%(%i!<(B) - $B$rD4$Y$k$3$H$,$G$-$J$$$?$a$K!"Fq$7$$>uBV$,B3$$$F$$$^$7$?!#(B - $B$3$l$i$N(B Apache 1.2 $B0J9_$K$"$k(B - $B%G%#%l%/%F%#%V$O$h$j>\:Y$J%(%i!<$N%m%0<}=8$rDs6!$7$^$9!#(B</p> - - <h2>CGI $B%m%0%U%!%$%k$N=q<0(B</h2> - <p>$B@_Dj$5$l$F$$$k$H$-$K$O!"(BCGI $B%(%i!<%m%0$OE,@Z$KF0:n$7$J$$$9$Y$F$N(B - CGI $B$r%m%0<}=8$7$^$9!#$=$l$>$l$N@5$7$/F0:n$7$J$$(B CGI - $B%9%/%j%W%H$O(B $BJ#?t$N9T$K$o$?$k>pJs$,%m%0<}=8$5$l$^$9!#:G=i$N(B - 2 $B9T$O>o$K0J2<$N=q<0$G$9(B:</p> -<pre> - %% [<em>time</em>] <em>request-line</em> - %% <em>HTTP-status</em> <em>CGI-script-filename</em> -</pre> - <p>$B%(%i!<$,!"(BCGI $B%9%/%j%W%H$,<B9T$G$-$J$$$H$$$&$b$N$G$"$k>l9g$O!"(B - $B%m%0%U%!%$%k$O$5$i$K$b$&(B 2 $B9T=q$+$l$^$9(B:</p> -<pre> - %%error - <em>error-message</em> -</pre> - <p>$B$=$&$G$O$J$/!"%(%i!<$,@5$7$/$J$$%X%C%@>pJs$rJV$97k2L$G$"$k>l9g(B - ($B%9%/%j%W%H$N%P%0$G$"$k$3$H$,$h$/$"$j$^$9(B)$B!"(B - $B0J2<$N>pJs$,%m%0<}=8$5$l$^$9(B:</p> -<pre> - %request - <em>All HTTP request headers received</em> - <em>POST or PUT entity (if any)</em> - %response - <em>All headers output by the CGI script</em> - %stdout - <em>CGI standard output</em> - %stderr - <em>CGI standard error</em> -</pre> - <p>($B%9%/%j%W%H$,I8=`=PNO$dI8=`%(%i!<$K2?$b=PNO$7$J$+$C$?>l9g$O!"(B - %stdout $B$d(B %stderr $B$O$"$j$^$;$s(B)$B!#(B</p> - <hr /> - - <h3><a id="scriptlog" name="scriptlog">ScriptLog</a> - $B%G%#%l%/%F%#%V(B</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLog - <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p><tt>ScriptLog</tt> $B%G%#%l%/%F%#%V$O(B CGI $B%9%/%j%W%H$N(B - $B%(%i!<%m%0%U%!%$%k$r@_Dj$7$^$9!#(BScriptLog $B$,@_Dj$5$l$F$$$J$$$H$-$O!"(B - $B%(%i!<%m%0$O:n@.$5$l$^$;$s!#@_Dj$5$l$F$$$k$H$-$O!"(BCGI - $B$N%(%i!<$O$9$Y$F0z?t$H$7$FM?$($i$l$F$$$k%U%!%$%kL>$K%m%0$5$l$^$9!#(B - $BAjBP%Q%9$G;XDj$5$l$F$$$k$H$-$O!"(B - $B%5!<%P%k!<%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p>$B$3$N%m%0$O;R%W%m%;%9$,<B9T$5$l$F$$$k%f!<%6$H$7$F%*!<%W%s$5$l$^$9!#(B - $B$9$J$o$A!"(B<a href="core.html#user">User</a> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B - $B%f!<%6$G$9!#$3$l$O!"%9%/%j%W%H%m%0$,=q$+$l$k%G%#%l%/%H%j$,$=$N%f!<%6$G(B - $B=q$-9~$_2DG=$+!"%9%/%j%W%H%U%!%$%k$,<jF0$G:n@.$5$l!"$=$N%f!<%6$G(B - $B=q$-9~$_2DG=$K$J$C$F$$$kI,MW$,$"$k$H$$$&$3$H$G$9!#%9%/%j%W%H%m%0$r(B - $B%"%/%;%9%m%0$J$I$N$?$a$N%m%0%G%#%l%/%H%j$K=q$+$l$k$h$&$K$7$?$H$-$O!"(B - $B$=$N%G%#%l%/%H%j$r;R%W%m%;%9$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B - $B=q$-9~$_2DG=$K$O(B<strong>$B$7$J$$(B</strong>$B$h$&$K$7$F$/$@$5$$!#(B</p> - - <p>$B%9%/%j%W%H$N%m%0<}=8$O(B CGI $B%9%/%j%W%H$r=q$/$H$-$N(B - $B%G%P%C%0MQ$N5!G=$H$7$F0U?^$5$l$F$$$F!"DL>o$N%5!<%P$G(B - $B>o$K;HMQ$5$l$k$h$&$K$O0U?^$5$l$F$$$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - $BB.EY$d8zN($O:GE,2=$5$l$F$*$i$:!"@_7W$5$l$?0J30$NJ}K!$G;HMQ$5$l$k$H(B - $B%;%-%e%j%F%#$NLdBj$,$"$k$+$b$7$l$^$;$s!#(B</p> - <hr /> - - <h3><a id="scriptloglength" name="scriptloglength">ScriptLogLength</a> - $B%G%#%l%/%F%#%V(B</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogLength - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 10385760<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p><tt>ScriptLogLength</tt> $B$O(B CGI $B%9%/%j%W%H$N%m%0%U%!%$%k(B - $B$NBg$-$5$r@)8B$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#%m%0%U%!%$%k$O(B - CGI $B$N%(%i!<Kh$KBgNL$N>pJs(B ($B%j%/%(%9%H$N$9$Y$F$N%X%C%@!"(B - $B$9$Y$F$N=PNO(B)$B$r%m%0$7$^$9$N$G!"$9$0$KBg$-$J%U%!%$%k$K$J$j$^$9!#(B - $B$3$NBg$-$5$N@)8B$,$J$$$3$H$K$h$kLdBj$rKI$0$?$a$K!"(B - $B$3$N%G%#%l%/%F%#%V$r;H$C$F(B CGI $B$N%m%0%U%!%$%k$N(B - $B:GBg$N%U%!%$%k%5%$%:$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B%U%!%$%k$,$3$NBg$-$5$rD6$($?>l9g$O!"$=$l0J>e$O=q$-9~$^$l$^$;$s!#(B</p> - <hr /> - <h3><a id="scriptlogbuffer" - name="scriptlogbuffer">ScriptLogBuffer</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogBuffer - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 1024<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p>$BBg$-$JK\BN$r<u$1<h$C$?$H$-$K%m%0%U%!%$%k$,$9$0$KBg$-$/$J$j$9$.$k(B - $BLdBj$rHr$1$k$?$a$K!"%U%!%$%k$K%m%0<}=8$5$l$k(B PUT $B$H(B POST - $B$NK\BN$NBg$-$5$O@)8B$5$l$F$$$^$9!#%G%U%)%k%H$G$O!"(B1024 - $B%P%$%H$^$G$,%m%0<}=8$5$l$^$9$,!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$l$rJQ99$9$k$3$H$,$G$-$^$9!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en deleted file mode 100644 index 0ca848da10e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_dir</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_dir</h1> - - <p>This module provides for "trailing slash" redirects and - serving directory index files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_dir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - dir_module</p> - - <h2>Summary</h2> - The index of a directory can come from one of two sources: - - <ul> - <li>A file written by the user, typically called - <code>index.html</code>. The <a - href="#directoryindex">DirectoryIndex</a> directive sets the - name of this file. This is controlled by - <code>mod_dir</code>.</li> - - <li>Otherwise, a listing generated by the server. This is - provided by <a - href="mod_autoindex.html"><code>mod_autoindex</code></a>.</li> - </ul> - The two functions are separated so that you can completely - remove (or replace) automatic index generation should you want - to. - - <p>A "trailing slash" redirect is issued when the server - receives a request for a URL - <samp>http://servername/foo/dirname</samp> where - <samp>dirname</samp> is a directory. Directories require a - trailing slash, so <code>mod_dir</code> issues a redirect to - <samp>http://servername/foo/dirname/</samp>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#directoryindex">DirectoryIndex</a></li> - </ul> - <hr /> - - <h2><a id="directoryindex" - name="directoryindex">DirectoryIndex</a> directive</h2> - <!--%plaintext <?INDEX {\tt DirectoryIndex} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DirectoryIndex - <em>local-url</em> [<em>local-url</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DirectoryIndex - index.html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Indexes<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_dir - - <p>The DirectoryIndex directive sets the list of resources to - look for, when the client requests an index of the directory by - specifying a / at the end of the a directory name. - <em>Local-url</em> is the (%-encoded) URL of a document on the - server relative to the requested directory; it is usually the - name of a file in the directory. Several URLs may be given, in - which case the server will return the first one that it finds. - If none of the resources exist and the <code>Indexes</code> - option is set, the server will generate its own listing of the - directory.</p> - - <p>Example:</p> - - <blockquote> - <code>DirectoryIndex index.html</code> - </blockquote> - then a request for <code>http://myserver/docs/</code> would - return <code>http://myserver/docs/index.html</code> if it - exists, or would list the directory if it did not. - - <p>Note that the documents do not need to be relative to the - directory;</p> - - <blockquote> - <code>DirectoryIndex index.html index.txt - /cgi-bin/index.pl</code> - </blockquote> - would cause the CGI script <code>/cgi-bin/index.pl</code> to be - executed if neither <code>index.html</code> or - <code>index.txt</code> existed in a directory. - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis deleted file mode 100644 index cd47bba8427..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis +++ /dev/null @@ -1,124 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_dir</title> - - </head> - <!-- English revision: 1.16 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_dir $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%9%i%C%7%e$G=*$o$k(B URL $B$X$N%j%/%(%9%H$,$"$C$?:]$K!"(B - $B%G%#%l%/%H%j%$%s%G%C%/%9%U%!%$%k$X%j%@%$%l%/%H$7$FDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_dir.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - dir_module</p> - - <h2>$B35MW(B</h2> - <p>$B%G%#%l%/%H%j%$%s%G%C%/%9$O!"<!$NFs$D$N$&$A$I$A$i$+$,MxMQ$5$l$^$9!#(B</p> - - <ul> - <li>$B0l$DL\$O!"%f!<%6$,:n@.$7$?%U%!%$%k$rMQ$$$k$b$N$G!"DL>o(B - <code>index.html</code> $B$H$$$&%U%!%$%kL>$r;H$$$^$9!#$3$N%U%!%$%kL>$O!"(B - <a href="#directoryindex">DirectoryIndex</a> $B%G%#%l%/%F%#%V$G(B - $B;XDj$9$k$3$H$,$G$-$^$9!#$3$N5!G=$O(B <code>mod_dir</code> - $B%b%8%e!<%k$GDs6!$5$l$^$9!#(B</li> - - <li>$B$b$&0l$D$NJ}K!$O!"(B - $B%5!<%P$K$h$C$F<+F0E*$K@8@.$5$l$k%G%#%l%/%H%j%j%9%H$rMQ$$$k>l9g$G$9!#(B - $B$3$N5!G=$O!"(B<a href="mod_autoindex.html"><code>mod_autoindex</code></a> - $B%b%8%e!<%k$K$h$jDs6!$5$l$^$9!#(B</li> - </ul> - $B<+F0E*$J%$%s%G%C%/%9@8@.5!G=$r:o=|(B ($B$b$7$/$O8r49(B) - $B$G$-$k$h$&$K!"$3$NFs$D$N5!G=$OJ,N%$5$l$F$$$^$9!#(B - - <p>$B$J$*(B <samp>http://servername/foo/dirname</samp> $B$H$$$&(B URL - $B$X$N%j%/%(%9%H$,$"$C$?:]$K!"(B<samp>dirname</samp> - $B$H$$$&%G%#%l%/%H%j$,$"$l$P!"!V:G8e$K%9%i%C%7%e$r$D$1$?7A!W$N(B URL - $B$X$N%j%@%$%l%/%H$rAw=P$7$^$9!#(B - $B%G%#%l%/%H%j$X$N%"%/%;%9$O%9%i%C%7%e$G=*$o$C$F$$$kI,MW$,$"$j!"(B - <code>mod_dir</code> $B$O!"(B<samp>http://servername/foo/dirname/</samp> - $B$X$N%j%@%$%l%/%H$rAw=P$9$k$3$H$K$J$j$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - <ul> - <li><a href="#directoryindex">DirectoryIndex</a></li> - </ul> - <hr /> - - <h2><a name="directoryindex" id="directoryindex">DirectoryIndex</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt DirectoryIndex} directive> --> - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> DirectoryIndex - <em>local-url</em> [<em>local-url</em>] ...<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DirectoryIndex - index.html</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Indexes<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_dir</p> - - <p> - $B%/%i%$%"%s%H$,!"%G%#%l%/%H%jL>$N:G8e$K!V(B/$B!W(B - $B$r;XDj$7$F%G%#%l%/%H%j%$%s%G%C%/%9$rMW5a$9$k>l9g$KC5$9%j%=!<%9$N%j%9%H$r(B - DirectoryIndex $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#(B<em>Local-url</em> - $B$O!"%j%/%(%9%H$5$l$?%G%#%l%/%H%j$KBP1~$9$k!"%5!<%P>e$N%I%-%e%a%s%H$N(B - (% $B%(%s%3!<%I$5$l$?(B) URL $B$G!"IaDL$O%G%#%l%/%H%jCf$N%U%!%$%k$NL>A0$G$9!#(B - $BJ#?t$N(B URL $B$,@_Dj$5$l$?>l9g$K$O!":G=i$K8+$D$+$C$?$b$N$rJV$7$^$9!#(B - $B$=$l$i$,8+$D$+$i$:!"(B<code>Indexes</code> - $B%*%W%7%g%s$,%;%C%H$5$l$F$$$k>l9g!"%G%#%l%/%H%j$N%j%9%H$r@8@.$7$^$9!#(B - </p> - - <p>$BNc(B:</p> - <blockquote> - <code>DirectoryIndex index.html</code> - </blockquote> - <code>http://myserver/docs/</code> $B$X$N%"%/%;%9$,$"$j!"(B - <code>http://myserver/docs/index.html</code> - $B$,B8:_$9$l$P!"$3$N(B URL $B$,JV$5$l$^$9!#(B - $B$b$7B8:_$7$J$1$l$P!"%G%#%l%/%H%j$N%j%9%H$,JV$5$l$^$9!#(B - - <p>$BCm(B: $B%I%-%e%a%s%H$OF1$8%G%#%l%/%H%jFb$KB8:_$9$kI,MW$"$j$^$;$s!#(B - </p> - - <blockquote> - <code>DirectoryIndex index.html index.txt - /cgi-bin/index.pl</code> - </blockquote> - $B$H$7$?>l9g!"(B<code>index.html</code> $B$H(B <code>index.txt</code> - $B$N$I$A$i$b%G%#%l%/%H%jFb$GB8:_$7$J$$>l9g!"(BCGI $B%9%/%j%W%H(B - <code>/cgi-bin/index.pl</code> $B$,<B9T$5$l$^$9!#(B - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en deleted file mode 100644 index 4888d9af894..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en +++ /dev/null @@ -1,142 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_env</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache module mod_env</h1> - - <p>This module provides for modifying the environment which is - passed to CGI scripts and SSI pages.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_env.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - env_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Summary</h2> - - <p>This module allows for control of the environment that will - be provided to CGI scripts and SSI pages. Environment variables - may be passed from the shell which invoked the httpd process. - Alternatively, environment variables may be set or unset within - the configuration process.</p> - - <p>For additional information, we provide a document on <a - href="../env.html">Environment Variables in Apache</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#passenv">PassEnv</a></li> - - <li><a href="#setenv">SetEnv</a></li> - - <li><a href="#unsetenv">UnsetEnv</a></li> - </ul> - <hr /> - - <h2><a id="passenv" name="passenv">PassEnv</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> PassEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> PassEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Specifies one or more environment variables to pass to CGI - scripts and SSI pages from the environment of the shell which - invoked the httpd process. Example:</p> -<pre> - PassEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h2><a id="setenv" name="setenv">SetEnv</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnv <em>env-variable - value</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> SetEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Sets an environment variable, which is then passed on to CGI - scripts and SSI pages. Example:</p> -<pre> - SetEnv SPECIAL_PATH /foo/bin -</pre> - <hr /> - - <h2><a id="unsetenv" name="unsetenv">UnsetEnv</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UnsetEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> UnsetEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Removes one or more environment variables from those passed - on to CGI scripts and SSI pages. Example:</p> -<pre> - UnsetEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis deleted file mode 100644 index b36df77da35..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_env</title> - - </head> - <!-- English revision: 1.22 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_env $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B CGI $B%9%/%j%W%H5Z$S(B SSI - $B%Z!<%8$KEO$5$l$k4D6-JQ?t$rJQ99$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_env.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - env_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$h$j(B CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KE,MQ$5$l$k4D6-JQ?t$r@)8f$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - $B4D6-JQ?t$O(B httpd $B%W%m%;%9$r5/F0$7$?%7%'%k$+$iEO$5$l$^$9!#$^$?!"(B - $B@_Dj%U%!%$%k$G4D6-JQ?t$r@_Dj$7$?$j!":o=|$7$?$j$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B>\:Y$O!"(B<a href="../env.html">Apache - $B$N4D6-JQ?t(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#passenv">PassEnv</a></li> - - <li><a href="#setenv">SetEnv</a></li> - - <li><a href="#unsetenv">UnsetEnv</a></li> - </ul> - <hr /> - - <h2><a id="passenv" name="passenv">PassEnv</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> PassEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> PassEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>httpd $B%W%m%;%9$r5/F0$7$?%7%'%k$N4D6-$+$i(B CGI $B%9%/%j%W%H$H(B - SSI $B%Z!<%8$KEO$94D6-JQ?t$r0l$D0J>e;XDj$7$^$9!#Nc(B: - </p> -<pre> - PassEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h2><a id="setenv" name="setenv">SetEnv</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnv <em>variable - value</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> SetEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>$B4D6-JQ?t$r@_Dj$7!"$=$l$r(B CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KEO$9$h$&$K$7$^$9!#Nc(B:</p> -<pre> - SetEnv SPECIAL_PATH /foo/bin -</pre> - <hr /> - - <h2><a id="unsetenv" name="unsetenv">UnsetEnv</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> UnsetEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> UnsetEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KEO$5$l$k4D6-JQ?t$+$i;XDj$5$l$?4D6-JQ?t$r<h$j=|$-$^$9!#Nc(B:</p> -<pre> - UnsetEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en deleted file mode 100644 index 7aa1a13c4b1..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_info</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_info</h1> - - <p>This module provides a comprehensive overview of the server - configuration including all installed modules and directives in - the configuration files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_info.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - info_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#addmoduleinfo">AddModuleInfo</a></li> - </ul> - - <h2>Using mod_info</h2> - - <p>To configure it, add the following to your - <code>access.conf</code> file.</p> -<pre> -<Location /server-info> -SetHandler server-info -</Location> -</pre> - You may wish to add a <a - href="core.html#limit"><Limit></a> clause inside the <a - href="core.html#location">location</a> directive to limit - access to your server configuration information. - - <p>Once configured, the server information is obtained by - accessing <tt>http://your.host.dom/server-info</tt></p> - - <blockquote> - <p><strong>Note that the configuration files are read by the - module at run-time, and therefore the display may - <em>not</em> reflect the running server's active - configuration if the files have been changed since the server - was last reloaded. Also, the configuration files must be - readable by the user as which the server is running (see the - <a href="core.html#user"><samp>User</samp></a> directive), or - else the directive settings will not be listed.</strong></p> - - <p><strong>It should also be noted that if - <samp>mod_info</samp> is compiled into the server, its - handler capability is available in <em>all</em> configuration - files, including <em>per</em>-directory files (<em>e.g.</em>, - <samp>.htaccess</samp>). This may have security-related - ramifications for your site.</strong></p> - - <p>In particular, this module can leak sensitive information - from the configuration directives of other Apache modules such as - system paths, usernames/passwords, database names, etc. Due to - the way this module works there is no way to block information - from it. Therefore, this module should ONLY be used in a controlled - environment and always with caution.</p> - - </blockquote> - <hr /> - - <h2><a id="addmoduleinfo" - name="addmoduleinfo">AddModuleInfo</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddModuleInfo - <em>module-name string</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_info<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above - - <p>This allows the content of <em>string</em> to be shown as - HTML interpreted, <strong>Additional Information</strong> for - the module <em>module-name</em>. Example:</p> - - <blockquote> -<pre> -AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>' -</pre> - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis deleted file mode 100644 index e9cfdfcb166..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis +++ /dev/null @@ -1,120 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_info</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_info $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%$%s%9%H!<%k$5$l$F$$$k$9$Y$F$N%b%8%e!<%k$d!"(B - $B@_Dj%U%!%$%k$N%G%#%l%/%F%#%V$J$I!"%5!<%P$N@_Dj$NA4BNE*$J35MW$r(B - $BDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_info.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - info_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#addmoduleinfo">AddModuleInfo</a></li> - </ul> - - <h2>mod_info $B$N;HMQK!(B</h2> - - <p>$B@_Dj$9$k$K$O!"0J2<$r(B <code>access.conf</code> - $B%U%!%$%k$K2C$($^$9!#(B</p> -<pre> -<Location /server-info> -SetHandler server-info -</Location> -</pre> - $B%5!<%P@_Dj$N>pJs$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B - <a href="core.html#location">location</a> - $B%G%#%l%/%F%#%V$NCf$K(B <a href="core.html#limit"><Limit></a> - $B@a$rF~$l$k$H$h$$$+$b$7$l$^$;$s!#(B - - <p>$B$$$C$?$s@_Dj$9$k$H!"(B<tt>http://your.host.dom/server-info</tt> - $B$r%"%/%;%9$9$k$H%5!<%P$N>pJs$rF@$i$l$k$h$&$K$J$j$^$9!#(B</p> - - <blockquote> - <p><strong>$B$3$N%b%8%e!<%k$O<B9T;~$K@_Dj%U%!%$%k$rFI$_9~$_$^$9!#(B - $B%5!<%P$N@_Dj%U%!%$%k$,:G8e$K%5!<%P$KFI$_9~$^$l$?8e$KJQ99$5$l$F$$$k(B - $B>l9g$K$O!"I=<($5$l$F$$$kFbMF$O<B9T$5$l$F$$$k%5!<%P$N@_Dj$rH?1G$7$F(B - <em>$B$$$J$$(B</em>$B$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - $B$^$?!"@_Dj%U%!%$%k$O%5!<%P$,<B9T$5$l$F$$$k%f!<%6$N8"8B$G(B - $BFI$_9~$_5v2D$,M?$($i$l$F$$$kI,MW$,$"$j$^$9(B - (<a href="core.html#user"><samp>User</samp></a> - $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$(B)$B!#(B - $B$G$J$1$l$P!"%G%#%l%/%F%#%V$N@_Dj$OI=<($5$l$^$;$s!#(B</strong></p> - <p><strong><samp>mod_info</samp> - $B$,%5!<%P$KAH$_9~$^$l$F$$$k>l9g$O!"%G%#%l%/%H%j(B<em>$B$4$H(B</em>$B$N%U%!%$%k(B - ($BNc$($P!"(B<samp>.htaccess</samp>) $B$r4^$`$9$Y$F$N@_Dj%U%!%$%k$G(B - $B%O%s%I%i$r;HMQ2DG=$G$"$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B - $B$3$l$O!"$"$J$?$N%5%$%H$G$O%;%-%e%j%F%#$K4XO"$7$?LdBj$,$"$k$+$b$7$l$^$;$s!#(B - </strong></p> - - <p>$BFC$K!"$3$N%b%8%e!<%k$O%7%9%F%`%Q%9!"%f!<%6L>(B/$B%Q%9%o!<%I!"(B - $B%G!<%?%Y!<%9L>$J$I!"B>$N(B Apache $B%b%8%e!<%k$N@_Dj%G%#%l%/%F%#%V$+$i(B - $B?5=E$K07$o$l$k$Y$->pJs$rO3$i$7$F$7$^$&2DG=@-$,$"$j$^$9!#(B - $B$3$N%b%8%e!<%k$,$=$N$h$&$KF0:n$9$k$?$a!">pJs$NN.=P$rKI$0J}K!$O$"$j$^$;$s!#(B - $B$G$9$+$i!"$3$N%b%8%e!<%k$O$-$A$s$H%"%/%;%9@)8f$5$l$?4D6-$G$N$_(B - $BCm0U$7$F;H$C$F$/$@$5$$!#(B</p> - - </blockquote> - <hr /> - - <h2><a id="addmoduleinfo" - name="addmoduleinfo">AddModuleInfo</a></h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddModuleInfo - <em>module-name string</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_info<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_!#(B - - - <p>$B$3$l$O!"(B<em>string</em> $B$NFbMF$,%b%8%e!<%k(B <em>module-name</em> - $B$N(B<strong>$BDI2C>pJs(B</strong> $B$H$7$F(B HTML - $B$H$7$F2r<a$5$l!"I=<($5$l$k$h$&$K$7$^$9!#Nc(B:</p> - - <blockquote> -<pre> -AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>' -</pre> - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en deleted file mode 100644 index 6d056156de4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en +++ /dev/null @@ -1,417 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_log_config</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_log_config</h1> - - <p>This module provides for logging of the requests made to the - server, using the Common Log Format or a user-specified - format.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_log_config.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - config_log_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Was an extension - module prior to Apache 1.2.</p> - - <h2>Summary</h2> - - <p>This module provides for flexible logging of client - requests. Logs are written in a customizable format, and may be - written directly to a file, or to an external program. - Conditional logging is provided so that individual requests may - be included or excluded from the logs based on characteristics - of the request.</p> - - <p>Three directives are provided by this module: - <code>TransferLog</code> to create a log file, - <code>LogFormat</code> to set a custom format, and - <code>CustomLog</code> to define a log file and format in one - step. The <code>TransferLog</code> and <code>CustomLog</code> - directives can be used multiple times in each server to cause - each request to be logged to multiple files.</p> - - <p>See also: <a href="../logs.html">Apache Log Files</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#cookielog">CookieLog</a></li> - - <li><a href="#customlog">CustomLog</a></li> - - <li><a href="#logformat">LogFormat</a></li> - - <li><a href="#transferlog">TransferLog</a></li> - </ul> - - <h2><a id="formats" name="formats">Custom Log Formats</a></h2> - - <p>The format argument to the <code>LogFormat</code> and - <code>CustomLog</code> directives is a string. This string is - used to log each request to the log file. It can contain literal - characters copied into the log files and the C-style control - characters "\n" and "\t" to represent new-lines and tabs. - Literal quotes and back-slashes should be escaped with - back-slashes.</p> - - <p>The characteristics of the request itself are logged by - placing "<code>%</code>" directives in the format string, which are - replaced in the log entry by the values as follows:</p> -<pre> -%...a: Remote IP-address -%...A: Local IP-address -%...B: Bytes sent, excluding HTTP headers. -%...b: Bytes sent, excluding HTTP headers. In CLF format - i.e. a '-' rather than a 0 when no bytes are sent. -%...c: Connection status when response was completed. - 'X' = connection aborted before the response completed. - '+' = connection may be kept alive after the response is sent. - '-' = connection will be closed after the response is sent. -%...{FOOBAR}e: The contents of the environment variable FOOBAR -%...f: Filename -%...h: Remote host -%...H The request protocol -%...{Foobar}i: The contents of Foobar: header line(s) in the request - sent to the server. -%...l: Remote logname (from identd, if supplied) -%...m The request method -%...{Foobar}n: The contents of note "Foobar" from another module. -%...{Foobar}o: The contents of Foobar: header line(s) in the reply. -%...p: The canonical Port of the server serving the request -%...P: The process ID of the child that serviced the request. -%...q The query string (prepended with a ? if a query string exists, - otherwise an empty string) -%...r: First line of request -%...s: Status. For requests that got internally redirected, this is - the status of the *original* request --- %...>s for the last. -%...t: Time, in common log format time format (standard english format) -%...{format}t: The time, in the form given by format, which should - be in strftime(3) format. (potentially localized) -%...T: The time taken to serve the request, in seconds. -%...u: Remote user (from auth; may be bogus if return status (%s) is 401) -%...U: The URL path requested, not including any query string. -%...v: The canonical ServerName of the server serving the request. -%...V: The server name according to the UseCanonicalName setting. -</pre> - - <p>The "..." can be nothing at all (<em>e.g.</em>, <code>"%h %u - %r %s %b"</code>), or it can indicate conditions for inclusion - of the item (which will cause it to be replaced with "-" if the - condition is not met). The forms of condition are a list of - HTTP status codes, which may or may not be preceded by "!". - Thus, "%400,501{User-agent}i" logs User-agent: on 400 errors - and 501 errors (Bad Request, Not Implemented) only; - "%!200,304,302{Referer}i" logs Referer: on all requests which - did <strong>not</strong> return some sort of normal status.</p> - - <p>Note that in versions previous to 1.3.25 no escaping was performed - on the strings from <code>%...r</code>, <code>%...i</code> and - <code>%...o</code>. This was mainly to comply with the requirements of - the Common Log Format. This implied that clients could insert control - characters into the log, so you had to be quite careful when dealing - with raw log files.</p> - - <p>For security reasons starting with 1.3.25 non-printable and - other special characters are escaped mostly by using - <code>\x<var>hh</var></code> sequences, where <var>hh</var> stands for - the hexadecimal representation of the raw byte. Exceptions from this - rule are <code>"</code> and <code>\</code> which are escaped by prepending - a backslash, and all whitespace characters that are written in their - C-style notation (<code>\n</code>, <code>\t</code>, etc).</p> - - <p>Some commonly used log format strings are:</p> - - <dl> - <dt>Common Log Format (CLF)</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>Common Log Format with Virtual Host</dt> - - <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>NCSA extended/combined log format</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" - \"%{User-agent}i\""</code></dd> - - <dt>Referer log format</dt> - - <dd><code>"%{Referer}i -> %U"</code></dd> - - <dt>Agent (Browser) log format</dt> - - <dd><code>"%{User-agent}i"</code></dd> - </dl> - - <p>Note that the canonical <a - href="core.html#servername">ServerName</a> and <a - href="core.html#port">Port</a> of the server serving the - request are used for <code>%v</code> and <code>%p</code> - respectively. This happens regardless of the <a - href="core.html#usecanonicalname">UseCanonicalName</a> setting - because otherwise log analysis programs would have to duplicate - the entire vhost matching algorithm in order to decide what - host really served the request.</p> - - <h2>Security Considerations</h2> - - <p>See the <a - href="../misc/security_tips.html#serverroot">security tips</a> - document for details on why your security could be compromised - if the directory where logfiles are stored is writable by - anyone other than the user that starts the server.</p> - - <h2>Compatibility notes</h2> - - <ul> - <li>This module is based on mod_log_config distributed with - previous Apache releases, now updated to handle multiple - logs. There is now no need to rebuild Apache to change - configuration log formats.</li> - - <li>The module also implements the <code>CookieLog</code> - directive, used to log user-tracking information created by - <a href="mod_usertrack.html">mod_usertrack</a>. The use of - <code>CookieLog</code> is deprecated, and a - <code>CustomLog</code> should be defined to log user-tracking - information instead.</li> - - <li>As of Apache 1.3.5, this module allows conditional - logging based upon the setting of <a - href="../env.html">environment variables</a>. That is, you - can control whether a request should be logged or not based - upon whether an arbitrary environment variable is defined or - not. This is configurable on a per-logfile - basis.</li> - - <li>Beginning with Apache 1.3.5, the mod_log_config module - has also subsumed the <code>RefererIgnore</code> - functionality from <a - href="mod_log_referer.html">mod_log_referer</a>. The effect - of <code>RefererIgnore</code> can be achieved by combinations - of <a href="mod_setenvif.html"><code>SetEnvIf</code></a> - directives and conditional <code>CustomLog</code> - definitions.</li> - </ul> - <hr /> - - <h2><a id="cookielog" name="cookielog">CookieLog</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CookieLog - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_cookies<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Only available - in Apache 1.2 and above</p> - - <p>The CookieLog directive sets the filename for logging of - cookies. The filename is relative to the <a - href="core.html#serverroot">ServerRoot</a>. This directive is - included only for compatibility with <a - href="mod_cookies.html">mod_cookies</a>, and is deprecated.</p> - <hr /> - - <h2><a id="customlog" name="customlog">CustomLog</a> <a - id="customlog-conditional" - name="customlog-conditional">directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CustomLog - <em>file</em>|<em>pipe</em> <em>format</em>|<em>nickname</em> - [env=[!]<em>environment-variable</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Nickname only - available in Apache 1.3 or later. Conditional logging available - in 1.3.5 or later.<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>The <code>CustomLog</code> directive is used to log requests - to the server. A log format is specified, and the logging can - optionally be made conditional on request characteristics using - environment variables.</p> - - <p>The first argument, which specifies the location to which - the logs will be written, can take one of the following two - types of values:</p> - - <dl> - <dt><em>file</em></dt> - - <dd>A filename, relative to the <a - href="core.html#serverroot">ServerRoot</a>.</dd> - - <dt><em>pipe</em></dt> - - <dd>The pipe character "<code>|</code>", followed by the path - to a program to receive the log information on its standard - input. <strong>Security:</strong> if a program is used, then - it will be run as the user who started httpd. This will be - root if the server was started by root; be sure that the - program is secure.</dd> - </dl> - - <p>The second argument specifies what will be written to the - log file. It can specify either a <em>nickname</em> defined by - a previous <a href="#logformat">LogFormat</a> directive, or it - can be an explicit <em>format</em> string as described in the - <a href="#formats">log formats</a> section.</p> - - <p>For example, the following two sets of directives have - exactly the same effect:</p> -<pre> - # CustomLog with format nickname - LogFormat "%h %l %u %t \"%r\" %>s %b" common - CustomLog logs/access_log common - - # CustomLog with explicit format string - CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" -</pre> - - <p>The third argument is optional and controls - whether or not to log a particular request based on the - presence or absence of a particular variable in the server - environment. If the specified <a href="../env.html">environment - variable</a> is set for the request (or is not set, in the case - of a '<code>env=!<em>name</em></code>' clause), then the - request will be logged.</p> - - <p>Environment variables can be set on a per-request - basis using the <a href="mod_setenvif.html">mod_setenvif</a> - and/or <a href="mod_rewrite.html">mod_rewrite</a> modules. For - example, if you want to record requests for all GIF - images on your server in a separate logfile but not in your main - log, you can use:</p> -<pre> - SetEnvIf Request_URI \.gif$ gif-image - CustomLog gif-requests.log common env=gif-image - CustomLog nongif-requests.log common env=!gif-image -</pre> - <hr /> - - <h2><a id="logformat" name="logformat">LogFormat</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LogFormat - <em>format</em>|<em>nickname</em> [<em>nickname</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LogFormat "%h %l - %u %t \"%r\" %>s %b"</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Nickname only - available in Apache 1.3 or later<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>This directive specifies the format of the access log - file.</p> - - <p>The <code>LogFormat</code> directive can take one of two - forms. In the first form, where only one argument is specified, - this directive sets the log format which will be used by logs - specified in subsequent <a href="#transferlog">TransferLog</a> - directives. The single argument can specify an explicit - <em>format</em> as discussed in the <a href="#formats">custom log - formats</a> section above. Alternatively, it can use a - <em>nickname</em> to refer to a log format defined in a - previous <code>LogFormat</code> directive as described - below.</p> - - <p>The second form of the <code>LogFormat</code> directive - associates an explicit <em>format</em> with a - <em>nickname</em>. This <em>nickname</em> can then be used in - subsequent <code>LogFormat</code> or <a - href="#customlog">CustomLog</a> directives rather than - repeating the entire format string. A <samp>LogFormat</samp> - directive which defines a nickname <strong>does nothing - else</strong> -- that is, it <em>only</em> defines the - nickname, it doesn't actually apply the format and make it the - default. Therefore, it will not affect subsequent <a - href="#transferlog">TransferLog</a> directives.</p> - - <p>For example:</p> - - <code>LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common</code> - - <hr /> - - <h2><a id="transferlog" name="transferlog">TransferLog</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TransferLog - <em>file</em>|<em>pipe</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>This directive has exactly the same arguments and effect as - the <a href="#customlog">CustomLog</a> directive, with the - exception that it does not allow the log format to be specified - explicitly or for conditional logging of requests. Instead, the - log format is determined by the most recently specified <a - href="#logformat">LogFormat</a> directive that does not define - a nickname. Common Log Format is used if no other format has - been specified.</p> - - <p>Example:</p> -<pre> - LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" - TransferLog logs/access_log -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis deleted file mode 100644 index 1e6893e8305..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis +++ /dev/null @@ -1,419 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - <title>Apache module mod_log_config</title> - </head> - <!-- English revision: 1.56 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_log_config $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%5!<%P$X$N%j%/%(%9%H$r(B Common Log Format - $B$d%f!<%6$K;XDj$5$l$?=q<0$rMQ$$$F(B - $B%m%0<}=8$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_log_config.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - config_log_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B$h$jA0$O(B - extension $B%b%8%e!<%k$G$7$?!#(B</p> - - <h2>$B35MW(B</h2> - - <p> - $B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%j%/%(%9%H$r=@Fp$K%m%0<}=8$9$k5!G=$r(B - $BDs6!$7$^$9!#%m%0$O%+%9%?%^%$%:2DG=$J=q<0$G=q$+$l!"%U%!%$%k$KD>@\(B - $B=q$$$?$j!"30It%W%m%0%i%`$KEO$7$?$j$9$k$3$H$,$G$-$^$9!#8D!9$N%j%/%(%9%H$r(B - $BFCD'$K1~$8$F%m%0$K=q$$$?$j=q$+$J$+$C$?$j$G$-$k$h$&$K!">r7o$K$h$k(B - $B%m%0<}=8$bDs6!$5$l$F$$$^$9!#(B</p> - - <p>$B$3$N%b%8%e!<%k$O;0$D$N%G%#%l%/%F%#%VDs6!$7$^$9(B: - $B%m%0%U%!%$%k$r:n@.$9$k$?$a$N(B <code>TransferLog</code>, - $B?7$7$$=q<0$r(B $BDj5A$9$k(B <code>LogFormat</code>, - $B%m%0%U%!%$%k$H(B $B=q<0$r0lEY$KDj5A$9$k(B <code>CustomLog</code> - $B$G$9!#(B - $B3F%j%/%(%9%H$,J#?t2s%m%0<}=8$5$l$k$h$&$K$9$k$?$a$K(B - <code>TransferLog</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B%G%#%l%/%F%#%V$OJ#?t2s;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B;2>H(B: <a href="../logs.html">Apache - $B%m%0%U%!%$%k(B</a>$B!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#cookielog">CookieLog</a></li> - - <li><a href="#customlog">CustomLog</a></li> - - <li><a href="#logformat">LogFormat</a></li> - - <li><a href="#transferlog">TransferLog</a></li> - </ul> - - <h2><a id="formats" name="formats">$B%+%9%?%`%m%0=q<0(B</a></h2> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B%G%#%l%/%F%#%V$N=q<0$r;XDj$9$k0z?t$OJ8;zNs$G$9!#$3$NJ8;zNs$r;H$C$F$=$l$>$l$N(B - $B%j%/%(%9%H$,%m%0%U%!%$%k$K%m%0<}=8$5$l$^$9!#$=$NJ8;zNs$K$O(B - $B%m%0%U%!%$%k$K$=$N$^$^(B - $B=q$+$l$kJ8;zNs$d!"$=$l$>$l2~9T$H%?%V$r8=$9(B C $B8@8l(B - $B7A<0$N@)8fJ8;z(B "\n" $B$H(B "\t" - $B$H$r4^$a$k$3$H$,$G$-$^$9!#$=$N$^$^=PNO$5$;$?$$0zMQId$H%P%C%/%9%i%C%7%e$O(B - $B%P%C%/%9%i%C%7%e$G%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$B%j%/%(%9%H$NFCD'$=$N$b$N$O(B "<code>%</code>" - $B%G%#%l%/%F%#%V$r=q<0$NJ8;zNs$K=q$/$3$H$G(B - $B%m%0<}=8$5$l$^$9!#(B"%" - $B%G%#%l%/%F%#%V$O%m%0%(%s%H%jCf$G$O0J2<$N$h$&$J(B - $BCM$GCV49$5$l$^$9(B:</p> - -<pre> -%...a: $B%j%b!<%H(B IP $B%"%I%l%9(B -%...A: $B%m!<%+%k(B IP $B%"%I%l%9(B -%...B: HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t(B -%...b: HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t!#(BCLF $B=q<0!#(B - $B$9$J$o$A!"(B1 $B%P%$%H$bAw$i$l$J$+$C$?$H$-$O(B 0 $B$G$O$J$/!"(B'-' $B$K$J$k(B -%...c: $B1~Ez$,=*N;$7$?$H$-$N@\B3%9%F!<%?%9!#(B - 'X' = $B1~Ez$,=*N;$9$kA0$K@\B3$,0[>o=*N;(B - '+' = $B1~Ez$,Aw$i$l$?8e$K@\B3$r;}B3$9$k$3$H$,2DG=(B - '-' = $B1~Ez$,Aw$i$l$?8e$K@\B3$O@Z$i$l$k(B -%...{FOOBAR}e: $B4D6-JQ?t(B FOOBAR $B$NFbMF(B -%...f: $B%U%!%$%kL>(B -%...h: $B%j%b!<%H%[%9%H(B -%...H $B%j%/%(%9%H%W%m%H%3%k(B -%...{Foobar}i: $B%5!<%P$KAw$i$l$?%j%/%(%9%H$N(B Foobar: $B%X%C%@$NFbMF(B -%...l: ($B$b$7$"$l$P!"(Bidentd $B$+$i$N(B) $B%j%b!<%H%m%0L>(B -%...m $B%j%/%(%9%H%a%=%C%I(B -%...{Foobar}n: $BB>$N%b%8%e!<%k$+$i$N%a%b(B "Foobar" $B$NFbMF(B -%...{Foobar}o: $B1~Ez$N(B Foobar: $B%X%C%@$NFbMF(B -%...p: $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J%]!<%H(B -%...P: $B%j%/%(%9%H$r07$C$?;R%W%m%;%9$N%W%m%;%9(B ID -%...q $BLd$$9g$;J8;zNs(B ($BB8:_$9$k>l9g$OA0$K(B ? $B$,DI2C$5$l$k!#$=$&$G$J$$(B - $B>l9g$O6uJ8;zNs(B) -%...r: $B%j%/%(%9%H$N:G=i$N9T(B -%...s: $B%9%F!<%?%9!#FbIt$G%j%@%$%l%/%H$5$l$?%j%/%(%9%H$O!"85!9$N(B - $B%j%/%(%9%H$N%9%F!<%?%9(B --- $B:G8e$N%9%F!<%?%9$O(B %...>s -%...t: $B;~9o!#(BCLF $B$N;~9o$N=q<0(B ($BI8=`$N1Q8l$N=q<0(B) -%...{format}t: format $B$GM?$($i$l$?=q<0$K$h$k;~9o!#(Bformat $B$O(B strftime (3) $B$N(B - $B=q<0$G$"$kI,MW$,$"$k!#(B($BCO0h2=$5$l$F$$$k2DG=@-$,$"$k(B) -%...T: $B%j%/%(%9%H$r07$&$N$K$+$+$C$?;~4V!"ICC10L(B -%...u: $B%j%b!<%H%f!<%6(B (auth $B$K$h$k$b$N!#%9%F!<%?%9(B (%s) $B$,(B 401 $B$N$H$-$O(B - $B0UL#$,$J$$2DG=@-$,$"$k(B) -%...U: $B%j%/%(%9%H$5$l$?(B URL $B%Q%9$G!"%/%(%jJ8;zNs$O4^$^$J$$(B -%...v: $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J(B ServerName -%...V: UseCanonicalName $B$N@_Dj$K$h$k%5!<%PL>(B -</pre> - - <p>"..." $B$O2?$b$J$$$+(B (<em>$BNc$($P(B</em>$B!"(B<code>"%h %u %r %s %b"</code> $B$N$h$&$K(B)$B!"(B - $B$=$N9`L\$r4^$a$k$+$I$&$+$N>r7o(B ($B$b$7>r7o$K9g$o$J$+$C$?$H$-$O(B - $B$=$N9`L\$O(B "-" $B$K$J$j$^$9(B) $B$K$9$k$3$H$,$G$-$^$9!#>r7o$N7A<0$O(B - HTTP $B%9%F!<%?%9%3!<%I$N%j%9%H$G!"A0$K(B "!" $B$rIU$1$k$3$H$b$G$-$^$9!#(B - $B$G$9$+$i!"(B"%400,501{User-agent}i" $B$O(B 400 $B%(%i!<$H(B 501 $B%(%i!<(B - (Bad Request $B$H(B Not Implemented) $B$N$H$-$N$_(B User-agent: $B$r%m%0<}=8$7$^$9!#(B - "%!200,304,302{Referer}i" $B$OIaDL$N%9%F!<%?%9$r(B<strong>$BJV$5$J$+$C$?(B</strong> - $B$9$Y$F$N%j%/%(%9%H$G(B Referer: $B$r%m%0<}=8$7$^$9!#(B</p> - - <p>1.3.25 $B$h$jA0$N%P!<%8%g%s$G$O!"(B<code>%...r</code>, <code>%...i</code>, - <code>%...o</code> $B$NJ8;zNs$O(B - $B%(%9%1!<%W$5$l$F$$$J$+$C$?$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$3$l$O<g$K(B Common Log Format $B$+$i$NMW5a$K$h$k$b$N$G$9!#(B - $B$3$l$O!"%/%i%$%"%s%H$,%m%0$K@)8fJ8;z$rA^F~$9$k$3$H$,$G$-$k$H$$$&$3$H$G!"(B - $B@8$N%m%0%U%!%$%k$r07$&$H$-$K$OHs>o$KCm0U$,I,MW$G$7$?!#(B</p> - - <p>$B%;%-%e%j%F%#>e$NM}M3$K$h$j(B 1.3.25 $B$h$j0u;zIT2DG=$JJ8;z$H(B - $BB>$NFCJL$JJ8;z$O!"$[$H$s$I(B <code>\x<var>hh</var></code> $B$H$$$&(B - $BJ8;zNs$G%(%9%1!<%W$5$l$k$h$&$K$J$j$^$7$?!#$3$3$G!"(B<var>hh</var> $B$O(B - $B$=$N$^$^$N%P%$%H$NCM$N(B 16 $B?J$G$NCM$G$9!#$3$N5,B'$NNc30$K$O!"(B - $B%P%C%/%9%i%C%7%e$r;H$C$F%(%9%1!<%W$5$l$k(B <code>"</code> $B$H(B <code>\</code> $B$H!"(B - C $B7A<0$NI=5-K!$,;H$o$l$k6uGrJ8;z(B (<code>\n</code>, <code>\t</code> $B$J$I(B) $B$,(B - $B$"$j$^$9!#(B</p> - - <p>$B$h$/;H$o$l$k%U%)!<%^%C%HJ8;zNs$O(B:</p> - - <dl> - <dt>Common Log Format (CLF)</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>$B%P!<%A%c%k%[%9%HIU$-(B Common Log Format</dt> - - <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>NCSA extended/combined $B%m%0=q<0(B</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" - \"%{User-agent}i\""</code></dd> - - <dt>Referer $B%m%0=q<0(B</dt> - - <dd><code>"%{Referer}i -> %U"</code></dd> - - <dt>Agent ($B%V%i%&%6(B) $B%m%0=q<0(B</dt> - - <dd><code>"%{User-agent}i"</code></dd> - </dl> - - <p><code>%v</code> $B$H(B <code>%p</code> $B$K$O$=$l$>$l!"(B - $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@55,2=$5$l$?(B - <a href="core.html#servername">ServerName</a> $B$H(B <a - href="core.html#port">Port</a> $B$,;H$o$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - $B$3$l$O(B <a href="core.html#usecanonicalname">UseCanonicalName</a> $B$N(B - $B@_Dj$K4X$o$i$:!">o$K$=$&$J$j$^$9!#$=$&$7$J$$$H$I$N(B - $B%[%9%H$,<B:]$K%j%/%(%9%H$r07$C$?$N$+$rCN$k$?$a$K!"(B - $B%m%02r@O%W%m%0%i%`$,%P!<%A%c%k%[%9%H$N%^%C%A%s%0$r$H$k%"%k%4%j%:%`A4BN$r(B - $B:F<BAu$7$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B</p> - - <h2>$B%;%-%e%j%F%#$K4X$7$F(B</h2> - - <p>$B%m%0%U%!%$%k$,J]B8$5$l$F$$$k%G%#%l%/%H%j$,%5!<%P$r5/F0$7$?0J30$N%f!<%6$G(B - $B=q$-9~$_2DG=$J$H$-$K%;%-%e%j%F%#$NLdBj$,H/@8$9$kM}M3$N>\:Y$O(B<a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$N$3$D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B8_49@-$K4X$7$F(B</h2> - - <ul> - <li>$B$3$N%b%8%e!<%k$O0JA0$N(B Apache - $B$N%j%j!<%9$GG[I[$5$l$F$$$?(B mod_log_config - $B$r4p$K$7$F!"J#?t$N%m%0$r07$($k$h$&$K99?7$5$l$?$b$N$G$9!#(B - $B@_Dj2DG=$J%m%0$N=q<0$r;H$&$?$a$K(B Apache $B$r%S%k%I(B - $B$7D>$9I,MW$O$J$/$J$j$^$7$?!#(B</li> - - <li>$B$3$N%b%8%e!<%k$O(B <a - href="mod_usertrack.html">mod_usertrack</a> $B$K$h$j(B - $B:n$i$l$?%f!<%6DI@WMQ$N>pJs$N%m%0<}=8$r9T$J$&$?$a$K;H$o$l$F$$$?(B - <code>CookieLog</code> - $B%G%#%l%/%F%#%V$b<BAu$7$F$$$^$9!#(B<code>CookieLog</code> - $B%G%#%l%/%F%#%V$N;HMQ$OHs?d>)$G!"(B - $B%f!<%6DI@WMQ$N>pJs$b%m%0<}=8$9$k$h$&$K@_Dj$7$?(B - <code>CustomLog</code> $B$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B</li> - - <li>Apache 1.3.5 $B$N;~E@$G!"$3$N%b%8%e!<%k$O(B <a - href="../env.html">$B4D6-JQ?t(B</a> - $B$N@_Dj$K4p$E$$$F>r7oIU$-%m%.%s%0$,$G$-$k$h$&$K$J$j$^$7$?!#$9$J$o$A!"(B - $B%j%/%(%9%H$,%m%0<}=8$5$l$k$+$I$&$+$rG$0U$N4D6-JQ?t$,Dj5A$5$l$F$$$k$+(B - $B$I$&$+$K$h$jJQ99$9$k$3$H$,$G$-$k$H$$$&$3$H$G$9!#$3$l$O(B - $B%m%0%U%!%$%k$4$H$K@_Dj2DG=$G$9!#(B</li> - - <li>Apache 1.3.5 $B$+$i!"(Bmod_log_config $B%b%8%e!<%k$O(B <a - href="mod_log_referer.html">mod_log_referer</a> $B$N(B - <code>RefererIgnore</code> $B5!G=$b4^$`$h$&$K$J$j$^$7$?!#(B - <code>RefererIgnore</code> $B$N8z2L$O(B <a - href="mod_setenvif.html"><code>SetEnvIf</code></a> - $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B$N>r7oIU$-$N@_Dj$K$h$jC#@.$G$-$^$9!#(B</li> - </ul> - - <hr /> - <h2><a id="cookielog" name="cookielog">CookieLog</a> - $B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CookieLog - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_cookies<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - $B0J9_$G$N$_;HMQ2DG=(B</p> - - <p>CookieLog - $B%G%#%l%/%F%#%V$O%/%C%-!<$N%m%.%s%0$N$?$a$N%U%!%$%kL>$r(B - $B@_Dj$7$^$9!#(Bfilename $B$O(B <a - href="core.html#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$G$9!#$3$N%G%#%l%/%F%#%V$O(B <a - href="mod_cookies.html">mod_cookies</a> $B$H$N8_49@-$N$?$a$@$1$K(B - $BB8:_$7!";HMQ$O?d>)$5$l$F$$$^$;$s!#(B</p> - - <hr /> - <h2><a id="customlog" name="customlog">CustomLog</a> <a - id="customlog-conditional" - name="customlog-conditional">$B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CustomLog - <em>file</em>|<em>pipe</em> <em>format</em>|<em>nickname</em> - [env=[!]<em>environment-variable</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Nickname $B$O(B Apache - 1.3 $B0J9_$G$N$_;HMQ2DG=!#(B $B>r7oIU$-%m%.%s%0$O(B 1.3.5 - $B0J9_$G;HMQ2DG=!#(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p><code>CustomLog</code> $B%G%#%l%/%F%#%V$O%5!<%P$X$N%j%/%(%9%H$r(B - $B%m%0<}=8$9$k$?$a$K;H$o$l$^$9!#%m%0$N=q<0$,;XDj$5$l!"(B - $B4D6-JQ?t$r;H$C$F%m%.%s%0$,>r7o$K1~$8$F9T$J$o$l$k$h$&$K$9$k$3$H$b$G$-$^$9!#(B</p> - - <p>$B%m%0$,=q$+$l$k>l=j$r;XDj$9$k:G=i$N0z?t$O0J2<$NFs$D$N7A<0$NCM$r(B - $B$H$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt><em>file</em></dt> - - <dd><a href="core.html#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$GI=$5$l$k%U%!%$%kL>!#(B</dd> - - <dt><em>pipe</em></dt> - - <dd>$B%Q%$%WJ8;z(B "<code>|</code>" $B$H!"$=$N8e$KI8=`F~NO$+$i%m%0$N(B - $B>pJs$r<u$1$H$k%W%m%0%i%`$X$N%Q%9$,B3$$$?$b$N!#(B - <strong>$B%;%-%e%j%F%#(B:</strong> $B$b$7%W%m%0%i%`$,;HMQ$5$l$?>l9g!"(B - httpd $B$,5/F0$5$l$?%f!<%6$H$7$F<B9T$5$l$^$9!#$3$l$O%5!<%P$,(B - root $B$K$h$C$F5/F0$5$l$?>l9g$O(B root $B$K$J$j$^$9!#%W%m%0%i%`$,(B - $B0BA4$G$"$k$h$&$KN10U$7$F$/$@$5$$!#(B</dd> - </dl> - - <p>$BFs$D$a$N0z?t$O%m%0%U%!%$%k$K2?$,=q$+$l$k$+$r;XDj$7$^$9!#(B - $BA0$K$"$k(B <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V$K$h$j(B - $BDj5A$5$l$?(B <em>$B%K%C%/%M!<%`(B</em> $B$+!"(B<a href="#formats">$B%m%0$N=q<0(B</a> - $B$N$H$3$m$G@bL@$5$l$F$$$k!"L@<(E*$J(B<em>$B%U%)!<%^%C%H(B</em>$BJ8;zNs$N(B - $B$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc$($P!"0J2<$NFs$D$N%G%#%l%/%F%#%V72$OA4$/F1$88z2L$r$b$?$i$7$^$9(B:</p> - -<pre> - # CustomLog with format nickname - LogFormat "%h %l %u %t \"%r\" %>s %b" common - CustomLog logs/access_log common - - # CustomLog with explicit format string - CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" -</pre> - - <p>$B;0$DL\$N0z?t$O>JN,2DG=$G!"%5!<%P$N4D6-$K$"$kJQ?t$,$"$k$+$J$$$+$K(B - $B1~$8$F%j%/%(%9%H$r%m%0<}=8$9$k$+$I$&$+$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B - $B;XDj$5$l$?(B<a href="../env.html">$B4D6-JQ?t(B</a>$B$,%j%/%(%9%H$KBP$7$F(B - $B@_Dj$5$l$F$$$?>l9g(B ('<code>env=!<em>name</em></code>' $BJ8$,;H$o$l$?$H$-$O(B - $B@_Dj$5$l$F$$$J$$>l9g(B)$B!"%j%/%(%9%H$,%m%0<}=8$5$l$^$9!#(B</p> - - <p>$B4D6-JQ?t$O(B <a href="mod_setenvif.html">mod_setenvif</a> $B%b%8%e!<%k$H(B - <a href="mod_rewrite.html">mod_rewrite</a> $B%b%8%e!<%k$NN>J}$b$7$/$O(B - $BJRJ}$rMQ$$$F%j%/%(%9%H$4$H$K@_Dj$9$k$3$H$,$G$-$^$9!#(B - $BNc$($P!"%5!<%P$K$"$k$9$Y$F$N(B GIF $B2hA|$X$N%j%/%(%9%H$rJL$N%m%0%U%!%$%k(B - $B$K$O5-O?$7$?$$$1$l$I!"%a%$%s%m%0$K$O5-O?$7$?$/$J$$!"$H$$$&$H$-$O(B - $B0J2<$N$b$N$r;H$&$3$H$,$G$-$^$9(B:</p> - -<pre> - SetEnvIf Request_URI \.gif$ gif-image - CustomLog gif-requests.log common env=gif-image - CustomLog nongif-requests.log common env=!gif-image -</pre> - - <hr /> - <h2><a id="logformat" name="logformat">LogFormat</a> - $B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LogFormat - <em>format</em>|<em>nickname</em> [<em>nickname</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LogFormat "%h - %l %u %t \"%r\" %>s %b"</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%K%C%/%M!<%`$O(B - Apache 1.3 $B0J9_$G$N$_;HMQ2DG=(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%"%/%;%9%m%0%U%!%$%k$N=q<0$r;XDj$7$^$9!#(B</p> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$OFs$D$N7A<0$N$I$A$i$+$r(B - $B$H$k$3$H$,$G$-$^$9!#:G=i$N7A<0$G$O0l$D$N0z?t$N$_$,;XDj$5$l!"(B - $BB3$/(B <a href="#transferlog">TransferLog</a> - $B$G;XDj$5$l$?%m%0$G;H$o$l$k%m%0$N=q<0$r@_Dj$7$^$9!#$3$NC1FH$N0z?t$G$O(B - $B>e$N(B<a href="#formats">$B%+%9%?%`%m%0=q<0(B</a>$B$G@bL@$5$l$F$$$k$h$&$K(B - <em>$B%U%)!<%^%C%H(B</em>$B$rL@<(E*$K;XDj$9$k$3$H$,$G$-$^$9!#(B - $B$b$7$/$O!"2<$G@bL@$5$l$F$$$k$h$&$KA0$K(B <code>LogFormat</code> - $B%G%#%l%/%F%#%V$GDj5A$5$l$?%m%0$N=q<0$r(B<em>$B%K%C%/%M!<%`(B</em>$B$r;H$C$F(B - $B;2>H$9$k$3$H$b$G$-$^$9!#(B</p> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$NFs$D$a$N7A<0$O(B - <em>$B%U%)!<%^%C%H(B</em>$B$K(B<em>$B%K%C%/%M!<%`(B</em>$B$rM?$($^$9!#(B - $B%U%)!<%^%C%HJ8;zNsA4BN$r:F$S=q$/$+$o$j$K!"(B - $B$3$N(B<em>$B%K%C%/%M!<%`(B</em>$B$rB3$-$N(B <code>LogFormat</code> $B%G%#%l%/%F%#%V$d(B - <a href="#customlog">CustomLog</a> $B%G%#%l%/%F%#%V$G;H$&$3$H$,$G$-$^$9!#(B - $B%K%C%/%M!<%`$rDj5A$9$k(B <samp>LogFormat</samp> $B%G%#%l%/%F%#%V$O(B - <strong>$BB>$K$O2?$b$7$^$;$s(B</strong> -- $B$9$J$o$A!"%K%C%/%M!<%`$rDj5A(B - $B$9$k$@$1$G!"<B:]$K=q<0$rE,MQ$7$F%G%U%)%k%H$K$9$k$H$$$&$3$H$O9T$J$$$^$;$s!#(B - $B$G$9$+$i!"$3$l$OB3$/(B <a href="#transferlog">TransferLog</a> - $B%G%#%l%/%F%#%V$K$O1F6A$rM?$($^$;$s!#(B</p> - - - <p>$BNc(B:</p> - - <code>LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common</code> - - <hr /> - <h2><a id="transferlog" - name="transferlog">TransferLog</a>$B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> TransferLog - <em>file</em>|<em>pipe</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%m%0=q<0$rD>@\;XDj$G$-$J$$$3$H$H!"(B - $B>r7oIU$-%m%.%s%0$,L5$$$3$H$r=|$/$H!"(B<a - href="#customlog">CustomLog</a> $B$HA4$/F1$80z?t$H8z2L$,$"$j$^$9!#(B - $BD>@\%m%0=q<0$r;XDj$9$kBe$o$j$K!"%m%0$N=q<0$O$=$3$^$G$G0lHV:G8e$K;XDj$5$l$?(B - $B%K%C%/%M!<%`$rDj5A$7$J$$(B - <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V(B - $B$GDj5A$5$l$?$b$N$r;H$$$^$9!#(B - $B$b$7B>$N=q<0$,A4$/;XDj$5$l$F$$$J$$$H$-$O(B Common Log Format - $B$,;H$o$l$^$9!#(B</p> - - <p>$BNc(B:</p> - -<pre> - LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" - TransferLog logs/access_log -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en deleted file mode 100644 index ef3c5415c26..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en +++ /dev/null @@ -1,687 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_mime</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Module mod_mime</h1> - - <p>This module provides for determining the types of files from - the filename and for association of handlers with files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_mime.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - mime_module</p> - - <h2>Summary</h2> - This module is used to determine various bits of "meta - information" about documents. This information relates to the - content of the document and is returned to the browser or used - in content-negotiation within the server. In addition, a - "handler" can be set for a document, which determines how the - document will be processed within the server. - - <p>The directives <a href="#addcharset">AddCharset</a>, <a - href="#addencoding">AddEncoding</a>, <a - href="#addhandler">AddHandler</a>, <a - href="#addlanguage">AddLanguage</a> and <a - href="#addtype">AddType</a> are all used to map file extensions - onto the meta-information for that file. Respectively they set - the character set, content-encoding, handler, content-language, - and MIME-type (content-type) of documents. The directive <a - href="#typesconfig">TypesConfig</a> is used to specify a file - which also maps extensions onto MIME types. The directives <a - href="#forcetype">ForceType</a> and <a - href="#sethandler">SetHandler</a> are used to associated all - the files in a given location (<em>e.g.</em>, a particular - directory) onto a particular MIME type or handler.</p> - - <p>Note that changing the type or encoding of a file does not - change the value of the <code>Last-Modified</code> header. - Thus, previously cached copies may still be used by a client or - proxy, with the previous headers.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#addcharset">AddCharset</a></li> - - <li><a href="#addencoding">AddEncoding</a></li> - - <li><a href="#addhandler">AddHandler</a></li> - - <li><a href="#addlanguage">AddLanguage</a></li> - - <li><a href="#addtype">AddType</a></li> - - <li><a href="#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="#forcetype">ForceType</a></li> - - <li><a href="#removeencoding">RemoveEncoding</a></li> - - <li><a href="#removehandler">RemoveHandler</a></li> - - <li><a href="#removetype">RemoveType</a></li> - - <li><a href="#sethandler">SetHandler</a></li> - - <li><a href="#typesconfig">TypesConfig</a></li> - </ul> - - <p>See also: <a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a>.</p> - - <h2><a id="multipleext" name="multipleext">Files with Multiple - Extensions</a></h2> - Files can have more than one extension, and the order of the - extensions is <em>normally</em> irrelevant. For example, if the - file <code>welcome.html.fr</code> maps onto content type - text/html and language French then the file - <code>welcome.fr.html</code> will map onto exactly the same - information. The only exception to this is if an extension is - given which Apache does not know how to handle. In this case it - will "forget" about any information it obtained from extensions - to the left of the unknown extension. So, for example, if the - extensions fr and html are mapped to the appropriate language - and type but extension xxx is not assigned to anything, then - the file <code>welcome.fr.xxx.html</code> will be associated - with content-type text/html but <em>no</em> language. - - <p>If more than one extension is given which maps onto the same - type of meta-information, then the one to the right will be - used. For example, if ".gif" maps to the MIME-type image/gif - and ".html" maps to the MIME-type text/html, then the file - <code>welcome.gif.html</code> will be associated with the - MIME-type "text/html".</p> - - <p>Care should be taken when a file with multiple extensions - gets associated with both a MIME-type and a handler. This will - usually result in the request being by the module associated - with the handler. For example, if the <code>.imap</code> - extension is mapped to the handler "imap-file" (from mod_imap) - and the <code>.html</code> extension is mapped to the MIME-type - "text/html", then the file <code>world.imap.html</code> will be - associated with both the "imap-file" handler and "text/html" - MIME-type. When it is processed, the "imap-file" handler will - be used, and so it will be treated as a mod_imap imagemap - file.</p> - <hr /> - - <h2><a id="addcharset" name="addcharset">AddCharset</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddCharset <em>charset - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddCharset is - only available in Apache 1.3.10 and later - - <p>The AddCharset directive maps the given filename extensions - to the specified content charset. <i>charset</i> is the MIME - charset parameter of filenames containing <i>extension</i>. - This mapping is added to any already in force, overriding any - mappings that already exist for the same <i>extension</i>.</p> - - <p>Example:</p> -<pre> - AddLanguage ja .ja - AddCharset EUC-JP .euc - AddCharset ISO-2022-JP .jis - AddCharset SHIFT_JIS .sjis -</pre> - - <p>Then the document <code>xxxx.ja.jis</code> will be treated - as being a Japanese document whose charset is ISO-2022-JP (as - will the document <code>xxxx.jis.ja</code>). The AddCharset - directive is useful for both to inform the client about the - character encoding of the document so that the document can be - interpreted and displayed appropriately, and for <a - href="../content-negotiation.html">content negotiation</a>, - where the server returns one from several documents based on - the client's charset preference.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a - href="mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addencoding" name="addencoding">AddEncoding</a> - directive</h2> - <!--%plaintext <?INDEX {\tt AddEncoding} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddEncoding - <em>MIME-enc extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddEncoding directive maps the given filename extensions - to the specified encoding type. <em>MIME-enc</em> is the MIME - encoding to use for documents containing the - <em>extension</em>. This mapping is added to any already in - force, overriding any mappings that already exist for the same - <em>extension</em>. Example:</p> - - <blockquote> - <code>AddEncoding x-gzip .gz<br /> - AddEncoding x-compress .Z</code> - </blockquote> - This will cause filenames containing the .gz extension to be - marked as encoded using the x-gzip encoding, and filenames - containing the .Z extension to be marked as encoded with - x-compress. - - <p>Old clients expect <code>x-gzip</code> and - <code>x-compress</code>, however the standard dictates that - they're equivalent to <code>gzip</code> and - <code>compress</code> respectively. Apache does content - encoding comparisons by ignoring any leading <code>x-</code>. - When responding with an encoding Apache will use whatever form - (<em>i.e.</em>, <code>x-foo</code> or <code>foo</code>) the - client requested. If the client didn't specifically request a - particular form Apache will use the form given by the - <code>AddEncoding</code> directive. To make this long story - short, you should always use <code>x-gzip</code> and - <code>x-compress</code> for these two specific encodings. More - recent encodings, such as <code>deflate</code> should be - specified without the <code>x-</code>.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="addhandler" name="addhandler">AddHandler</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddHandler - <em>handler-name extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddHandler is - only available in Apache 1.1 and later - - <p>AddHandler maps the filename extensions <em>extension</em> - to the <a href="../handler.html">handler</a> - <em>handler-name</em>. This mapping is added to any already in - force, overriding any mappings that already exist for the same - <em>extension</em>. For example, to activate CGI scripts with - the file extension "<code>.cgi</code>", you might use:</p> -<pre> - AddHandler cgi-script .cgi -</pre> - - <p>Once that has been put into your srm.conf or httpd.conf - file, any file containing the "<code>.cgi</code>" extension - will be treated as a CGI program.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a>, <a href="#sethandler">SetHandler</a></p> - <hr /> - - <h2><a id="addlanguage" name="addlanguage">AddLanguage</a> - directive</h2> - <!--%plaintext <?INDEX {\tt AddLanguage} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddLanguage - <em>MIME-lang extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddLanguage directive maps the given filename extension - to the specified content language. <em>MIME-lang</em> is the - MIME language of filenames containing <em>extension</em>. This - mapping is added to any already in force, overriding any - mappings that already exist for the same - <em>extension</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>AddEncoding x-compress .Z<br /> - AddLanguage en .en<br /> - AddLanguage fr .fr<br /> - </code> - </blockquote> - - <p>Then the document <code>xxxx.en.Z</code> will be treated as - being a compressed English document (as will the document - <code>xxxx.Z.en</code>). Although the content language is - reported to the client, the browser is unlikely to use this - information. The AddLanguage directive is more useful for <a - href="../content-negotiation.html">content negotiation</a>, - where the server returns one from several documents based on - the client's language preference.</p> - - <p>If multiple language assignments are made for the same - extension, the last one encountered is the one that is used. - That is, for the case of:</p> -<pre> - AddLanguage en .en - AddLanguage en-uk .en - AddLanguage en-us .en -</pre> - - <p>documents with the extension "<code>.en</code>" would be - treated as being "<code>en-us</code>".</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a>, <a - href="#defaultlanguage">DefaultLanguage</a><br /> - <strong>See also</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addtype" name="addtype">AddType</a> directive</h2> - <!--%plaintext <?INDEX {\tt AddType} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddType <em>MIME-type - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddType directive maps the given filename extensions - onto the specified content type. <em>MIME-type</em> is the MIME - type to use for filenames containing <em>extension</em>. This - mapping is added to any already in force, overriding any - mappings that already exist for the same <em>extension</em>. - This directive can be used to add mappings not listed in the - MIME types file (see the <code><a - href="#typesconfig">TypesConfig</a></code> directive). - Example:</p> - - <blockquote> - <code>AddType image/gif .gif</code> - </blockquote> - It is recommended that new MIME types be added using the - AddType directive rather than changing the <a - href="#typesconfig">TypesConfig</a> file. - - <p>Note that, unlike the NCSA httpd, this directive cannot be - used to set the type of particular files.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="defaultlanguage" - name="defaultlanguage">DefaultLanguage</a> directive</h2> - <!--%plaintext <?INDEX {\tt DefaultLanguage} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DefaultLanguage - <em>MIME-lang</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> DefaultLanguage - is only available in Apache 1.3.4 and later. - - <p>The DefaultLanguage directive tells Apache that all files in - the directive's scope (<em>e.g.</em>, all files covered by the - current <code><Directory></code> container) that don't - have an explicit language extension (such as <samp>.fr</samp> - or <samp>.de</samp> as configured by <samp>AddLanguage</samp>) - should be considered to be in the specified <em>MIME-lang</em> - language. This allows entire directories to be marked as - containing Dutch content, for instance, without having to - rename each file. Note that unlike using extensions to specify - languages, <samp>DefaultLanguage</samp> can only specify a - single language.</p> - - <p>For example:</p> - - <code>DefaultLanguage fr</code> - - <p>If no <samp>DefaultLanguage</samp> directive is in force, - and a file does not have any language extensions as configured - by <samp>AddLanguage</samp>, then that file will be considered - to have no language attribute.</p> - - <p><strong>See also</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a><br /> - <strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="forcetype" name="forcetype">ForceType</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ForceType - <em>media-type</em>|None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ForceType is - only available in Apache 1.1 and later. - - <p>When placed into an <code>.htaccess</code> file or a - <code><Directory></code> or <code><Location></code> - section, this directive forces all matching files to be served - as the content type given by <em>media type</em>. For example, - if you had a directory full of GIF files, but did not want to - label them all with ".gif", you might want to use:</p> -<pre> - ForceType image/gif -</pre> - - <p>Note that this will override any filename extensions that - might determine the media type.</p> - - <p>You can override any <directive>ForceType</directive> setting - by using the value of <code>none</code>:</p> - -<pre> - # force all files to be image/gif: - <Location /images> - ForceType image/gif - </Location> - - # but normal mime-type associations here: - <Location /images/mixed> - ForceType none - </Location> -</pre> - - <p><strong>See also</strong>: <a - href="#addtype">AddType</a></p> - - <hr /> - - <h2><a id="removeencoding" - name="removeencoding">RemoveEncoding</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveEncoding - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveEncoding - is only available in Apache 1.3.13 and later. - - <p>The <samp>RemoveEncoding</samp> directive removes any - encoding associations for files with the given extensions. This - allows <code>.htaccess</code> files in subdirectories to undo - any associations inherited from parent directories or the - server config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddEncoding x-gzip .gz</code><br /> - <code>AddType text/plain .asc</code><br /> - <code><Files *.gz.asc></code><br /> - <code> RemoveEncoding - .gz</code><br /> - <code></Files></code></dd> - </dl> - - <p>This will cause <code>foo.gz</code> to mark as being encoded - with the gzip method, but <code>foo.gz.asc</code> as an - unencoded plaintext file.</p> - - <p><b>Note:</b>RemoveEncoding directives are processed - <i>after</i> any <a href="#addencoding">AddEncoding</a> - directives, so it is possible they - may undo the effects of the latter if both occur within the - same directory configuration.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="removehandler" - name="removehandler">RemoveHandler</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveHandler - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveHandler is - only available in Apache 1.3.4 and later. - - <p>The <samp>RemoveHandler</samp> directive removes any handler - associations for files with the given extensions. This allows - <code>.htaccess</code> files in subdirectories to undo any - associations inherited from parent directories or the server - config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddHandler server-parsed .html</code></dd> - - <dt><code>/foo/bar/.htaccess:</code></dt> - - <dd><code>RemoveHandler .html</code></dd> - </dl> - - <p>This has the effect of returning <samp>.html</samp> files in - the <samp>/foo/bar</samp> directory to being treated as normal - files, rather than as candidates for parsing (see the <a - href="mod_include.html"><samp>mod_include</samp></a> - module).</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="removetype" name="removetype">RemoveType</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveType - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveType is - only available in Apache 1.3.13 and later. - - <p>The <samp>RemoveType</samp> directive removes any MIME type - associations for files with the given extensions. This allows - <code>.htaccess</code> files in subdirectories to undo any - associations inherited from parent directories or the server - config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>RemoveType .cgi</code></dd> - </dl> - - <p>This will remove any special handling of <code>.cgi</code> - files in the <code>/foo/</code> directory and any beneath it, - causing the files to be treated as being of the <a - href="core.html#defaulttype">default type</a>.</p> - - <p><b>Note:</b><code>RemoveType</code> directives are processed - <i>after</i> any <code>AddType</code> directives, so it is - possible they may undo the effects of the latter if both occur - within the same directory configuration.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="sethandler" name="sethandler">SetHandler</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetHandler - <em>handler-name</em>|None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> SetHandler is - only available in Apache 1.1 and later. - - <p>When placed into an <code>.htaccess</code> file or a - <code><Directory></code> or <code><Location></code> - section, this directive forces all matching files to be parsed - through the <a href="../handler.html">handler</a> given by - <em>handler-name</em>. For example, if you had a directory you - wanted to be parsed entirely as imagemap rule files, regardless - of extension, you might put the following into an - <code>.htaccess</code> file in that directory:</p> -<pre> - SetHandler imap-file -</pre> - - <p>Another example: if you wanted to have the server display a - status report whenever a URL of - <code>http://servername/status</code> was called, you might put - the following into access.conf: (See <a - href="mod_status.html">mod_status</a> for more details.)</p> -<pre> - <Location /status> - SetHandler server-status - </Location> -</pre> - - <p>You can override an earlier defined <code>SetHandler</code> - directive by using the value <code>None</code>.</p> - - <p><strong>See also</strong>: <a href="#addhandler">AddHandler</a></p> - <hr /> - - <h2><a id="typesconfig" name="typesconfig">TypesConfig</a> - directive</h2> - <!--%plaintext <?INDEX {\tt TypesConfig} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TypesConfig - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>TypesConfig - conf/mime.types</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The TypesConfig directive sets the location of the MIME - types configuration file. <em>Filename</em> is relative to the - <a href="core.html#serverroot">ServerRoot</a>. This file sets - the default list of mappings from filename extensions to - content types; changing this file is not recommended. Use the - <a href="#addtype">AddType</a> directive instead. The file - contains lines in the format of the arguments to an AddType - command:</p> - - <blockquote> - <em>MIME-type extension extension ...</em> - </blockquote> - The extensions are lower-cased. Blank lines, and lines - beginning with a hash character (`#') are ignored. - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis deleted file mode 100644 index eaf912c21c9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis +++ /dev/null @@ -1,690 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_mime</title> - - </head> - <!-- English revision: 1.51 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_mime $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%U%!%$%k$N%?%$%W$r%U%!%$%kL>$+$i7hDj$9$k5!G=$H!"(B - $B%U%!%$%k$K%O%s%I%i$r4XO"IU$1$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_mime.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> mime_module - </p> - - <h2>$B35MW(B</h2> - - $B$3$N%b%8%e!<%k$O!"%I%-%e%a%s%H$N$$$m$$$m$J!V%a%?>pJs!W(B - $B$r7hDj$9$k$?$a$K;HMQ$5$l$^$9!#$3$N>pJs$O(B - $B%I%-%e%a%s%H$N%3%s%F%s%D$K4XO"$7$F$$$k$b$N$G!"%V%i%&%6$KJV$5$l$?$j!"(B - $B%5!<%PFb$G%3%s%F%s%H%M%4%7%(!<%7%g%s$K;H$o$l$?$j$7$^$9!#(B - $B$5$i$K!"!V%O%s%I%i!W$r%I%-%e%a%s%H$KBP$7$F@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B%O%s%I%i$O%5!<%PFb$G%I%-%e%a%s%H$r$I$N$h$&$K=hM}$9$k$+$r7hDj$7$^$9!#(B - - <p>$B%G%#%l%/%F%#%V(B <a href="#addcharset">AddCharset</a>, - <a href="#addencoding">AddEncoding</a>, <a href="#addhandler" - >AddHandler</a>, <a href="#addlanguage">AddLanguage</a>, <a - href="#addtype">AddType</a> $B$O$9$Y$F!"(B - $B%U%!%$%k$N3HD%;R$r%a%?>pJs$K%^%C%W$9$k$?$a$K;HMQ$5$l$^$9!#(B - $B$=$l$>$l!"%I%-%e%a%s%H$NJ8;z%;%C%H(B ($BLuCm(B: charset)$B!"(Bcontent-encoding, - $B%O%s%I%i!"(Bcontent-language, MIME $B%?%$%W(B (content-type) $B$r@_Dj$7$^$9!#(B - $B%G%#%l%/%F%#%V(B <a href="#typesconfig">TypesConfig</a> $B$O3HD%;R$r(B - MIME $B%?%$%W$K%^%C%W$9$k%U%!%$%k$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#(B - $B%G%#%l%/%F%#%V(B <a href="#forcetype">ForceType</a> $B$H(B <a - href="#sethandler">SetHandler</a> $B$O!"M?$($i$l$?>l=j(B - (<em>$BNc$($P(B</em>$B!"FCDj$N%G%#%l%/%H%j(B) $B$K$"$k$9$Y$F$N%U%!%$%k$rFCDj$N(B - MIME $B%?%$%W$d%O%s%I%i$K4XO"IU$1$k$?$a$K;HMQ$5$l$^$9!#(B</p> - - <p>$B%U%!%$%k$N%?%$%W$d%(%s%3!<%G%#%s%0$rJQ$($F$b(B <code>Last-Modified</code> - $B%X%C%@$NCM$OJQ$o$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#$G$9$+$i!"(B - $B$=$l$i$rJQ99$7$?>l9g$O!"%/%i%$%"%s%H$d%W%m%-%7$G0JA0$K%-%c%C%7%e$5$l$?(B - $B%3%T!<$,$=$N$H$-$N%X%C%@$H$H$b$K;H$o$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#addcharset">AddCharset</a></li> - - <li><a href="#addencoding">AddEncoding</a></li> - - <li><a href="#addhandler">AddHandler</a></li> - - <li><a href="#addlanguage">AddLanguage</a></li> - - <li><a href="#addtype">AddType</a></li> - - <li><a href="#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="#forcetype">ForceType</a></li> - - <li><a href="#removeencoding">RemoveEncoding</a></li> - - <li><a href="#removehandler">RemoveHandler</a></li> - - <li><a href="#removetype">RemoveType</a></li> - - <li><a href="#sethandler">SetHandler</a></li> - - <li><a href="#typesconfig">TypesConfig</a></li> - </ul> - - <p>$B;2>H(B: <a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></p> - - <h2><a id="multipleext" - name="multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></h2> - - $B%U%!%$%k$OJ#?t$N3HD%;R$r;}$D$3$H$,$G$-!"3HD%;R$N=gHV$O(B<em - >$BDL>o$O(B</em>$B4X78$"$j$^$;$s!#$?$H$($P!"(B<code>welcome.html.fr</code> - $B%U%!%$%k$,%3%s%F%s%H%?%$%W$O(B text/html - $B$K!"8@8l$O%U%i%s%98l$K%^%C%W$5$l$k>l9g!"(B<code>welcome.fr.html</code> - $B$b$^$C$?$/F1$8>pJs$K%^%C%W$5$l$^$9!#(B - $BM#0l$NNc30$O!"M?$($i$l$?3HD%;R$N07$$J}$r(B Apache - $B$,CN$i$J$$>l9g$G$9!#$=$N>l9g!"(BApache - $B$OCN$i$J$$3HD%;R$N:8$K$"$k$9$Y$F$N3HD%;R$r!VK:$l!W$^$9!#(B - $B$G$9$+$i!"$?$H$($P!"3HD%;R(B fr $B$H(B html - $B$,E,@Z$J8@8l$H%?%$%W$K%^%C%W$5$l$F$$$k$1$l$I$b!"3HD%;R(B xxx - $B$O2?$K$b3d$jEv$F$i$l$F$$$J$$$H$$$&>l9g$K$O!"(B<code - >welcome.fr.xxx.html</code> $B%U%!%$%k$O%3%s%F%s%H%?%$%W(B text/html - $B$K4XO"IU$1$i$l$^$9$,!"8@8l$K$O4XO"IU$1$i$l(B<em>$B$^$;$s(B</em>$B!#(B - - <p>$BF1$8%a%?>pJs$K%^%C%W$5$l$k3HD%;R$,J#?t$"$k$H$-$K$O!"(B - $B1&B&$K$"$k$b$N$,;HMQ$5$l$^$9!#$?$H$($P!"(B".gif" $B$,(B MIME $B%?%$%W(B - image/gif $B$K%^%C%W$5$l!"(B".html" $B$,(B MIME $B%?%$%W(B text/html - $B$K%^%C%W$5$l$k>l9g$O!"%U%!%$%k(B <code>welcome.gif.html</code> $B$O(B - MIME $B%?%$%W(B "text/html" $B$K4XO"IU$1$i$l$^$9!#(B</p> - - <p>$BJ#?t$N3HD%;R$N$"$k%U%!%$%k$,(B MIME - $B%?%$%W$H%O%s%I%i$NN>J}$K4XO"IU$1$i$l$F$$$k$H$-$OCm0U$9$kI,MW$,$"$j$^$9!#(B - $B$=$N>l9g!"IaDL$O%j%/%(%9%H$,%O%s%I%i$K4XO"IU$1$i$l$?(B - $B%b%8%e!<%k$K$h$C$F07$o$l$k$3$H$K$J$j$^$9!#$?$H$($P!"3HD%;R(B - <code>.imap</code> $B$,(B (mod_imap $B$N(B) "imap-file" $B$K%^%C%W$5$l$F$$$F!"(B - <code>.html</code> $B$,(B MIME $B%?%$%W(B "text/html" - $B$K%^%C%W$5$l$F$$$k$H$-$O!"%U%!%$%k(B <code>world.imap.html</code> $B$O(B - "imap-file" $B%O%s%I%i$H(B "text/html" MIME - $B%?%$%W$K4XO"IU$1$i$l$^$9!#%U%!%$%k$,=hM}$5$l$k$H$-$O(B "imap-file" - $B%O%s%I%i$,;HMQ$5$l$^$9$N$G!"$=$N%U%!%$%k$O(B mod_imap - $B$N%$%a!<%8%^%C%W%U%!%$%k$H$7$F07$o$l$k$3$H$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="addcharset" name="addcharset">AddCharset</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddCharset <em>charset - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> AddCharset $B$O(B - Apache 1.3.10 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p>AddCharset $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - charset $B$K%^%C%W$7$^$9!#(B<em>charset</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME charset - $B%Q%i%a!<%?$G$9!#?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B</p> - - <p>$BNc(B:</p> -<pre> - AddLanguage ja .ja - AddCharset EUC-JP .euc - AddCharset ISO-2022-JP .jis - AddCharset SHIFT_JIS .sjis -</pre> - - <p>$B$3$N>l9g!"%I%-%e%a%s%H(B <code>xxxx.ja.jis</code> $B$O(B charset $B$,(B - ISO-2022-JP $B$NF|K\8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B - (<code>xxxx.jis.ja</code> $B$bF1MM(B)$B!#(BAddCharset - $B%G%#%l%/%F%#%V$O!"%I%-%e%a%s%H$,E,@Z$K2r<a$5$lI=<($5$l$k$h$&$K!"(B - $B%I%-%e%a%s%H$N(B charset $B$N>pJs$r%/%i%$%"%s%H$K65$($k$?$a$KLr$KN)$A$^$9!#(B - $B$^$?!"%5!<%P$,%/%i%$%"%s%H$N(B charset - $B$NM%@hEY$K4p$E$$$FJ#?t$N%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a - href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$bLr$KN)$A$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em>$B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addencoding" - name="addencoding">AddEncoding</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddEncoding} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddEncoding - <em>MIME-enc extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - - <p>AddEncoding $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - $B%(%s%3!<%G%#%s%0$K%^%C%W$7$^$9!#(B<em>MIME-enc</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME - $B%(%s%3!<%G%#%s%0$G$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B - $BF1$83HD%;R(B <em>extension</em> - $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#Nc(B:</p> - - <blockquote> - <code>AddEncoding x-gzip .gz<br /> - AddEncoding x-compress .Z</code> - </blockquote> - $B$3$l$O!"3HD%;R(B .gz $B$r4^$`%U%!%$%kL>$,(B x-gzip - $B%(%s%3!<%G%#%s%0$r;H$C$F%(%s%3!<%I$5$l$F$$$k$3$H$H!"3HD%;R(B .Z - $B$r4^$`%U%!%$%kL>$,(B x-compress - $B$G%(%s%3!<%I$5$l$F$$$k$3$H$r<($7$^$9!#(B - - <p>$B8E$$%/%i%$%"%s%H$O(B <code>x-zip</code> $B$H(B <code>x-compress</code> - $B$,JV$C$F$/$k$3$H$r4|BT$7$^$9$,!"I8=`5,3J$G$O$=$l$>$l(B - <code>gzip</code> $B$H(B <code>compress</code> - $B$HEy2A$G$"$k$3$H$K$J$C$F$$$^$9!#(BApache - $B$O!"%3%s%F%s%H%(%s%3!<%G%#%s%0$NHf3S$r$9$k$H$-$K$O!"@hF,$K$"$k(B - <code>x-</code> $B$rL5;k$7$^$9!#(BApache - $B$,%(%s%3!<%G%#%s%0IU$-$G1~Ez$rJV$9$H$-$O!"%/%i%$%"%s%H$,MW5a$7$?7A<0(B - (<em>$B$9$J$o$A(B</em>$B!"(B<code>x-foo</code> $B$d(B <code>foo</code>) - $B$r;HMQ$7$^$9!#MW$9$k$K!"$3$NFs$D$N%(%s%3!<%G%#%s%0$N>l9g$O>o$K(B - <code>x-gzip</code> $B$H(B <code>x-compress</code> - $B$r;H$&$Y$-$G$"$k!"$H$$$&$3$H$G$9!#(B<code>deflate</code> - $B$N$h$&$J$h$j?7$7$$%(%s%3!<%G%#%s%0$G$O!"(B<code>x-</code> - $B$J$7$G;XDj$7$F$/$@$5$$!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="addhandler" name="addhandler">AddHandler</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddHandler - <em>handler-name extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> AddHandler $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - <p>AddHandler $B$O!"3HD%;R(B <em>extension</em> $B$r(B<a - href="../handler.html">$B%O%s%I%i(B</a> <em>handler-name</em> - $B$K%^%C%W$7$^$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B - $BF1$83HD%;R(B <em>extension</em> - $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#$?$H$($P!"3HD%;R(B - "<code>.cgi</code>" $B$G=*$o$k%U%!%$%k$r(B CGI - $B%9%/%j%W%H$H$7$F07$$$?$$$H$-$O!"0J2<$N@_Dj$r$7$^$9!#(B</p> -<pre> - AddHandler cgi-script .cgi -</pre> - - <p>$B$3$l$r(B srm.conf $B$+(B httpd.conf $B%U%!%$%k$K5-=R$9$k$3$H$G!"3HD%;R(B - "<code>.cgi</code>" $B$r4^$`%U%!%$%k$O(B CGI $B%W%m%0%i%`$H$7$F07$o$l$^$9!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B - <a href="#sethandler">SetHandler</a></p> - <hr /> - - <h2><a id="addlanguage" name="addlanguage">AddLanguage</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddLanguage} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddLanguage <em>MIME-lang - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - - <p>AddLanguage $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - content language $B$K%^%C%W$7$^$9!#(B<em>MIME-lang</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME $B$K$*$1$k8@8l$G$9!#(B - $B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B - </p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddEncoding x-compress .Z<br /> - AddLanguage en .en<br /> - AddLanguage fr .fr<br /> - </code> - </blockquote> - - <p>$B$3$N>l9g!"(B<code>xxxx.en.Z</code> $B%I%-%e%a%s%H$O(B compress - $B$5$l$?1Q8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B (<code>xxxx.Z.en</code> - $B$bF1MM(B)$B!#(Bcontent language $B$O%/%i%$%"%s%H$KDLCN$5$l$^$9$,!"(B - $B%V%i%&%6$,$3$N>pJs$r;H$&$3$H$O$*$=$i$/$"$j$^$;$s!#(BAddLanguage - $B%G%#%l%/%F%#%V$O!"%5!<%P$,%/%i%$%"%s%H$N8@8l$NM%@hEY$K4p$E$$$FJ#?t$N(B - $B%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a - href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$h$jLr$KN)$A$^$9!#(B</p> - - <p>$BJ#?t$N8@8l$,F1$83HD%;R$K3d$jEv$F$i$l$F$$$k$H$-$O!"(B - $B:G8e$N$b$N$,;HMQ$5$l$^$9!#$9$J$o$A!"<!$N$h$&$J>l9g!"(B</p> - -<pre> - AddLanguage en .en - AddLanguage en-uk .en - AddLanguage en-us .en -</pre> - - <p>$B3HD%;R(B "<code>.en</code>" $B$N$"$k%I%-%e%a%s%H$O(B - "<code>en-us</code>" $B$H$7$F07$o$l$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B - <a href="#defaultlanguage">DefaultLanguage</a><br /> - <strong>$B;2>H(B</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a> - </p> - <hr /> - - <h2><a id="addtype" name="addtype">AddType</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddType} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddType <em>MIME-type - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime - - <p>AddType $B%G%#%l%/%F%#%V$O!"(B - $BM?$($i$l$?3HD%;R$r;XDj$5$l$?%3%s%F%s%H%?%$%W$K%^%C%W$7$^$9!#(B - <em>MIME-type</em> $B$O3HD%;R(B <em>extension</em> - $B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME $B%?%$%W$G$9!#(B - $B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O(B MIME $B%?%$%W%U%!%$%k(B (<code><a - href="#typesconfig">TypesConfig</a></code> $B%G%#%l%/%F%#%V$r;2>H(B) - $B$K$J$$%^%C%T%s%0$rDI2C$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#Nc(B:</p> - - <blockquote> - <code>AddType image/gif .gif</code> - </blockquote> - $B?7$7$$(B MIME $B%?%$%W$O!"(B<a href="#typesconfig">TypesConfig</a> - $B%U%!%$%k$rJQ99$9$k$N$G$O$J$/!"(BAddType - $B%G%#%l%/%F%#%V$r;H$C$FDI2C$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B - - <p>NCSA httpd $B$H$O0c$C$F!"$3$N%G%#%l%/%F%#%V$OFCDj$N%U%!%$%k$N(B - $B%?%$%W$r@_Dj$9$k$3$H$O$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="defaultlanguage" - name="defaultlanguage">DefaultLanguage</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt DefaultLanguage} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> DefaultLanguage <em>MIME-lang</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> DefaultLanguage $B$O(B - Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - - <p>DefaultLanguage $B%G%#%l%/%F%#%V$O!"(BApache - $B$,%G%#%l%/%F%#%V$N%9%3!<%W(B (<em>$BNc$($P(B</em>$B!"$=$N;~E@$N(B - <code><Directory></code> $B$NHO0O(B) $B$K$"$k!"L@<(E*$J8@8l3HD%;R(B - (<samp>AddLanguage</samp> $B$G@_Dj$5$l$k(B <samp>.fr</samp> $B$d(B - <samp>.de</samp>) $B$N$J$$A4$F$N%U%!%$%k$r!";XDj$5$l$?(B - <em>MIME-lang</em> $B8@8l$G$"$k$H$_$J$9$h$&$K$7$^$9!#(B - $B$3$l$K$h$j!"$9$Y$F$N%U%!%$%kL>$rJQ$($k$3$H$J$/!"(B - $B%G%#%l%/%H%j$,%*%i%s%@8l$N%3%s%F%s%H$r4^$s$G$$$k!"(B - $B$H$$$&$h$&$J$3$H$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B3HD%;R$r;HMQ$7$F8@8l$r;XDj$9$kJ}K!$H0c$$!"(B - <samp>DefaultLanguage</samp> - $B$O0l$D$N8@8l$7$+;XDj$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$BNc$($P(B:</p> - - <code>DefaultLanguage fr</code> - - <p><samp>DefaultLanguage</samp> - $B%G%#%l%/%F%#%V$,M-8z$G$J$/!"%U%!%$%k$K(B <samp>AddLanguage</samp> - $B$G@_Dj$5$l$?8@8l$N3HD%;R$,$J$$$H$-$O!"(B - $B%U%!%$%k$K$O8@8lB0@-$,$J$$$H$_$J$5$l$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a><br /> - <strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="forcetype" name="forcetype">ForceType</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> ForceType - <em>media-type</em>|None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> ForceType $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><code>.htaccess</code> $B$d(B <code><Directory></code> - $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B <em>media type</em> - $B$G;XDj$5$l$?%3%s%F%s%H%?%$%W$H$7$F07$o$l$k$3$H$r6/@)$7$^$9!#$?$H$($P!"(B - GIF $B%U%!%$%k$P$+$j$N%G%#%l%/%H%j$,$"$C$F!"$9$Y$F$N%U%!%$%k$r(B ".gif" - $B$G=*$o$i$;$?$/$O$J$$$H$-$K!"0J2<$N$b$N$r;HMQ$7$^$9(B:</p> -<pre> - ForceType image/gif -</pre> - - <p>$B$3$l$O!"%a%G%#%"%?%$%W$r7hDj$9$k$+$b$7$l$J$$$9$Y$F$N3HD%;R$r(B - $B>e=q$-$9$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$BCM$r(B <code>none</code> $B$K@_Dj$9$k$3$H$G!"(B - $B0JA0$N(B <directive>ForceType</directive> $B$N$9$Y$F$N@_Dj$r>e=q$-$9$k$3$H$b(B - $B$G$-$^$9(B:</p> - -<pre> - # force all files to be image/gif: - <Location /images> - ForceType image/gif - </Location> - - # but normal mime-type associations here: - <Location /images/mixed> - ForceType none - </Location> -</pre> - - - <p><strong>$B;2>H(B</strong>: <a - href="#addtype">AddType</a></p> - <hr /> - - <h2><a id="removeencoding" - name="removeencoding">RemoveEncoding</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveEncoding - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveEncoding $B$O(B - Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveEncoding</samp> $B%G%#%l%/%F%#%V$O!"(B - $BM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%(%s%3!<%G%#%s%0$r<h$j>C$7$^$9!#(B - $B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k$+$i7Q>5$7$?4XO"IU$1$r(B - $B<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddEncoding x-gzip .gz</code><br /> - <code>AddType text/plain .asc</code><br /> - <code><Files *.gz.asc></code><br /> - <code> RemoveEncoding - .gz</code><br /> - <code></Files></code></dd> - </dl> - <p>$B$3$l$O!"(B<code>foo.gz</code> $B$O(B gzip - $B$G%(%s%3!<%I$5$l$F$$$k$3$H$r;XDj$7$^$9$,!"(B<code>foo.gz.asc</code> - $B$O%(%s%3!<%I$5$l$F$$$J$$%W%l!<%s%F%-%9%H$N(B - $B%U%!%$%k$G$"$k$H$$$&$3$H$r;XDj$7$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> RemoveEncoding $B$O(B - <a href="#addencoding">AddEncoding</a> - $B%G%#%l%/%F%#%V$N(B<em>$B8e(B</em>$B$G=hM}$5$l$^$9$N$G!"(B - $BF1$8%G%#%l%/%H%j$N@_DjCf$KN>J}$,8=$l$k$H!"(B - $B8e<T$N8z2L$,BG$A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="removehandler" - name="removehandler">RemoveHandler</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveHandler - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveHandler $B$O(B - Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveHandler</samp> $B%G%#%l%/%F%#%V(B - $B$OM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%O%s%I%i$r<h$j>C$7$^$9!#(B - $B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k(B - $B$+$i7Q>5$7$?4XO"IU$1$r<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddHandler server-parsed .html</code></dd> - - <dt><code>/foo/bar/.htaccess:</code></dt> - - <dd><code>RemoveHandler .html</code></dd> - </dl> - - <p>$B$3$l$O!"(B<samp>/foo/bar</samp> $B%G%#%l%/%H%j$N(B <samp>.html</samp> - $B%U%!%$%k$O(B SSI $B$G$O$J$/(B (<a - href="mod_include.html"><samp>mod_include</samp></a> $B%b%8%e!<%k;2>H(B)$B!"(B - $BIaDL$N%U%!%$%k$H$7$F07$o$l$k$h$&$K$9$k8z2L$,$"$j$^$9!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="removetype" - name="removetype">RemoveType</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveType - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveType $B$O(B - Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveType</samp> $B%G%#%l%/%F%#%V$OM?$($i$l$?3HD%;R$N(B - MIME $B%?%$%W$N4XO"IU$1$r<h$j>C$7$^$9!#$3$l$K$h$j!"(B - $B%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k$+$i7Q>5$7$?(B - $B4XO"IU$1$r<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>RemoveType .cgi</code></dd> - </dl> - - <p>$B$3$l$O(B <code>/foo/</code> $B%G%#%l%/%H%j0J2<$N(B <code>.cgi</code> - $B%U%!%$%k$NFCJL$J07$$$r<h$j>C$7$^$9!#%U%!%$%k$O(B<a - href="core.html#defaulttype" - >$B%G%U%)%k%H%?%$%W(B</a>$B$H$7$F07$o$l$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> <code>RemoveType</code> $B%G%#%l%/%F%#%V$O(B - <code>AddType</code> $B%G%#%l%/%F%#%V$N(B<em>$B8e(B</em>$B$K=hM}$5$l$^$9$N$G!"(B - $BN>J}$,F1$8%G%#%l%/%H%j$N@_DjCf$K8=$l$?>l9g!"(B - $B8e<T$N8z2L$,BG$A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="sethandler" name="sethandler">SetHandler</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetHandler - <em>handler-name</em>|None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> SetHandler $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><code>.htaccess</code> $B$d(B <code><Directory></code> - $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B - <em>handler-name</em> $B$G;XDj$5$l$?(B<a href="../handler.html" - >$B%O%s%I%i(B</a>$B$G07$o$l$k$3$H$r6/@)$7$^$9!#Nc$($P!"3HD%;R$K4X$o$i$:!"(B - $B%G%#%l%/%H%jA4BN$,%$%a!<%8%^%C%W%U%!%$%k$H$7$F2r@O$7$FM_$7$$>l9g$K$O!"(B - $B0J2<$r$=$N%G%#%l%/%H%j$N(B <code>.htaccess</code> - $B%U%!%$%k$K5-=R$7$^$9(B:</p> -<pre> - SetHandler imap-file -</pre> - - <p>$BJL$NNc(B: URL <code>http://servername/status</code> - $B$,;XDj$5$l$?$H$-$K%5!<%P$,>uBVJs9p$r$9$k$h$&$K$7$?$$$H$-$O!"0J2<$r(B - httpd.conf $B$K5-=R$7$^$9(B: ($B>\:Y$O(B <a - href="mod_status.html">mod_status</a> $B$r;2>H!#(B) - </p> -<pre> - <Location /status> - SetHandler server-status - </Location> -</pre> - - <p>$BCM$r(B <code>None</code> $B$K$9$k$3$H$G!"(B - $B0JA0$N(B <code>SetHandler</code> $B%G%#%l%/%F%#%V$NDj5A$r>e=q$-$9$k$3$H$,(B - $B$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a href="#addhandler">AddHandler</a></p> - - <hr /> - - <h2><a id="typesconfig" name="typesconfig">TypesConfig</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt TypesConfig} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> TypesConfig - <em>filename</em><br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>TypesConfig - conf/mime.types</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime - - <p>TypesConfig $B%G%#%l%/%F%#%V$O!"(BMIME - $B%?%$%W@_Dj%U%!%$%k$N0LCV$r@_Dj$7$^$9!#(B<em>filename</em> $B$O(B - <a href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$G$9!#(B - $B$3$N%U%!%$%k$O%U%!%$%k$N3HD%;R$+$i%3%s%F%s%H%?%$%W$X$N(B - $B%G%U%)%k%H$N%^%C%T%s%0$r@_Dj$7$^$9!#(B - $B$3$N%U%!%$%k$rJQ99$9$k$3$H$O?d>)$5$l$F$$$^$;$s!#Be$o$j$K(B - <a href="#addtype">AddType</a> $B%G%#%l%/%F%#%V$r;HMQ$7$F$/$@$5$$!#(B - $B%U%!%$%k$O!"(BAddType $B%3%^%s%I$N0z?t$HF1$87A<0$N9T$G9=@.$5$l$^$9!#(B</p> - - <blockquote> - <em>MIME-type extension extension ...</em> - </blockquote> - $B3HD%;R$O>.J8;z$KJQ49$5$l$^$9!#6u9T$H%O%C%7%eJ8;z(B ('#') - $B$G;O$^$k9T$OL5;k$5$l$^$9!#(B - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en deleted file mode 100644 index 18c12e6c673..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en +++ /dev/null @@ -1,230 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_negotiation</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_negotiation</h1> - - <p>This module provides for <a - href="../content-negotiation.html">content negotiation</a>.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_negotiation.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - negotiation_module</p> - - <h2>Summary</h2> - Content negotiation, or more accurately content selection, is - the selection of the document that best matches the clients - capabilities, from one of several available documents. There - are two implementations of this. - - <ul> - <li>A type map (a file with the handler - <code>type-map</code>) which explicitly lists the files - containing the variants.</li> - - <li>A MultiViews search (enabled by the MultiViews <a - href="core.html#options">Option</a>, where the server does an - implicit filename pattern match, and choose from amongst the - results.</li> - </ul> - - <h2>Directives</h2> - - <ul> - <li><a - href="#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="#languagepriority">LanguagePriority</a></li> - </ul> - <strong>See also</strong>: <a - href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, <a - href="./mod_mime.html#addencoding">AddEncoding</a>, <a - href="./mod_mime.html#addlanguage">AddLanguage</a>, <a - href="./mod_mime.html#addtype">AddType</a>, and <a - href="core.html#options">Options</a>. - - <h2>Type maps</h2> - A type map has the same format as RFC822 mail headers. It - contains document descriptions separated by blank lines, with - lines beginning with a hash character ('#') treated as - comments. A document description consists of several header - records; records may be continued on multiple lines if the - continuation lines start with spaces. The leading space will be - deleted and the lines concatenated. A header record consists of - a keyword name, which always ends in a colon, followed by a - value. Whitespace is allowed between the header name and value, - and between the tokens of value. The headers allowed are: - - <dl> - <dt>Content-Encoding:</dt> - - <dd>The encoding of the file. Apache only recognizes - encodings that are defined by an <a - href="mod_mime.html#addencoding">AddEncoding</a> directive. - This normally includes the encodings <code>x-compress</code> - for compress'd files, and <code>x-gzip</code> for gzip'd - files. The <code>x-</code> prefix is ignored for encoding - comparisons.</dd> - - <dt>Content-Language:</dt> - - <dd>The language of the variant, as an Internet standard - language tag (RFC 1766). An example is <code>en</code>, - meaning English.</dd> - - <dt>Content-Length:</dt> - - <dd>The length of the file, in bytes. If this header is not - present, then the actual length of the file is used.</dd> - - <dt>Content-Type:</dt> - - <dd> - The MIME media type of the document, with optional - parameters. Parameters are separated from the media type - and from one another by a semi-colon, with a syntax of - <code>name=value</code>. Common parameters include: - - <dl> - <dt>level</dt> - - <dd>an integer specifying the version of the media type. - For <code>text/html</code> this defaults to 2, otherwise - 0.</dd> - - <dt>qs</dt> - - <dd>a floating-point number with a value in the range 0.0 - to 1.0, indicating the relative 'quality' of this variant - compared to the other available variants, independent of - the client's capabilities. For example, a jpeg file is - usually of higher source quality than an ascii file if it - is attempting to represent a photograph. However, if the - resource being represented is ascii art, then an ascii - file would have a higher source quality than a jpeg file. - All qs values are therefore specific to a given - resource.</dd> - </dl> - Example: - - <blockquote> - <code>Content-Type: image/jpeg; qs=0.8</code> - </blockquote> - </dd> - - <dt>URI:</dt> - - <dd>The path to the file containing this variant, relative to - the map file.</dd> - </dl> - - <h2>MultiViews</h2> - A MultiViews search is enabled by the MultiViews <a - href="core.html#options">Option</a>. If the server receives a - request for <code>/some/dir/foo</code> and - <code>/some/dir/foo</code> does <em>not</em> exist, then the - server reads the directory looking for all files named - <code>foo.*</code>, and effectively fakes up a type map which - names all those files, assigning them the same media types and - content-encodings it would have if the client had asked for one - of them by name. It then chooses the best match to the client's - requirements, and returns that document. - <hr /> - - <h2><a id="cachenegotiateddocs" - name="cachenegotiateddocs">CacheNegotiatedDocs</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> - CacheNegotiatedDocs<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_negotiation<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - CacheNegotiatedDocs is only available in Apache 1.1 and later. - - <p>If set, this directive allows content-negotiated documents - to be cached by proxy servers. This could mean that clients - behind those proxys could retrieve versions of the documents - that are not the best match for their abilities, but it will - make caching more efficient.</p> - - <p>This directive only applies to requests which come from - HTTP/1.0 browsers. HTTP/1.1 provides much better control over - the caching of negotiated documents, and this directive has no - effect in responses to HTTP/1.1 requests.</p> - <hr /> - - <h2><a id="languagepriority" - name="languagepriority">LanguagePriority</a> directive</h2> - <!--%plaintext <?INDEX {\tt LanguagePriority} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LanguagePriority - <em>MIME-lang</em> [<em>MIME-lang</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_negotiation - - <p>The LanguagePriority sets the precedence of language - variants for the case where the client does not express a - preference, when handling a MultiViews request. The list of - <em>MIME-lang</em> are in order of decreasing preference. - Example:</p> - - <blockquote> - <code>LanguagePriority en fr de</code> - </blockquote> - For a request for <code>foo.html</code>, where - <code>foo.html.fr</code> and <code>foo.html.de</code> both - existed, but the browser did not express a language preference, - then <code>foo.html.fr</code> would be returned. - - <p>Note that this directive only has an effect if a 'best' - language cannot be determined by any other means. Correctly - implemented HTTP/1.1 requests will mean this directive has no - effect.</p> - - <p><strong>See also</strong>: <a - href="./mod_mime.html#defaultlanguage">DefaultLanguage</a> and - <a href="./mod_mime.html#addlanguage">AddLanguage</a> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis deleted file mode 100644 index 5e71a2be426..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis +++ /dev/null @@ -1,228 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_negotiation</title> - - </head> - <!-- English revision: 1.18 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_negotiation $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B <a href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_negotiation.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - negotiation_module</p> - - <h2>$B35MW(B</h2> - $B%3%s%F%s%H%M%4%7%(!<%7%g%s!"$h$j@53N$K$O%3%s%F%s%D$NA*Br5!G=$O!"(B - $BJ#?tMQ0U$5$l$F$$$k%I%-%e%a%s%H$+$i!"%/%i%$%"%s%H$NG=NO$K0lHV9g$C$?(B - $B%I%-%e%a%s%H$rA*Br$9$k5!G=$G$9!#$3$N<BAu$OFs$D$"$j$^$9!#(B - - - <ul> - <li>$B%?%$%W%^%C%W(B (<code>type-map</code> - $B%O%s%I%i$G07$o$l$k%U%!%$%k(B)$B!#$3$l$O(B variants - $B$r4^$s$G$$$k%U%!%$%k$rL@<(E*$K;XDj$7$^$9!#(B</li> - - <li>MultiViews $B$NC5:w(B (MultiViews <a - href="core.html#options">$B%*%W%7%g%s(B</a> $B$G;HMQ$9$k$h$&$K$J$j$^$9(B)$B!#(B - $B%5!<%P$,0EL[$NFb$K%U%!%$%kL>$N%Q%?!<%s%^%C%A$r9T$J$$!"(B - $B$=$N7k2L$+$iA*Br$7$^$9!#(B</li> - </ul> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - - <li><a href="#languagepriority">LanguagePriority</a></li> - </ul> - <a href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, - <a href="./mod_mime.html#addencoding">AddEncoding</a>, - <a href="./mod_mime.html#addlanguage">AddLanguage</a>, - <a href="./mod_mime.html#addtype">AddType</a>, - <a href="core.html#options">Options</a> - <strong>$B$b;2>H$7$F$/$@$5$$(B</strong>$B!#(B - - <h2>$B%?%$%W%^%C%W(B</h2> - - $B%?%$%W%^%C%W$O(B RFC 822 $B$N%a!<%k%X%C%@$HF1$8=q<0$G$9!#(B - $B%I%-%e%a%s%H$N5-=R$,6u9T$GJ,N%$5$l$F=q$+$l$F$$$F!"%O%C%7%eJ8;z(B - ('#') $B$G;O$^$k9T$O%3%a%s%H$H$7$F07$o$l$^$9!#(B - $B%I%-%e%a%s%H$N@bL@$OJ#?t$N%X%C%@%l%3!<%I$+$i9=@.$5$l$^$9!#(B - $B%l%3!<%I$O!"B3$-$N9T$,6uGr$G;O$^$C$F$$$k$HJ#?t$N9T$K$^$?$,$j$^$9!#(B - $B:G=i$N6uGr$,>C5n$5$l$F!"A0$N9T$H$D$J$2$F(B 1 $B9T$H$7$F07$o$l$^$9!#(B - $B%X%C%@%l%3!<%I$O%-!<%o!<%IL>$N8e$KCM$,B3$/$H$$$&7A<0$G!"(B - $B%-!<%o!<%IL>$O>o$K%3%m%s$G=*$o$j$^$9!#6uGr$O%X%C%@L>$HCM$N4V!"(B - $BCM$N%H!<%/%s$N4V$KF~$l$k$3$H$,$G$-$^$9!#(B - $B;HMQ2DG=$J%X%C%@$O0J2<$N$H$*$j$G$9(B: - <dl> - <dt>Content-Encoding:</dt> - <dd>$B%U%!%$%k$N%(%s%3!<%G%#%s%0!#(BApache $B$O(B <a - href="mod_mime.html#addencoding">AddEncoding</a> - $B$GDj5A$5$l$?%(%s%3!<%G%#%s%0$@$1$rG'<1$7$^$9!#DL>o(B compress - $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-compress</code> $B$H(B gzip - $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-gzip</code> $B$r4^$_$^$9!#(B - $B%(%s%3!<%G%#%s%0$NHf3S$r$9$k$H$-$O!"@\F,<-(B <code>x-</code> - $B$OL5;k$5$l$^$9!#(B</dd> - - - <dt>Content-Language:</dt> - - <dd>$B%$%s%?!<%M%C%HI8=`$N8@8l%?%0(B (RFC 1766) - $B$GDj5A$5$l$F$$$k8@8l$N<oN`!#Nc$($P!"(B<code>en</code> - $B$O1Q8l$rI=$7$^$9!#(B</dd> - - <dt>Content-Length:</dt> - - <dd>$B%U%!%$%k$ND9$5(B ($B%P%$%H?t(B)$B!#(B - $B$3$N%X%C%@$,$J$$>l9g!"%U%!%$%k$N<B:]$ND9$5$,;HMQ$5$l$^$9!#(B</dd> - - <dt>Content-Type:</dt> - - <dd>$B%I%-%e%a%s%H$N(B MIME - $B%a%G%#%"%?%$%W!"%*%W%7%g%J%k$J%Q%i%a!<%?IU$-!#%Q%i%a!<%?$N9=J8$O(B - <code>name=value</code> - $B$G!"%a%G%#%"%?%$%W$dB>$N%Q%i%a!<%?$H$O%;%_%3%m%s$GJ,N%$5$l$^$9!#(B - $B6&DL$N%Q%i%a!<%?$O0J2<$N$H$*$j(B: - - <dl> - <dt>level</dt> - - <dd>$B%a%G%#%"%?%$%W$N%P!<%8%g%s$r<($9@0?t!#(B - <code>text/html</code> $B$G$O(B 2 $B$,%G%U%)%k%H$G!"$=$NB>$N>l9g$O(B - 0 $B$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>qs</dt> - - <dd>$B%/%i%$%"%s%H$NG=NO$K4X78$J$/!"(Bvariant - $B$rB>$HHf3S$7$?$H$-$NAjBPE*$J!VIJ<A!W$G!"(B0.0 $B$+$i(B 1.0 - $B$NHO0O$NIbF0E@>.?t!#(B - $BNc$($P!"<L??$rI=8=$7$h$&$H$7$F$$$k$H$-$OIaDL$O(B JPEG - $B%U%!%$%k$NJ}$,(B ASCII $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#(B - $B$7$+$7!"%j%=!<%9$,(B ASCII $B%"!<%H$GI=8=$5$l$F$$$k$H$-$O!"(BASCII - $B%U%!%$%k$NJ}$,(B JPEG - $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$3$N$h$&$K!"(Bqs - $B$O%j%=!<%9Kh$KFCM-$NCM$r<h$j$^$9!#(B - </dd> - </dl> - $BNc(B: - - <blockquote> - <code>Content-Type: image/jpeg; qs=0.8</code> - </blockquote> - </dd> - - <dt>URI:</dt> - - <dd>$B%^%C%W%U%!%$%k$+$iAjBP%Q%9$GI=$o$7$?!"(Bvariant - $B$N$"$k%U%!%$%k$X$N%Q%9(B</dd> - </dl> - - <h2>MultiViews</h2> - MultiViews $BC5:w$O!"(BMultiviews <a href="core.html#options" - >$B%*%W%7%g%s(B</a>$B$K$h$jM-8z$K$J$j$^$9!#%5!<%P$,(B <code>/some/dir/foo</code> - $B$X$N%j%/%(%9%H$r<u$1<h$j!"(B<code>/some/dir/foo</code> $B$,B8:_(B - <em>$B$7$J$$(B</em>$B>l9g!"%5!<%P$O%G%#%l%/%H%j$rFI$s$G!"(B - <code>foo.*</code> $B$K$"$F$O$^$kA4$F$N%U%!%$%k$rC5$7!"(B - $B;v<B>e$=$l$i$N%U%!%$%k$r%^%C%W$9$k%?%$%W%^%C%W$r:n$j$^$9!#(B - $B$=$N$H$-!"%a%G%#%"%?%$%W$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O!"(B - $B$=$N%U%!%$%kL>$rD>@\;XDj$7$?$H$-$HF1$8$b$N$,3d$jEv$F$i$l$^$9!#(B - $B$=$l$+$i%/%i%$%"%s%H$NMW5a$K0lHV9g$&$b$N$rA*$S!"(B - $B$=$N%I%-%e%a%s%H$rJV$7$^$9!#(B - <hr /> - - <h2><a id="cachenegotiateddocs" - name="cachenegotiateddocs">CacheNegotiatedDocs</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> CacheNegotiatedDocs<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> - mod_negotiation<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - CacheNegotiatedDocs $B$O(B Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - <p>$B$3$N%G%#%l%/%F%#%V$,@_Dj$5$l$F$$$k$H!"%3%s%F%s%H%M%4%7%(!<%7%g%s(B - $B$r$7$?7k2L$N%I%-%e%a%s%H$N%-%c%C%7%e$r5v2D$7$^$9!#(B - $B$3$l$O!"%W%m%-%7$N8e$m$K$$$k%/%i%$%"%s%H$,G=NO$K0lHV9g$C$?(B - $B%I%-%e%a%s%H$G$O$J$/!"(B - $B%-%c%C%7%e$r$h$j8z2LE*$K$9$k$b$N$rF@$k2DG=@-$,$"$k$H$$$&$3$H$G$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B HTTP/1.0 $B%V%i%&%6$+$i$N%j%/%(%9%H(B - $B$N$_$KE,MQ$5$l$^$9!#(BHTTP/1.1 $B$O!"(B - $B8r>D$5$l$?%I%-%e%a%s%H$N%-%c%C%7%e$KBP$7$F$:$C$H$h$$@)8f$,2DG=$J$N$G!"(B - $B$3$N%G%#%l%/%F%#%V$O(B HTTP/1.1 $B$N%j%/%(%9%H$K$O1F6A$7$^$;$s!#(B</p> - <hr /> - - <h2><a id="languagepriority" - name="languagepriority">LanguagePriority</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt LanguagePriority} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LanguagePriority - <em>MIME-lang</em> [<em>MIME-lang</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_negotiation - - <p>LanguagePriority $B$O!"(BMultiViews - $B%j%/%(%9%H$r07$&$H$-$K!"%/%i%$%"%s%H$,M%@h=g0L$rDs6!$7$F$$$J$$>l9g$N(B - $B8@8l$NM%@h=g0L$r@_Dj$7$^$9!#(B<em>MIME-lang</em> - $B$N%j%9%H$,M%@hEY$N9_=g$KJB$S$^$9!#(B - $BNc(B:</p> - - <blockquote> - <code>LanguagePriority en fr de</code> - </blockquote> - <code>foo.html</code> $B$,%j%/%(%9%H$5$l!"(B<code>foo.html.fr</code> - $B$H(B <code>foo.html.de</code> $B$,N>J}B8:_$7!"(B - $B%V%i%&%6$,8@8l$NM%@h=g0L$rDs6!$7$F$J$$>l9g$O(B - <code>foo.html.fr</code> $B$,JV$5$l$^$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$OB>$NJ}K!$G!V:GA1!W(B - $B$N8@8l$,7hDj$G$-$J$$$H$-$N$_8z2L$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B - HTTP/1.1 $B%j%/%(%9%H$,@5$7$/<BAu$5$l$F$$$k>l9g$K$O!"(B - $B$3$N%G%#%l%/%F%#%V$OL58z$K$J$j$^$9!#(B</p> - - <p><a href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, - <a href="./mod_mime.html#addlanguage">AddLanguage</a> - <strong>$B$b;2>H$7$F$/$@$5$$(B</strong>$B!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en deleted file mode 100644 index 9478e661e9a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en +++ /dev/null @@ -1,2103 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--%hypertext --> -<!-- mod_rewrite.html --> -<!-- Documentation for the mod_rewrite Apache module --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_rewrite</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <blockquote> - <!-- page indentation --> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - <br /> - - - <h1 align="CENTER">Module mod_rewrite<br /> - URL Rewriting Engine</h1> - - <p>This module provides a rule-based rewriting engine to - rewrite requested URLs on the fly.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_rewrite.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - rewrite_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.2 and later.</p> - <hr noshade="noshade" size="1" /> - <br /> - - - <h2>Summary</h2> - - <blockquote> - <blockquote> - <blockquote> - <em>``The great thing about mod_rewrite is it gives you - all the configurability and flexibility of Sendmail. - The downside to mod_rewrite is that it gives you all - the configurability and flexibility of Sendmail.''</em> - - - <div align="RIGHT"> - -- Brian Behlendorf<br /> - Apache Group - </div> - </blockquote> - </blockquote> - </blockquote> - - <blockquote> - <blockquote> - <blockquote> - <em>`` Despite the tons of examples and docs, - mod_rewrite is voodoo. Damned cool voodoo, but still - voodoo. ''</em> - - <div align="RIGHT"> - -- Brian Moore<br /> - bem@news.cmc.net - </div> - </blockquote> - </blockquote> - </blockquote> - Welcome to mod_rewrite, the Swiss Army Knife of URL - manipulation! - - <p>This module uses a rule-based rewriting engine (based on a - regular-expression parser) to rewrite requested URLs on the - fly. It supports an unlimited number of rules and an - unlimited number of attached rule conditions for each rule to - provide a really flexible and powerful URL manipulation - mechanism. The URL manipulations can depend on various tests, - for instance server variables, environment variables, HTTP - headers, time stamps and even external database lookups in - various formats can be used to achieve a really granular URL - matching.</p> - - <p>This module operates on the full URLs (including the - path-info part) both in per-server context - (<code>httpd.conf</code>) and per-directory context - (<code>.htaccess</code>) and can even generate query-string - parts on result. The rewritten result can lead to internal - sub-processing, external request redirection or even to an - internal proxy throughput.</p> - - <p>But all this functionality and flexibility has its - drawback: complexity. So don't expect to understand this - entire module in just one day.</p> - - <p>This module was invented and originally written in April - 1996<br /> - and gifted exclusively to the The Apache Group in July 1997 - by</p> - - <blockquote> - <a href="http://www.engelschall.com/"><code>Ralf S. - Engelschall</code></a><br /> - <a - href="mailto:rse@engelschall.com"><code>rse@engelschall.com</code></a><br /> - <a - href="http://www.engelschall.com/"><code>www.engelschall.com</code></a> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2>Table Of Contents</h2> - - <p><strong>Internal Processing</strong></p> - - <ul> - <li><a href="#InternalAPI">API Phases</a></li> - - <li><a href="#InternalRuleset">Ruleset Processing</a></li> - - <li><a href="#InternalBackRefs">Regex Back-Reference - Availability</a></li> - </ul> - - <p><strong>Configuration Directives</strong></p> - - <ul> - <li><a href="#RewriteEngine">RewriteEngine</a></li> - - <li><a href="#RewriteOptions">RewriteOptions</a></li> - - <li><a href="#RewriteLog">RewriteLog</a></li> - - <li><a href="#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="#RewriteLock">RewriteLock</a></li> - - <li><a href="#RewriteMap">RewriteMap</a></li> - - <li><a href="#RewriteBase">RewriteBase</a></li> - - <li><a href="#RewriteCond">RewriteCond</a></li> - - <li><a href="#RewriteRule">RewriteRule</a></li> - </ul> - <strong>Miscellaneous</strong> - - <ul> - <li><a href="#EnvVar">Environment Variables</a></li> - - <li><a href="#Solutions">Practical Solutions</a></li> - </ul> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Internal" name="Internal">Internal - Processing</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <p>The internal processing of this module is very complex but - needs to be explained once even to the average user to avoid - common mistakes and to let you exploit its full - functionality.</p> - - <h2><a id="InternalAPI" name="InternalAPI">API - Phases</a></h2> - - <p>First you have to understand that when Apache processes a - HTTP request it does this in phases. A hook for each of these - phases is provided by the Apache API. Mod_rewrite uses two of - these hooks: the URL-to-filename translation hook which is - used after the HTTP request has been read but before any - authorization starts and the Fixup hook which is triggered - after the authorization phases and after the per-directory - config files (<code>.htaccess</code>) have been read, but - before the content handler is activated.</p> - - <p>So, after a request comes in and Apache has determined the - corresponding server (or virtual server) the rewriting engine - starts processing of all mod_rewrite directives from the - per-server configuration in the URL-to-filename phase. A few - steps later when the final data directories are found, the - per-directory configuration directives of mod_rewrite are - triggered in the Fixup phase. In both situations mod_rewrite - rewrites URLs either to new URLs or to filenames, although - there is no obvious distinction between them. This is a usage - of the API which was not intended to be this way when the API - was designed, but as of Apache 1.x this is the only way - mod_rewrite can operate. To make this point more clear - remember the following two points:</p> - - <ol> - <li>Although mod_rewrite rewrites URLs to URLs, URLs to - filenames and even filenames to filenames, the API - currently provides only a URL-to-filename hook. In Apache - 2.0 the two missing hooks will be added to make the - processing more clear. But this point has no drawbacks for - the user, it is just a fact which should be remembered: - Apache does more in the URL-to-filename hook than the API - intends for it.</li> - - <li> - Unbelievably mod_rewrite provides URL manipulations in - per-directory context, <em>i.e.</em>, within - <code>.htaccess</code> files, although these are reached - a very long time after the URLs have been translated to - filenames. It has to be this way because - <code>.htaccess</code> files live in the filesystem, so - processing has already reached this stage. In other - words: According to the API phases at this time it is too - late for any URL manipulations. To overcome this chicken - and egg problem mod_rewrite uses a trick: When you - manipulate a URL/filename in per-directory context - mod_rewrite first rewrites the filename back to its - corresponding URL (which is usually impossible, but see - the <code>RewriteBase</code> directive below for the - trick to achieve this) and then initiates a new internal - sub-request with the new URL. This restarts processing of - the API phases. - - <p>Again mod_rewrite tries hard to make this complicated - step totally transparent to the user, but you should - remember here: While URL manipulations in per-server - context are really fast and efficient, per-directory - rewrites are slow and inefficient due to this chicken and - egg problem. But on the other hand this is the only way - mod_rewrite can provide (locally restricted) URL - manipulations to the average user.</p> - </li> - </ol> - - <p>Don't forget these two points!</p> - - <h2><a id="InternalRuleset" name="InternalRuleset">Ruleset - Processing</a></h2> - Now when mod_rewrite is triggered in these two API phases, it - reads the configured rulesets from its configuration - structure (which itself was either created on startup for - per-server context or during the directory walk of the Apache - kernel for per-directory context). Then the URL rewriting - engine is started with the contained ruleset (one or more - rules together with their conditions). The operation of the - URL rewriting engine itself is exactly the same for both - configuration contexts. Only the final result processing is - different. - - <p>The order of rules in the ruleset is important because the - rewriting engine processes them in a special (and not very - obvious) order. The rule is this: The rewriting engine loops - through the ruleset rule by rule (<code>RewriteRule</code> - directives) and when a particular rule matches it optionally - loops through existing corresponding conditions - (<code>RewriteCond</code> directives). For historical reasons - the conditions are given first, and so the control flow is a - little bit long-winded. See Figure 1 for more details.</p> - - <div align="CENTER"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig1.gif" width="428" - height="385" - alt="[Needs graphics capability to display]" /></td> - </tr> - - <tr> - <td align="CENTER"><strong>Figure 1:</strong> The - control flow through the rewriting ruleset</td> - </tr> - </table> - </div> - - <p>As you can see, first the URL is matched against the - <em>Pattern</em> of each rule. When it fails mod_rewrite - immediately stops processing this rule and continues with the - next rule. If the <em>Pattern</em> matches, mod_rewrite looks - for corresponding rule conditions. If none are present, it - just substitutes the URL with a new value which is - constructed from the string <em>Substitution</em> and goes on - with its rule-looping. But if conditions exist, it starts an - inner loop for processing them in the order that they are - listed. For conditions the logic is different: we don't match - a pattern against the current URL. Instead we first create a - string <em>TestString</em> by expanding variables, - back-references, map lookups, <em>etc.</em> and then we try - to match <em>CondPattern</em> against it. If the pattern - doesn't match, the complete set of conditions and the - corresponding rule fails. If the pattern matches, then the - next condition is processed until no more conditions are - available. If all conditions match, processing is continued - with the substitution of the URL with - <em>Substitution</em>.</p> - - <h2><a id="quoting" name="quoting">Quoting Special - Characters</a></h2> - - <p>As of Apache 1.3.20, special characters in - <i>TestString</i> and <i>Substitution</i> strings can be - escaped (that is, treated as normal characters without their - usual special meaning) by prefixing them with a slosh ('\') - character. In other words, you can include an actual - dollar-sign character in a <i>Substitution</i> string by - using '<code>\$</code>'; this keeps mod_rewrite from trying - to treat it as a backreference.</p> - - <h2><a id="InternalBackRefs" name="InternalBackRefs">Regex - Back-Reference Availability</a></h2> - One important thing here has to be remembered: Whenever you - use parentheses in <em>Pattern</em> or in one of the - <em>CondPattern</em>, back-references are internally created - which can be used with the strings <code>$N</code> and - <code>%N</code> (see below). These are available for creating - the strings <em>Substitution</em> and <em>TestString</em>. - Figure 2 shows to which locations the back-references are - transfered for expansion. - - <div align="CENTER"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig2.gif" width="381" - height="179" - alt="[Needs graphics capability to display]" /></td> - </tr> - - <tr> - <td align="CENTER"><strong>Figure 2:</strong> The - back-reference flow through a rule</td> - </tr> - </table> - </div> - - <p>We know this was a crash course on mod_rewrite's internal - processing. But you will benefit from this knowledge when - reading the following documentation of the available - directives.</p> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Configuration" - name="Configuration">Configuration Directives</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteEngine" - name="RewriteEngine">RewriteEngine</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteEngine - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>RewriteEngine - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteEngine</code> directive enables or - disables the runtime rewriting engine. If it is set to - <code>off</code> this module does no runtime processing at - all. It does not even update the <code>SCRIPT_URx</code> - environment variables.</p> - - <p>Use this directive to disable the module instead of - commenting out all the <code>RewriteRule</code> - directives!</p> - - <p>Note that, by default, rewrite configurations are not - inherited. This means that you need to have a - <code>RewriteEngine on</code> directive for each virtual host - in which you wish to use it.</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteOptions" - name="RewriteOptions">RewriteOptions</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteOptions - <em>Option</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>RewriteOptions - MaxRedirects=10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2; <code>MaxRedirects</code> is available in Apache 1.3.28 and - later<br /> - - - <p>The <code>RewriteOptions</code> directive sets some - special options for the current per-server or per-directory - configuration. The <em>Option</em> strings can be one of the - following:</p> - - <dl> - <dt><code>inherit</code></dt> - <dd>This forces the current configuration to inherit the - configuration of the parent. In per-virtual-server context - this means that the maps, conditions and rules of the main - server are inherited. In per-directory context this means - that conditions and rules of the parent directory's - <code>.htaccess</code> configuration are inherited.</dd> - - <dt><code>MaxRedirects=<var>number</var></code></dt> - <dd>In order to prevent endless loops of internal redirects - issued by per-directory <code>RewriteRule</code>s, - <code>mod_rewrite</code> aborts the request after reaching a - maximum number of such redirects and responds with an 500 Internal - Server Error. If you really need more internal redirects than 10 - per request, you may increase the default to the desired value.</dd> - </dl> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLog" name="RewriteLog">RewriteLog</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLog - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteLog</code> directive sets the name of the - file to which the server logs any rewriting actions it - performs. If the name does not begin with a slash - ('<code>/</code>') then it is assumed to be relative to the - <em>Server Root</em>. The directive should occur only once - per server config.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note</strong>: To disable the logging of - rewriting actions it is not recommended to set - <em>file-path</em> to <code>/dev/null</code>, because - although the rewriting engine does not then output to a - logfile it still creates the logfile output internally. - <strong>This will slow down the server with no advantage - to the administrator!</strong> To disable logging either - remove or comment out the <code>RewriteLog</code> - directive or use <code>RewriteLogLevel 0</code>!</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Security</strong>: See the <a - href="../misc/security_tips.html">Apache Security - Tips</a> document for details on why your security could - be compromised if the directory where logfiles are stored - is writable by anyone other than the user that starts the - server.</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -RewriteLog "/usr/local/var/apache/logs/rewrite.log" -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLogLevel" - name="RewriteLogLevel">RewriteLogLevel</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLogLevel - <em>Level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>RewriteLogLevel 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteLogLevel</code> directive sets the - verbosity level of the rewriting logfile. The default level 0 - means no logging, while 9 or more means that practically all - actions are logged.</p> - - <p>To disable the logging of rewriting actions simply set - <em>Level</em> to 0. This disables all rewrite action - logs.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> Using a high value for - <em>Level</em> will slow down your Apache server - dramatically! Use the rewriting logfile at a - <em>Level</em> greater than 2 only for debugging!</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -RewriteLogLevel 3 -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLock" - name="RewriteLock">RewriteLock</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLock - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.3<br /> - - - <p>This directive sets the filename for a synchronization - lockfile which mod_rewrite needs to communicate with - <samp>RewriteMap</samp> <em>programs</em>. Set this lockfile - to a local path (not on a NFS-mounted device) when you want - to use a rewriting map-program. It is not required for other - types of rewriting maps.</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteMap" name="RewriteMap">RewriteMap</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteMap - <em>MapName</em> <em>MapType</em>:<em>MapSource</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> not used per - default<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteMap</code> directive defines a - <em>Rewriting Map</em> which can be used inside rule - substitution strings by the mapping-functions to - insert/substitute fields through a key lookup. The source of - this lookup can be of various types.</p> - - <p>The <a id="mapfunc" name="mapfunc"><em>MapName</em></a> is - the name of the map and will be used to specify a - mapping-function for the substitution strings of a rewriting - rule via one of the following constructs:</p> - - <blockquote> - <strong><code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>}</code><br /> - <code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>|</code> <em>DefaultValue</em> - <code>}</code></strong> - </blockquote> - When such a construct occurs the map <em>MapName</em> is - consulted and the key <em>LookupKey</em> is looked-up. If the - key is found, the map-function construct is substituted by - <em>SubstValue</em>. If the key is not found then it is - substituted by <em>DefaultValue</em> or by the empty string - if no <em>DefaultValue</em> was specified. - - <p>The following combinations for <em>MapType</em> and - <em>MapSource</em> can be used:</p> - - <ul> - <li> - <strong>Standard Plain Text</strong><br /> - MapType: <code>txt</code>, MapSource: Unix filesystem - path to valid regular file - - <p>This is the standard rewriting map feature where the - <em>MapSource</em> is a plain ASCII file containing - either blank lines, comment lines (starting with a '#' - character) or pairs like the following - one per - line.</p> - - <blockquote> - <strong><em>MatchingKey</em> - <em>SubstValue</em></strong> - </blockquote> - - <p>Example:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -Ralf.S.Engelschall rse # Bastard Operator From Hell -Mr.Joe.Average joe # Mr. Average -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap real-to-user txt:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Randomized Plain Text</strong><br /> - MapType: <code>rnd</code>, MapSource: Unix filesystem - path to valid regular file - - <p>This is identical to the Standard Plain Text variant - above but with a special post-processing feature: After - looking up a value it is parsed according to contained - ``<code>|</code>'' characters which have the meaning of - ``or''. In other words they indicate a set of - alternatives from which the actual returned value is - chosen randomly. Although this sounds crazy and useless, - it was actually designed for load balancing in a reverse - proxy situation where the looked up values are server - names. Example:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -static www1|www2|www3|www4 -dynamic www5|www6 -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap servers rnd:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Hash File</strong><br /> - MapType: <code>dbm</code>, MapSource: Unix filesystem - path to valid regular file - - <p>Here the source is a binary NDBM format file - containing the same contents as a <em>Plain Text</em> - format file, but in a special representation which is - optimized for really fast lookups. You can create such a - file with any NDBM tool or with the following Perl - script:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/path/to/bin/perl -## -## txt2dbm -- convert txt map to dbm format -## - -use NDBM_File; -use Fcntl; - -($txtmap, $dbmmap) = @ARGV; - -open(TXT, "<$txtmap") or die "Couldn't open $txtmap!\n"; -tie (%DB, 'NDBM_File', $dbmmap,O_RDWR|O_TRUNC|O_CREAT, 0644) or die "Couldn't create $dbmmap!\n"; - -while (<TXT>) { - next if (/^\s*#/ or /^\s*$/); - $DB{$1} = $2 if (/^\s*(\S+)\s+(\S+)/); -} - -untie %DB; -close(TXT); -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -$ txt2dbm map.txt map.db -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Internal Function</strong><br /> - MapType: <code>int</code>, MapSource: Internal Apache - function - - <p>Here the source is an internal Apache function. - Currently you cannot create your own, but the following - functions already exists:</p> - - <ul> - <li><strong>toupper</strong>:<br /> - Converts the looked up key to all upper case.</li> - - <li><strong>tolower</strong>:<br /> - Converts the looked up key to all lower case.</li> - - <li><strong>escape</strong>:<br /> - Translates special characters in the looked up key to - hex-encodings.</li> - - <li><strong>unescape</strong>:<br /> - Translates hex-encodings in the looked up key back to - special characters.</li> - </ul> - </li> - - <li> - <strong>External Rewriting Program</strong><br /> - MapType: <code>prg</code>, MapSource: Unix filesystem - path to valid regular file - - <p>Here the source is a program, not a map file. To - create it you can use the language of your choice, but - the result has to be a executable (<em>i.e.</em>, either - object-code or a script with the magic cookie trick - '<code>#!/path/to/interpreter</code>' as the first - line).</p> - - <p>This program is started once at startup of the Apache - servers and then communicates with the rewriting engine - over its <code>stdin</code> and <code>stdout</code> - file-handles. For each map-function lookup it will - receive the key to lookup as a newline-terminated string - on <code>stdin</code>. It then has to give back the - looked-up value as a newline-terminated string on - <code>stdout</code> or the four-character string - ``<code>NULL</code>'' if it fails (<em>i.e.</em>, there - is no corresponding value for the given key). A trivial - program which will implement a 1:1 map (<em>i.e.</em>, - key == value) could be:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/usr/bin/perl -$| = 1; -while (<STDIN>) { - # ...put here any transformations or lookups... - print $_; -} -</pre> - </td> - </tr> - </table> - - <p>But be very careful:<br /> - </p> - - <ol> - <li>``<em>Keep it simple, stupid</em>'' (KISS), because - if this program hangs it will hang the Apache server - when the rule occurs.</li> - - <li>Avoid one common mistake: never do buffered I/O on - <code>stdout</code>! This will cause a deadloop! Hence - the ``<code>$|=1</code>'' in the above example...</li> - - <li>Use the <samp>RewriteLock</samp> directive to - define a lockfile mod_rewrite can use to synchronize - the communication to the program. By default no such - synchronization takes place.</li> - </ol> - </li> - </ul> - The <code>RewriteMap</code> directive can occur more than - once. For each mapping-function use one - <code>RewriteMap</code> directive to declare its rewriting - mapfile. While you cannot <strong>declare</strong> a map in - per-directory context it is of course possible to - <strong>use</strong> this map in per-directory context. - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note:</strong> For plain text and DBM format - files the looked-up keys are cached in-core until the - <code>mtime</code> of the mapfile changes or the server - does a restart. This way you can have map-functions in - rules which are used for <strong>every</strong> request. - This is no problem, because the external lookup only - happens once!</td> - </tr> - </table> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteBase" - name="RewriteBase">RewriteBase</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteBase - <em>URL-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>default is the - physical directory path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteBase</code> directive explicitly sets the - base URL for per-directory rewrites. As you will see below, - <code>RewriteRule</code> can be used in per-directory config - files (<code>.htaccess</code>). There it will act locally, - <em>i.e.</em>, the local directory prefix is stripped at this - stage of processing and your rewriting rules act only on the - remainder. At the end it is automatically added back to the - path.</p> - - <p>When a substitution occurs for a new URL, this module has - to re-inject the URL into the server processing. To be able - to do this it needs to know what the corresponding URL-prefix - or URL-base is. By default this prefix is the corresponding - filepath itself. <strong>But at most websites URLs are NOT - directly related to physical filename paths, so this - assumption will usually be wrong!</strong> There you have to - use the <code>RewriteBase</code> directive to specify the - correct URL-prefix.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> If your webserver's URLs are - <strong>not</strong> directly related to physical file - paths, you have to use <code>RewriteBase</code> in every - <code>.htaccess</code> files where you want to use - <code>RewriteRule</code> directives.</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> - Assume the following per-directory config file: - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -# -# /abc/def/.htaccess -- per-dir config file for directory /abc/def -# Remember: /abc/def is the physical path of /xyz, <em>i.e.</em>, the server -# has a 'Alias /xyz /abc/def' directive <em>e.g.</em> -# - -RewriteEngine On - -# let the server know that we were reached via /xyz and not -# via the physical path prefix /abc/def -RewriteBase /xyz - -# now the rewriting rules -RewriteRule ^oldstuff\.html$ newstuff.html -</pre> - </td> - </tr> - </table> - - <p>In the above example, a request to - <code>/xyz/oldstuff.html</code> gets correctly rewritten to - the physical file <code>/abc/def/newstuff.html</code>.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <font size="-1"><strong>Note - For Apache - hackers:</strong><br /> - The following list gives detailed information about - the internal processing steps:</font> -<pre> -<font size="-1">Request: - /xyz/oldstuff.html - -Internal Processing: - /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias) - /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule) - /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase) - /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias) - -Result: - /abc/def/newstuff.html -</font> -</pre> - <font size="-1">This seems very complicated but is - the correct Apache internal processing, because the - per-directory rewriting comes too late in the - process. So, when it occurs the (rewritten) request - has to be re-injected into the Apache kernel! BUT: - While this seems like a serious overhead, it really - isn't, because this re-injection happens fully - internally to the Apache server and the same - procedure is used by many other operations inside - Apache. So, you can be sure the design and - implementation is correct.</font> - </td> - </tr> - </table> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteCond" - name="RewriteCond">RewriteCond</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteCond - <em>TestString</em> <em>CondPattern</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteCond</code> directive defines a rule - condition. Precede a <code>RewriteRule</code> directive with - one or more <code>RewriteCond</code> directives. The - following rewriting rule is only used if its pattern matches - the current state of the URI <strong>and</strong> if these - additional conditions apply too.</p> - - <p><em>TestString</em> is a string which can contains the - following expanded constructs in addition to plain text:</p> - - <ul> - <li> - <strong>RewriteRule backreferences</strong>: These are - backreferences of the form - - <blockquote> - <strong><code>$N</code></strong> - </blockquote> - (0 <= N <= 9) which provide access to the grouped - parts (parenthesis!) of the pattern from the - corresponding <code>RewriteRule</code> directive (the one - following the current bunch of <code>RewriteCond</code> - directives). - </li> - - <li> - <strong>RewriteCond backreferences</strong>: These are - backreferences of the form - - <blockquote> - <strong><code>%N</code></strong> - </blockquote> - (1 <= N <= 9) which provide access to the grouped - parts (parentheses!) of the pattern from the last matched - <code>RewriteCond</code> directive in the current bunch - of conditions. - </li> - - <li> - <strong>RewriteMap expansions</strong>: These are - expansions of the form - - <blockquote> - <strong><code>${mapname:key|default}</code></strong> - </blockquote> - See <a href="#mapfunc">the documentation for - RewriteMap</a> for more details. - </li> - - <li> - <strong>Server-Variables</strong>: These are variables of - the form - - <blockquote> - <strong><code>%{</code> <em>NAME_OF_VARIABLE</em> - <code>}</code></strong> - </blockquote> - where <em>NAME_OF_VARIABLE</em> can be a string taken - from the following list: - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="TOP"> - <strong>HTTP headers:</strong> - - <p><font size="-1">HTTP_USER_AGENT<br /> - HTTP_REFERER<br /> - HTTP_COOKIE<br /> - HTTP_FORWARDED<br /> - HTTP_HOST<br /> - HTTP_PROXY_CONNECTION<br /> - HTTP_ACCEPT<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>connection & request:</strong> - - <p><font size="-1">REMOTE_ADDR<br /> - REMOTE_HOST<br /> - REMOTE_USER<br /> - REMOTE_IDENT<br /> - REQUEST_METHOD<br /> - SCRIPT_FILENAME<br /> - PATH_INFO<br /> - QUERY_STRING<br /> - AUTH_TYPE<br /> - </font></p> - </td> - </tr> - - <tr> - <td valign="TOP"> - <strong>server internals:</strong> - - <p><font size="-1">DOCUMENT_ROOT<br /> - SERVER_ADMIN<br /> - SERVER_NAME<br /> - SERVER_ADDR<br /> - SERVER_PORT<br /> - SERVER_PROTOCOL<br /> - SERVER_SOFTWARE<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>system stuff:</strong> - - <p><font size="-1">TIME_YEAR<br /> - TIME_MON<br /> - TIME_DAY<br /> - TIME_HOUR<br /> - TIME_MIN<br /> - TIME_SEC<br /> - TIME_WDAY<br /> - TIME<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>specials:</strong> - - <p><font size="-1">API_VERSION<br /> - THE_REQUEST<br /> - REQUEST_URI<br /> - REQUEST_FILENAME<br /> - IS_SUBREQ<br /> - </font></p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <p><strong>Notice:</strong> These variables all - correspond to the similarly named HTTP - MIME-headers, C variables of the Apache server or - <code>struct tm</code> fields of the Unix system. - Most are documented elsewhere in the Manual or in - the CGI specification. Those that are special to - mod_rewrite include:</p> - - <dl> - <dt><code>IS_SUBREQ</code></dt> - - <dd>Will contain the text "true" if the request - currently being processed is a sub-request, - "false" otherwise. Sub-requests may be generated - by modules that need to resolve additional files - or URIs in order to complete their tasks.</dd> - - <dt><code>API_VERSION</code></dt> - - <dd>This is the version of the Apache module API - (the internal interface between server and - module) in the current httpd build, as defined in - include/ap_mmn.h. The module API version - corresponds to the version of Apache in use (in - the release version of Apache 1.3.14, for - instance, it is 19990320:10), but is mainly of - interest to module authors.</dd> - - <dt><code>THE_REQUEST</code></dt> - - <dd>The full HTTP request line sent by the - browser to the server (e.g., "<code>GET - /index.html HTTP/1.1</code>"). This does not - include any additional headers sent by the - browser.</dd> - - <dt><code>REQUEST_URI</code></dt> - - <dd>The resource requested in the HTTP request - line. (In the example above, this would be - "/index.html".)</dd> - - <dt><code>REQUEST_FILENAME</code></dt> - - <dd>The full local filesystem path to the file or - script matching the request.</dd> - </dl> - </td> - </tr> - </table> - </li> - </ul> - - <p>Special Notes:</p> - - <ol> - <li>The variables SCRIPT_FILENAME and REQUEST_FILENAME - contain the same value, <em>i.e.</em>, the value of the - <code>filename</code> field of the internal - <code>request_rec</code> structure of the Apache server. - The first name is just the commonly known CGI variable name - while the second is the consistent counterpart to - REQUEST_URI (which contains the value of the - <code>uri</code> field of <code>request_rec</code>).</li> - - <li>There is the special format: - <code>%{ENV:variable}</code> where <em>variable</em> can be - any environment variable. This is looked-up via internal - Apache structures and (if not found there) via - <code>getenv()</code> from the Apache server process.</li> - - <li>There is the special format: - <code>%{HTTP:header}</code> where <em>header</em> can be - any HTTP MIME-header name. This is looked-up from the HTTP - request. Example: <code>%{HTTP:Proxy-Connection}</code> is - the value of the HTTP header - ``<code>Proxy-Connection:</code>''.</li> - - <li>There is the special format - <code>%{LA-U:variable}</code> for look-aheads which perform - an internal (URL-based) sub-request to determine the final - value of <em>variable</em>. Use this when you want to use a - variable for rewriting which is actually set later in an - API phase and thus is not available at the current stage. - For instance when you want to rewrite according to the - <code>REMOTE_USER</code> variable from within the - per-server context (<code>httpd.conf</code> file) you have - to use <code>%{LA-U:REMOTE_USER}</code> because this - variable is set by the authorization phases which come - <em>after</em> the URL translation phase where mod_rewrite - operates. On the other hand, because mod_rewrite implements - its per-directory context (<code>.htaccess</code> file) via - the Fixup phase of the API and because the authorization - phases come <em>before</em> this phase, you just can use - <code>%{REMOTE_USER}</code> there.</li> - - <li>There is the special format: - <code>%{LA-F:variable}</code> which performs an internal - (filename-based) sub-request to determine the final value - of <em>variable</em>. Most of the time this is the same as - LA-U above.</li> - </ol> - - <p><em>CondPattern</em> is the condition pattern, - <em>i.e.</em>, a regular expression which is applied to the - current instance of the <em>TestString</em>, <em>i.e.</em>, - <em>TestString</em> is evaluated and then matched against - <em>CondPattern</em>.</p> - - <p><strong>Remember:</strong> <em>CondPattern</em> is a - standard <em>Extended Regular Expression</em> with some - additions:</p> - - <ol> - <li>You can prefix the pattern string with a - '<code>!</code>' character (exclamation mark) to specify a - <strong>non</strong>-matching pattern.</li> - - <li> - There are some special variants of <em>CondPatterns</em>. - Instead of real regular expression strings you can also - use one of the following: - - <ul> - <li>'<strong><CondPattern</strong>' (is lexically - lower)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically lower than - <em>CondPattern</em>.</li> - - <li>'<strong>>CondPattern</strong>' (is lexically - greater)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically greater than - <em>CondPattern</em>.</li> - - <li>'<strong>=CondPattern</strong>' (is lexically - equal)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically equal to - <em>CondPattern</em>, i.e the two strings are exactly - equal (character by character). If <em>CondPattern</em> - is just <samp>""</samp> (two quotation marks) this - compares <em>TestString</em> to the empty string.</li> - - <li>'<strong>-d</strong>' (is - <strong>d</strong>irectory)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a directory.</li> - - <li>'<strong>-f</strong>' (is regular - <strong>f</strong>ile)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a regular file.</li> - - <li>'<strong>-s</strong>' (is regular file with - <strong>s</strong>ize)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a regular file with size greater - than zero.</li> - - <li>'<strong>-l</strong>' (is symbolic - <strong>l</strong>ink)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a symbolic link.</li> - - <li>'<strong>-F</strong>' (is existing file via - subrequest)<br /> - Checks if <em>TestString</em> is a valid file and - accessible via all the server's currently-configured - access controls for that path. This uses an internal - subrequest to determine the check, so use it with care - because it decreases your servers performance!</li> - - <li>'<strong>-U</strong>' (is existing URL via - subrequest)<br /> - Checks if <em>TestString</em> is a valid URL and - accessible via all the server's currently-configured - access controls for that path. This uses an internal - subrequest to determine the check, so use it with care - because it decreases your server's performance!</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> All of these tests can - also be prefixed by an exclamation mark ('!') to - negate their meaning.</td> - </tr> - </table> - </li> - </ol> - - <p>Additionally you can set special flags for - <em>CondPattern</em> by appending</p> - - <blockquote> - <strong><code>[</code><em>flags</em><code>]</code></strong> - </blockquote> - as the third argument to the <code>RewriteCond</code> - directive. <em>Flags</em> is a comma-separated list of the - following flags: - - <ul> - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - This makes the test case-insensitive, <em>i.e.</em>, there - is no difference between 'A-Z' and 'a-z' both in the - expanded <em>TestString</em> and the <em>CondPattern</em>. - This flag is effective only for comparisons between - <em>TestString</em> and <em>CondPattern</em>. It has no - effect on filesystem and subrequest checks.</li> - - <li> - '<strong><code>ornext|OR</code></strong>' - (<strong>or</strong> next condition)<br /> - Use this to combine rule conditions with a local OR - instead of the implicit AND. Typical example: - - <blockquote> -<pre> -RewriteCond %{REMOTE_HOST} ^host1.* [OR] -RewriteCond %{REMOTE_HOST} ^host2.* [OR] -RewriteCond %{REMOTE_HOST} ^host3.* -RewriteRule ...some special stuff for any of these hosts... -</pre> - </blockquote> - Without this flag you would have to write the cond/rule - three times. - </li> - </ul> - - <p><strong>Example:</strong></p> - - <blockquote> - To rewrite the Homepage of a site according to the - ``<code>User-Agent:</code>'' header of the request, you can - use the following: - - <blockquote> -<pre> -RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* -RewriteRule ^/$ /homepage.max.html [L] - -RewriteCond %{HTTP_USER_AGENT} ^Lynx.* -RewriteRule ^/$ /homepage.min.html [L] - -RewriteRule ^/$ /homepage.std.html [L] -</pre> - </blockquote> - Interpretation: If you use Netscape Navigator as your - browser (which identifies itself as 'Mozilla'), then you - get the max homepage, which includes Frames, <em>etc.</em> - If you use the Lynx browser (which is Terminal-based), then - you get the min homepage, which contains no images, no - tables, <em>etc.</em> If you use any other browser you get - the standard homepage. - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteRule" - name="RewriteRule">RewriteRule</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteRule - <em>Pattern</em> <em>Substitution</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteRule</code> directive is the real - rewriting workhorse. The directive can occur more than once. - Each directive then defines one single rewriting rule. The - <strong>definition order</strong> of these rules is - <strong>important</strong>, because this order is used when - applying the rules at run-time.</p> - - <p><a id="patterns" name="patterns"><em>Pattern</em></a> can - be (for Apache 1.1.x a System V8 and for Apache 1.2.x and - later a POSIX) <a id="regexp" name="regexp">regular - expression</a> which gets applied to the current URL. Here - ``current'' means the value of the URL when this rule gets - applied. This may not be the originally requested URL, - because any number of rules may already - have matched and made alterations to it.</p> - - <p>Some hints about the syntax of regular expressions:</p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="TOP"> -<pre> -<strong>Text:</strong> - <strong><code>.</code></strong> Any single character - <strong><code>[</code></strong>chars<strong><code>]</code></strong> Character class: One of chars - <strong><code>[^</code></strong>chars<strong><code>]</code></strong> Character class: None of chars - text1<strong><code>|</code></strong>text2 Alternative: text1 or text2 - -<strong>Quantifiers:</strong> - <strong><code>?</code></strong> 0 or 1 of the preceding text - <strong><code>*</code></strong> 0 or N of the preceding text (N > 0) - <strong><code>+</code></strong> 1 or N of the preceding text (N > 1) - -<strong>Grouping:</strong> - <strong><code>(</code></strong>text<strong><code>)</code></strong> Grouping of text - (either to set the borders of an alternative or - for making backreferences where the <strong>N</strong>th group can - be used on the RHS of a RewriteRule with <code>$</code><strong>N</strong>) - -<strong>Anchors:</strong> - <strong><code>^</code></strong> Start of line anchor - <strong><code>$</code></strong> End of line anchor - -<strong>Escaping:</strong> - <strong><code>\</code></strong>char escape that particular char - (for instance to specify the chars "<code>.[]()</code>" <em>etc.</em>) -</pre> - </td> - </tr> - </table> - - <p>For more information about regular expressions either have - a look at your local regex(3) manpage or its - <code>src/regex/regex.3</code> copy in the Apache 1.3 - distribution. If you are interested in more detailed - information about regular expressions and their variants - (POSIX regex, Perl regex, <em>etc.</em>) have a look at the - following dedicated book on this topic:</p> - - <blockquote> - <em>Mastering Regular Expressions</em><br /> - Jeffrey E.F. Friedl<br /> - Nutshell Handbook Series<br /> - O'Reilly & Associates, Inc. 1997<br /> - ISBN 1-56592-257-3<br /> - </blockquote> - - <p>Additionally in mod_rewrite the NOT character - ('<code>!</code>') is a possible pattern prefix. This gives - you the ability to negate a pattern; to say, for instance: - ``<em>if the current URL does <strong>NOT</strong> match this - pattern</em>''. This can be used for exceptional cases, where - it is easier to match the negative pattern, or as a last - default rule.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> When using the NOT character - to negate a pattern you cannot have grouped wildcard - parts in the pattern. This is impossible because when the - pattern does NOT match, there are no contents for the - groups. In consequence, if negated patterns are used, you - cannot use <code>$N</code> in the substitution - string!</td> - </tr> - </table> - - <p><a id="rhs" name="rhs"><em>Substitution</em></a> of a - rewriting rule is the string which is substituted for (or - replaces) the original URL for which <em>Pattern</em> - matched. Beside plain text you can use</p> - - <ol> - <li>back-references <code>$N</code> to the RewriteRule - pattern</li> - - <li>back-references <code>%N</code> to the last matched - RewriteCond pattern</li> - - <li>server-variables as in rule condition test-strings - (<code>%{VARNAME}</code>)</li> - - <li><a href="#mapfunc">mapping-function</a> calls - (<code>${mapname:key|default}</code>)</li> - </ol> - Back-references are <code>$</code><strong>N</strong> - (<strong>N</strong>=0..9) identifiers which will be replaced - by the contents of the <strong>N</strong>th group of the - matched <em>Pattern</em>. The server-variables are the same - as for the <em>TestString</em> of a <code>RewriteCond</code> - directive. The mapping-functions come from the - <code>RewriteMap</code> directive and are explained there. - These three types of variables are expanded in the order of - the above list. - - <p>As already mentioned above, all the rewriting rules are - applied to the <em>Substitution</em> (in the order of - definition in the config file). The URL is <strong>completely - replaced</strong> by the <em>Substitution</em> and the - rewriting process goes on until there are no more rules - unless explicitly terminated by a - <code><strong>L</strong></code> flag - see below.</p> - - <p>There is a special substitution string named - '<code>-</code>' which means: <strong>NO - substitution</strong>! Sounds silly? No, it is useful to - provide rewriting rules which <strong>only</strong> match - some URLs but do no substitution, <em>e.g.</em>, in - conjunction with the <strong>C</strong> (chain) flag to be - able to have more than one pattern to be applied before a - substitution occurs.</p> - - <p>One more note: You can even create URLs in the - substitution string containing a query string part. Just use - a question mark inside the substitution string to indicate - that the following stuff should be re-injected into the - QUERY_STRING. When you want to erase an existing query - string, end the substitution string with just the question - mark.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note</strong>: There is a special feature: - When you prefix a substitution field with - <code>http://</code><em>thishost</em>[<em>:thisport</em>] - then <strong>mod_rewrite</strong> automatically strips it - out. This auto-reduction on implicit external redirect - URLs is a useful and important feature when used in - combination with a mapping-function which generates the - hostname part. Have a look at the first example in the - example section below to understand this.</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Remember:</strong> An unconditional external - redirect to your own server will not work with the prefix - <code>http://thishost</code> because of this feature. To - achieve such a self-redirect, you have to use the - <strong>R</strong>-flag (see below).</td> - </tr> - </table> - - <p>Additionally you can set special flags for - <em>Substitution</em> by appending</p> - - <blockquote> - <strong><code>[</code><em>flags</em><code>]</code></strong> - </blockquote> - as the third argument to the <code>RewriteRule</code> - directive. <em>Flags</em> is a comma-separated list of the - following flags: - - <ul> - <li> - '<strong><code>redirect|R</code> - [=<em>code</em>]</strong>' (force <a id="redirect" - name="redirect"><strong>r</strong>edirect</a>)<br /> - Prefix <em>Substitution</em> with - <code>http://thishost[:thisport]/</code> (which makes the - new URL a URI) to force a external redirection. If no - <em>code</em> is given a HTTP response of 302 (MOVED - TEMPORARILY) is used. If you want to use other response - codes in the range 300-400 just specify them as a number - or use one of the following symbolic names: - <code>temp</code> (default), <code>permanent</code>, - <code>seeother</code>. Use it for rules which should - canonicalize the URL and give it back to the client, - <em>e.g.</em>, translate ``<code>/~</code>'' into - ``<code>/u/</code>'' or always append a slash to - <code>/u/</code><em>user</em>, etc.<br /> - - - <p><strong>Note:</strong> When you use this flag, make - sure that the substitution field is a valid URL! If not, - you are redirecting to an invalid location! And remember - that this flag itself only prefixes the URL with - <code>http://thishost[:thisport]/</code>, rewriting - continues. Usually you also want to stop and do the - redirection immediately. To stop the rewriting you also - have to provide the 'L' flag.</p> - </li> - - <li>'<strong><code>forbidden|F</code></strong>' (force URL - to be <strong>f</strong>orbidden)<br /> - This forces the current URL to be forbidden, - <em>i.e.</em>, it immediately sends back a HTTP response of - 403 (FORBIDDEN). Use this flag in conjunction with - appropriate RewriteConds to conditionally block some - URLs.</li> - - <li>'<strong><code>gone|G</code></strong>' (force URL to be - <strong>g</strong>one)<br /> - This forces the current URL to be gone, <em>i.e.</em>, it - immediately sends back a HTTP response of 410 (GONE). Use - this flag to mark pages which no longer exist as gone.</li> - - <li> - '<strong><code>proxy|P</code></strong>' (force - <strong>p</strong>roxy)<br /> - This flag forces the substitution part to be internally - forced as a proxy request and immediately (<em>i.e.</em>, - rewriting rule processing stops here) put through the <a - href="mod_proxy.html">proxy module</a>. You have to make - sure that the substitution string is a valid URI - (<em>e.g.</em>, typically starting with - <code>http://</code><em>hostname</em>) which can be - handled by the Apache proxy module. If not you get an - error from the proxy module. Use this flag to achieve a - more powerful implementation of the <a - href="mod_proxy.html#proxypass">ProxyPass</a> directive, - to map some remote stuff into the namespace of the local - server. - - <p>Notice: To use this functionality make sure you have - the proxy module compiled into your Apache server - program. If you don't know please check whether - <code>mod_proxy.c</code> is part of the ``<code>httpd - -l</code>'' output. If yes, this functionality is - available to mod_rewrite. If not, then you first have to - rebuild the ``<code>httpd</code>'' program with mod_proxy - enabled.</p> - </li> - - <li>'<strong><code>last|L</code></strong>' - (<strong>l</strong>ast rule)<br /> - Stop the rewriting process here and don't apply any more - rewriting rules. This corresponds to the Perl - <code>last</code> command or the <code>break</code> command - from the C language. Use this flag to prevent the currently - rewritten URL from being rewritten further by following - rules. For example, use it to rewrite the root-path URL - ('<code>/</code>') to a real one, <em>e.g.</em>, - '<code>/e/www/</code>'.</li> - - <li>'<strong><code>next|N</code></strong>' - (<strong>n</strong>ext round)<br /> - Re-run the rewriting process (starting again with the - first rewriting rule). Here the URL to match is again not - the original URL but the URL from the last rewriting rule. - This corresponds to the Perl <code>next</code> command or - the <code>continue</code> command from the C language. Use - this flag to restart the rewriting process, <em>i.e.</em>, - to immediately go to the top of the loop.<br /> - <strong>But be careful not to create an infinite - loop!</strong></li> - - <li>'<strong><code>chain|C</code></strong>' - (<strong>c</strong>hained with next rule)<br /> - This flag chains the current rule with the next rule - (which itself can be chained with the following rule, - <em>etc.</em>). This has the following effect: if a rule - matches, then processing continues as usual, <em>i.e.</em>, - the flag has no effect. If the rule does - <strong>not</strong> match, then all following chained - rules are skipped. For instance, use it to remove the - ``<code>.www</code>'' part inside a per-directory rule set - when you let an external redirect happen (where the - ``<code>.www</code>'' part should not to occur!).</li> - - <li> - '<strong><code>type|T</code></strong>=<em>MIME-type</em>' - (force MIME <strong>t</strong>ype)<br /> - Force the MIME-type of the target file to be - <em>MIME-type</em>. For instance, this can be used to - simulate the <code>mod_alias</code> directive - <code>ScriptAlias</code> which internally forces all files - inside the mapped directory to have a MIME type of - ``<code>application/x-httpd-cgi</code>''.</li> - - <li> - '<strong><code>nosubreq|NS</code></strong>' (used only if - <strong>n</strong>o internal - <strong>s</strong>ub-request)<br /> - This flag forces the rewriting engine to skip a - rewriting rule if the current request is an internal - sub-request. For instance, sub-requests occur internally - in Apache when <code>mod_include</code> tries to find out - information about possible directory default files - (<code>index.xxx</code>). On sub-requests it is not - always useful and even sometimes causes a failure to if - the complete set of rules are applied. Use this flag to - exclude some rules.<br /> - - - <p>Use the following rule for your decision: whenever you - prefix some URLs with CGI-scripts to force them to be - processed by the CGI-script, the chance is high that you - will run into problems (or even overhead) on - sub-requests. In these cases, use this flag.</p> - </li> - - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - This makes the <em>Pattern</em> case-insensitive, - <em>i.e.</em>, there is no difference between 'A-Z' and - 'a-z' when <em>Pattern</em> is matched against the current - URL.</li> - - <li>'<strong><code>qsappend|QSA</code></strong>' - (<strong>q</strong>uery <strong>s</strong>tring - <strong>a</strong>ppend)<br /> - This flag forces the rewriting engine to append a query - string part in the substitution string to the existing one - instead of replacing it. Use this when you want to add more - data to the query string via a rewrite rule.</li> - - <li> - '<strong><code>noescape|NE</code></strong>' - (<strong>n</strong>o URI <strong>e</strong>scaping of - output)<br /> - This flag keeps mod_rewrite from applying the usual URI - escaping rules to the result of a rewrite. Ordinarily, - special characters (such as '%', '$', ';', and so on) - will be escaped into their hexcode equivalents ('%25', - '%24', and '%3B', respectively); this flag prevents this - from being done. This allows percent symbols to appear in - the output, as in -<pre> - RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] - -</pre> - which would turn '<code>/foo/zed</code>' into a safe - request for '<code>/bar?arg=P1=zed</code>'. - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> The - <code>noescape</code> flag is only available with - Apache 1.3.20 and later versions.</td> - </tr> - </table> - </li> - - <li> - '<strong><code>passthrough|PT</code></strong>' - (<strong>p</strong>ass <strong>t</strong>hrough to next - handler)<br /> - This flag forces the rewriting engine to set the - <code>uri</code> field of the internal - <code>request_rec</code> structure to the value of the - <code>filename</code> field. This flag is just a hack to - be able to post-process the output of - <code>RewriteRule</code> directives by - <code>Alias</code>, <code>ScriptAlias</code>, - <code>Redirect</code>, <em>etc.</em> directives from - other URI-to-filename translators. A trivial example to - show the semantics: If you want to rewrite - <code>/abc</code> to <code>/def</code> via the rewriting - engine of <code>mod_rewrite</code> and then - <code>/def</code> to <code>/ghi</code> with - <code>mod_alias</code>: -<pre> - RewriteRule ^/abc(.*) /def$1 [PT] - Alias /def /ghi - -</pre> - If you omit the <code>PT</code> flag then - <code>mod_rewrite</code> will do its job fine, - <em>i.e.</em>, it rewrites <code>uri=/abc/...</code> to - <code>filename=/def/...</code> as a full API-compliant - URI-to-filename translator should do. Then - <code>mod_alias</code> comes and tries to do a - URI-to-filename transition which will not work. - - <p>Note: <strong>You have to use this flag if you want to - intermix directives of different modules which contain - URL-to-filename translators</strong>. The typical example - is the use of <code>mod_alias</code> and - <code>mod_rewrite</code>..</p> - </li> - - <li>'<strong><code>skip|S</code></strong>=<em>num</em>' - (<strong>s</strong>kip next rule(s))<br /> - This flag forces the rewriting engine to skip the next - <em>num</em> rules in sequence when the current rule - matches. Use this to make pseudo if-then-else constructs: - The last rule of the then-clause becomes - <code>skip=N</code> where N is the number of rules in the - else-clause. (This is <strong>not</strong> the same as the - 'chain|C' flag!)</li> - - <li> - '<strong><code>env|E=</code></strong><em>VAR</em>:<em>VAL</em>' - (set <strong>e</strong>nvironment variable)<br /> - This forces an environment variable named <em>VAR</em> to - be set to the value <em>VAL</em>, where <em>VAL</em> can - contain regexp backreferences <code>$N</code> and - <code>%N</code> which will be expanded. You can use this - flag more than once to set more than one variable. The - variables can be later dereferenced in many situations, but - usually from within XSSI (via <code><!--#echo - var="VAR"--></code>) or CGI (<em>e.g.</em> - <code>$ENV{'VAR'}</code>). Additionally you can dereference - it in a following RewriteCond pattern via - <code>%{ENV:VAR}</code>. Use this to strip but remember - information from URLs.</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <strong>Note:</strong> Never forget that - <em>Pattern</em> is applied to a complete URL in - per-server configuration files. <strong>But in - per-directory configuration files, the per-directory - prefix (which always is the same for a specific - directory!) is automatically <em>removed</em> for the - pattern matching and automatically <em>added</em> after - the substitution has been done.</strong> This feature - is essential for many sorts of rewriting, because - without this prefix stripping you have to match the - parent directory which is not always possible. - - <p>There is one exception: If a substitution string - starts with ``<code>http://</code>'' then the directory - prefix will <strong>not</strong> be added and an - external redirect or proxy throughput (if flag - <strong>P</strong> is used!) is forced!</p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note:</strong> To enable the rewriting engine - for per-directory configuration files you need to set - ``<code>RewriteEngine On</code>'' in these files - <strong>and</strong> ``<code>Options - FollowSymLinks</code>'' must be enabled. If your - administrator has disabled override of - <code>FollowSymLinks</code> for a user's directory, then - you cannot use the rewriting engine. This restriction is - needed for security reasons.</td> - </tr> - </table> - - <p>Here are all possible substitution combinations and their - meanings:</p> - - <p><strong>Inside per-server configuration - (<code>httpd.conf</code>)<br /> - for request ``<code>GET - /somepath/pathinfo</code>'':</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>Given Rule</strong> <strong>Resulting Substitution</strong> ----------------------------------------------- ---------------------------------- -^/somepath(.*) otherpath$1 not supported, because invalid! - -^/somepath(.*) otherpath$1 [R] not supported, because invalid! - -^/somepath(.*) otherpath$1 [P] not supported, because invalid! ----------------------------------------------- ---------------------------------- -^/somepath(.*) /otherpath$1 /otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^/somepath(.*) /otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^/somepath(.*) http://thishost/otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://otherhost/otherpath$1 http://otherhost/otherpath/pathinfo - via external redirection - -^/somepath(.*) http://otherhost/otherpath$1 [R] http://otherhost/otherpath/pathinfo - via external redirection - (the [R] flag is redundant) - -^/somepath(.*) http://otherhost/otherpath$1 [P] http://otherhost/otherpath/pathinfo - via internal proxy -</pre> - </td> - </tr> - </table> - - <p><strong>Inside per-directory configuration for - <code>/somepath</code><br /> - (<em>i.e.</em>, file <code>.htaccess</code> in dir - <code>/physical/path/to/somepath</code> containing - <code>RewriteBase /somepath</code>)<br /> - for request ``<code>GET - /somepath/localpath/pathinfo</code>'':</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>Given Rule</strong> <strong>Resulting Substitution</strong> ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] http://thishost/somepath/otherpath/pathinfo - via external redirection - -^localpath(.*) otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) /otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://thishost/otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) http://otherhost/otherpath$1 http://otherhost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://otherhost/otherpath$1 [R] http://otherhost/otherpath/pathinfo - via external redirection - (the [R] flag is redundant) - -^localpath(.*) http://otherhost/otherpath$1 [P] http://otherhost/otherpath/pathinfo - via internal proxy -</pre> - </td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> - We want to rewrite URLs of the form - - <blockquote> - <code>/</code> <em>Language</em> <code>/~</code> - <em>Realname</em> <code>/.../</code> <em>File</em> - </blockquote> - into - - <blockquote> - <code>/u/</code> <em>Username</em> <code>/.../</code> - <em>File</em> <code>.</code> <em>Language</em> - </blockquote> - - <p>We take the rewrite mapfile from above and save it under - <code>/path/to/file/map.txt</code>. Then we only have to - add the following lines to the Apache server configuration - file:</p> - - <blockquote> -<pre> -RewriteLog /path/to/file/rewrite.log -RewriteMap real-to-user txt:/path/to/file/map.txt -RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1 -</pre> - </blockquote> - </blockquote> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Miscelleneous" - name="Miscelleneous">Miscellaneous</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h2><a id="EnvVar" name="EnvVar">Environment - Variables</a></h2> - This module keeps track of two additional (non-standard) - CGI/SSI environment variables named <code>SCRIPT_URL</code> - and <code>SCRIPT_URI</code>. These contain the - <em>logical</em> Web-view to the current resource, while the - standard CGI/SSI variables <code>SCRIPT_NAME</code> and - <code>SCRIPT_FILENAME</code> contain the <em>physical</em> - System-view. - - <p>Notice: These variables hold the URI/URL <em>as they were - initially requested</em>, <em>i.e.</em>, <em>before</em> any - rewriting. This is important because the rewriting process is - primarily used to rewrite logical URLs to physical - pathnames.</p> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -SCRIPT_NAME=/sw/lib/w3s/tree/global/u/rse/.www/index.html -SCRIPT_FILENAME=/u/rse/.www/index.html -SCRIPT_URL=/u/rse/ -SCRIPT_URI=http://en1.engelschall.com/u/rse/ -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2><a id="Solutions" name="Solutions">Practical - Solutions</a></h2> - We also have an <a href="../misc/rewriteguide.html">URL - Rewriting Guide</a> available, which provides a collection of - practical solutions for URL-based problems. There you can - find real-life rulesets and additional information about - mod_rewrite. - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - <!-- page indentation --> - <!--/%hypertext --> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis deleted file mode 100644 index e9c4fc5a30f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis +++ /dev/null @@ -1,2102 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--%hypertext --> -<!-- mod_rewrite.html --> -<!-- Documentation for the mod_rewrite Apache module --> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_rewrite</title> - </head> - <!-- English revision: 1.64 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <blockquote> - <!-- page indentation --> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - <br /> - - <h1 align="center">mod_rewrite $B%b%8%e!<%k(B<br /> - URL $B=q$-49$(%(%s%8%s(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"MW5a$5$l$?(B URL - $B$r%j%"%k%?%$%`$G=q$-49$($k$?$a$N!"(B - $B%k!<%k%Y!<%9$N=q$-49$(%(%s%8%s$rDs6!$7$^$9!#(B - </p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_rewrite.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - rewrite_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$G;HMQ2DG=(B</p> - <hr noshade="noshade" size="1" /> - <br /> - - <h2>$B35MW(B</h2> - - <blockquote> - <blockquote> - <blockquote> - <em>`` mod_rewrite $B$N$9$P$i$7$$$H$3$m$O!"(B - Sendmail $B$N$h$&$J@_Dj@-$H=@Fp@-$rM?$($F$/$l$k$H$3$m$@$m$&!#(B - $B$^$?!"(Bmod_rewrite $B$N$h$/$J$$$H$3$m$O!"(B - Sendmail $B$N$h$&$J@_Dj@-$H=@Fp@-$rM?$($F$/$l$k$H$3$m$@$m$&!#(B''</em> - - <div align="right"> - -- Brian Behlendorf<br /> - Apache Group - </div> - </blockquote> - </blockquote> - </blockquote> - - <blockquote> - <blockquote> - <blockquote> - <em>`` $BKDBg$J@_DjNc$d%I%-%e%a%s%H$,$"$k$K$b$+$+$o$i$:!"(B - mod_rewrite $B$O9uKb=Q$G$"$k!#$+$J$j%$%1$F$k$C$]$$9uKb=Q$@$,!"(B - $B$d$C$Q$j9uKb=Q$G$"$k!#(B''</em> - - <div align="right"> - -- Brian Moore<br /> - bem@news.cmc.net - </div> - </blockquote> - </blockquote> - </blockquote> - URL $B$rA`:n$9$k$?$a$N%9%$%9@=$N%"!<%_!<%J%$%U!"(Bmod_rewrite - $B$X$h$&$3$=(B! - - <p>$B$3$N%b%8%e!<%k$O!"(B($B@55,I=8=%Q!<%5$K4p$E$/(B) - $B%k!<%k%Y!<%9$N=q$-49$(%(%s%8%s$r;H$$!"MW5a$5$l$?(B URL - $B$rE,59=q$-49$($^$9!#%5%]!<%H$9$k%k!<%k$N?t!"(B - $B$*$h$S3F%k!<%k$rE,MQ$9$k:]$N%k!<%k>r7o$N?t$K@)8B$O$J$/!"(B - $BK\Ev$K=@Fp$G$+$D6/NO$J(B URL $BA`:n%a%+%K%:%`$rDs6!$7$^$9!#$3$N(B URL - $BA`:n$K@hN)$A!"<!$N$h$&$K$$$m$$$m$JI>2A$r9T$&$3$H$,$G$-$^$9!#(B - $BNc$($P%5!<%PJQ?t!"4D6-JQ?t!"(BHTTP $B%X%C%@!"%?%$%`%9%?%s%W!"(B - $B$5$i$K30It%G!<%?%Y!<%9$N8!:w7k2L$^$G$rI>2A$NBP>]$H$7$F!"(B - $B3F<o$N%U%)!<%^%C%H$r;H$C$?:YN3EY$N(B URL $B%^%C%A%s%0$r<B8=$G$-$^$9!#(B - </p> - - <p>$B$3$N%b%8%e!<%k$O!"%5!<%PC10L$N%3%s%F%-%9%H(B - (<code>httpd.conf</code>) $B$*$h$S%G%#%l%/%H%jC10L$N%3%s%F%-%9%H(B - (<code>.htaccess</code>) $B$K$*$$$F(B (PATH-INFO $BItJ,$r4^$`(B) $B%U%k(B - URL $B$KBP$9$kA`:n$r9T$$$^$9$,!"(B - $B$5$i$K7k2L$H$7$F%/%(%j!<J8;zNsItJ,$r@8@.$9$k$3$H$b$G$-$^$9!#(B - $B=PNO$5$l$?7k2L$rFbIt$N%5%V%W%m%;%9$d30It%j%/%(%9%H$N%j%@%$%l%/%7%g%s!"(B - $B$5$i$K$OFbIt$N%W%m%-%7=hM}%k!<%A%s$KEO$9$3$H$b$G$-$^$9!#(B - </p> - - <p>$B$?$@!"$3$l$i$9$Y$F$N5!G=$d=@Fp@-$,!"(B - $B7gE@$G$"$kJ#;($5$N85$K$b$J$C$F$$$^$9!#$J$N$G!"$3$N%b%8%e!<%k(B - $BA4BN$r0lF|DxEY$G3P$($h$&$J$I$H$O;W$o$J$$$[$&$,$$$$$G$7$g$&!#(B - </p> - - <p>$B$3$N%b%8%e!<%k$O(B 1996 $BG/$N(B 4 $B7n$K(B</p> - - <blockquote> - <a href="http://www.engelschall.com/"><code>Ralf S. - Engelschall</code></a><br /> - <a - href="mailto:rse@engelschall.com"><code>rse@engelschall.com</code></a><br /> - <a - href="http://www.engelschall.com/"><code>www.engelschall.com</code></a> - </blockquote> - - <p>$B$i$K$h$j9M0F$5$l$F%*%j%8%J%k$,=q$+$l!"(B<br /> - 1997 $BG/$N(B 7 $B7n$K!"(BThe Apache Group - $B$KBP$7$FFH@jE*$KB#Dh$5$l$^$7$?!#(B</p> - <hr noshade="noshade" size="1" /> - - <h2>$BL\<!(B</h2> - - <p><strong>$BFbIt=hM}(B</strong></p> - - <ul> - <li><a href="#InternalAPI">API $B%U%'!<%:(B</a></li> - - <li><a href="#InternalRuleset">$B%k!<%k%;%C%H=hM}(B</a></li> - - <li><a href="#InternalBackRefs">$B@55,I=8=$N8eJ};2>H$,2DG=(B</a></li> - </ul> - - <p><strong>$B@_Dj%G%#%l%/%F%#%V(B</strong></p> - - <ul> - <li><a href="#RewriteEngine">RewriteEngine</a></li> - - <li><a href="#RewriteOptions">RewriteOptions</a></li> - - <li><a href="#RewriteLog">RewriteLog</a></li> - - <li><a href="#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="#RewriteLock">RewriteLock</a></li> - - <li><a href="#RewriteMap">RewriteMap</a></li> - - <li><a href="#RewriteBase">RewriteBase</a></li> - - <li><a href="#RewriteCond">RewriteCond</a></li> - - <li><a href="#RewriteRule">RewriteRule</a></li> - </ul> - <strong>$B$=$NB>(B</strong> - - <ul> - <li><a href="#EnvVar">$B4D6-JQ?t(B</a></li> - - <li><a href="#Solutions">$B<BNc(B</a></li> - </ul> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Internal" name="Internal">$BFbIt=hM}(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <p>$B$3$N%b%8%e!<%k$NFbIt=hM}$O$H$F$bJ#;($G$9$,!"(B - $B$"$j$,$A$J%_%9$rHr$1!"$^$?A45!G=$r3hMQ$G$-$k$h$&$K!"(B - $BJ?6QE*%f!<%6$KBP$7$F$b0lEY$O@bL@$7$F$*$/I,MW$,$"$j$^$9!#(B - </p> - - <h2><a id="InternalAPI" name="InternalAPI">API $B%U%'!<%:(B</a></h2> - - <p>$B$^$:$O!"(BApache $B$,(B HTTP $B%j%/%(%9%H$r=hM}$9$k:]$K!"(B - $B$3$N%b%8%e!<%k$,$3$N%U%'!<%:$G9T$&$3$H$rM}2r$7$F$*$+$J$1$l$P$J$j$^$;$s!#(B - Apache API $B$G$O!"$3$l$i$N3F%U%'!<%:$KBP$9$k%U%C%/$,Ds6!$5$l$F$$$^$9!#(B - mod_rewrite $B$O0J2<$NFs$D$N%U%C%/$r;H$$$^$9(B: HTTP - $B%j%/%(%9%H$,FI$^$l$?8e$G$+$D$9$Y$F$NG'>Z$,3+;O$5$l$kA0$K;H$o$l$k(B - URL-to-filename $BJQ49%U%C%/!"$=$7$F!"G'>Z%U%'!<%:$N8e$G(B - $B%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k(B (<code>.htaccess</code>) - $B$,FI$^$l$?8e!"$^$@(B content $B%O%s%I%i$,M-8z$K$J$kA0$K5/F0$5$l$k(B - Fixup $B%U%C%/$G$9!#(B - </p> - - <p>$B$=$7$F!"$"$k%j%/%(%9%H$,F~$C$FMh$F!"(BApache $B$,$3$l$KBP1~$9$k%5!<%P(B - ($B<c$7$/$O%P!<%A%c%k%5!<%P(B) $B$r7hDj$7$?8e$K!"=q$-49$(%(%s%8%s$O!"(B - $B%5!<%P$4$H$N@_Dj$r85$K!"(BURL-to-filename $B%U%'!<%:$G$9$Y$F$N(B - mod_rewrite $B%G%#%l%/%F%#%V$N=hM}$r3+;O$7$^$9!#(B - $B$=$N8eB?>/$N%9%F%C%W$r7P$F:G8e$N%G!<%?%G%#%l%/%H%j$,8+$D$+$C$?;~!"(B - $B%G%#%l%/%H%j$4$H$N(B mod_rewrite $B@_Dj%G%#%l%/%F%#%V$,(B Fixup - $B%U%'!<%:$G5/F0$5$l$^$9!#(B - $B$3$N3F!9$N%?%$%_%s%0$N4V$KFC$KL@$i$+$J0c$$$O$J$$$N$G$9$,!"$=$l$G$b(B - mod_rewrite $B$O$$$:$l$N;~$K$b3F(B URL $B$r?7$7$$(B URL - $B$^$?$O%U%!%$%kL>$K=q$-49$($^$9!#$3$l$O$3$N(B API - $B$,%G%6%$%s$5$l$?;~$KA[Dj$5$l$?;H$$J}$G$O$J$$$N$G$9$,!"(BApache 1.x - $B$K$*$$$F$O$3$l$,(B mod_rewrite $B$,F0$1$kM#0l$NJ}K!$G$7$?!#(B - $B$3$NE@$r$h$j$O$C$-$j$5$;$k$?$a$K!"0J2<$N(B 2 - $BE@$K$D$$$F3P$($F$*$$$F$/$@$5$$(B:</p> - - <ol> - <li>mod_rewrite $B$O(B URL $B$r(B URL $B$X!"(BURL $B$r%U%!%$%kL>$X!"(B - $B$5$i$K%U%!%$%kL>$r%U%!%$%kL>$X$H=q$-49$($^$9$,!"(BAPI - $B$G$O8=:_$N$H$3$m(B URL-to-filename $B%U%C%/$N$_$rDs6!$7$F$$$^$9!#(B - Apache 2.0 $B$G$O$=$l$^$G$K$O$J$+$C$?Fs$D$N%U%C%/$,DI2C$5$l!"(B - $B=hM}$,$h$jL@3N$K$J$j$^$7$?!#(B - $B$7$+$7$3$NE@$G$O%f!<%6$K$H$C$F$NITMx1W$O$J$/!"(B - $BC1$K3P$($F$*$/$Y$-;v<B$H$7$F$O(B: Apache $B$O(B URL-to-filename - $B%U%C%/$K$*$$$F(B API $B$,0U?^$9$k0J>e$N$3$H$r9T$$$^$9!#(B</li> - - <li>mod_rewrite $B$G$O!"?.$8$i$l$J$$$3$H$K!"(BURL - $B$,%U%!%$%kL>$KJQ49$5$l$F$+$i$:$C$H8e$KC)$jCe$/$H$3$m$K$"$k!"(B - $B%G%#%l%/%H%j$4$H$N%3%s%F%-%9%H(B<em>$B$9$J$o$A(B</em> - <code>.htaccess</code> $B%U%!%$%k$NCf$G(B URL - $BA`:n$r9T$($k$h$&$K$J$C$F$$$9!#(B<code>.htaccess</code> - $B%U%!%$%k$O%U%!%$%k%7%9%F%`Cf$K$"$k$?$a$K(B - $B=hM}$NN.$l$O$9$G$K$3$NCJ3,$^$GE~C#$7$F$$$k$N$G!"(B - $B$3$N$h$&$K$J$C$F$$$k$N$G$9!#$D$^$j$3$N;~E@$G(B API - $B%U%'!<%:$K=>$($P!"$I$N(B URL - $B$rA`:n$9$k$K$b4{$KCY$-$K<:$7$F$$$k$N$G$9!#(B - $B$3$N7\$HMqLdBj$rBG3+$9$k$?$a!"(Bmod_rewrite - $B$G$O$A$g$C$H$7$?%H%j%C%/$r;H$C$F$$$^$9(B: - $B%G%#%l%/%H%j$4$H$N%3%s%F%-%9%H$G(B URL / $B%U%!%$%kL>$NA`:n$r9T$&:]!"(B - mod_rewrite $B$O$^$:%U%!%$%kL>$rBP1~$9$k(B URL $B$KLa$7(B - ($B$3$l$ODL>oIT2DG=$G$9$,!"$3$l$r2DG=$K$9$k%H%j%C%/$K$D$$$F$O(B - <code>RewriteBase</code> $B$r8+$F$/$@$5$$(B) $B!"$=$N?7$7$$(B URL - $B$GFbItE*$K?7$7$$%5%V%j%/%(%9%H$r@8@.$7$F$$$k$N$G$9!#$3$l$G(B - API $B%U%'!<%:=hM}$,:FEY5/F0$5$l$^$9!#(B - - <p>$B$3$N$h$&$K!"(Bmod_rewrite $B$OJ#;($J%9%F%C%W$r(B - $B%f!<%6$KBP$7$FA4HL$KF)2aE*$K$7$h$&$H$,$s$P$C$F$$$^$9$,!"(B - $B$H$j$"$($:0J2<$N$3$H$O3P$($F$*$/$Y$-$G$7$g$&(B: - $B%5!<%P$4$H$N%3%s%F%-%9%H$K$*$1$k(B URL - $BA`:n$OHs>o$K9bB.$G$+$D8zN($,NI$$$N$KBP$7!"(B - $B%G%#%l%/%H%j$4$H$N=q$-49$($O!"(B - $B$3$N7\$HMq$NLdBj$N$?$aCY$$>e$KDc8zN($G$9!#$7$+$7$3$l$O!"(B - mod_rewrite $B$,$4$/J?6QE*$J%f!<%6$KDs6!$G$-$k!"(B - ($B%m!<%+%k$K@)8B$5$l$?(B) URL $BA`:n$N$?$a$NM#0l$NJ}K!$J$N$G$9!#(B - </p> - </li> - </ol> - - <p>$B$3$l$iFs$D$NE@$rK:$l$J$$$G$/$@$5$$(B!</p> - - <h2><a id="InternalRuleset" - name="InternalRuleset">$B%k!<%k%;%C%H=hM}(B</a></h2> - $B$3$l$iFs$D$N(B API $B%U%'!<%:$G(B mod_rewrite $B$,5/F0$5$l$k$H!"(B - mod_rewrite $B$O$^$:<+J,<+?H$N@_DjMQ9=B$BN(B - ($B$3$l$O5/F0;~$N%5!<%P$4$H$N%3%s%F%-%9%H$+!"(BApache - $B%+!<%M%k$,%G%#%l%/%H%j4V$rC5:w$9$kESCf$N%G%#%l%/%H%j$4$H$N(B - $B%3%s%F%-%9%H$+!"$N$$$:$l$+$K$h$j@8@.$5$l$k(B) - $B$h$j9=@.$5$l$?%k!<%k%;%C%H$rFI$_9~$_$^$9!#$=$7$F$=$NCf$KF~$C$F$$$k(B - $B%k!<%k%;%C%H(B ($B>r7o$rH<$&0l$D0J>e$N%k!<%k$N=8$^$j(B)$B$H$H$b$K(B URL - $B=q$-49$(%(%s%8%s$,3+;O$5$l$^$9!#(BURL $B=q$-49$(%(%s%8%s<+BN$O!"(B - $BAPJ}$N@_Dj%3%s%F%-%9%H$GA4$/F1$8$h$&$KF0:n$7$^$9!#(B - $B:G=*7k2L$N=hM}$,0[$J$k$@$1$G$9!#(B - - <p>$B%k!<%k%;%C%HCf$N%k!<%k$N=q$-=g$O=EMW$G$9!#(B - $B$3$l$O!"=q$-49$(%(%s%8%s$O$=$l$i$rFCJL$J(B - ($B$+$D!"$"$^$jJ,$+$j$d$9$$$H$O8@$($J$$(B) $B=g=x$G=hM}$9$k$+$i$G$9!#(B - $B%k!<%k$O0J2<$N$h$&$K=hM}$5$l$^$9(B: $B=q$-49$(%(%s%8%s$O%k!<%k(B - (<code>RewriteRule</code>$B%G%#%l%/%F%#%V(B) $B$r0l$D$:$D$J$a$J$,$i(B - $B%k!<%k%;%C%HCf$r%k!<%W$7$^$9$,!"$"$k%k!<%k$,%^%C%A$7$?$i!"(B - $B$=$l$KBP1~$9$k>r7o(B (<code>RewriteCond</code>$B%G%#%l%/%F%#%V(B) - $B$,$"$k4V$=$NCf$r%k!<%W$7$^$9!#(B - $BNr;KE*$JM}M3$K$h$j$^$:>r7o$,M?$($i$l$k$?$a!"(B - $B@)8f%U%m!<$,$A$g$C$H$/$I$/$J$C$F$$$^$9!#>\:Y$O?^(B 1 - $B$r$4Mw$/$@$5$$!#(B</p> - - <div align="center"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig1.gif" width="428" - height="385" - alt="[$BI=<($9$k$K$O%0%i%U%#%C%/5!G=$,I,MW$G$9(B]" /></td> - </tr> - - <tr> - <td align="center"><strong>$B?^(B 1:</strong> - $B=q$-49$(%k!<%k%;%C%H$K$*$1$k@)8f%U%m!<(B</td> - </tr> - </table> - </div> - - <p>$B$b$&$*J,$+$j$N$h$&$K!"$^$:(B URL $B$r3F%k!<%k$N(B <em>Pattern</em> - $B$KBP$7$F%^%C%A%s%0$7$^$9!#%^%C%A$7$J$$>l9g!"(Bmod_rewrite - $B$O$9$0$K$3$N%k!<%k$N=hM}$rCf;_$7$F<!$N%k!<%k$r8+$K9T$-$^$9!#(B - <em>Pattern</em> $B$K%^%C%A$9$k$H!"(Bmod_rewrite - $B$O$=$l$KBP1~$9$k>r7o$rC5$7$^$9!#$b$72?$b$J$1$l$P!"C1$K(B URL - $B$r(B <em>Substitution</em> $BJ8;zNs$+$i:n$i$l$??7$7$$CM$KCV49$7!"(B - $B%k!<%k$N%k!<%W$rB3$1$^$9!#2?$i$+$N>r7o$,$"$l$PFbIt%k!<%W$r3+;O$7!"(B - $B$=$l$i$N>r7o$,Ns5s$5$l$F$$$k=g$K=hM}$r7+$jJV$7$^$9!#(B - $B>r7oJ8$N>l9g$O%m%8%C%/$,0[$J$j$^$9(B: $B8=:_$N(B URL - $B$KBP$7$F$O%Q%?!<%s$N%^%C%A%s%0$r9T$$$^$;$s!#$=$NBe$o$j!"(B - $B$^$:JQ?t$rE83+$7!"8eJ};2>H$r9T$$!"(B - $B8!:w%F!<%V%k$r%^%C%T%s%0$9$k(B<em>$B$J$I(B</em>$B$7$F(B<em>$B%F%9%HJ8;zNs(B</em> - $B$r@8@.$7!"$=$l$KBP$7$F(B<em>$B>r7o%Q%?!<%s(B</em>$B$H$N%^%C%A%s%0$r9T$$$^$9!#(B - $B%Q%?!<%s$K%^%C%A$7$J$$>l9g!">r7o$NAH$_9g$o$;A4BN$H$=$l$KBP1~$9$k(B - $B%k!<%k$O@.N)$7$J$$$3$H$K$J$j$^$9!#%Q%?!<%s$K%^%C%A$7$?>l9g!"(B - $B<!$N>r7o$,I>2A$5$l!"$=$l$,>r7o$N$"$k8B$j7+$jJV$5$l$^$9!#(B - $B$b$7$9$Y$F$N>r7o$K%^%C%A$9$l$P!"(BURL $B$O(B <em>Substitution</em> - $BJ8;zNs$KCV49$5$l!"=hM}$,7QB3$5$l$^$9!#(B</p> - - <h2><a id="quoting" name="quoting">$BFC<lJ8;z$N%/%&%)!<%H(B</a></h2> - - <p>Apache 1.3.20 $B$G$O!"(B<em>$B%F%9%HJ8;zNs(B</em>$B$H(B <em>Substitution</em> - $BJ8;zNs$NCf$NFC<lJ8;z$O!"$=$ND>A0$K%P%C%/%9%i%C%7%e(B ('\') - $B$rCV$/$3$H$G%(%9%1!<%W(B ($B$9$J$o$A!"$=$l$i$N;}$DFC<l$J0UL#$rBG$A>C$7$F!"(B - $BDL>o$NJ8;z$H$7$F07$&$3$H(B) $B$G$-$k$h$&$K$J$C$F$$$^$9!#(B - $BNc$($P!"(B<em>$BCV49BP>](B</em>$BJ8;zNs$NCf$G$b(B '<code>\$</code>' - $B$H$$$&J8;zNs$r;H$C$FK\Mh$N%I%k5-9f$rF~$l$k$3$H$,$G$-$k$o$1$G$9!#(B - $B$3$l$K$h$j!"(Bmod_rewrite - $B$,$=$l$r8eJ};2>H$H$7$F07$*$&$H$9$k$N$rKI$0$3$H$,$G$-$k$o$1$G$9!#(B - </p> - - <h2><a id="InternalBackRefs" - name="InternalBackRefs">$B@55,I=8=$N8eJ};2>H$r;H$&(B</a></h2> - $B$3$3$G$R$H$D3P$($F$*$$$FM_$7$$$3$H$,$"$j$^$9(B: <em>Pattern</em> - $B$NCf$d(B <em>CondPattern</em> $B$N$&$A$N$I$3$+$G3g8L$r;H$($P!"J8;zNs(B - <code>$N</code> $B$H(B <code>%N</code> - $B$G;H$($k8eJ};2>H$,FbItE*$K@8@.$5$l$^$9(B ($B8e=R(B)$B!#$3$l$i$O(B - <em>Substitution</em> - $BJ8;zNs$d(B<em>$B%F%9%HJ8;zNs(B</em>$B$r@8@.$9$k$N$K;H$($^$9!#?^(B 2 - $B$G$O!"$3$N8eJ};2>H$,E>Aw$5$l$FE83+$5$l$k>l=j$K$D$$$F2r@b$7$^$9!#(B - - <div align="center"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig2.gif" width="381" - height="179" - alt="[$BI=<($9$k$K$O%0%i%U%#%C%/5!G=$,I,MW$G$9(B]" /></td> - </tr> - - <tr> - <td align="center"><strong>$B?^(B 2:</strong> - $B%k!<%k$rDL$7$?8eJ};2>H$NN.$l(B</td> - </tr> - </table> - </div> - - <p>$B$3$l$^$G$O(B mod_rewrite - $B$NFbIt=hM}$K4X$9$kC;4|=8Cf%3!<%9$G$7$?!#(B - $B$3$3$+$i$O;HMQ2DG=$J%G%#%l%/%F%#%V$K4X$9$k$3$H$,=q$+$l$F$$$^$9!#(B - $B$=$l$i$rFI$`$H$-$K$3$3$^$G$NCN<1$,LrN)$D$O$:$G$9!#(B</p> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Configuration" - name="Configuration">$B@_Dj%G%#%l%/%F%#%V(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteEngine" - name="RewriteEngine">RewriteEngine</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteEngine - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>RewriteEngine - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteEngine</code> $B%G%#%l%/%F%#%V$r;H$&$H!"(B - $B<B9T;~$N=q$-49$(%(%s%8%s$rM-8z$K$7$?$jL58z$K$7$?$j$G$-$^$9!#$3$l$,(B - <code>off</code> $B$K@_Dj$5$l$F$$$k$H!"$3$N%b%8%e!<%k$O<B9T;~$N(B - $B=hM}$r0l@Z9T$$$^$;$s!#$^$?(B <code>SCRIPT_URx</code> - $B4D6-JQ?t$N99?7$5$($b$7$J$/$J$j$^$9!#(B</p> - - <p><code>RewriteRule</code> $B$rA4It%3%a%s%H%"%&%H$7$?$j$7$J$$$G!"(B - $B$3$N%G%#%l%/%F%#%V$r;H$C$F$/$@$5$$$M!#(B</p> - - <p>$B%G%U%)%k%H$G$O!"(Brewrite $B$N@_Dj$O7Q>5$5$l$J$$$N$GCm0U$7$F$/$@$5$$!#(B - $B$D$^$j!"$3$N5!G=$r;H$$$?$$$H;W$&%P!<%A%c%k%[%9%H$4$H$K(B - <code>RewriteEngine on</code> - $B%G%#%l%/%F%#%V$r=q$+$J$1$l$P$$$1$J$$$H$$$&$3$H$G$9!#(B</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteOptions" - name="RewriteOptions">RewriteOptions</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteOptions - <em>$B%*%W%7%g%s(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>RewriteOptions - MaxRedirects=10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2$B!#(B<code>MaxRedirects</code> $B$O(B Apache 1.3.28 $B0J9_$G;HMQ2DG=(B<br /> - - <p><code>RewriteOptions</code> $B%G%#%l%/%F%#%V$O!"(B - $B8=:_$N%5!<%PC10L$b$7$/$O%G%#%l%/%H%jC10L$N@_Dj$G;HMQ$9$k!"(B - $BFCJL$J%*%W%7%g%s$r%;%C%H$7$^$9!#(B - <em>Option</em> $BJ8;zNs$O0J2<$N$$$:$l$+$G$9(B:</p> - - <dl> - <dt><code>inherit</code></dt> - <dd>$B$3$l$O!"8=:_$N@_DjCM$r?F$N@_DjCM$+$i6/@)E*$K7Q>5$5$;$^$9!#(B - $B$3$l$K$h$j!"2>A[%5!<%PC10L$N%3%s%F%-%9%H$K$*$$$F!"(B - $B%a%$%s%5!<%P$N%^%C%W!">r7o!"%k!<%k$,7Q>5$5$l$k$3$H$K$J$j$^$9!#(B - $B$^$?!"%G%#%l%/%H%jC10L$N%3%s%F%-%9%H$G$O!"?F%G%#%l%/%H%j$N(B - <code>.htaccess</code> - $B@_Dj$K5-=R$5$l$F$$$k>r7o$d%k!<%k$,7Q>5$5$l$k$3$H$K$J$j$^$9!#(B</dd> - - <dt><code>MaxRedirects=<var>number</var></code></dt> - <dd>$B%G%#%l%/%H%jKh$N(B <code>RewriteOptions</code> $B$K$h$kFbIt%j%@%$%l%/%H$N(B - $BL58B%k!<%W$rKI$0$?$a$K!"(B<code>mod_rewrite</code> $B$O%j%@%$%l%/%H$N(B - $B>e8B$KC#$9$k$H%j%/%(%9%H$rCf;_$7!"(B500 Internal Server Error $B$r1~Ez$H$7$F(B - $BJV$7$^$9!#0l$D$N%j%/%(%9%H$KBP$7$FK\Ev$K(B 10 $B$r1[$($k%j%@%$%l%/%H$,I,MW$J(B - $B>l9g$O!"K>$_$NCM$^$GA}2C$5$;$k$3$H$,$G$-$^$9!#(B</dd> - </dl> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLog" name="RewriteLog">RewriteLog</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLog - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - $B!!(B<p><code>RewriteLog</code> $B%G%#%l%/%F%#%V$O!"(B - $B9T$J$o$l$?$9$Y$F$N=q$-49$(F0:n$r(B - $B%5!<%P$,%m%0$K=q$-9~$`$?$a$N(B - $B%U%!%$%kL>$r@_Dj$7$^$9!#$3$NL>A0$,%9%i%C%7%e(B - ('<code>/</code>') $B$G;O$^$i$J$$>l9g$O(B <em>Server Root</em> - $B$+$i$NAjBP%Q%9$G$"$k$H8+$J$5$l$^$9!#$3$N%G%#%l%/%F%#%V$O(B - $B%5!<%PC10L$N@_Dj$NCf$G0lEY$@$15-=R$5$l$k$Y$-$b$N$G$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B</strong>: - $B=q$-49$(F0:n$N%m%.%s%0$rM^@)$9$k$?$a$K(B <em>file-path</em> $B$r(B - <code>/dev/null</code> $B$K$9$k$N$O$*4+$a$G$-$^$;$s!#$3$l$O!"(B - $B=q$-49$(%(%s%8%s$O<B:]$K$O%m%0%U%!%$%k$X$N=PNO$r9T$o$J$$$N$K!"(B - $BL$$@FbItE*$K$O%m%0%U%!%$%k$X$N=PNO$r@8@.$7$F$$$k$+$i$G$9!#(B - <strong>$B$3$l$O4IM}<T$K2?$NMxE@$b$b$?$i$5$:$K(B - $B%5!<%P$N%Q%U%)!<%^%s%9$rDc2<$5$;$k$@$1$G$9(B!</strong> - $B%m%.%s%0$rM^;_$9$k>l9g$O(B <code>RewriteLog</code> - $B%G%#%l%/%F%#%V$r%3%a%s%H%"%&%H$9$k$+!"(B - <code>RewriteLogLevel 0</code> $B$r;H$&$h$&$K$7$F$/$@$5$$(B!</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$B%;%-%e%j%F%#(B</strong>: - $B%m%0%U%!%$%k$r3JG<$9$k%G%#%l%/%H%j$,!"(B - $B%5!<%P$r5/F0$9$k%f!<%60J30$K$b=q$-9~$_2DG=$G$"$k>l9g$K!"(B - $B$J$<%;%-%e%j%F%#$,6<$+$5$l$k$+$K$D$$$F$N>\$7$$@bL@$O!"(B - <a href="../misc/security_tips.html">Apache $B$N%;%-%e%j%F%#$N(B - $B$3$D(B</a> $B%I%-%e%a%s%H$r$4Mw$/$@$5$$!#(B</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -RewriteLog "/usr/local/var/apache/logs/rewrite.log" -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLogLevel" - name="RewriteLogLevel">RewriteLogLevel</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLogLevel - <em>Level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>RewriteLogLevel 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteLogLevel</code> $B%G%#%l%/%F%#%V$G$O!"(B - $B=q$-49$(MQ$N%m%0%U%!%$%k$N>iD9%l%Y%k$r;XDj$7$^$9!#(B - $B%G%U%)%k%H$N%l%Y%k$O(B - 0 $B$G!"$3$l$O0l@Z%m%0$r=q$+$J$$$3$H$r0UL#$7$^$9!#0lJ}(B 9 - $B$b$7$/$O$=$l0J>e$r;XDj$9$k$H!"(B - $B;v<B>e$[$H$s$I$9$Y$F$NF0:n$K$D$$$F%m%0$,<}=8$5$l$^$9!#(B</p> - - <p>$B=q$-49$($N%m%0$r<h$i$J$$$h$&$K$9$k$K$O!"C1$K(B - <em>Level</em> $B$r(B 0 - $B$K$7$^$9!#$3$l$G=q$-49$($K4X$9$k$9$Y$F$N%m%0$,L58z$H$J$j$^$9!#(B - </p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> <em>Level</em> - $B$KBg$-$JCM$r;XDj$9$k$H!"(BApache $B%5!<%P$NF0:nB.EY$,7`E*$KDc2<$7$^$9(B! - $B=q$-49$(;~$N%m%0%U%!%$%k$G(B <em>Level</em> $B$K(B 2 - $B0J>e$NCM$r;XDj$9$k$N$O%G%P%C%0;~$N$_$K$7$F$*$$$F$/$@$5$$(B!</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -RewriteLogLevel 3 -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLock" - name="RewriteLock">RewriteLock</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLock - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.3<br /> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(Bmod_rewrite $B$,(B <samp>RewriteMap</samp> - <em>$B%W%m%0%i%`(B</em>$B$HDL?.$9$k$N$KI,MW$J!"(B - $BF14|MQ%m%C%/%U%!%$%k$NL>A0$r%;%C%H$7$^$9!#(BRewriteMap $B$G(B - $B%W%m%0%i%`$r;H$$$?$$>l9g$K$O!"$3$N%m%C%/%U%!%$%k$K(B(NFS - $B%^%&%s%H$5$l$?%G%P%$%9$G$O$J$/(B)$B%m!<%+%k%Q%9$r@_Dj$7$^$9!#(B - $B$=$l0J30$N%?%$%W$N(B RewriteMap $B$r;H$&>l9g$K$O!"(B - $B@_Dj$9$kI,MW$O$"$j$^$;$s!#(B</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteMap" name="RewriteMap">RewriteMap</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteMap - <em>MapName</em> <em>MapType</em>:<em>MapSource</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a>$B%G%U%)%k%H$G$O;HMQ$5$l$J$$(B - <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - ($B0lIt$N$_(B), Apache 1.3<br /> - - - <p><code>RewriteMap</code> $B%G%#%l%/%F%#%V$O!"(B - $B%^%C%T%s%04X?t$r;H$C$F%k!<%kCV49J8;zNs$NFbIt$G;H$($k(B - <em>$B=q$-49$(%^%C%W(B</em>$B$rDj5A$7$^$9!#$3$l$K$h$j!"(B - $B%-!<$r8!:w$9$k:]$K!"%U%#!<%k%I$rA^F~$7$?$jCV49$7$?$j$G$-$^$9!#(B - $B8!:wBP>]$K$O$$$m$$$m$J%?%$%W$,;H$($^$9!#(B</p> - - <p><a id="mapfunc" name="mapfunc"><em>MapName</em></a> - $B$O%^%C%W$NL>A0$G$9!#0J2<$N=q<0$N$I$A$i$+$K$h$j!"(B - $B=q$-49$(%k!<%k$NCV49J8;zNs$G;H$o$l$k(B - $B%^%C%T%s%04X?t$r;XDj$9$k$N$K;H$o$l$^$9!#(B</p> - - <blockquote> - <strong><code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>}</code><br /> - <code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>|</code> <em>DefaultValue</em> - <code>}</code></strong> - </blockquote> - $B$3$N$h$&$J=q<0$,8=$l$k$H!"(B<em>MapName</em> $B$H$$$&L>A0$N%^%C%W$NCf$N%-!<(B - <em>LookupKey</em> $B$,8!:w$5$l$^$9!#(B - $B%-!<$,8+$D$+$l$P!"$3$N%^%C%W4X?t$N=q<0$NItJ,$O(B <em>SubstValue</em> - $B$K$h$jCV49$5$l$^$9!#%-!<$,8+$D$+$i$J$$>l9g!"(B - <em>DefaultValue</em> $B$,$"$l$P$=$l$GCV49$5$l!"(B<em>DefaultValue</em> - $B$,;XDj$5$l$F$$$J$1$l$P6uJ8;zNs$KCV49$5$l$^$9!#(B - - <p>$B0J2<$N$h$&$J(B <em>MapType</em> $B$H(B <em>MapSource</em> - $B$r;H$C$?AH$_9g$o$;$r;HMQ$G$-$^$9(B:</p> - - <ul> - <li> - <strong>$BI8=`$N%W%l!<%s%F%-%9%H(B</strong><br /> - MapType: <code>txt</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B$3$l$OI8=`$N=q$-49$(%^%C%W5!G=$G$9!#(B - <em>MapSource</em> $B$O6uGr9T$d%3%a%s%H9T(B($B9TF,$,(B - '#' $BJ8;z$G;O$^$k9T(B)$B!"<c$7$/$O0J2<$N$h$&$J(B - $B%Z%"$,0l9TKh$K=q$+$l$F$$$k$h$&$JIaDL$N(B ASCII - $B%U%!%$%k$G$9!#(B</p> - - <blockquote> - <strong><em>MatchingKey</em> - <em>SubstValue</em></strong> - </blockquote> - - <p>$BNc(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -Ralf.S.Engelschall rse # Bastard Operator From Hell -Mr.Joe.Average joe # Mr. Average -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap real-to-user txt:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$B%i%s%@%`$J%W%l!<%s%F%-%9%H(B</strong><br /> - MapType: <code>rnd</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B$3$l$OA0=R$NI8=`%W%l!<%s%F%-%9%H$H$[$\F1$8$G$9$,!"$=$l$K2C$($F(B - $B@lMQ$N8e=hM}5!G=$r;}$C$F$$$^$9(B: $BCM$r8!:w$7$?8e!"$=$NCM$O(B ``or'' - $B$N0UL#$r;}$D(B ``<code>|</code>'' $BJ8;z$K$7$?$,$C$F%Q!<%9$5$l$^$9!#(B - $B$D$^$j$3$l$i$OJQ498uJd$rMeNs$7$F$*$j!"(B - $B<B:]$KJV$5$l$kCM$O$3$l$i$NCf$+$i%i%s%@%`$KA*$P$l$^$9!#(B - $B$3$l$O0l8+L/$J46$8$,$7$F0UL#$,$J$5$=$&$K;W$($^$9$,!"(B - $B<B:]$K8!:w$7$?CM$,%5!<%PL>$K$J$k$h$&$J(B - $B%j%P!<%9%W%m%-%7$rMQ$$$?Ii2YJ,;6MQ$K(B - $B@_7W$5$l$F$$$^$9!#(B - $BNc$($P(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -static www1|www2|www3|www4 -dynamic www5|www6 -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap servers rnd:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$B%O%C%7%e%U%!%$%k(B</strong><br /> - MapType: <code>dbm</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B%U%!%$%k$NFbMF$N0UL#$O(B<em>$B%W%l!<%s%F%-%9%H(B</em>$B%U%)!<%^%C%H(B - $B$HF1$8$G$9$,!"(B - $B9bB.$J8!:w$r9T$&$?$a$K:GE,2=$,;\$5$l$?(B - NDBM $B%U%)!<%^%C%H$H$$$&%P%$%J%j%U%!%$%k(B - $B$r%=!<%9$H$7$F;H$&$3$H$b$G$-$^$9!#$3$N$h$&$J%U%!%$%k$O!"(B - NDBM $B%D!<%k$r;H$C$?$j!"0J2<$N$h$&$J(B perl - $B%9%/%j%W%H$r;H$C$F:n$k$3$H$,$G$-$^$9!#(B</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/path/to/bin/perl -## -## txt2dbm -- convert txt map to dbm format -## - -use NDBM_File; -use Fcntl; - -($txtmap, $dbmmap) = @ARGV; - -open(TXT, "<$txtmap") or die "Couldn't open $txtmap!\n"; -tie (%DB, 'NDBM_File', $dbmmap,O_RDWR|O_TRUNC|O_CREAT, 0644) or die "Couldn't create $dbmmap!\n"; - -while (<TXT>) { - next if (/^\s*#/ or /^\s*$/); - $DB{$1} = $2 if (/^\s*(\S+)\s+(\S+)/); -} - -untie %DB; -close(TXT); -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -$ txt2dbm map.txt map.db -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$BFbIt4X?t(B</strong><br /> - MapType: <code>int</code>, MapSource: $BFbIt(B Apache $B4X?t(B - - <p>$B%=!<%9$H$7$F!"FbIt(B Apache $B4X?t$r;H$&$3$H$b$G$-$^$9!#(B - $B8=;~E@$G$O%(%s%I%f!<%6$,<+J,MQ$KFH<+$N$b$N$r:n$k$3$H$O$G$-$^$;$s$,!"(B - $B0J2<$N$b$N$,MQ0U$5$l$F$$$^$9!#(B</p> - - <ul> - <li><strong>toupper</strong>:<br /> - $B8+$D$+$C$?%-!<$r$9$Y$FBgJ8;z$KJQ49$9$k!#(B</li> - - <li><strong>tolower</strong>:<br /> - $B8+$D$+$C$?%-!<$r$9$Y$F>.J8;z$KJQ49$9$k!#(B</li> - - <li><strong>escape</strong>:<br /> - $B8+$D$+$C$?%-!<$NCf$NFC<lJ8;z$r(B 16 - $B?J%(%s%3!<%G%#%s%0$KJQ49$9$k!#(B</li> - - <li><strong>unescape</strong>:<br /> - $B8+$D$+$C$?%-!<$NCf$N(B 16 $B?J%(%s%3!<%G%#%s%0$rFC<lJ8;z$KLa$9!#(B</li> - </ul> - </li> - - <li> - <strong>$B30It$N=q$-49$(%W%m%0%i%`(B</strong><br /> - MapType: <code>prg</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B%=!<%9$K$O%^%C%W%U%!%$%k0J30$K%W%m%0%i%`$r;H$&$3$H$b$G$-$^$9!#(B - $B%W%m%0%i%`$O9%$-$J8@8l$rA*Br$9$k$3$H$,$G$-$^$9$,!"(B - $B:n@.$5$l$?$b$N$O<B9T2DG=%U%!%$%k(B - (<em>$B$9$J$o$A(B</em>$B%*%V%8%'%/%H%3!<%I!"<c$7$/$O(B 1 $B9TL\$K(B ' - <code>#!/path/to/interpreter</code>' - $B$N$h$&$J%^%8%C%/%/%C%-!<%H%j%C%/$NF~$C$?%9%/%j%W%H(B) - $B$G$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$3$N%W%m%0%i%`$O(B Apache $B%5!<%P$N5/F0;~$K0lEY$@$15/F0$5$l!"(B - <code>stdin</code> $B$*$h$S(B <code>stdout</code> - $B%U%!%$%k%O%s%I%k$rDL$7$F!"=q$-49$(%(%s%8%s$H$N$d$j$H$j$r9T$$$^$9!#(B - $B$3$N%W%m%0%i%`$O!"3F!9$N%^%C%W4X?t$N8!:w$N$?$S$K!"(B - $B8!:wBP>]$N%-!<$r!"2~9TJ8;z$G=*C<$5$l$?J8;zNs$H$7$F(B - <code>stdin</code> $B$+$i<u$1<h$j$^$9!#(B - $B$=$7$F!"CM$,8+$D$+$l$P2~9TJ8;z$G=*C<$5$l$?J8;zNs$rJV$7!"(B - $B8+$D$+$i$J$1$l$P(B - (<em>$B$9$J$o$A(B</em>$B!"M?$($i$l$?%-!<$KBP1~$9$kCM$,$J$$(B)$B!"(B - 4 $BJ8;z$NJ8;zNs(B ``<code>NULL</code>'' $B$rJV$5$J$1$l$P$J$j$^$;$s!#(B - 1:1 $B$N%^%C%W(B(<em>$B$9$J$o$A(B</em>$B%-!<(B == $BCM(B) - $B$r<B8=$9$kC1=c$J%W%m%0%i%`Nc$H$7$F$O!"0J2<$N$h$&$K$J$j$^$9(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/usr/bin/perl -$| = 1; -while (<STDIN>) { - # ...put here any transformations or lookups... - print $_; -} -</pre> - </td> - </tr> - </table> - - <p>$B$7$+$7!"==J,$K5$$r$D$1$F$[$7$$$3$H$,$"$j$^$9(B:<br /> - </p> - - <ol> - <li>``<em>Keep it simple, stupid - ($BC1=c$J$^$^$K$7$F$*$1!"GO</LnO:(B!)$B!W(B</em>'' (KISS) - $B$H$$$&86B'$K=>$C$F$/$@$5$$!#$b$7$3$N%W%m%0%i%`$,%O%s%0$7$F$7$^$&$H!"(B - $B$=$N%k!<%k$,8=$l$?=V4V$K(B Apache - $B%5!<%P<+BN$,%O%s%0$7$F$7$^$$$^$9!#(B</li> - - <li>$B$"$j$,$A$J4V0c$$$H$7$F$O(B: <code>stdout</code> - $B$KBP$7$F%P%C%U%!$5$l$?F~=PNO$r;H$C$F$O$J$j$^$;$s(B! - $B$3$l$r$d$k$HL58B%k!<%W$K%O%^$C$F$7$^$$$^$9(B! - $B$@$+$i>e$N%3!<%I$G$b(B ``<code>$|=1</code>'' - $B$H$d$C$F$k$s$G$9!D!#(B</li> - - <li><samp>RewriteLock</samp> - $B%G%#%l%/%F%#%V$r;H$C$F%m%C%/%U%!%$%k$rDj5A$7!"(Bmod_rewrite - $B$,Ev3:%W%m%0%i%`$X$NDL?.$KF14|$r<h$l$k$h$&$K$7$F$/$@$5$$!#(B - $B%G%U%)%k%H$G$O$=$N$h$&$JF14|$O9T$o$l$^$;$s!#(B</li> - </ol> - </li> - </ul> - <code>RewriteMap</code> $B%G%#%l%/%F%#%V$O2?EY$G$b=q$/$3$H$,$G$-$^$9!#(B - $B%^%C%T%s%04X?t$4$H$K(B <code>RewriteMap</code> - $B$r;H$C$F=q$-49$(MQ%^%C%W%U%!%$%k$r@k8@$7$^$9!#(B - $B%G%#%l%/%H%j$N%3%s%F%-%9%HFbIt$G%^%C%W$r(B<strong>$B@k8@$9$k(B</strong> - $B$3$H$O$G$-$^$;$s$,!"%G%#%l%/%H%j$N%3%s%F%-%9%H$G$3$N%^%C%W$r(B - <strong>$B;H$&(B</strong>$B$3$H$O$b$A$m$s2DG=$G$9!#(B - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B%W%l!<%s%F%-%9%H$H(B DBM $B%U%)!<%^%C%H(B - $B$N%U%!%$%k$K4X$7$F$O!"%^%C%W%U%!%$%k$N(B <code>mtime</code> - $B$,JQ99$5$l$k$+$^$?$O%5!<%P$,:F5/F0$5$l$k$^$G!"(B - $B8!:w$5$l$?%-!<$O%a%b%jFb$K%-%c%C%7%e$5$l$^$9!#(B - $B$G$9$+$i!"(B<strong>$BKh2s$N(B</strong>$B%j%/%(%9%H$G;H$o$l$k(B - $B%^%C%W4X?t$r%k!<%kFb$K=q$/$3$H$,$G$-$^$9!#(B - $B30It8!:w$O0lEY$7$+9T$o$l$J$$$N$G!"$3$l$G$bBg>fIW$J$N$G$9!#(B</td> - </tr> - </table> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteBase" - name="RewriteBase">RewriteBase</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteBase - <em>URL-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B%G%U%)%k%H$OJ*M}(B - $B%G%#%l%/%H%j$N%Q%9(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j(B, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteBase</code> - $B%G%#%l%/%F%#%V$O!"%G%#%l%/%H%j$4$H$N=q$-49$($K$*$$$F%Y!<%9$H$J$k(B - URL $B$rL@<(E*$K;XDj$9$k$b$N$G$9!#0J2<$G<($9$h$&$K!"(B - <code>RewriteRule</code> $B$O%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k(B - (<code>.htaccess</code>) $B$G;H$($^$9!#(B - $B$=$3$G$O!"$3$l$O%m!<%+%k$K?6$kIq$$$^$9!#(B<em>$B$9$J$o$A(B</em>$B!"(B - $B$3$N=hM}CJ3,$G$O%m!<%+%k%G%#%l%/%H%j$N@\F,<-$,<h$j=|$+$l!"(B - $B$=$N;D$j$NItJ,$KBP$7$F$N$_=q$-49$(%k!<%k$,E,MQ$5$l$^$9!#(B - $B$=$7$F=q$-49$(8e!"<h$j=|$+$l$?ItJ,$,:FEY<+F0E*$K%Q%9$KIU2C$5$l$^$9!#(B - </p> - - <p>$B?7$7$$(B URL $B$KBP$9$kCV49$,H/@8$9$k$H!"$3$N%b%8%e!<%k$OEv3:(B URL - $B$r%5!<%P=hM}$K:FEjF~$7$J$1$l$P$J$j$^$;$s!#$3$l$r9T$&$K$O!"BP1~$9$k(B - URL $B$N@\F,<-!"<c$7$/$O(B URL - $B$N%Y!<%9$,2?$J$N$+$rCN$kI,MW$,$"$j$^$9!#(B - $B%G%U%)%k%H$G$O$3$N@\F,<-$O%U%!%$%k%Q%9$=$N$b$N$KBP1~$7$F$$$^$9!#(B - <strong>$B$7$+$7$J$,$i!"$[$H$s$I$N(B Web $B%5%$%H$G$O(B URL - $B$OJ*M}E*$J%U%!%$%kL>$N%Q%9$rD>@\;X$7$F$$$k(B *$B$o$1$G$O$J$$(B* - $B$N$G!"0lHLE*$K$3$N2>Dj$O4V0c$C$F$$$k$3$H$K$J$j$^$9(B</strong>$B!#(B - $B$=$N$?$a!"(B<code>RewriteBase</code> $B%G%#%l%/%F%#%V$r;H$C$F@5$7$$(B - URL $B$N@\F,<-$r;XDj$7$F$d$i$J$1$l$P$J$i$J$$$N$G$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B$b$7$"$J$?$N(B Web $B%5!<%P$N(B URL - $B$,J*M}E*$J%U%!%$%k%Q%9$rD>@\;X$7$F$$$k$N$G(B<strong>$B$J$1(B</strong>$B$l$P!"(B - <code>RewriteRule</code> - $B%G%#%l%/%F%#%V$r;H$*$&$H$7$F$$$k%G%#%l%/%H%j$9$Y$F$K$*$$$F!"3F(B - <code>.htaccess</code> $B%U%!%$%k$G(B <code>RewriteBase</code> - $B%G%#%l%/%F%#%V$r;H$o$J$1$l$P$J$j$^$;$s!#(B</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> - $B0J2<$O!"%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k$@$H;W$C$F$/$@$5$$!'(B - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -# -# /abc/def/.htaccess -- $B%G%#%l%/%H%j(B /abc/def $B$N$?$a$N%G%#%l%/%H%jJL@_Dj%U%!%$%k(B -# $B;29M!'(B/abc/def $B$O(B $B%Q%9(B /xyz $B$NJ*M}%Q%9L>$G$"$k!#(B<em>$B$9$J$o$A(B</em>$B%5!<%P$K$O(B -# 'Alias /xyz /abc/def' <em>$B$H$$$C$?(B</em>$B%G%#%l%/%F%#%V$N@_Dj$,$"$k!#(B -# - -RewriteEngine On - -# $BJ*M}E*$J%Q%9$N@\F,<-$G$"$k(B /abc/def $B$G$J$/!"(B/xyz $B$rDL$7$F(B -# $B%"%/%;%9$7$F$$$k$3$H$r%5!<%P$KCN$i$;$k!#(B -RewriteBase /xyz - -# $B$3$l$,=q$-49$(%k!<%k(B -RewriteRule ^oldstuff\.html$ newstuff.html -</pre> - </td> - </tr> - </table> - - <p>$B>e5-$NNc$G$O!"(B<code>/xyz/oldstuff.html</code> - $B$X$N%j%/%(%9%H$GJ*M}%U%!%$%k(B <code>/abc/def/newstuff.html</code> - $B$X$N@5$7$$=q$-49$(A`:n$,9T$o$l$^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <font size="-1"><strong>Apache - $B%O%C%+!<$N$?$a$NCm<a(B:</strong><br /> - $B0J2<$N%j%9%H$G<($7$F$$$k$N$O!"(B - $BFbIt=hM}%9%F%C%W$K4X$9$k>\:Y>pJs$G$9(B:</font> -<pre> -<font size="-1">$B%j%/%(%9%H(B: - /xyz/oldstuff.html - -$BFbIt=hM}!'(B - /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias) - /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule) - /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase) - /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias) - -$B=hM}7k2L!'(B - /abc/def/newstuff.html -</font> -</pre> - <font size="-1">$B$3$l$OHs>o$KJ#;($K8+$($k$b$N$N!"(BApache - $B$NFbIt=hM}$K4X$9$k@5$7$$F0$-$G$9!#$J$<$J$i!"(B - $B%G%#%l%/%H%jC10L$N=q$-49$(A`:n$O=hM}$NCf$K$*$$$F(B - $BMh$k$N$,CY$9$.$k$+$i$G$9!#$=$N$?$a=q$-49$($,9T$J$o$l$k$H!"(B - ($B=q$-49$($,9T$o$l$?(B)$B%j%/%(%9%H$O(B Apache - $B%+!<%M%k$NCf$K:FEjF~$5$l$J$1$l$P$J$j$^$;$s(B! - $B$7$+$7(B: $B$3$l$O?<9o$J%*!<%P!<%X%C%I$rH<$&$h$&$K8+$($k$b$N$N!"(B - $B<B:]$K$OBg$7$?;v$O$"$j$^$;$s!#$3$N:FEjF~$O40A4$K(B - Apache $B%5!<%P$NFbIt$G5/$3$k;v$G$"$j!"(BApache - $B$NFbIt$K$*$1$k$=$NB>$NB?$/$NF0:nCf$K$bF1MM$N$3$H$,(B - $B5/$3$C$F$$$k$+$i$G$9!#$J$N$G!"(B - $B$3$N@_7W$H<BAu$O@5$7$$$b$N$J$N$G$9!#(B - </font> - </td> - </tr> - </table> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteCond" - name="RewriteCond">RewriteCond</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteCond - <em>TestString</em> <em>CondPatter</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - ($BItJ,E*$K(B), Apache 1.3<br /> - - - <p><code>RewriteCond</code> $B%G%#%l%/%F%#%V$O%k!<%k>r7o$rDj5A$7$^$9!#(B - <code>RewriteRule</code> $B%G%#%l%/%F%#%V$NA0$K0l$D0J>e$N(B - <code>RewriteCond</code> $B%G%#%l%/%F%#%V$rCV$/$3$H$,$G$-$^$9!#(B - $B$=$l0J9_$N=q$-49$(%k!<%k$O!"$=$N%Q%?!<%s$,8=:_$N(B URI - $B$N>uBV$H%^%C%A$7!"(B<strong>$B$+$D(B</strong>$B$3$l$i$NDI2C>r7o$,(B - $BE,MQ$5$l$k>l9g$K$N$_;H$o$l$^$9!#(B</p> - - <p><em>TestString</em>$B$OJ8;zNs$G$"$j!"%W%l!<%s%F%-%9%H$K2C$(!"(B - $B0J2<$N3HD%9=B$$r;}$D$3$H$,$G$-$^$9(B:</p> - - <ul> - <li> - <strong>RewriteRule $B8eJ};2>H(B</strong>: - $B$3$N=q<0$G!"8eJ};2>H$rI=$7$^$9!#(B - - <blockquote> - <strong><code>$N</code></strong> - </blockquote> - (0 <= N <= 9) $B$3$l$O!"BP1~$9$k(B <code>RewriteRule</code> - $B%G%#%l%/%F%#%V(B($B8=:_$N(B<code>RewriteCond</code> - $B%G%#%l%/%F%#%V$N%V%m%C%/$N<!$K$"$k$b$N(B)$B$N(B - ($B3g8L$G0O$s$G(B)$B%0%k!<%W2=$5$l$?%Q%?!<%s$X$N%"%/%;%9$rDs6!$7$^$9!#(B - </li> - - <li> - <strong>RewriteCond $B8eJ};2>H(B</strong>: - $B$3$N=q<0$G!"8eJ};2>H$rI=$7$^$9!#(B - - <blockquote> - <strong><code>%N</code></strong> - </blockquote> - (1 <= N <= 9) - $B$3$l$O!"8=:_$N>r7o%V%m%C%/$NCf$G(B<code>RewriteCond</code> $B%G%#%l%/%F%#%V(B - $B$K:G8e$K%^%C%A$7$?(B - ($B3g8L$G0O$s$G(B)$B%0%k!<%W2=$5$l$?%Q%?!<%s$X$N%"%/%;%9$rDs6!$7$^$9!#(B - </li> - - <li> - <strong>RewriteMap $B3HD%(B</strong>: - $B$3$N=q<0$G!"3HD%$rI=$7$^$9!#(B - - <blockquote> - <strong><code>${mapname:key|default}</code></strong> - </blockquote> - $B>\:Y$O(B <a href="#mapfunc">RewriteMap - $B$N%I%-%e%a%s%H(B</a>$B$r;2>H$N$3$H!#(B - </li> - - <li> - <strong>$B%5!<%PJQ?t(B</strong>: $B0J2<$OJQ?t$rI=$7$^$9!#(B - - <blockquote> - <strong><code>%{</code> <em>$BJQ?tL>(B</em> - <code>}</code></strong> - </blockquote> - <em>$BJQ?tL>(B</em>$B$O0J2<$N0lMw$K$"$kJ8;zNs$N$$$:$l$+$G$9(B: - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="top"> - <strong>HTTP $B%X%C%@(B:</strong> - - <p><font size="-1">HTTP_USER_AGENT<br /> - HTTP_REFERER<br /> - HTTP_COOKIE<br /> - HTTP_FORWARDED<br /> - HTTP_HOST<br /> - HTTP_PROXY_CONNECTION<br /> - HTTP_ACCEPT<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$B%3%M%/%7%g%s(B & $B%j%/%(%9%H(B:</strong> - - <p><font size="-1">REMOTE_ADDR<br /> - REMOTE_HOST<br /> - REMOTE_USER<br /> - REMOTE_IDENT<br /> - REQUEST_METHOD<br /> - SCRIPT_FILENAME<br /> - PATH_INFO<br /> - QUERY_STRING<br /> - AUTH_TYPE<br /> - </font></p> - </td> - </tr> - - <tr> - <td valign="top"> - <strong>$B%5!<%PFbItJQ?t(B:</strong> - - <p><font size="-1">DOCUMENT_ROOT<br /> - SERVER_ADMIN<br /> - SERVER_NAME<br /> - SERVER_ADDR<br /> - SERVER_PORT<br /> - SERVER_PROTOCOL<br /> - SERVER_SOFTWARE<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$B%7%9%F%`4XO"(B:</strong> - - <p><font size="-1">TIME_YEAR<br /> - TIME_MON<br /> - TIME_DAY<br /> - TIME_HOUR<br /> - TIME_MIN<br /> - TIME_SEC<br /> - TIME_WDAY<br /> - TIME<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$BFC<l$J$b$N(B:</strong> - - <p><font size="-1">API_VERSION<br /> - THE_REQUEST<br /> - REQUEST_URI<br /> - REQUEST_FILENAME<br /> - IS_SUBREQ<br /> - </font></p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <p><strong>$BCm0U(B:</strong> - $B$3$l$i$NJQ?t$O!"$9$Y$FF1MM$NL>A0$r;}$D(B HTTP MIME $B%X%C%@$d(B - Apache $B%5!<%P$N(B C $BJQ?t!"$^$?$O(B Unix $B%7%9%F%`$N(B - <code>struct tm</code> $B%U%#!<%k%I$KBP1~$7$^$9!#(B - $B$[$H$s$I$N$b$N$O!"%^%K%e%"%k$d(B CGI - $B;EMM$N$I$3$+$K@bL@$,$"$j$^$9!#$3$NCf$G(B mode_rewrite - $B$GFCJL$J0UL#$r;}$D$b$N$K0J2<$N$b$N$,$"$j$^$9(B:</p> - - <dl> - <dt><code>IS_SUBREQ</code></dt> - - <dd>$B$3$l$O!"%5%V%j%/%(%9%H$r=hM}Cf$O(B "true" - $B$K!"$=$&$G$J$1$l$P(B "false" $B$K$J$j$^$9!#(B - $BM?$($i$l$?%?%9%/$r40N;$9$k$?$a$KDI2C$N%U%!%$%k$d(B URI - $B$r2r7h$9$kI,MW$,$"$k%b%8%e!<%k$O!"(B - $B%5%V%j%/%(%9%H$r@8@.$9$k>l9g$,$"$j$^$9!#(B</dd> - - <dt><code>API_VERSION</code></dt> - - <dd>$B$3$l$O8=:_$N(B httpd $B$N%S%k%I$K$*$1$k(B Apache - $B%b%8%e!<%k(B API($B%5!<%P$H%b%8%e!<%k4V$NFbIt%$%s%?!<%U%'!<%9(B) - $B$N%P!<%8%g%s$G$"$j!"(Binclude/ap_mmn.h $B$GDj5A$5$l$F$$$^$9!#(B - $B%b%8%e!<%k(B API $B$N%P!<%8%g%s$O;HMQ$7$F$$$k(B Apache - $B$N%P!<%8%g%s(B($BNc$($P(B Apche 1.3.14 $B$G$"$l$P(B - 19990320:10) $B$KBP1~$7$^$9$,!"(B - $B$3$l$O<g$K%b%8%e!<%k$N:n<T$,4X?4$r;}$D$b$N$G$9!#(B</dd> - - <dt><code>THE_REQUEST</code></dt> - - <dd>$B%V%i%&%6$+$i%5!<%P$KAw$i$l$?(B HTTP - $B%j%/%(%9%H$N40A4$J$b$N(B($BNc$($P!"(B - "<code>GET /index.html HTTP/1.1</code>")$B!#(B - $B$3$l$K$O!"%V%i%&%6$+$iAw$i$l$?DI2C%X%C%@$O0l@Z4^$_$^$;$s!#(B - </dd> - - <dt><code>REQUEST_URI</code></dt> - - <dd>HTTP $B%j%/%(%9%H9T$G%j%/%(%9%H$5$l$?%j%=!<%9(B - ($B>e5-$NNc$G$O(B "/index.html" $B$,$=$l$K$"$?$j$^$9(B)$B!#(B</dd> - - <dt><code>REQUEST_FILENAME</code></dt> - - <dd>$B%j%/%(%9%H$K%^%C%A$7$?%U%!%$%k$^$?$O%9%/%j%W%H$N!"(B - $B40A4$J%m!<%+%k%U%!%$%k%7%9%F%`$N%Q%9!#(B</dd> - </dl> - </td> - </tr> - </table> - </li> - </ul> - - <p>$B9MN8;v9`(B:</p> - - <ol> - <li>SCRIPT_FILENAME $B$*$h$S(B REQUEST_FILENAME $B$K$OF1$8L>A0!"(B - <em>$B$9$J$o$A(B</em>$B!"(BApache $B%5!<%P$N(B <code>request_rec</code> - $BFbIt9=B$BN$NCf$N(B <code>filename</code> - $B%U%#!<%k%I$NCM$,F~$C$F$$$^$9!#A0<T$OC1$K$h$/CN$i$l$F$$$k(B CGI - $BJQ?tL>$G$"$k$N$KBP$7!"8e<T$O(B (<code>request_rec</code> - $B%U%#!<%k%I$N(B <code>uri</code> $B$NCM$,F~$C$F$$$k(B)REQUEST_URI - $B$KBP1~$9$k$b$N$G$9!#(B</li> - - <li><em>$BJQ?t(B</em>$B$KG$0U$N4D6-JQ?t$r;XDj$G$-$kFCJL$J=q<0(B - <code>%{ENV:$BJQ?t(B}</code> - $B$,$"$j$^$9!#$3$l$O(B Apache - $B$NFbIt9=B$BN<c$7$/$O(B($B$=$3$KB8:_$7$J$1$l$P(B)Apache - $B%5!<%P%W%m%;%9$,H/9T$9$k(B <code>getenv()</code> - $B$rDL$7$F8!:w$5$l$^$9!#(B</li> - - <li> - <em>$B%X%C%@(B</em>$B$KG$0U$N(B HTTP MIME $B%X%C%@L>$r;XDj$G$-$kFCJL$J=q<0(B - <code>%{HTTP:$B%X%C%@(B}</code>$B$,$"$j$^$9!#$3$l$O(B - HTTP $B%j%/%(%9%H$+$i8!:w$5$l$^$9!#(B - $BNc(B: <code>%{HTTP:Proxy-Connection}</code> $B$O(B HTTP $B%X%C%@$N(B - ``<code>Proxy-Connection:</code>'' $B$NCM$G$9!#(B</li> - - <li>$BA0J};2>H$r9T$J$C$FFbIt$N(B(URL $B%Y!<%9$N(B) - $B%5%V%j%/%(%9%H$r<B9T$7$F(B<em>$BJQ?t(B</em>$B$N:G=*CM$r7hDj$9$kFCJL$J=q<0(B - <code>%{LA-U:$BJQ?t(B}</code> $B$,$"$j$^$9!#(B - $B<B:]$K$O(B API $B%U%'!<%:$N8e$N$[$&$G%;%C%H$5$l$k$?$a$K!"(B - $B8=;~E@$G$O%"%/%;%9$G$-$J$$$h$&$JJQ?t$r;H$C$F=q$-49$($r(B - $B9T$J$$$?$$>l9g$K;HMQ$7$^$9!#Nc$($P!"%5!<%PC10L$N%3%s%F%-%9%H(B - (<code>httpd.conf</code> $B%U%!%$%k(B) $B$G(B <code>REMOTE_USER</code> - $BJQ?t$K$7$?$,$C$F=q$-49$($r9T$$$?$$>l9g$K$O!"(B - <code>%{LA-U:REMOTE_USER}</code> - $B$r;HMQ$7$J$1$l$P$J$j$^$;$s!#$J$<$J$i!"$3$NJQ?t$O(B mod_rewrite - $B$,F0:n$9$k(B URL $BJQ49%U%'!<%:$N(B<em>$B8e(B</em>$B$K$"$kG'>Z%U%'!<%:$G(B - $B%;%C%H$5$l$k$b$N$@$+$i$G$9!#0lJ}!"%G%#%l%/%H%jC10L$N%3%s%F%-%9%H(B - (<code>.htaccess</code> $B%U%!%$%k(B) $B$G$O!"(Bmod_rewrite $B$O(B API $B$N(B Fixup - $B%U%'!<%:$rDL$7$F<BAu$5$l$F$*$j!"(B - $BG'>Z%U%'!<%:$O$3$N%U%'!<%:$N(B<em>$BA0(B</em>$B$K9T$J$o$l$k$?$a!"(B - $B$=$3$G$OC1$K(B <code>%{REMOTE_USER}</code> - $B$H$9$k$3$H$,$G$-$k$^$9!#(B</li> - - <li>$BFbIt$N(B($B%U%!%$%kL>%Y!<%9$N(B) - $B%5%V%j%/%(%9%H$r<B9T$7$F(B<em>$BJQ?t(B</em>$B$N:G=*CM$r7hDj$9$kFCJL$J=q<0(B - <code>%{LA-F:$BJQ?t(B}</code> $B$,$"$j$^$9!#(B - $B$[$H$s$I$N>l9g$3$l$OA0=R$N(B LA-U $B$HF1$8$G$9!#(B</li> - </ol> - - <p><em>CondPattern</em> $B$O!">r7o%Q%?!<%s$G!"(B - $B8=:_$N(B <em>TestString</em> $B$N<BBN$KBP$7$FE,MQ$5$l$k@55,I=8=$G$9!#(B - <em>TestString</em> $B$OI>2A$5$l$?8e$K(B <em>CondPattern</em>$B$KBP$7$F(B - $B%^%C%A%s%0$,9T$J$o$l$^$9!#(B</p> - - <p><strong>$BHw9M(B:</strong> <em>CondPattern</em>$B$O!"(B - $BI8=`$N(B<em>$B3HD%@55,I=8=(B</em>$B$K$$$/$D$+DI2C$r9T$C$?$b$N$G$9(B:</p> - - <ol> - <li>'<code>!</code>' $BJ8;z(B($B%(%/%9%/%i%a!<%7%g%s%^!<%/(B) - $B$r%Q%?!<%sJ8;zNs$NA0$K$D$1$k$3$H$G!"(B - $B%^%C%A(B<strong>$B$7$J$$(B</strong>$B%Q%?!<%s$r;XDj$G$-$^$9!#(B</li> - - <li> - <em>CondPattern</em> $B$N$A$g$C$H$7$?JQ<o$b$"$j$^$9!#(B - $B<B:]$N@55,I=8=J8;zNs$NBe$o$j$K0J2<$N$h$&$K;H$&$3$H$,$G$-$^$9(B: - - <ul> - <li>'<strong><CondPattern</strong>' - ($B;z6g$NJB$SE*$K!"$h$j>.$5$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$h$j>.$5$$>l9g$K??$K$J$j$^$9!#(B</li> - - <li>'<strong>>CondPattern</strong>' - ($B;z6g$NJB$SE*$K!"$h$jBg$-$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$h$jBg$-$$>l9g$K??$K$J$j$^$9!#(B</li> - - <li>'<strong>=CondPattern</strong>' - ($B;z6g$NJB$SE*$KEy$7$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$HEy$7$$>l9g!"$9$J$o$A!"Fs$D$NJ8;zNs$,(B - (1 $BJ8;z$:$DHf3S$7$F(B)$B@53N$KEy$7$$>l9g$K??$K$J$j$^$9!#(B - $B$b$7(B <em>CondPattern</em> $B$,C1$J$k(B<samp>""</samp> - ($BFs$D$N0zMQId(B)$B$G$"$l$P!"(B - <em>TestString</em> $B$O6uJ8;zNs$HHf3S$5$l$^$9!#(B</li> - - <li>'<strong>-d</strong>' ($B%G%#%l%/%H%j(B (<strong>d</strong>irectory))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$D%G%#%l%/%H%j$G$"$l$P??!#(B</li> - - <li>'<strong>-f</strong>' ($BDL>o$N%U%!%$%k(B (<strong>f</strong>ile))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$DDL>o$N%U%!%$%k$G$"$l$P??!#(B</li> - - <li>'<strong>-s</strong>' ($BBg$-$5(B (<strong>s</strong>ize) - $B$N$"$kDL>o$N%U%!%$%k(B)<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$DBg$-$5$,(B 0 $B$h$jBg$-$$DL>o%U%!%$%k$G$"$l$P??!#(B</li> - - <li>'<strong>-l</strong>' ($B%7%s%\%j%C%/%j%s%/(B - (symbolic <strong>l</strong>ink))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$D%7%s%\%j%C%/%j%s%/$G$"$l$P??!#(B</li> - - <li>'<strong>-F</strong>' ($B%5%V%j%/%(%9%H$rDL$7$?4{B8%U%!%$%k(B) - <br /> - <em>TestString</em> $B$,M-8z$J%U%!%$%k$G$"$k$3$H!"(B - $B$=$7$F$3$N%5!<%P$K$*$$$F!"8=;~E@$G@_Dj$5$l$F$$$k$9$Y$F$N(B - $B%"%/%;%9@)8f$rDL$7$F!"$=$N%Q%9L>$G%"%/%;%9$G$-$k$+$I$&$+$r(B - $B%A%'%C%/$7$^$9!#$3$l$OFbIt$N%5%V%j%/%(%9%H$r;H$C$F(B - $B%A%'%C%/$r9T$&$N$G!"Cm0U$7$F;H$o$J$$$H%5!<%P$N(B - $B%Q%U%)!<%^%s%9$rDc2<$5$;$k$3$H$K$J$j$+$M$^$;$s(B!</li> - - <li>'<strong>-U</strong>' ($B%5%V%j%/%(%9%H$rDL$7$?4{B8(B URL) - <br /> - <em>TestString</em> $B$,M-8z$J(B URL $B$G$"$k$3$H!"(B - $B$=$7$F$3$N%5!<%P$K$*$$$F!"8=;~E@$G@_Dj$5$l$F$$$k$9$Y$F$N(B - $B%"%/%;%9@)8f$rDL$7$F!"$=$N%Q%9L>$G%"%/%;%9$G$-$k$+$I$&$+$r(B - $B%A%'%C%/$7$^$9!#$3$l$OFbIt$N%5%V%j%/%(%9%H$r;H$C$F(B - $B%A%'%C%/$r9T$&$N$G!"Cm0U$7$F;H$o$J$$$H%5!<%P$N(B - $B%Q%U%)!<%^%s%9$rDc2<$5$;$k$3$H$K$J$j$+$M$^$;$s(B!</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B: </strong>$B0J>e$9$Y$F$N%F%9%H$K$D$$$F!"(B - $B%(%/%9%/%i%a!<%7%g%s%^!<%/(B ('!') $B$rA0$KCV$/$3$H$K$h$j(B - $B$=$l$i$N0UL#$rH]Dj$7$?%^%C%A%s%0$r9T$J$&$3$H$,$G$-$^$9!#(B</td> - </tr> - </table> - </li> - </ol> - - <p>$B$5$i$K!"(B<code>RewriteCond</code> - $B%G%#%l%/%F%#%V$X$NBh;00z?t$H$7$F(B <em>CondPattern</em> $B$KFCJL$J(B</p> - - <blockquote> - <strong><code>[</code><em>$B%U%i%0(B</em><code>]</code></strong> - </blockquote> - $B$rDI2C$9$k$3$H$,$G$-$^$9(B - <em>$B%U%i%0(B</em>$B$O0J2<$N$b$N$r%+%s%^6h@Z$j$GJB$Y$?$b$N$G$9(B: - - <ul> - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - $B$3$l$OBgJ8;z>.J8;z$r6hJL$;$:$K%F%9%H$7$^$9!#(B<em>$B$9$J$o$A!"(B</em> - $BE83+$5$l$?(B<em>TestString</em> $B$H(B <em>CondPattern</em> $B$K$*$$$F!"(B - 'A-Z' $B$*$h$S(B 'a-z' $B$N4V$K$O0c$$$O$J$$$b$N$H8+$J$5$l$^$9!#(B - $B$3$N%U%i%0$O(B<em>TestString</em> $B$H(B <em>CondPattern</em> $B$N4V$N(B - $BHf3S$K$*$$$F$N$_M-8z$G$9!#%U%!%$%k%7%9%F%`>e$*$h$S%5%V%j%/%(%9%H(B - $B$N%A%'%C%/$G$O0UL#$r;}$A$^$;$s!#(B</li> - - <li> - '<strong><code>ornext|OR</code></strong>' - (<strong>or</strong> next condition)<br /> - $B%k!<%k>r7o$r7k9g$9$k$K$"$?$j!"0EL[$N(B AND $B$NBe$o$j$K%m!<%+%k$N(B - OR $B$r;H$$$^$9!#E57?E*$JNc$H$7$F!"0J2<$r;2>H$7$F$/$@$5$$!'(B - - <blockquote> -<pre> -RewriteCond %{REMOTE_HOST} ^host1.* [OR] -RewriteCond %{REMOTE_HOST} ^host2.* [OR] -RewriteCond %{REMOTE_HOST} ^host3.* -RewriteRule ...$B$3$l$i$N%[%9%H$K4X$9$kFCJL$J=hM}(B -</pre> - </blockquote> - $B$3$N%U%i%0$r;H$o$J$$>l9g$O!">r7o(B/$B%k!<%k$r(B - 3 $B2s=q$/$3$H$K$J$C$F$7$^$$$^$9!#(B - </li> - </ul> - - <p><strong>$B;HMQNc(B:</strong></p> - - <blockquote> - $B%j%/%(%9%H$NCf$N(B ``<code>User-Agent:</code>'' $B%X%C%@$K=>$C$F(B - $B%5%$%H$N%[!<%`%Z!<%8$N=q$-49$($r9T$J$&$K$O!"0J2<$N$h$&$K$7$^$9!'(B - - <blockquote> -<pre> -RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* -RewriteRule ^/$ /homepage.max.html [L] - -RewriteCond %{HTTP_USER_AGENT} ^Lynx.* -RewriteRule ^/$ /homepage.min.html [L] - -RewriteRule ^/$ /homepage.std.html [L] -</pre> - </blockquote> - $B2r<a(B: $B%V%i%&%6$H$7$F(B($B<+J,<+?H$G(B 'Mozilla' $B$HL>>h$C$F$$$k(B) - $B%M%C%H%9%1!<%W%J%S%2!<%?$r;H$&>l9g!"%U%l!<%`(B<em>$B$J$I(B</em>$B$r4^$`(B - max $B$N%[!<%`%Z!<%8$r8+$k$3$H$K$J$j$^$9!#(B($BC<Kv%Y!<%9$N(B) Lynx - $B%V%i%&%6$r;H$&>l9g$O!"2hA|$d%F!<%V%k(B<em>$B$J$I(B</em>$B$r4^$^$J$$(B - min $B$N%[!<%`%Z!<%8$,I=<($5$l$^$9!#$=$l0J30$N%V%i%&%6$N>l9g$OI8=`(B - (std) $B$N%Z!<%8$,I=<($5$l$^$9!#(B - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteRule" - name="RewriteRule">RewriteRule</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteRule - <em>Pattern</em> <em>Substitution</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - <p><code>RewriteRule</code> - $B%G%#%l%/%F%#%V$O!"<B:]$N=q$-49$($rC4Ev$7$F$/$l$kGO<VGO$G$9!#(B - $B$3$N%G%#%l%/%F%#%V$OJ#?t2s=q$/$3$H$,$G$-$^$9!#(B - $B3F%G%#%l%/%F%#%V$O0l$D$N=q$-49$(%k!<%k$rDj5A$7$^$9!#(B - $B$3$l$i%k!<%k$r(B<strong>$BDj5A$9$k=g=x(B</strong>$B$O=EMW$G$9!#(B - $B$J$<$J$i!"<B9T;~$K%k!<%k$rE,MQ$9$k:]!"$3$N=g=x$G9T$J$o$l$k$+$i$G$9!#(B - </p> - - <p><a id="patterns" name="patterns"><em>Pattern</em></a> $B$O8=:_$N(B - URL $B$KE,MQ$5$l$k(B (Apache 1.1.x $B$G$O(B System V8$B!"(BApache 1.2.x - $B0J9_$G$O(B POSIX $B$N(B)<a id="regexp" name="regexp">$B@55,I=8=(B</a>$B$G$9!#(B - $B$3$3$G!V8=:_$N!W$H8@$C$F$$$k$N$O!"%k!<%k$,E,MQ$5$l$k:]$N(B URL - $B$NCM$N$3$H$G$9!#$3$l$O%j%/%(%9%H$5$l$?%*%j%8%J%k$N(B URL - $B$G$"$k$H$O8B$j$^$;$s!#4{$K?tB?$/$N%k!<%k$,%^%C%A$7$F!"(B - $B$=$l$r=q$-49$($?8e$+$b$7$l$J$$$+$i$G$9!#(B</p> - - <p>$B@55,I=8=$NJ8K!$K4X$9$k%R%s%H(B:</p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="top"> -<pre> -<strong>$B%F%-%9%H(B: </strong> - <strong><code>.</code></strong> $BG$0U$N0lJ8;z(B - <strong><code>[</code></strong>chars<strong><code>]</code></strong> $BJ8;z%/%i%9(B: $B$$$:$l$+$NJ8;z(B - <strong><code>[^</code></strong>chars<strong><code>]</code></strong> $BJ8;z%/%i%9(B: $B$3$l$i0J30$NJ8;z(B - text1<strong><code>|</code></strong>text2 $BA*Br;h(B: text1 $B$^$?$O(B text2 - -<strong>$BJ8;z?t;XDj(B:</strong> - <strong><code>?</code></strong> $BD>A0$NJ8;z$N(B 0 $B2s$^$?$O(B 1 $B2s$N7+$jJV$7(B - <strong><code>*</code></strong> $BD>A0$NJ8;z$N(B 0 $B2s0J>e$N7+$jJV$7(B - <strong><code>+</code></strong> $BD>A0$NJ8;z$N(B 1 $B2s0J>e$N7+$jJV$7(B - -<strong>$B%0%k!<%T%s%0(B:</strong> - <strong><code>(</code></strong>text<strong><code>)</code></strong> $B%F%-%9%H$N%0%k!<%T%s%0(B - ($BA*Br;h$N6-3&$rL@<($9$k!"<c$7$/$O8eJ};2>H$r:n@.$9$k$?$a$K;H$&!#(B - <strong>N</strong>$BHVL\$N%0%k!<%W$O!"(BRewriteRule $B$N1&B&$NI=8=$G(B<code>$</code><strong>N</strong>$B$H$7$F;2>H$9$k$3$H$,2DG=!#!K(B - -<strong>$BJ8;z0LCV$N;XDj(B:</strong> - <strong><code>^</code></strong> $B9TF,(B - <strong><code>$</code></strong> $B9TKv(B - -<strong>$B%(%9%1!<%W(B:</strong> - <strong><code>\</code></strong>char $BFC<lJ8;z$r%(%9%1!<%W(B($B8z2L$rBG$A>C$9(B)$B$9$k(B - ($BNc$($P(B "<code>.[]()</code>" <em>$B$J$I(B</em>) -</pre> - </td> - </tr> - </table> - - <p>$B@55,I=8=$K4X$9$k>pJs$O!"%m!<%+%k$N(B regex(3) man $B%Z!<%8$+$^$?$O(B - Apache 1.3 $B$NG[I[J*$K4^$^$l$k(B<code>src/regex/regex.3</code> - $B$r;2>H$7$F$/$@$5$$!#$b$7@55,I=8=$d$=$NJQ<o(B (POSIX $B@55,I=8=!"(B - Perl $B@55,I=8=(B <em>$B$J$I(B</em>)$B$K6=L#$,$"$l$P!"0J2<$N@lLg=q$r$4Mw2<$5$$(B:</p> - - <blockquote> - <em>Mastering Regular Expressions</em><br /> - Jeffrey E.F. Friedl<br /> - Nutshell Handbook Series<br /> - O'Reilly & Associates, Inc. 1997<br /> - ISBN 1-56592-257-3<br /> - </blockquote> - - <p>($BLuCm(B: $BBh(B2$BHG$NF|K\8lHG(B)</p> - - <blockquote> - <em>$B>\@b(B $B@55,I=8=(B $BBh(B2$BHG(B</em><br /> - Jeffrey E. F. Friedl $BCx(B<br /> - $BEDOB(B $B>!(B $BLu(B<br /> - $B%*%i%$%j!<!&%8%c%Q%s(B 2003<br /> - ISBN 4-87311-130-7<br /> - </blockquote> - - <p>$B$5$i$K!"(Bmod_rewrite $B$G$O%Q%?!<%s$NA0$K(B NOT $BJ8;z(B('<code>!</code>') - $B$,;H$($^$9!#$3$l$G8eB3$N%Q%?!<%s$rH]Dj$9$k$3$H$,$G$-$^$9!#(B - $BNc$($F$$$&$J$i$P!"(B``<em>$B$b$78=:_$N(B URL - $B$,$3$N%Q%?!<%s$K%^%C%A(B<strong>$B$7$J$1$l$P(B</strong></em>'' - $B$H$$$&$3$H$G$9!#$3$l$O!"H?BP$N%Q%?!<%s$rI=$9J}$,4JC1$@$C$?$j!"(B - $B:G8e$N%G%U%)%k%H%k!<%k$H$9$k$J$I!"(B - $BNc30E*$J%1!<%9$rI=8=$9$k$N$K$b;H$($^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> NOT - $BJ8;z$r;H$C$F%Q%?!<%s$rH]Dj$9$k>l9g$O%Q%?!<%sCf$K(B - $B%0%k!<%W2=$5$l$?%o%$%k%I%+!<%IItJ,$rF~$l$k$3$H$O$G$-$^$;$s!#(B - $B$3$l$O!"%Q%?!<%s$,%^%C%A(B *$B$7$J$$(B* $B$H$-!"(B - $B%0%k!<%W$NCf?H$O6u$K$J$C$F$7$^$&$+$i$G$9!#$=$N7k2L!"(B - $BH]Dj$5$l$?%Q%?!<%s$r;H$&>l9g$O!"CV$-49$(J8;zNs$NCf$G(B - <code>$N</code> $B$O;H$($^$;$s(B!</td> - </tr> - </table> - - <p>$B=q$-49$(%k!<%k$N(B <a id="rhs" - name="rhs"><em>Substitution</em></a> $B$O!"(B<em>Pattern</em>$B$,(B - $B%^%C%A$7$?>l9g$K%*%j%8%J%k$N(B URL $B$+$iCV$-49$($i$l$kJ8;zNs$G$9!#(B - $B%W%l!<%s%F%-%9%H$NB>$K0J2<$N$b$N$,;H$($^$9!#(B</p> - - <ol> - <li>RewriteRule $B%Q%?!<%s$X$N8eJ};2>H(B <code>$N</code></li> - - <li>$B:G8e$K%^%C%A$7$?(B RewriteCond $B%Q%?!<%s$X$N8eJ};2>H(B - <code>%N</code></li> - - <li>$B%k!<%k>r7o$N%F%9%HJ8;zNs$HF1MM$N%5!<%PJQ?t(B - (<code>%{$BJQ?tL>(B}</code>)</li> - - <li><a href="#mapfunc">$B%^%C%T%s%04X?t(B</a> $B$N8F$S=P$7(B - (<code>${mapname:key|default}</code>)</li> - </ol> - $B8eJ};2>H$O(B <code>$</code><strong>N</strong>(<strong>N</strong>=0..9) - $B<1JL;R$GI=$7$^$9!#$3$l$O!"%^%C%A$7$?(B <em>Pattern</em> $B$N%0%k!<%W$NCf$G!"(B - <strong>N</strong> $BHVL\$N$b$N$NFbMF$KCV$-49$($i$l$^$9!#%5!<%PJQ?t$O(B - <code>RewriteCond</code> $B%G%#%l%/%F%#%V$N(B <em>TestString</em> $B$HF1$8$G$9!#(B - $B%^%C%T%s%04X?t$O(B <code>RewriteMap</code> $B%G%#%l%/%F%#%V$+$iMh$?$b$N$G!"(B - $B$=$3$G@bL@$7$F$$$^$9!#$3$l$i(B 3 $B%?%$%W$NJQ?t$O!">e5-$N=g=x$GE83+$5$l$^$9!#(B - - <p>$BA0=R$N$h$&$K!"$9$Y$F$N=q$-49$(%k!<%k$,(B <em>Substitution</em> $B$KBP$7$F(B - ($B@_Dj%U%!%$%k$KDj5A$7$F$"$k=g$K(B)$BE,MQ$5$l$^$9!#(BURL - $B$O(B <em>Substitution</em> $B$K$h$C$F(B<strong>$B40A4$KCV$-49$($i$l(B</strong>$B!"(B - $B=q$-49$(=hM}$O(B <code><strong>L</strong></code> $B%U%i%0(B -- $B8e=R(B -- - $B$K$h$C$FL@<(E*$K=*C<$5$l$F$$$J$$8B$j!"(B - $B%k!<%k$,$J$/$J$k$^$GB3$1$i$l$^$9!#(B</p> - - <p>'<code>-</code>' $B$H8F$P$l$kFC<l$JCV$-49$(J8;zNs$,$"$j$^$9!#(B - $B$3$l$O!"(B<strong>$BCV496X;_(B</strong>! $B$N0UL#$G$9!#JQ$G$7$g(B? - $B$$$$$(!"$3$l$O(B URL $B$N%^%C%A%s%0(B<strong>$B$@$1(B</strong>$B$r9T$J$$!"(B - $BCV49$r9T$J$o$J$$$H$$$&5!G=$rDs6!$7$F$/$l$k$b$N$G$9!#(B - <em>$B$9$J$o$A(B</em>$B!"(B<strong>C</strong> (chain) - $B%U%i%0$H$J$$$C$7$g$K;H$&$3$H$K$h$C$F!"(B - $BCV49$,9T$J$o$l$kA0$KJ#?t$N%Q%?!<%s$rE,MQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$b$&$R$H$DCm0U;v9`(B: $B%/%(%j!<J8;zNsItJ,$rIU2C$7$?CV49J8;zNs$G(B - URL $B$r@8@.$9$k$3$H$b$G$-$^$9!#(B - $BC1$K!"CV49J8;zNs$NCf$K%/%(%9%A%g%s%^!<%/$rF~$l$k$@$1$G!"$=$l0J9_$O(B - QUERY_STRING $B$KF~$l$k$Y$-$3$H$r<($7$^$9!#(B - $B4{B8$N%/%(%j!<J8;zNs$r>C5n$7$?$$>l9g$O!"(B - $BCV49J8;zNs$r%/%(%9%A%g%s%^!<%/$@$1$G=*$o$i$;$k$h$&$K$7$^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B</strong>: $BFC<l5!G=$K$D$$$F=R$Y$^$9(B: - $BCV49%U%#!<%k%I$NA0$K(B - <code>http://</code><em>thishost</em>[<em>:thisport</em>] - $B$rCV$/$H!"(B<strong>mod_rewrite</strong> - $B$O<+F0E*$K$3$l$r=|5n$7$^$9!#$3$N0EL[$N30It%j%@%$%l%/%H(B URL - $B$K$*$1$k<+F0JQ495!G=$O!"%[%9%HL>ItJ,$r@8@.$9$k(B - $B%^%C%T%s%04X?t$HF1;~$K;H$&>l9g$KJXMx$+$D=EMW$J$b$N$G$9!#(B - $B$3$l$rM}2r$9$k$K$O!"0J2<$N%5%s%W%k$N>O$N:G=i$NNc$r8+$F$/$@$5$$!#(B - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BHw9M(B: $B$3$N5!G=$N1F6A$G!"(B</strong> - <code>http://thishost</code> $B@\F,<-$NIU$$$?(B - $B<+J,<+?H$N%5!<%P$X$NL5>r7o$N30It%j%@%$%l%/%7%g%s$O!"(B - $BF0:n$7$^$;$s!#(B - $B$3$N$h$&$J<+8J%j%@%$%l%/%H$r9T$&$K$O!"(B<strong>R</strong> - $B%U%i%0$r;H$&I,MW$,$"$j$^$9(B($B8e=R(B)$B!#(B</td> - </tr> - </table> - - <p><code>RewriteRule</code> $B%G%#%l%/%F%#%V$NBh;00z?t$H$7$F!"(B - <em>Pattern</em> $B$KBP$7$F>e5-0J30$K$b0J2<$N$h$&$J(B</p> - - <blockquote> - <strong><code>[</code><em>$B%U%i%0(B</em><code>]</code></strong> - </blockquote> - $B$r$D$1$k$3$H$,$G$-$^$9!#(B - <em>$B%U%i%0(B</em>$B$O0J2<$N$b$N$r%+%s%^$G6h@Z$C$F;XDj$7$^$9(B: - - <ul> - <li> - '<strong><code>redirect|R</code> - [=<em>code</em>]</strong>' ($B6/@)(B <a id="redirect" - name="redirect"><strong>r</strong>edirect</a>)<br /> - - <em>Substitution</em> $B$NA0$K(B ($B?7$7$$(B URL $B$r(B URI $B$K$9$k(B) - <code>http://thishost[:thisport]/</code> - $B$r$D$1$k$3$H$K$h$j6/@)E*$J30It%j%@%$%l%/%7%g%s$r9T$J$$$^$9!#(B - <em>code</em> $B$,;XDj$5$l$J$$>l9g!"(BHTTP $B%l%9%]%s%9$N(B 302 - (MOVED TEMPORARILY) $B$,;H$o$l$^$9!#(B300 $B$+$i(B 400 - $B$^$G$NB>$N%l%9%]%s%9%3!<%I$rJV$7$?$$>l9g$O!"(B - $BD>@\$=$NHV9f$r;XDj$9$k$+!"%7%s%\%kL>(B <code>temp</code> - ($B%G%U%)%k%H(B), <code>permanent</code>, <code>seeother</code> - $B$N$$$:$l$+$r;H$$$^$9!#(B<em>$BNc$($P(B</em>$B!"(B``<code>/~</code>'' - $B$r(B ``<code>/u/</code>'' $B$KJQ49$7$?$j!">o$K(B <code>/u/</code> - <em>user</em> $B$K%9%i%C%7%e$rDI2C$9$k$J$I$N!"%/%i%$%"%s%H$K(B $B@55,2=(B - $B$5$l$?(B URL $B$rJV$9%k!<%k$K;H$&$3$H$,$G$-$^$9!#(B<br /> - - <p><strong>$BCm0U(B:</strong> - $B$3$N%U%i%0$r;H$&>l9g$O!"CV49%U%#!<%k%I$,M-8z$J(B URL - $B$G$"$k$3$H$r3NG'$7$F$/$@$5$$!#$b$7$=$&$G$J$$>l9g!"(B - $BL58z$J>l=j$K%j%@%$%l%/%H$7$F$$$k$3$H$K$J$C$F$7$^$$$^$9!#(B - $B$5$i$K!"$3$N%U%i%0$O!"(BURL $B$NA0$K(B - <code>http://thishost[:thisport]/</code> - $B$rIU2C$9$k$@$1$G!"$=$N8e$b=q$-49$(=hM}$OB3$/$3$H$r(B - $BM}2r$7$F$*$$$F$/$@$5$$!#(B - $BDL>o$O$=$3$G=q$-49$($r$d$a$FB(;~$K%j%@%$%l%/%H$9$k$3$H$,K>$_$NF0:n(B - $B$G$7$g$&!#(B - $B=q$-49$($r=*N;$9$k$K$O!"(B - 'L' $B%U%i%0$b$$$C$7$g$K;XDj$7$J$1$l$P$J$j$^$;$s!#(B</p> - </li> - - <li>'<strong><code>forbidden|F</code></strong>' (URL $B$r6/@)E*$K(B - <strong>f</strong>orbidden($B6X;_(B)$B$K$9$k(B)<br /> - $B$3$l$O8=:_$N(B URL $B$r6/@)E*$K%"%/%;%96X;_$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"B(;~$K(B HTTP $B%l%9%]%s%9$N(B 403 (FORBIDDEN) - $B$rJV$7$^$9!#$3$N%U%i%0$OE,@Z$J(B RewriteCond - $B$H$$$C$7$g$K;H$C$F!"FCDj$N(B URL $B$KBP$9$k>r7o%V%m%C%/$r9T$J$&$?$a$K(B - $B;H$$$^$9!#(B</li> - - <li>'<strong><code>gone|G</code></strong>' (URL $B$r6/@)E*$K(B - <strong>g</strong>one($B>C5n:Q$_(B)$B$K$9$k(B)<br /> - $B$3$l$O8=:_$N(B URL $B$r6/@)E*$K>C5n:Q$_(B(gone)$B$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"B(;~$K(B HTTP $B%l%9%]%s%9$N(B 410 (GONE) - $B$rJV$7$^$9!#$3$N%U%i%0$O$b$O$dB8:_$7$J$$%Z!<%8$r(B - $B>C5n:Q$_$H$7$F%^!<%/$9$k$?$a$K;H$$$^$9!#(B</li> - - <li> - '<strong><code>proxy|P</code></strong>' ($B6/@)(B - <strong>p</strong>roxy)<br /> - $B$3$N%U%i%0$O!"CV49BP>]It$rFbItE*$J%W%m%-%7%j%/%(%9%H(B - $B$H$_$J$7!"$=$N>l$G(B(<em>$B$9$J$o$A(B</em>$B!"(B - $B$3$3$G=q$-49$(%k!<%k$rDd;_$7$F(B)<a - href="mod_proxy.html">$B%W%m%-%7%b%8%e!<%k$r(B</a>$BDL$7$F=PNO$7$^$9!#(B - $BCV49BP>]J8;zNs$O(B(<em>$BNc$($P(B</em>$B!"IaDL$O(B <code>http://</code> - <em>hostname</em>$B$G;O$^$k$h$&$J(B)$B!"(BApache - $B%W%m%-%7%b%8%e!<%k$G07$($kM-8z$J(B URI $B$G$J$1$l$P$J$j$^$;$s!#(B - $B$=$&$G$J$1$l$P!"%W%m%-%7%b%8%e!<%k$+$i%(%i!<$,Js9p$5$l$^$9!#(B - $B$3$N%U%i%0$r;H$&$3$H$G$h$j6/NO$J(B <a - href="mod_proxy.html#proxypass">ProxyPass</a> - $B%G%#%l%/%F%#%V$N<BAu$r9T$J$&$3$H$,$G$-!"%j%b!<%H$K$"$k$b$N$r(B - $B%m!<%+%k%5!<%P$NL>A06u4V$K%^%C%W$9$k$3$H$,$G$-$^$9!#(B - - <p>$BCm0U(B: $B$3$N5!G=$r;H$&$K$"$?$C$F$O!"$4<+J,$N(B Apache $B%5!<%P$K(B - $B%W%m%-%7%b%8%e!<%k$,AH$_9~$^$l$F$$$k$3$H$r(B - $B3NG'$7$F$/$@$5$$!#3NG'J}K!$,$o$+$i$J$$>l9g$O!"(B``<code>httpd - -l</code>'' $B$N=PNO$NCf$K(B <code>mod_proxy.c</code> - $B$,$"$k$+$I$&$+$rD4$Y$F$_$^$7$g$&!#$b$7$"$l$P!"(B - mod_rewrite $B$N$3$N5!G=$r;H$($^$9!#$b$7$J$1$l$P!"(Bmod_proxy - $B$rM-8z$K$7$F(B ``<code>httpd</code>'' - $B%W%m%0%i%`$r:F9=C[$9$kI,MW$,$"$j$^$9!#(B</p> - </li> - - <li>'<strong><code>last|L</code></strong>' - (<strong>l</strong>ast($B:G8e$N(B)$B%k!<%k(B)<br /> - $B$3$3$G=q$-49$(=hM}$rCf;_$7!"(B - $B$=$l0J>e$N=q$-49$(%k!<%k$rE,MQ$7$J$$$h$&$K$7$^$9!#$3$l$O(B Perl - $B$N(B <code>last</code> $B%3%^%s%I$d(B C $B8@8l$N(B <code>break</code> - $B%3%^%s%I$KBP1~$9$k$b$N$G$9!#$3$N%U%i%0$r;H$&$3$H$G!"(B - $B8=:_$N=q$-49$(8e$N(B URL $B$,8eB3$N%k!<%k$K$h$C$F(B - $B$=$l0J>e=q$-49$($i$l$k$3$H$rKI;_$7$^$9!#(B - $BNc$($P!"$3$l$r;H$C$F%k!<%H%Q%9$N(B URL ('<code>/</code>') - $B$r<B:]$N$b$N!"(B<em>$BNc$($P(B </em>'<code>/e/www/</code>' - $B$K=q$-49$($^$9!#(B</li> - - <li>'<strong><code>next|N</code></strong>' - (<strong>n</strong>ext($B<!$N(B)$B0l<~(B)<br /> - $B=q$-49$(=hM}$r(B($B0lHV:G=i$N=q$-49$(%k!<%k$+$i(B)$B:F<B9T$7$^$9!#(B - $B$?$@$7$=$N:]%^%C%A%s%0$5$l$k(B URL $B$OEv=i$N(B URL - $B$G$O$J$/!":G8e$K=q$-49$($i$l$?(B URL $B$G$9!#$3$l$O(B Perl - $B$N(B <code>next</code> $B%3%^%s%I$d(B C $B8@8l$N(B <code>continue</code> - $B%3%^%s%I$KBP1~$9$k$b$N$G$9!#(B - $B=q$-49$(=hM}$r:F5/F0$7$?$$$H$-(B - <em>$B$9$J$o$A!"(B</em>$B%k!<%W$N@hF,$KLa$j$?$$$H$-(B<br />$B$K(B - $B$3$N%3%^%s%I$r;H$C$F$/$@$5$$!#(B - <strong>$B$?$@$7!"L58B%k!<%W$r:n$i$J$$$h$&$KN10U$7$F$/$@$5$$(B! - </strong></li> - - <li>'<strong><code>chain|C</code></strong>' - ($B<!$N%k!<%k$K(B <strong>c</strong>hained ($B%A%'%$%s(B))<br /> - $B$3$N%U%i%0$r;XDj$9$k$H!"8=:_$N%k!<%k$O<!$N%k!<%k$K%A%'%$%s$5$l$^$9(B - ($B$J$*!"<!$N%k!<%k$b8eB3$N%k!<%k$K=gHV$K(B - $B%A%'%$%s$9$k$3$H$,$G$-$^$9(B)$B!#$3$l$K$O0J2<$N8z2L$,$"$j$^$9(B: - $B%k!<%k$,%^%C%A$9$k$H!"=hM}$ODL>o$I$*$j9T$o$l$^$9!#(B - <em>$B$9$J$o$A(B</em>$B%U%i%0$O2?$N1F6A$bM?$($^$;$s!#%k!<%k$,%^%C%A(B - <strong>$B$7$J$$(B</strong>$B>l9g!"8eB3$N$9$Y$F$N%k!<%k$O%9%-%C%W$5$l$^$9!#(B - $BNc$($P(B (.www $BItJ,$,9T$J$o$l$k$Y$-$G$J$$(B) - $B30It%j%@%$%l%/%H$rH/@8$5$;$?;~$K!"(B - $B%G%#%l%/%H%j$4$H$N%k!<%k%;%C%H$NCf$+$i(B ``<code>.www</code>'' - $B$NItJ,$r<h$j=|$/$?$a$K;H$&$3$H$G$-$^$9!#(B - </li> - - <li> - '<strong><code>type|T</code></strong>=<em>MIME-type</em>' - (MIME <strong>t</strong>ype $B$N6/@);XDj(B)<br /> - $B%?!<%2%C%H%U%!%$%k$N(B MIME $B%?%$%W$r6/@)E*$K(B <em>MIME-type</em> - $B$K$7$^$9!#Nc$($P$3$l$r;H$C$F!"(B<code>mod_alias</code> - $B$N%G%#%l%/%F%#%V$G$"$k(B <code>ScriptAlias</code> - $B$r%7%_%e%l!<%H$9$k$3$H$,$G$-$^$9!#$3$l$O!"(B - $B%^%C%T%s%0$5$l$?%G%#%l%/%H%j$NCf$K$"$k$9$Y$F$N%U%!%$%k$N(B MIME - $B%?%$%W$r!"FbItE*$K(B``<code>application/x-httpd-cgi</code>'' - $B$K6/@)%;%C%H$9$k$b$N$G$9!#(B</li> - - <li> - '<strong><code>nosubreq|NS</code></strong>' (<strong>n</strong>o - <strong>s</strong>ub-request, - $BFbIt$N(B - $B%5%V%j%/%(%9%H$,$J$$(B - $B$H$-$N$_;H$o$l$k(B)<br /> - $B$3$N%U%i%0$r;H$&$H!"%/%(%9%H$,FbIt$N%5%V%j%/%(%9%H$G$"$k>l9g$K!"(B - $B=q$-49$(%(%s%8%s$,=q$-49$(%k!<%k$r%9%-%C%W$9$k$h$&$K$7$^$9!#(B - $B%5%V%j%/%(%9%H$O!"Nc$($P!"(B<code>mod_include</code> - $B$,%G%#%l%/%H%j$N%G%U%)%k%H$N8uJd$H$J$k%U%!%$%k$N>pJs(B - (<code>index.xxx</code>) $B$r8!:w$7$h$&$H$9$k:]$K!"(BApache - $B$NCf$GFbItE*$KH/@8$7$^$9!#(B - $B%5%V%j%/%(%9%H$K$*$$$F$O=q$-49$(A`:n$O>o$KM-MQ$G$"$k$H$O8B$i$:!"(B - $B$9$Y$F$N%k!<%k$,E,MQ$5$l$F$7$^$&$HLdBj$r5/$3$7$F$7$^$&>l9g$b$"$j$^$9!#(B - $B$=$N$h$&$J%k!<%k$O$3$N%U%i%0$r;H$C$F=|30$7$^$9!#(B<br /> - - <p>$B0J2<$N%k!<%k$r;H$C$F!"$3$N%U%i%0$r;H$&$+$I$&$+7h$a$F$/$@$5$$(B: - CGI $B%9%/%j%W%H$N@hF,$K$J$s$i$+$N(B URL $B$rIU2C$7$F!"$=$l$r(B CGI - $B%9%/%j%W%H$G=hM}$5$;$h$&$H$9$k>l9g!"%5%V%j%/%(%9%H$N:]$KLdBj$,(B - $B5/$3$C$?$j(B ($B%*!<%P!<%X%C%I$,$+$+$C$?$j(B) $B$9$k2DG=@-$,9b$/$J$j$^$9!#(B - $B$3$N$h$&$J%1!<%9$G$O!"$3$N%U%i%0$r;H$C$F$/$@$5$$!#(B</p> - </li> - - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - $B$3$l$O(B<em>$B%Q%?!<%s(B</em>$B$K$D$$$FBgJ8;z>.J8;z$r6hJL$7$J$$$h$&$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"(B<em>$B%Q%?!<%s(B</em>$B$,8=:_$N(B URL $B$H%^%C%A$5$l$k:]!"(B - 'A-Z' $B$H(B 'a-z' $B$O6hJL$5$l$^$;$s!#(B</li> - - <li>'<strong><code>qsappend|QSA</code></strong>' - (<strong>q</strong>uery <strong>s</strong>tring - <strong>a</strong>ppend)<br /> - $B$3$N%U%i%0$O!"4{B8$N$b$N$rCV$-49$($k$N$G$O$J$/!"CV49J8;zNs$N(B - $B%/%(%j!<J8;zNsItJ,$rDI2C$9$k$h$&$K$7$^$9!#=q$-49$(%k!<%k$rDL$7$F%/%(%j!<(B - $BJ8;zNs$K2?$+%G!<%?$rDI2C$7$?$$>l9g$K$3$N%U%i%0$r;H$$$^$9!#(B</li> - - <li> - '<strong><code>noescape|NE</code></strong>' - (<strong>n</strong>o URI <strong>e</strong>scaping of - output)<br /> - $B$3$N%U%i%0$O!"(Bmod_rewrite $B$,=q$-49$(7k2L$KBP$7$FDL>o9T$J$o$l$k(B - URL $B%(%9%1!<%W%k!<%k$rE,MQ$7$J$$$h$&$K$7$^$9!#DL>o$O(B ('%', - '$', ';' $B$H$$$C$?(B) $BFC<lJ8;z$K$D$$$F$O!"$=$l$i$HEy2A$N(B 16 - $B?J?tJ8;zNs(B ($B=g$K(B '%25', '%24', '%3B') $B$K%(%9%1!<%W$5$l$^$9!#(B - $B$3$N%U%i%0$O$3$NF0:n$rM^@)$7$^$9!#(B - $B$3$l$K$h$j!"=PNO$NCf$K%Q!<%;%s%HJ8;z$r;H$&$3$H$,$G$-$^$9!#(B - $B0J2<$KNc$r5s$2$^$9!#(B -<pre> - RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] - -</pre> - $B$3$NNc$G$O!"(B'<code>/foo/zed</code>' $B$,0BA4$J%j%/%(%9%H$G$"$k(B - '<code>/bar?arg=P1=zed</code>' $B$KJQ99$5$l$^$9!#(B - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> - <code>noescape</code> $B%U%i%0$O(B Apache 1.3.20 - $B0J9_$G$N$_M-8z$G$9!#(B</td> - </tr> - </table> - </li> - - <li> - '<strong><code>passthrough|PT</code></strong>' - (<strong>p</strong>ass <strong>t</strong>hrough to next - handler)<br /> - $B$3$N%U%i%0$O!"FbIt$N(B <code>request_rec</code> $B9=B$BN$N(B - <code>uri</code> $B%U%#!<%k%I$K(B <code>filename</code> - $B%U%#!<%k%I$NCM$r%;%C%H$9$k$h$&$K!"=q$-49$(%(%s%8%s$K;X<($7$^$9!#(B - $B$3$N%U%i%0$OC1$K!"(B<code>RewriteRule</code> - $B%G%#%l%/%F%#%V$N=PNO$KBP$7$F!"B>$N(B URI - $B$+$i%U%!%$%kL>$X$NJQ49=hM}$r9T$&(B <code>Alias</code>, - <code>ScriptAlias</code>, <code>Redirect</code> - <em>$B$H$$$C$?(B</em>$B%G%#%l%/%F%#%V$K$h$k8e=hM}$rF~$l$k$?$a$N>.5;$G$9!#(B - $B0UL#$r<($9$?$a$NC1=c$JNc(B: <code>mod_rewrite</code> - $B$N=q$-49$(%(%s%8%s$G(B <code>/abc</code> $B$+$i(B <code>/def</code> - $B$X$NJQ49$r9T$J$$!"$5$i$K(B <code>mod_alias</code> $B$G(B - <code>/def</code> $B$+$i(B <code>/ghi</code> - $B$K=q$-49$($k$K$O!"0J2<$N$h$&$K$7$^$9(B: -<pre> - RewriteRule ^/abc(.*) /def$1 [PT] - Alias /def /ghi - -</pre> - $B$b$7(B <code>PT</code> $B%U%i%0$r;XDj$9$k$N$rK:$l$F$7$^$C$?>l9g!"(B - <code>mod_rewrite</code> $B$O$A$c$s$H$=$N;E;v$r9T$J$$$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"40A4$J(B API $B$K=`5r$7$?(B URI-to-filename - $BJQ49%k!<%A%s$,9T$&$Y$-!"(B<code>uri=/abc/...</code> $B$r(B - <code>filename=/def/...</code> $B$K=q$-49$(!"$r9T$J$$$^$9!#$=$N8e(B - <code>mod_alias</code> $B$,5/F0$5$l!"(BURI-to-filename - $BJQ49$r;n$_$^$9$,!"$3$l$OF0:n$7$^$;$s(B $B!#(B - - <p>$BCm0U(B: <strong>URL-to-filename - $BJQ49$r4^$`0[$J$C$?%b%8%e!<%k$N%G%#%l%/%F%#%V$r:.MQ$7$?$$>l9g$K$O!"(B - $B$3$N%U%i%0$r;XDj$9$kI,MW$,$"$j$^$9!#(B</strong>$BE57?E*$JNc$H$7$F$O!"(B - <code>mod_alias</code> $B$H(B <code>mod_rewrite</code> - $B$NF1;~;HMQ$G$9!#(B</p> - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><font size="-1"><strong>$BCm0U(B - Apache $B%O%C%+!<$X(B: - </strong><br /> - $B8=:_$N(B Apache API $B$K(B URI-to-filename $B%U%C%/$K2C$($F(B - filename-to-filename $B%U%C%/$,$"$l$P!"(B - $B$3$N%U%i%0$r;H$&I,MW$O$J$$$N$G$9(B! - $B$7$+$7$3$N$h$&$J%U%C%/$,$J$$8=:_!"(B - $B$3$N%U%i%0$,M#0l$N2r7h:v$H$J$j$^$9!#(BApache - $B%0%k!<%W$O$3$NLdBj$K$D$$$F5DO@$7$F$*$j!"(BApache $B%P!<%8%g%s(B - 2.0 $B$K$O$=$N$h$&$J%U%C%/$,DI2C$5$l$k$3$H$G$7$g$&!#(B</font> </td> - </tr> - </table> - </li> - - <li>'<strong><code>skip|S</code></strong>=<em>num</em>' - (<strong>s</strong>kip next rule(s))<br /> - $B$3$N%U%i%0$O=q$-49$(%(%s%8%s$KBP$7!"8=:_$N%k!<%k$,%^%C%A$7$?$i!"(B - $B<!$N(B <em>num</em> $B8D$N%k!<%k$r%9%-%C%W$9$k$h$&;X<($7$^$9!#$3$l$r(B - $B;H$C$F!"5<;wE*$K(B if-then-else $B9=B$$r:n$k$3$H$,$G$-$^$9(B: then-$B6g(B - $B$N:G=*%k!<%k$O(B <code>skip=N</code> $B$H$J$j$^$9!#$3$3$G(B N $B$O(B - else-$B6g(B $B$KF~$l$k%k!<%k$N?t$G$9!#(B($B$3$l$O(B 'chain|C' $B%U%i%0$H$O(B - <strong>$B0[$J$j$^$9(B</strong>!)$B!#(B</li> - - <li> - '<strong><code>env|E=</code></strong><em>VAR</em>:<em>VAL</em>' - (set <strong>e</strong>nvironment variable)<br /> - $B$3$l$O(B <em>VAR</em> $B$H$$$&L>A0$N4D6-JQ?t$NCM$r(B <em>VAL</em> - $B$K$9$k$h$&;X<($7$^$9!#$3$3$G(B <em>VAL</em> - $B$K$O!"@55,I=8=$N8eJ};2>H$H$7$FE83+$5$l$k(B <code>$N</code> $B$H(B - <code>%N</code> $B$r=q$/$3$H$,$G$-$^$9!#(B - $B$3$N%U%i%0$rJ#?t;H$C$F!"J#?t$NJQ?t$rDj5A$9$k$3$H$b$G$-$^$9!#(B - $B$3$NJQ?t$OB?$/$N>l9g!"DL>o8e$+$i(B XSSI (<code><!--#echo - var="VAR"--></code> $B$rDL$7$F(B) $B$^$?$O(B CGI (<em>$BNc$($P(B</em> - <code>$ENV{'VAR'}</code>) $B$N$h$&$K!";2>H$5$l$^$9!#$5$i$K!"(B - RewriteCond $B%Q%?!<%s(B <code>%{ENV:VAR}</code> - $B$rDL$7$F;2>H$9$k$3$H$b$G$-$^$9!#$3$l$r;H$C$F(B URL - $B$+$i$N>pJs$r@Z$j<h$C$F5-21$7$^$9!#(B</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <strong>$BCm0U(B:</strong> - $B%5!<%PC10L$N@_Dj%U%!%$%k$NCf$G$O!"(B<em>Pattern</em> $B$O40A4$J(B - URL $B$KE,MQ$5$l$k$3$H$rK:$l$J$$$G$/$@$5$$!#(B - <strong>$B$7$+$7$J$,$i!"%G%#%l%/%H%jC10L$N@_Dj%U%!%$%k$NCf$G$O!"(B - $B%Q%?!<%s%^%C%A%s%0$N$?$a$K%G%#%l%/%H%jC10L$N@\F,<-(B - ($B$3$l$OFCDj$N%G%#%l%/%H%j$G$O>o$KF1$8$b$N$G$9(B!) $B$,<+F0E*$K(B - <em>$B<h$j=|$+$l(B</em>$B!"CV49$,=*$o$C$?8e$K<+F0E*$K(B<em>$BIU2C(B</em> - $B$5$l$^$9!#(B</strong>$B$3$N5!9=$O!"$5$^$6$^$J<oN`$N=q$-49$(A`:n$K(B - $B$*$$$F7g$/$3$H$N$G$-$J$$$b$N$G$9!#$J$<$J$i!"$3$N@\F,<-$N%9%-%C%W(B - $B$,9T$J$o$l$J$$$H!">o$KB8:_$9$k$H$O8B$i$J$$?F%G%#%l%/%H%j$H$N(B - $B%^%C%A%s%0$r9T$J$o$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B - - <p>$B$R$H$DNc30$,$"$j$^$9(B: $BCV49J8;zNs$,(B ``<code>http://</code>'' - $B$G;O$^$C$F$$$k>l9g!"%G%#%l%/%H%j@\F,<-$OIU2C(B<strong>$B$5$l$:(B - </strong>$B!"30It%j%@%$%l%/%H$^$?$O(B (<strong>P</strong> $B%U%i%0$,(B - $B;H$o$l$F$$$l$P(B!) $B%W%m%-%7=hM}$,6/@)E*$K9T$J$o$l$^$9!#(B</p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B%G%#%l%/%H%jC10L$N@_Dj%U%!%$%k(B - $B$K$*$1$k=q$-49$(%(%s%8%s$rM-8z$K$9$k>l9g!"$3$l$i$N%U%!%$%k$K(B - ``<code>RewriteEngine On</code>'' $B$r%;%C%H$7!"(B<strong>$B$+$D(B - </strong>``<code>Options FollowSymLinks</code>'' $B$rM-8z$K(B - $B$7$J$1$l$P$J$j$^$;$s!#$"$J$?$N$H$3$m$N4IM}<T$,%f!<%6$N(B - $B%G%#%l%/%H%j$N(B <code>FollowSymLinks</code> $B$N%*!<%P!<%i%$%I(B - $B$r6X;_$7$F$$$?>l9g!"=q$-49$(%(%s%8%s$r;H$&$3$H$O$G$-$^$;$s!#(B - $B$3$N@)8B$,I,MW$J$N$O!"%;%-%e%j%F%#4XO"$NM}M3$K$h$j$^$9!#(B</td> - </tr> - </table> - - <p>$B0J2<$KM-8z$JCV49$NAH9g$;$H!"$=$l$i$N0UL#$r<($7$^$9(B:</p> - - <p><strong>$B%j%/%(%9%H(B ``<code>GET /somepath/pathinfo</code>'' - $B$,9T$J$o$l$?>l9g$N!"(B<br /> - $B%5!<%PC10L$N@_Dj(B (<code>httpd.conf</code>) $B$NFbIt(B:</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>$BM?$($i$l$?%k!<%k(B</strong> <strong>$BCV497k2L(B</strong> ----------------------------------------------- ---------------------------------- -^/somepath(.*) otherpath$1 $BL58z$J$N$G%5%]!<%H$7$J$$(B - -^/somepath(.*) otherpath$1 [R] $BL58z$J$N$G%5%]!<%H$7$J$$(B - -^/somepath(.*) otherpath$1 [P] $BL58z$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) /otherpath$1 /otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://otherhost/otherpath$1 $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - -^/somepath(.*) http://otherhost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - ([R] $B%U%i%0$O>iD9(B) - -^/somepath(.*) http://otherhost/otherpath$1 [P] $BFbIt%W%m%-%77PM3$G(B - http://otherhost/otherpath/pathinfo -</pre> - </td> - </tr> - </table> - - <p><strong>$B%j%/%(%9%H(B ``<code>GET /somepath/localpath/pathinfo</code>'' - $B$,9T$J$o$l$?>l9g$N!"(B<br /> - <code>/somepath</code> $B$K4X$9$k%G%#%l%/%H%jC10L$N@_Dj$NFbIt(B:<br /> - (<em>$BNc$($P(B</em>$B!"(B - <code>/physical/path/to/somepath</code> $B%G%#%l%/%H%j$K$"$C$F!"(B<br /> - <code>RewriteBase /somepath</code> $B$N5-=R$,$"$k(B - <code>.htaccess</code> $B%U%!%$%k(B):</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>$BM?$($i$l$?%k!<%k(B</strong> <strong>$BCV497k2L(B</strong> ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^localpath(.*) /otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) http://otherhost/otherpath$1 $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - -^localpath(.*) http://otherhost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - ([R] $B%U%i%0$O>iD9(B) - -^localpath(.*) http://otherhost/otherpath$1 [P] $BFbIt%W%m%-%77PM3$G(B - http://otherhost/otherpath/pathinfo -</pre> - </td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> - $B$3$3$G$O!"(B - <blockquote> - <code>/</code> <em>Language</em> <code>/~</code> - <em>Realname</em> <code>/.../</code> <em>File</em> - </blockquote> - - $B$H$$$&=q<0$N(B URL $B$r(B - - <blockquote> - <code>/u/</code> <em>Username</em> <code>/.../</code> - <em>File</em> <code>.</code> <em>Language</em> - </blockquote> - - $B$K=q$-49$($?$$$b$N$H$7$^$9!#(B - - <p>$BA0=R$N%^%C%W%U%!%$%k$r(B <code>/path/to/file/map.txt</code> - $B$H$$$&L>A0$GJ]B8$7$F$*$-$^$9!#$=$N8e!"(BApache $B%5!<%P@_Dj(B - $B%U%!%$%k$K0J2<$N9T$rDI2C$9$k$@$1$G$9(B:</p> - - <blockquote> -<pre> -RewriteLog /path/to/file/rewrite.log -RewriteMap real-to-user txt:/path/to/file/map.txt -RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1 -</pre> - </blockquote> - </blockquote> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Miscelleneous" - name="Miscelleneous">$B$=$NB>$N>pJs(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h2><a id="EnvVar" name="EnvVar">$B4D6-JQ?t(B</a></h2> - $B$3$N%b%8%e!<%k$O!"(B<code>SCRIPT_URL</code> $B$H(B - <code>SCRIPT_URI</code> $B$H$$$&Fs$D$N(B ($BHsI8=`$N(B) CGI/SSI - $B4D6-JQ?t$r@_Dj$7$^$9!#$3$l$i$NCf$K$O8=:_$N%j%=!<%9$X$N(B<em>$BO@M}E*$J(B</em> - Web $B%S%e!<$,F~$C$F$$$^$9!#0lJ}!"I8=`$N(B CGI/SSI $BJQ?t$G$"$k(B - <code>SCRIPT_NAME</code> $B$H(B <code>SCRIPT_FILENAME</code> - $B$K$O!"(B<em>$BJ*M}E*$J(B</em>$B%7%9%F%`%S%e!<$,F~$C$F$$$^$9!#(B - - <p>$BCm0U(B: $B$3$l$i$NJQ?t$NCf$K$O!"(B<em>$B:G=i$K%j%/%(%9%H$r<u$1$?;~E@(B</em> - <em>$B$9$J$o$A(B</em>$B!"=q$-49$($,9T$o$l$k(B<em>$BA0$N(B</em> URI/URL - $B$,J];}$5$l$F$$$^$9!#(BURL $B=q$-49$(=hM}$O!"O@M}E*$J(B URL - $B$rJ*M}E*$J%Q%9L>$K=q$-49$($k$?$a$K;H$o$l$k$3$H$,B?$$$?$a!"(B - $B$3$NE@$O=EMW$G$9!#(B</p> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -SCRIPT_NAME=/sw/lib/w3s/tree/global/u/rse/.www/index.html -SCRIPT_FILENAME=/u/rse/.www/index.html -SCRIPT_URL=/u/rse/ -SCRIPT_URI=http://en1.engelschall.com/u/rse/ -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2><a id="Solutions" name="Solutions">$B<BA)E*$J2r7hK!(B</a></h2> - $B$3$NJ8=q0J30$K$b!"(B<a href="../misc/rewriteguide.html">URL - Rewriting Guide</a> $B$H$$$&J8=q$,$"$j$^$9!#$3$NCf$K$O!"(BURL - $B%Y!<%9$NLdBj$K$D$$$F!"<BA)E*$J2r7hK!$,=8$a$i$l$F$$$^$9!#(B - $B$3$3$G<B:]$KLrN)$D%k!<%k%;%C%H$d(B mod_rewrite - $B$K4X$9$kDI2C>pJs$r8+$k$3$H$,$G$-$k$G$7$g$&!#(B - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - <!-- page indentation --> - <!--/%hypertext --> - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en deleted file mode 100644 index a34a4d0c885..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en +++ /dev/null @@ -1,337 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_setenvif</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_setenvif</h1> - - <p>This module provides the ability to set environment - variables based upon attributes of the request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_setenvif.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - setenvif_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>The <samp>mod_setenvif</samp> module allows you to set - environment variables according to whether different aspects of - the request match <a href="../misc/FAQ.html#regex">regular - expressions</a> you specify. These environment variables can be - used by other parts of the server to make decisions about - actions to be taken.</p> - - <p>The directives are considered in the order they appear in - the configuration files. So more complex sequences can be used, - such as this example, which sets <code>netscape</code> if the - browser is mozilla but not MSIE.</p> - - <blockquote> -<pre> - BrowserMatch ^Mozilla netscape - BrowserMatch MSIE !netscape - -</pre> - </blockquote> - - <p>For additional information, we provide a document on <a - href="../env.html">Environment Variables in Apache</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#browsermatch">BrowserMatch</a></li> - - <li><a href="#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="#setenvif">SetEnvIf</a></li> - - <li><a href="#setenvifnocase">SetEnvIfNoCase</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatch" name="browsermatch">BrowserMatch - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BrowserMatch <em>regex - env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <i>none</i><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 and - above (in Apache 1.2 this directive was found in the - now-obsolete mod_browser module); use in .htaccess files only - supported with 1.3.13 and later</p> - - <p>The BrowserMatch directive defines environment variables - based on the <samp>User-Agent</samp> HTTP request header field. - The first argument should be a POSIX.2 extended regular - expression (similar to an <samp>egrep</samp>-style regex). The - rest of the arguments give the names of variables to set, and - optionally values to which they should be set. These take the - form of</p> - - <ol> - <li><samp><em>varname</em></samp>, or</li> - - <li><samp>!<em>varname</em></samp>, or</li> - - <li><samp><em>varname</em>=<em>value</em></samp></li> - </ol> - - <p>In the first form, the value will be set to "1". The second - will remove the given variable if already defined, and the - third will set the variable to the value given by - <samp><em>value</em></samp>. If a <samp>User-Agent</samp> - string matches more than one entry, they will be merged. - Entries are processed in the order in which they appear, and - later entries can override earlier ones.</p> - - <p>For example:</p> -<pre> - BrowserMatch ^Mozilla forms jpeg=yes browser=netscape - BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript - BrowserMatch MSIE !javascript - -</pre> - - <p>Note that the regular expression string is - <strong>case-sensitive</strong>. For case-INsensitive matching, - see the <a - href="#browsermatchnocase"><samp>BrowserMatchNoCase</samp></a> - directive.</p> - - <p>The <samp>BrowserMatch</samp> and - <samp>BrowserMatchNoCase</samp> directives are special cases of - the <a href="#setenvif"><samp>SetEnvIf</samp></a> and <a - href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - directives. The following two lines have the same effect:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatchnocase" - name="browsermatchnocase">BrowserMatchNoCase directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BrowserMatchNoCase - <em>regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 and - above (in Apache 1.2 this directive was found in the - now-obsolete mod_browser module)</p> - - <p>The <samp>BrowserMatchNoCase</samp> directive is - semantically identical to the <a - href="#BrowserMatch"><samp>BrowserMatch</samp></a> directive. - However, it provides for case-insensitive matching. For - example:</p> -<pre> - BrowserMatchNoCase mac platform=macintosh - BrowserMatchNoCase win platform=windows - -</pre> - - <p>The <samp>BrowserMatch</samp> and - <samp>BrowserMatchNoCase</samp> directives are special cases of - the <a href="#setenvif"><samp>SetEnvIf</samp></a> and <a - href="#SetEnvIfNoCase"><samp>SetEnvIfNoCase</samp></a> - directives. The following two lines have the same effect:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvif" name="setenvif">SetEnvIf - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnvIf <em>attribute - regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above; the Request_Protocol keyword and environment-variable - matching are only available with 1.3.7 and later; use in - .htaccess files only supported with 1.3.13 and later</p> - - <p>The <samp>SetEnvIf</samp> directive defines environment - variables based on attributes of the request. These attributes - can be the values of various HTTP request header fields (see <a - href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC2616</a> - for more information about these), or of other aspects of the - request, including the following:</p> - - <ul> - <li><samp>Remote_Host</samp> - the hostname (if available) of - the client making the request</li> - - <li><samp>Remote_Addr</samp> - the IP address of the client - making the request</li> - - <li><samp>Remote_User</samp> - the authenticated username (if - available)</li> - - <li><samp>Request_Method</samp> - the name of the method - being used (<samp>GET</samp>, <samp>POST</samp>, <em>et - cetera</em>)</li> - - <li><samp>Request_Protocol</samp> - the name and version of - the protocol with which the request was made (<em>e.g.</em>, - "HTTP/0.9", "HTTP/1.1", <em>etc.</em>)</li> - - <li><samp>Request_URI</samp> - the portion of the URL - following the scheme and host portion</li> - </ul> - - <p>Some of the more commonly used request header field names - include <samp>Host</samp>, <samp>User-Agent</samp>, and - <samp>Referer</samp>.</p> - - <p>If the <em>attribute</em> name doesn't match any of the - special keywords, nor any of the request's header field names, - it is tested as the name of an environment variable in the list - of those associated with the request. This allows - <code>SetEnvIf</code> directives to test against the result of - prior matches.</p> - - <blockquote> - <strong>Only those environment variables defined by earlier - <code>SetEnvIf[NoCase]</code> directives are available for - testing in this manner. 'Earlier' means that they were - defined at a broader scope (such as server-wide) or - previously in the current directive's scope.</strong> - </blockquote> - - <p>Example:</p> -<pre> - SetEnvIf Request_URI "\.gif$" object_is_image=gif - SetEnvIf Request_URI "\.jpg$" object_is_image=jpg - SetEnvIf Request_URI "\.xbm$" object_is_image=xbm - : - SetEnvIf Referer www\.mydomain\.com intra_site_referral - : - SetEnvIf object_is_image xbm XBIT_PROCESSING=1 - -</pre> - - <p>The first three will set the environment variable - <samp>object_is_image</samp> if the request was for an image - file, and the fourth sets <samp>intra_site_referral</samp> if - the referring page was somewhere on the - <samp>www.mydomain.com</samp> Web site.</p> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvifnocase" name="setenvifnocase">SetEnvIfNoCase - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnvIfNoCase - <em>attribute regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above; the Request_Protocol keyword and environment-variable - matching are only available with 1.3.7 and later; use in - .htaccess files only supported with 1.3.13 and later</p> - - <p>The <samp>SetEnvIfNoCase</samp> is semantically identical to - the <a href="#setenvif"><samp>SetEnvIf</samp></a> directive, - and differs only in that the regular expression matching is - performed in a case-insensitive manner. For example:</p> -<pre> - SetEnvIfNoCase Host Apache\.Org site=apache - -</pre> - - <p>This will cause the <samp>site</samp> environment variable - to be set to "<samp>apache</samp>" if the HTTP request header - field <samp>Host:</samp> was included and contained - <samp>Apache.Org</samp>, <samp>apache.org</samp>, or any other - combination.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis deleted file mode 100644 index 493573c25ee..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis +++ /dev/null @@ -1,336 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_setenvif</title> - - </head> - <!-- English revision: 1.19 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_setenvif $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"(B - $B%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_setenvif.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - setenvif_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.3 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p><samp>mod_setenvif</samp> - $B%b%8%e!<%k$O!"%j%/%(%9%H$N$"$kB&LL$,;XDj$5$l$?(B<a - href="../misc/faq.html#regex">$B@55,I=8=(B</a - >$B$K9g$&$+$I$&$+$K$h$C$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B - $B$3$l$i$N4D6-JQ?t$r;HMQ$7$F!"%5!<%P$NB>$NItJ,$,$I$N$h$&$JF0:n$r$9$k$+$r(B - $B7hDj$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$3$N%b%8%e!<%k$,Ds6!$9$k%G%#%l%/%F%#%V$O!"(B - $B@_Dj%U%!%$%k$K8=$l$k=gHV$KE,MQ$5$l$^$9!#(B - $B$=$l$r;H$C$F!"<!$NNc$N$h$&$K$h$jJ#;($J@_Dj$r$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$O!"%V%i%&%6$,(B mozilla $B$G$O$"$k$1$l$I!"(BMSIE $B$G$O$J$$$H$-$K(B - <code>netscape</code> $B$r@_Dj$7$^$9!#(B</p> - <blockquote> -<pre> - BrowserMatch ^Mozilla netscape - BrowserMatch MSIE !netscape - -</pre> - </blockquote> - - <p>$B>\:Y$O!"(B<a href="../env.html">Apache - $B$N4D6-JQ?t(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#browsermatch">BrowserMatch</a></li> - - <li><a href="#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="#setenvif">SetEnvIf</a></li> - - <li><a href="#setenvifnocase">SetEnvIfNoCase</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatch" name="browsermatch">BrowserMatch - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> BrowserMatch <em>regex - env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J>e(B - ($B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B$G$O!":#$G$O(B obsolete $B$K$J$C$F$$$k(B - mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)$B!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p>BrowserMatch $B%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H$N(B - <samp>User-Agent</samp> - $B%X%C%@%U%#!<%k%I$K4p$E$$$F4D6-JQ?t$r@_Dj$7$^$9!#:G=i$N0z?t$O(B - POSIX.2 $B3HD%@55,I=8=(B (<samp>egrep</samp> - $B7A<0$N@55,I=8=$H;w$?$b$N(B) $B$G$9!#(B - $B;D$j$N0z?t$O!"@_Dj$r$9$kJQ?tL>$H$=$NCM$G!"8e<T$O>JN,2DG=$G$9!#(B - $B$3$l$i$O0J2<$N7A<0$K$J$j$^$9!#(B</p> - - <ol> - <li><samp><em>varname</em></samp>, or</li> - - <li><samp>!<em>varname</em></samp>, or</li> - - <li><samp><em>varname</em>=<em>value</em></samp></li> - </ol> - - <p>$B:G=i$N7A<0$G$O!"CM$O(B "1" $B$K@_Dj$5$l$^$9!#(B - 2 $BHVL\$OJQ?t$,4{$KDj5A$5$l$F$$$?>l9g!"$=$l$r:o=|$7$^$9!#(B - 3 $BHVL\$OJQ?t$NCM$r(B <samp><em>value</em></samp> $B$K@_Dj$7$^$9!#(B - <samp>User-Agent</samp> - $B%U%#!<%k%I$NJ8;zNs$,J#?t$N%(%s%H%j$K%^%C%A$7$?>l9g$O!"(B - $B$=$N7k2L$,$^$H$a$i$l$^$9!#(B - $B%(%s%H%j$O8=$l$?=g$K=hM}$5$l!"8e$N%(%s%H%j$,A0$N$b$N$r>e=q$-$7$^$9!#(B - </p> - <p>$BNc(B:</p> -<pre> - BrowserMatch ^Mozilla forms jpeg=yes browser=netscape - BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript - BrowserMatch MSIE !javascript - -</pre> - - <p>$B@55,I=8=$NJ8;zNs$O(B<strong>$BBgJ8;z>.J8;z$r6hJL$9$k(B</strong - >$B$3$H$KCm0U$7$F$/$@$5$$!#BgJ8;z>.J8;z$r6hJL$7$J$$%^%C%A$O(B<a - href="#browsermatchnocase"><samp>BrowserMatchNoCase</samp></a - >$B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$!#(B - </p> - <p><samp>BrowserMatch</samp> $B%G%#%l%/%F%#%V$H(B - <samp>BrowserMatchNoCase</samp> $B%G%#%l%/%F%#%V$O(B - <a href="#setenvif"><samp>SetEnvIf</samp></a> $B%G%#%l%/%F%#%V(B - <a href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - $B%G%#%l%/%F%#%V$NFCJL$J%1!<%9$G$9!#0J2<$N(B 2 $B9T$OF1$88z2L$K$J$j$^$9(B: - </p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatchnocase" - name="browsermatchnocase">BrowserMatchNoCase $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> BrowserMatchNoCase - <em>regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J>e(B - ($B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B$G$O!":#$G$O(B obsolete $B$K$J$C$F$$$k(B - mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)$B!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - <p><samp>BrowserMatchNoCase</samp> - $B%G%#%l%/%F%#%V$O!"0UL#E*$K$O(B <a href="#browsermatch" - ><samp>BrowserMatch</samp></a> - $B%G%#%l%/%F%#%V$H$[$H$s$IF1$8$G$9!#(B - $B0c$&E@$O!"BgJ8;z>.J8;z$r6hJL$7$J$$$G%^%C%A$r9T$J$&$3$H$G$9!#Nc(B:</p> -<pre> - BrowserMatchNoCase mac platform=macintosh - BrowserMatchNoCase win platform=windows - -</pre> - <p><samp>BrowserMatch</samp> $B%G%#%l%/%F%#%V$H(B - <samp>BrowserMatchNoCase</samp> $B%G%#%l%/%F%#%V$O(B <a - href="#setenvif"><samp>SetEnvIf</samp></a> $B%G%#%l%/%F%#%V$H(B <a - href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - $B%G%#%l%/%F%#%V$NFCJL$J%1!<%9$G$9!#0J2<$N(B - 2 $B9T$OF1$88z2L$K$J$j$^$9(B:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvif" name="setenvif">SetEnvIf - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnvIf <em> attribute - regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J>e!#(B - Request_Protocol $B%-!<%o!<%I$H4D6-JQ?t$N%^%C%A$O(B 1.3.7 - $B0J9_$G$N$_;HMQ2DG=!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p><samp>SetEnvIf</samp> - $B%G%#%l%/%F%#%V$O!"%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$rDj5A$7$^$9!#(B - $B$3$l$i$NB0@-$O!"(BHTTP $B%j%/%(%9%H$N$$$m$$$m$J%X%C%@%U%#!<%k%I(B - ($B>\$7$$>pJs$O(B <a href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC - 2616</a> $B$r;2>H$7$F$/$@$5$$(B) - $B$+!"0J2<$N$h$&$J!"%j%/%(%9%H$NB>$NB&LL$G$"$k$3$H$,$G$-$^$9!#(B</p> - - <ul> - <li><samp>Remote_Host</samp> - - $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N%[%9%HL>(B ($B$b$7$"$l$P(B)</li> - - <li><samp>Remote_Addr</samp> - - $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N(B IP $B%"%I%l%9(B</li> - - <li><samp>Remote_User</samp> - - $BG'>Z$5$l$?%f!<%6L>(B ($B$b$7$"$l$P(B)</li> - - <li><samp>Request_Method</samp> - - $B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<samp>GET</samp>, <samp>POST</samp> - <em>$B$J$I(B</em>)</li> - - <li><samp>Request_Protocol</samp> - - $B%j%/%(%9%H$,9T$J$o$l$?%W%m%H%3%k$NL>A0$H%P!<%8%g%s(B - (<em>$BNc$($P(B</em>$B!"(B"HTTP/0.9", "HTTP/1.1" <em>$B$J$I!#(B</em>)</li> - - <li><samp>Request_URI</samp> - - URL $B$N%9%-!<%`$H%[%9%H$N8e$NItJ,(B</li> - </ul> - - <p>$B$h$/;H$o$l$k%j%/%(%9%H$N%X%C%@%U%#!<%k%I$K$O(B - <samp>Host</samp>, <samp>User-Agent</samp>, <samp>Referer</samp> - $B$,$"$j$^$9!#(B</p> - - <p>$BB0@-L>(B <em>attribute</em> - $B$,FCJL$J%-!<%o!<%I$d%j%/%(%9%H$N%X%C%@%U%#!<%k%IL>$K%^%C%A$7$J$$$H$-$O!"(B - $B%j%/%(%9%H$K4XO"IU$1$i$l$?%j%9%H$K$"$k4D6-JQ?t$NL>A0$H$7$F;n$5$l$^$9!#(B - $B$3$l$K$h$j!"(B<code>SetEnvIf</code> - $B%G%#%l%/%F%#%V$,A0$N%^%C%A$N7k2L$r;HMQ$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - </p> - - <blockquote> - <strong>$BA0$N(B <code>SetEnvIf[NoCase]</code> - $B$GDj5A$5$l$?4D6-JQ?t$N$_$r$3$NJ}K!$GD4$Y$k$3$H$,$G$-$^$9!#(B - $B!VA0!W$H$$$&$N$O(B ($B%5!<%PA4BN!"$N$h$&$J(B) - $B$h$j9-$$%9%3!<%W$GDj5A$5$l$?$+!"(B - $B8=%G%#%l%/%F%#%V$N%9%3!<%W$NCf$NA0$NJ}$GDj5A$5$l$?$H$$$&0UL#$G$9!#(B - </strong> - </blockquote> - <p>$BNc(B:</p> -<pre> - SetEnvIf Request_URI "\.gif$" object_is_image=gif - SetEnvIf Request_URI "\.jpg$" object_is_image=jpg - SetEnvIf Request_URI "\.xbm$" object_is_image=xbm - : - SetEnvIf Referer www\.mydomain\.com intra_site_referral - : - SetEnvIf object_is_image xbm XBIT_PROCESSING=1 - -</pre> - - <p>$B@hF,$N;0$D$O%j%/%(%9%H$,2hA|%U%!%$%k$N$H$-$K!"4D6-JQ?t(B - <samp>object_is_image</samp> $B$r@_Dj$7$^$9!#(B - 4 $BHVL\$O;2>H85$N%Z!<%8$,(B <samp>www.mydomain.com</samp> - $B%&%'%V%5%$%H$N$I$3$+$K$"$k>l9g$K(B <samp>intra_site_referral</samp> - $B$r@_Dj$7$^$9!#(B</p> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvifnocase" name="setenvifnocase">SetEnvIfNoCase - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnvIfNoCase - <em>attribute regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J>e!#(B - Request_Protocol $B%-!<%o!<%I$H4D6-JQ?t$N%^%C%A$O(B 1.3.7 - $B0J9_$G$N$_;HMQ2DG=!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p><samp>SetEnvIfNoCase</samp> $B$O!"0UL#E*$K$O(B <a - href="#setenvif"><samp>SetEnvIf</samp></a> $B$H$[$H$s$IF1$8$G$9!#(B - $B0c$$$O@55,I=8=$N%^%C%A$,BgJ8;z>.J8;z$r6hJL$7$J$$$G9T$J$o$l$k$3$H$G$9!#(B - $BNc$($P(B:</p> - -<pre> - SetEnvIfNoCase Host Apache\.Org site=apache -</pre> - - <p>$B$3$l$O!"(BHTTP $B%j%/%(%9%H$N(B <samp>Host:</samp> - $B%X%C%@%U%#!<%k%I$,$"$j!"$=$NCM$,(B - <samp>Apache.org</samp>, <samp>apache.org</samp> - $B$d$=$NB>$NBgJ8;z>.J8;z$NAH$_9g$o$;$G$"$C$?$H$-$K!"4D6-JQ?t(B - <samp>site</samp> $B$r(B "<samp>apache</samp>" $B$K@_Dj$7$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en deleted file mode 100644 index 4e81065380e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en +++ /dev/null @@ -1,201 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_so</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_so</h1> - - <p>This module provides for loading of executable code and - modules into the server at start-up or restart time.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base (Windows); - Experimental (Unix)<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_so.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - so_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>This is an experimental module. On selected operating - systems it can be used to load modules into Apache at runtime - via the <a href="../dso.html">Dynamic Shared Object</a> (DSO) - mechanism, rather than requiring a recompilation.</p> - - <p>On Unix, the loaded code typically comes from shared object - files (usually with <samp>.so</samp> extension), whilst on - Windows this module loads <samp>DLL</samp> files. This module - is only available in Apache 1.3 and up.</p> - - <p>In previous releases, the functionality of this module was - provided for Unix by mod_dld, and for Windows by mod_dll. On - Windows, mod_dll was used in beta release 1.3b1 through 1.3b5. - mod_so combines these two modules into a single module for all - operating systems.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#loadfile">LoadFile</a></li> - - <li><a href="#loadmodule">LoadModule</a></li> - </ul> - - <h2><a id="creating" name="creating">Creating DLL Modules for - Windows</a></h2> - - <p>The Apache module API is unchanged between the Unix and - Windows versions. Many modules will run on Windows with no or - little change from Unix, although others rely on aspects of the - Unix architecture which are not present in Windows, and will - not work.</p> - - <p>When a module does work, it can be added to the server in - one of two ways. As with Unix, it can be compiled into the - server. Because Apache for Windows does not have the - <code>Configure</code> program of Apache for Unix, the module's - source file must be added to the ApacheCore project file, and - its symbols must be added to the - <code>os\win32\modules.c</code> file.</p> - - <p>The second way is to compile the module as a DLL, a shared - library that can be loaded into the server at runtime, using - the <code><a href="#loadmodule">LoadModule</a></code> - directive. These module DLLs can be distributed and run on any - Apache for Windows installation, without recompilation of the - server.</p> - - <p>To create a module DLL, a small change is necessary to the - module's source file: The module record must be exported from - the DLL (which will be created later; see below). To do this, - add the <code>MODULE_VAR_EXPORT</code> (defined in the Apache - header files) to your module's module record definition. For - example, if your module has:</p> -<pre> - module foo_module; -</pre> - - <p>Replace the above with:</p> -<pre> - module MODULE_VAR_EXPORT foo_module; -</pre> - - <p>Note that this will only be activated on Windows, so the - module can continue to be used, unchanged, with Unix if needed. - Also, if you are familiar with <code>.DEF</code> files, you can - export the module record with that method instead.</p> - - <p>Now, create a DLL containing your module. You will need to - link this against the ApacheCore.lib export library that is - created when the ApacheCore.dll shared library is compiled. You - may also have to change the compiler settings to ensure that - the Apache header files are correctly located.</p> - - <p>This should create a DLL version of your module. Now simply - place it in the <samp>modules</samp> directory of your server - root, and use the <code><a - href="#loadmodule">LoadModule</a></code> directive to load - it.</p> - <hr /> - - <h2><a id="loadfile" name="loadfile">LoadFile</a> - directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LoadFile - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_so - - <p>The LoadFile directive links in the named object files or - libraries when the server is started or restarted; this is used - to load additional code which may be required for some module - to work. <em>Filename</em> is either an absolute path or - relative to <a href="core.html#serverroot">ServerRoot</a>.</p> - - <p>For example:</p> - <code>LoadFile libexec/libxmlparse.so</code> - - <hr /> - - <h2><a id="loadmodule" name="loadmodule">LoadModule</a> - directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LoadModule <em>module - filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_so - - <p>The LoadModule directive links in the object file or library - <em>filename</em> and adds the module structure named - <em>module</em> to the list of active modules. <em>Module</em> - is the name of the external variable of type - <code>module</code> in the file, and is listed as the <a - href="module-dict.html#ModuleIdentifier">Module Identifier</a> - in the module documentation. Example (Unix, and for Windows as - of Apache 1.3.15):</p> - - <blockquote> - <code>LoadModule status_module modules/mod_status.so</code> - </blockquote> - - <p>Example (Windows prior to Apache 1.3.15, and some 3rd party - modules):</p> - - <blockquote> - <code>LoadModule foo_module modules/ApacheModuleFoo.dll<br /> - </code> - </blockquote> - - <p><strong>Note that all modules bundled with the Apache Win32 - binary distribution were renamed as of Apache version - 1.3.15</strong>.</p> - - <p>Win32 Apache modules are often distributed with the old - style names, or even a name such as libfoo.dll. Whatever the - name of the module, the LoadModule directive requires the exact - filename, no assumption is made about the filename - extension.</p> - - <p><strong>See also</strong>: <a - href="core.html#addmodule">AddModule</a> and <a - href="core.html#clearmodulelist">ClearModuleList</a></p> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis deleted file mode 100644 index 9bde47abaaa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis +++ /dev/null @@ -1,201 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_so</title> - - </head> - <!-- English revision: 1.14--> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_so $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%5!<%P$N5/F0;~$d:F5/F0;~$K<B9T%3!<%I$H(B - $B%b%8%e!<%k$r%5!<%P$KFI$_9~$`5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> - Base (Windows); Experimental (Unix)<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_so.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - so_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.3 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$l$O<B83E*$J%b%8%e!<%k$G$9!#(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$K$h$C$F$O!"%5!<%P$N:F%3%s%Q%$%k$r$9$kBe$o$j$K!"(B - <a href="../dso.html">Dynamic Shared Object</a> - (DSO) $B5!9=$K$h$j!"<B9T;~$K(B Apache $B$K%b%8%e!<%k$rFI$_9~$`!"$H$$$&$3$H$r(B - $B9T$J$&$?$a$K$3$N%b%8%e!<%k$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> - <p>Unix $B>e$G$O!"FI$_9~$^$l$k%3!<%I$ODL>o$O%7%'%"!<%I%*%V%8%'%/%H%U%!%$%k(B - ($BIaDL(B <samp>.so</samp> $B$H$$$&3HD%;R$,IU$$$F$$$^$9(B) $B$+$i$G$9!#(B - $B0lJ}!"(BWindows $B>e$G$O$3$N%b%8%e!<%k$O(B <samp>DLL</samp> - $B%U%!%$%k$rFI$_9~$_$^$9!#$3$N%b%8%e!<%k$O(B - Apache 1.3 $B0J9_$N$_$G;HMQ2DG=$G$9!#(B</p> - <p>$B0JA0$N%j%j!<%9$G$O!"$3$N%b%8%e!<%k$N5!G=$O(B Unix $B$G$O(B mod_dld$B!"(B - Windows $B$G$O(B mod_dll $B$K$h$jDs6!$5$l$F$$$^$7$?!#(BWindows $B$G$O!"(B - mod_dll $B$O(B 1.3b1 $B$+$i(B 1.3b5 $B$^$G$N%Y!<%?%j%j!<%9$G;HMQ$5$l$F$$$^$7$?!#(B - mod_so $B$O$9$Y$F$N%*%Z%l!<%F%#%s%0%7%9%F%`MQ$K!"(B - $B$3$NFs$D$N%b%8%e!<%k$r0l$D$N%b%8%e!<%k$K$^$H$a$?$b$N$G$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#loadfile">LoadFile</a></li> - - <li><a href="#loadmodule">LoadModule</a></li> - </ul> - - <h2><a id="creating" name="creating">Windows $BMQ$N(B DLL - $B%b%8%e!<%k$r:n@.$9$k(B</a></h2> - - <p>Apache $B$N%b%8%e!<%k(B API $B$O(B UNIX $B$H(B Windows $B$H$GJQ99$5$l$F$$$^$;$s!#(B - $BB?$/$N%b%8%e!<%k$OA4$/JQ99$J$7!"$b$7$/$O4JC1$JJQ99$K$h$j(B Windows - $B$G<B9T$G$-$k$h$&$K$J$j$^$9!#$?$@$7!"$=$l0J30$N(B Windows $B$K$OL5$$(B Unix - $B%"!<%-%F%/%A%c!<$N5!G=$K0MB8$7$?%b%8%e!<%k$OF0:n$7$^$;$s!#(B</p> - - <p>$B%b%8%e!<%k$,<B:]$KF0:n$9$k$H$-$O!"(B - $BFs$D$NJ}K!$N$I$A$i$+$G%5!<%P$KDI2C$9$k$3$H$,$G$-$^$9!#$^$:!"(BUnix - $B$HF1MM$K%5!<%P$K%3%s%Q%$%k$7$FAH$_9~$`$3$H$,$G$-$^$9!#(BWindows - $BMQ$N(B Apache $B$O(B Unix $BMQ$N(B Apache $B$K$"$k(B <code>Configure</code> - $B%W%m%0%i%`$,$"$j$^$;$s$N$G!"%b%8%e!<%k$N%=!<%9%U%!%$%k$r(B - ApacheCore $B%W%m%8%'%/%H%U%!%$%k$KDI2C$7!"%7%s%\%k$r(B - <code>os\win32\modules.c</code> $B%U%!%$%k$KDI2C$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$BFs$DL\$O%b%8%e!<%k$r(B DLL $B$H$7$F%3%s%Q%$%k$9$kJ}K!$G$9!#(B - DLL $B$O%7%'%"!<%I%i%$%V%i%j$G!"<B9T;~$K(B - <code><a href="#loadmodule">LoadModule</a></code> - $B%G%#%l%/%F%#%V$K$h$j%5!<%P$KFI$_9~$`$3$H$,$G$-$^$9!#$3$l$i$N%b%8%e!<%k(B - DLL $B$OG[I[$9$k$3$H$,2DG=$G!"%5!<%P$r:F%3%s%Q%$%k$9$k$3$H$J$/!"(BWindows - $BMQ$N(B Apache $B$N$9$Y$F$N%$%s%9%H!<%k$G<B9T$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B%b%8%e!<%k(B DLL $B$r:n@.$9$k$?$a$K$O!"(B - $B%b%8%e!<%k$N:n@.$K>.$5$JJQ99$r9T$J$&I,MW$,$"$j$^$9!#(B - $B$D$^$j!"%b%8%e!<%k$N%l%3!<%I$,(B DLL ($B$3$l$O8e$G:n@.$5$l$^$9!#(B - $B0J2<$r;2>H$7$F$/$@$5$$(B) $B$+$i%(%/%9%]!<%H$5$l$J$1$l$P$J$j$^$;$s!#(B - $B$3$l$r9T$J$&$K$O!"(B<code>MODULE_VAR_EXPORT</code> (Apache - $B$N%X%C%@%U%!%$%k$GDj5A$5$l$F$$$^$9(B) $B$r%b%8%e!<%k$N%b%8%e!<%k%l%3!<%I(B - $BDj5A$NItJ,$KDI2C$7$F$/$@$5$$!#$?$H$($P!"%b%8%e!<%k$K(B</p> -<pre> - module foo_module; -</pre> - - <p>$B$,$"$k$H$9$k$H!"$=$l$r<!$N$b$N$GCV$-49$($F$/$@$5$$!#(B</p> -<pre> - module MODULE_VAR_EXPORT foo_module; -</pre> - - <p>$B$b$7(B Unix $B>e$G$3$N%b%8%e!<%k$r;HMQ$7$?$/$J$C$F$b!"(B - $BJQ99L5$7$G;H$$B3$1$i$l$k$h$&$K!"$3$N%^%/%m$O(B Windows - $B>e$G$N$_8zNO$r;}$D$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B<code>.DEF</code> - $B%U%!%$%k$NJ}$rNI$/CN$C$F$$$k$H$$$&>l9g$O!"(B - $BBe$o$j$K$=$l$r;H$C$F%b%8%e!<%k%l%3!<%I$r(B - $B%(%/%9%]!<%H$9$k$3$H$b$G$-$^$9!#(B</p> - <p>$B$3$3$G!"$"$J$?$N%b%8%e!<%k$N(B DLL $B$r:n@.$7$F$/$@$5$$!#$3$l$r!"(B - ApacheCore.dll $B%7%'%"!<%I%i%$%V%i%j$,%3%s%Q%$%k$5$l$?$H$-$K:n@.$5$l$?(B - ApacheCore.lib $B%(%/%9%]!<%H%i%$%V%i%j$H%j%s%/$7$F$/$@$5$$!#$3$N;~$K!"(B - Apache $B$N%X%C%@%U%!%$%k$,@5$7$$0LCV$K$"$k$h$&$K!"(B - $B%3%s%Q%$%i$N@_Dj$rJQ$($kI,MW$,$"$k$+$b$7$l$^$;$s!#(B</p> - - <p>$B$3$l$G(B DLL $BHG$N%b%8%e!<%k$,:n@.$5$l$F$$$k$O$:$G$9!#(B - $B$5$"!"%5!<%P%k!<%H$N(B <samp>modules</samp> - $B%G%#%l%/%H%j$K%b%8%e!<%k$rCV$$$F!"(B<code><a - href="#loadmodule">LoadModule</a></code> - $B%G%#%l%/%F%#%V$r;H$C$FFI$_9~$s$G$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="loadfile" name="loadfile">LoadFile</a> - $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LoadFile - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_so - - <p>LoadFile $B%G%#%l%/%F%#%V$O!"%5!<%P$,5/F0$5$l$?$H$-$d:F5/F0$5$l$?$H$-$K!"(B - $B;XDj$5$l$?%*%V%8%'%/%H%U%!%$%k$d%i%$%V%i%j$r%j%s%/$7$^$9!#(B - $B$3$l$O%b%8%e!<%k$,F0:n$9$k$?$a$KI,MW$K$J$k$+$b$7$l$J$$DI2C$N(B - $B%3!<%I$rFI$_9~$`$?$a$K;HMQ$5$l$^$9!#(B<em>Filename</em> $B$O@dBP%Q%9$+!"(B<a - href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$G$9!#(B</p> - - <p>$BNc(B:</p> - <code>LoadFile libexec/libxmlparse.so</code> - - <hr /> - - <h2><a id="loadmodule" name="loadmodule">LoadModule</a> - $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LoadModule <em>module - filename</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_so - - <p>LoadModule $B%G%#%l%/%F%#%V$O(B <em>filename</em> - $B$H$$$&%*%V%8%'%/%H%U%!%$%k$*$h$S%i%$%V%i%j$r%j%s%/$7!"(B<em>module</em> - $B$H$$$&L>A0$N%b%8%e!<%k$N9=B$$r%"%/%F%#%V$J%b%8%e!<%k$N%j%9%H$KDI2C$7$^$9!#(B - <em>Module</em> $B$O%U%!%$%kCf$N(B <code>module</code> - $B7?$N30ItJQ?t$NL>A0$G!"%b%8%e!<%k$N%I%-%e%a%s%H$K(B - <a href="module-dict.html#moduleidentifier" - >$B%b%8%e!<%k<1JL;R(B</a>$B$H$7$F=q$+$l$F$$$k$b$N$G$9!#Nc(B - (Unix $B$H(B Apache 1.3.15 $B0J9_$N(B Windows):</p> - - <blockquote> - <code>LoadModule status_module modules/mod_status.so</code> - </blockquote> - - <p>$BNc(B (Apache 1.3.15 $B0JA0$N(B - Windows, $B%5!<%I%Q!<%F%#%b%8%e!<%k$N0lIt(B):</p> - - <blockquote> - <code>LoadModule foo_module modules/ApacheModuleFoo.dll<br /> - </code> - </blockquote> - - <p><strong>Apache 1.3.15 $B$N;~E@$G(B Apache Win32 $B%P%$%J%jG[I[$KIUB0$7$F$$$k(B - $B$9$Y$F$N%b%8%e!<%k$NL>A0$,JQ99$5$l$?$3$H$KCm0U$7$F$/$@$5$$(B</strong>$B!#(B - </p> - - <p>Win32 Apache $B%b%8%e!<%k$O$7$P$7$P8E$$7A<0$NL>A0$GG[I[$5$l$k$3$H$,$"$j!"(B - libfoo.dll $B$N$h$&$JL>A0$GG[I[$5$l$?$j$9$k$3$H$5$($"$j$^$9!#(B - $B%b%8%e!<%k$NL>A0$K4X78$J$/!"(BLoadModule - $B%G%#%l%/%F%#%V$O@53N$J%U%!%$%kL>$rMW5a$7$^$9!#(B - $B%U%!%$%kL>$N3HD%;R$K4X$7$F$O2?$N2>Dj$b9T$J$$$^$;$s!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - <p><strong>$B;2>H(B</strong>: <a - href="core.html#addmodule">AddModule</a> $B$H(B <a - href="core.html#clearmodulelist">ClearModuleList</a></p> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en deleted file mode 100644 index e51ea83f8eb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en +++ /dev/null @@ -1,133 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_speling</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_speling</h1> - - <p>This module attempts to correct misspellings of URLs that - users might have entered, by ignoring capitalization and by - allowing up to one misspelling.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_speling.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - speling_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later. Available as an External module in Apache - 1.1 and later.</p> - - <h2>Summary</h2> - - <p>Requests to documents sometimes cannot be served by the core - apache server because the request was misspelled or - miscapitalized. This module addresses this problem by trying to - find a matching document, even after all other modules gave up. - It does its work by comparing each document name in the - requested directory against the requested document name - <strong>without regard to case</strong>, and allowing - <strong>up to one misspelling</strong> (character insertion / - omission / transposition or wrong character). A list is built - with all document names which were matched using this - strategy.</p> - - <p>If, after scanning the directory,</p> - - <ul> - <li>no matching document was found, Apache will proceed as - usual and return a "document not found" error.</li> - - <li>only one document is found that "almost" matches the - request, then it is returned in the form of a redirection - response.</li> - - <li>more than one document with a close match was found, then - the list of the matches is returned to the client, and the - client can select the correct candidate.</li> - </ul> - - <h2>Directives</h2> - - <ul> - <li><a href="#checkspelling">CheckSpelling</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="checkspelling" - name="checkspelling">CheckSpelling</a> directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CheckSpelling - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>CheckSpelling - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_speling<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> CheckSpelling - was available as a separately available module for Apache 1.1, - but was limited to miscapitalizations. As of Apache 1.3, it is - part of the Apache distribution. Prior to Apache 1.3.2, the - <samp>CheckSpelling</samp> directive was only available in the - "server" and "virtual host" contexts. - - <p>This directive enables or disables the spelling module. When - enabled, keep in mind that</p> - - <ul> - <li>the directory scan which is necessary for the spelling - correction will have an impact on the server's performance - when many spelling corrections have to be performed at the - same time.</li> - - <li>the document trees should not contain sensitive files - which could be matched inadvertently by a spelling - "correction".</li> - - <li>the module is unable to correct misspelled user names (as - in <code>http://my.host/~apahce/</code>), just file names or - directory names.</li> - - <li>spelling corrections apply strictly to existing files, so - a request for the <samp><Location /status></samp> may - get incorrectly treated as the negotiated file - "<samp>/stats.html</samp>".</li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis deleted file mode 100644 index c209f83fcdc..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis +++ /dev/null @@ -1,133 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_speling</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_speling $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$OBgJ8;z>.J8;z$N0c$$$rL5;k$7$?$j!"(B - $B0lJ8;z0J2<$NDV$j$N4V0c$$$rL5;k$9$k$3$H$G(B - URL $B$NDV$j$N4V0c$$$N=$@5$r;n$_$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_speling.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - speling_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(BApache 1.1 $B0J9_$G$O30It%b%8%e!<%k$H$7$F;HMQ2DG=!#(B - </p> - - <h2>$B35MW(B</h2> - - <p>$B%j%/%(%9%H$NDV$j$,4V0c$C$F$$$?$j!"(B - $BBgJ8;z>.J8;z$,0c$C$F$$$?$j$9$k$?$a$K!"(BApache $B$N%3%"%5!<%P$,(B - $B%I%-%e%a%s%H$X$N%j%/%(%9%H$X$N1~Ez$r@5$7$/Ds6!$G$-$J$$$3$H$,$"$j$^$9!#(B - $B$3$N%b%8%e!<%k$O!"B>$N$9$Y$F$N%b%8%e!<%k$,$"$-$i$a$?8e$G$"$C$?$H$7$F$b!"(B - $B%j%/%(%9%H$K9g$&%I%-%e%a%s%H$r8+$D$1$h$&$H$9$k$3$H$K$h$j$3$NLdBj$N(B - $B2r7h$r;n$_$^$9!#$3$N%b%8%e!<%k$O%j%/%(%9%H$5$l$?%G%#%l%/%H%j$K$"$k(B - $B$=$l$>$l$N%I%-%e%a%s%H$NL>A0$H!"%j%/%(%9%H$5$l$?%I%-%e%a%s%H$NL>A0$H$r(B - <strong>$BBgJ8;z>.J8;z$N6hJL$rL5;k$7(B</strong>$B!"(B - <strong>$B0lJ8;z$^$G$NDV$j$N4V0c$$(B</strong> - ($BJ8;z$NA^F~(B/$B>JN,(B/$BNY9g$&J8;z$NCV49!"4V0c$C$?J8;z(B) - $B$r5v2D$7$FHf3S$9$k$3$H$K$h$j!"L\E*$rC#@.$7$h$&$H$7$^$9!#(B - $B$3$NJ}K!$G%j%/%(%9%H$K9g$&%I%-%e%a%s%H$N0lMw$,:n@.$5$l$^$9!#(B</p> - - <p>$B%G%#%l%/%H%j$r%9%-%c%s$7$?8e$K!"(B</p> - - <ul> - <li>$BE,@Z$J%I%-%e%a%s%H$,8+$D$+$i$J$+$C$?>l9g!"(B - Apache $B$O$$$D$b$HF1$8$h$&$K=hM}$r$7!"(B - $B!V%I%-%e%a%s%H$,8+$D$+$i$J$$!W$H$$$&%(%i!<$rJV$7$^$9!#(B</li> - - <li>$B%j%/%(%9%H$K!V$[$H$s$I!W9g$&%I%-%e%a%s%H$,0l$D$@$18+$D$+$C$?>l9g!"(B - $B$=$l$,%j%@%$%l%/%H1~Ez$H$7$FJV$5$l$^$9!#(B</li> - - <li>$B$h$/;w$?%I%-%e%a%s%H$,J#?t8+$D$+$C$?>l9g!"(B - $B$=$N%j%9%H$,%/%i%$%"%s%H$KJV$5$l!"(B - $B%/%i%$%"%s%H$,@5$7$$8uJd$rA*Br$G$-$k$h$&$K$7$^$9!#(B</li> - </ul> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#checkspelling">CheckSpelling</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="checkspelling" - name="checkspelling">CheckSpelling</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> CheckSpelling on|off<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>CheckSpelling - Off</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_speling<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> CheckSpelling $B$O(B - Apache 1.1 $B$G$O30It$N%b%8%e!<%k$H$7$F;HMQ2DG=$G$7$?$,!"(B - $BBgJ8;z>.J8;z$N0c$$$r=$@5$9$k5!G=$N$_$G$7$?!#(BApache 1.3 $B$G$O(B - Apache $B$NG[I[$N0lIt$K$J$C$F$$$^$9!#(BApache 1.3.2 $B0JA0$G$O!"(B - <samp>CheckSpelling</samp> $B%G%#%l%/%F%#%V$O(B "$B%5!<%P(B" $B$H(B - "$B%P!<%A%c%k%[%9%H(B" $B$N%3%s%F%-%9%H$N$_$G;HMQ2DG=$G$7$?!#(B - - - <p>$B$3$N%G%#%l%/%F%#%V$ODV$jMQ$N%b%8%e!<%k$r;HMQ$9$k$+$I$&$+$r(B - $B7h$a$^$9!#;HMQ;~$K$O!"0J2<$N$3$H$r3P$($F$*$$$F$/$@$5$$(B</p> - - <ul> - <li>$BF1;~$K$?$/$5$s$NDV$j$ND{@5$r9T$J$o$J$1$l$P$J$i$J$$$H$-$O!"(B - $B$=$N$?$a$K9T$J$o$l$k%G%#%l%/%H%j$N%9%-%c%s$,(B - $B%5!<%P$N@-G=$K1F6A$rM?$($^$9!#(B</li> - - <li>$B%I%-%e%a%s%H$NCf$KDV$j$N!VD{@5!W$K$h$j(B - $B0U?^$;$:9g$C$F$7$^$&$h$&$J=EMW$J%U%!%$%k$,$J$$$h$&$K$7$F$/$@$5$$!#(B - </li> - - <li>$B%b%8%e!<%k$O%f!<%6L>$NDV$j$N4V0c$$(B - (<code>http://my.host/~apahce/</code> $B$N$h$&$K(B) - $B$rD{@5$9$k$3$H$O$G$-$^$;$s!#(B - $BD{@5$G$-$k$N$O%U%!%$%kL>$H%G%#%l%/%H%jL>$@$1$G$9!#(B</li> - - <li>$BDV$j$ND{@5$OB8:_$9$k%U%!%$%k$K87L)$KE,MQ$5$l$^$9$N$G!"(B - <samp><Location /status></samp> - $B$O%M%4%7%(!<%7%g%s$N7k2L$N%U%!%$%k(B "<samp>/stats.html</samp>" - $B$H$7$F4V0c$C$F07$o$l$k$+$b$7$l$^$;$s!#(B</li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en deleted file mode 100644 index 5baf0169b49..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en +++ /dev/null @@ -1,216 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_unique_id</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_unique_id</h1> - - <p>This module provides an environment variable with a unique - identifier for each request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_unique_id.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - unique_id_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>This module provides a magic token for each request which is - guaranteed to be unique across "all" requests under very - specific conditions. The unique identifier is even unique - across multiple machines in a properly configured cluster of - machines. The environment variable <code>UNIQUE_ID</code> is - set to the identifier for each request. Unique identifiers are - useful for various reasons which are beyond the scope of this - document.</p> - - <h2>Directives</h2> - - <p>This module has no directives.</p> - - <h2>Theory</h2> - - <p>First a brief recap of how the Apache server works on Unix - machines. On Unix machines, Apache creates several children, - the children process requests one at a time. Each child can - serve multiple requests in its lifetime. For the purpose of - this discussion, the children don't share any data with each - other. We'll refer to the children as httpd processes.</p> - - <p>Your website has one or more machines under your - administrative control, together we'll call them a cluster of - machines. Each machine can possibly run multiple instances of - Apache. All of these collectively are considered "the - universe", and with certain assumptions we'll show that in this - universe we can generate unique identifiers for each request, - without extensive communication between machines in the - cluster.</p> - - <p>The machines in your cluster should satisfy these - requirements. (Even if you have only one machine you should - synchronize its clock with NTP.)</p> - - <ul> - <li>The machines' times are synchronized via NTP or other - network time protocol.</li> - - <li>The machines' hostnames all differ, such that the module - can do a hostname lookup on the hostname and receive a - different IP address for each machine in the cluster.</li> - </ul> - - <p>As far as operating system assumptions go, we assume that - pids (process ids) fit in 32-bits. If the operating system uses - more than 32-bits for a pid, the fix is trivial but must be - performed in the code.</p> - - <p>Given those assumptions, at a single point in time we can - identify any httpd process on any machine in the cluster from - all other httpd processes. The machine's IP address and the pid - of the httpd process are sufficient to do this. So in order to - generate unique identifiers for requests we need only - distinguish between different points in time.</p> - - <p>To distinguish time we will use a Unix timestamp (seconds - since January 1, 1970 UTC), and a 16-bit counter. The timestamp - has only one second granularity, so the counter is used to - represent up to 65536 values during a single second. The - quadruple <em>( ip_addr, pid, time_stamp, counter )</em> is - sufficient to enumerate 65536 requests per second per httpd - process. There are issues however with pid reuse over time, and - the counter is used to alleviate this issue.</p> - - <p>When an httpd child is created, the counter is initialized - with ( current microseconds divided by 10 ) modulo 65536 (this - formula was chosen to eliminate some variance problems with the - low order bits of the microsecond timers on some systems). When - a unique identifier is generated, the time stamp used is the - time the request arrived at the web server. The counter is - incremented every time an identifier is generated (and allowed - to roll over).</p> - - <p>The kernel generates a pid for each process as it forks the - process, and pids are allowed to roll over (they're 16-bits on - many Unixes, but newer systems have expanded to 32-bits). So - over time the same pid will be reused. However unless it is - reused within the same second, it does not destroy the - uniqueness of our quadruple. That is, we assume the system does - not spawn 65536 processes in a one second interval (it may even - be 32768 processes on some Unixes, but even this isn't likely - to happen).</p> - - <p>Suppose that time repeats itself for some reason. That is, - suppose that the system's clock is screwed up and it revisits a - past time (or it is too far forward, is reset correctly, and - then revisits the future time). In this case we can easily show - that we can get pid and time stamp reuse. The choice of - initializer for the counter is intended to help defeat this. - Note that we really want a random number to initialize the - counter, but there aren't any readily available numbers on most - systems (<em>i.e.</em>, you can't use rand() because you need - to seed the generator, and can't seed it with the time because - time, at least at one second resolution, has repeated itself). - This is not a perfect defense.</p> - - <p>How good a defense is it? Suppose that one of your machines - serves at most 500 requests per second (which is a very - reasonable upper bound at this writing, because systems - generally do more than just shovel out static files). To do - that it will require a number of children which depends on how - many concurrent clients you have. But we'll be pessimistic and - suppose that a single child is able to serve 500 requests per - second. There are 1000 possible starting counter values such - that two sequences of 500 requests overlap. So there is a 1.5% - chance that if time (at one second resolution) repeats itself - this child will repeat a counter value, and uniqueness will be - broken. This was a very pessimistic example, and with real - world values it's even less likely to occur. If your system is - such that it's still likely to occur, then perhaps you should - make the counter 32 bits (by editing the code).</p> - - <p>You may be concerned about the clock being "set back" during - summer daylight savings. However this isn't an issue because - the times used here are UTC, which "always" go forward. Note - that x86 based Unixes may need proper configuration for this to - be true -- they should be configured to assume that the - motherboard clock is on UTC and compensate appropriately. But - even still, if you're running NTP then your UTC time will be - correct very shortly after reboot.</p> - - <p>The <code>UNIQUE_ID</code> environment variable is - constructed by encoding the 112-bit (32-bit IP address, 32 bit - pid, 32 bit time stamp, 16 bit counter) quadruple using the - alphabet <code>[A-Za-z0-9@-]</code> in a manner similar to MIME - base64 encoding, producing 19 characters. The MIME base64 - alphabet is actually <code>[A-Za-z0-9+/]</code> however - <code>+</code> and <code>/</code> need to be specially encoded - in URLs, which makes them less desirable. All values are - encoded in network byte ordering so that the encoding is - comparable across architectures of different byte ordering. The - actual ordering of the encoding is: time stamp, IP address, - pid, counter. This ordering has a purpose, but it should be - emphasized that applications should not dissect the encoding. - Applications should treat the entire encoded - <code>UNIQUE_ID</code> as an opaque token, which can be - compared against other <code>UNIQUE_ID</code>s for equality - only.</p> - - <p>The ordering was chosen such that it's possible to change - the encoding in the future without worrying about collision - with an existing database of <code>UNIQUE_ID</code>s. The new - encodings should also keep the time stamp as the first element, - and can otherwise use the same alphabet and bit length. Since - the time stamps are essentially an increasing sequence, it's - sufficient to have a <em>flag second</em> in which all machines - in the cluster stop serving and request, and stop using the old - encoding format. Afterwards they can resume requests and begin - issuing the new encodings.</p> - - <p>This is a relatively portable solution. It is extended to - multithreaded systems like Windows NT, which add the thread-id - to the ID, producing a 144-bit (including 32-bit tid) quadruple - that generates a 24 character UNIQUE_ID value. The identifiers - generated have essentially an infinite life-time because future - identifiers can be made longer as required. Essentially no - communication is required between machines in the cluster (only - NTP synchronization is required, which is low overhead), and no - communication between httpd processes is required (the - communication is implicit in the pid value assigned by the - kernel). In very specific situations the identifier can be - shortened, but more information needs to be assumed (for - example the 32-bit IP address is overkill for any site, but - there is no portable shorter replacement for it). This module - may be extended to include an entire IPv6 address, but that is - overkill for nearly all server configurations. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis deleted file mode 100644 index 8a28c1112f6..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis +++ /dev/null @@ -1,213 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_unique_id</title> - - </head> - <!-- English revision: 1.9 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_unique_id $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"$=$l$>$l$N%j%/%(%9%H$KBP$7$F(B - $B0l0U$J<1JL;R$r;}$D4D6-JQ?t$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_unique_id.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - unique_id_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$OHs>o$K@)8B$5$l$?>r7o2<$G!"(B - $B$=$l$>$l$N%j%/%(%9%H$K!V$9$Y$F!W$N%j%/%(%9%H$KBP$7$F(B - $B0l0U$K7h$^$k$3$H$,J]>Z$5$l$F$$$kKbK!$N%H!<%/%s$rDs6!$7$^$9!#(B - $B$3$N0l0U$J<1JL;R$O!"E,@Z$K@_Dj$5$l$?%/%i%9%?$G$OJ#?t$N(B - $B%^%7%s$N4V$G$5$($b0l0U$K$J$j$^$9!#$=$l$>$l$N%j%/%(%9%H$KBP$7$F4D6-JQ?t(B - <code>UNIQUE_ID</code> $B$K<1JL;R$,@_Dj$5$l$^$9!#(B - $B0l0U$J<1JL;R$,JXMx$JM}M3$O$$$m$$$m$"$j$^$9$,!"(B - $B$3$N%I%-%e%a%s%H$NL\E*$+$i$O30$l$k$?$a!"$3$3$G$O@bL@$7$^$;$s!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$O%G%#%l%/%F%#%V$O$"$j$^$;$s!#(B</p> - - <h2>$BM}O@(B</h2> - - <p>$B$^$:$O$8$a$K!"(BApache $B%5!<%P$,(B Unix - $B%^%7%s$G$I$N$h$&$KF0:n$r$9$k$+$r4JC1$K@bL@$7$^$9!#(B - Unix $B%^%7%s$G$O(B Apache $B$O$$$/$D$+$N;R%W%m%;%9$r:n@.$7!"(B - $B$=$N;R%W%m%;%9$,0l$D$:$D%j%/%(%9%H$r=hM}$7$^$9!#$=$l$>$l$N;R%W%m%;%9$O!"(B - $B@8B84|4VCf$KJ#?t$N%j%/%(%9%H$r07$&$3$H$,$G$-$^$9!#(B - $B$3$N5DO@$G$O;R%W%m%;%94V$G$O0l@Z%G!<%?$r6&M-$7$J$$$3$H$K$7$^$9!#(B - $B0J8e!"$3$N;R%W%m%;%9$N$3$H$r(B httpd $B%W%m%;%9$H8F$S$^$9!#(B</p> - - <p>$B$"$J$?$N%&%'%V%5%$%H$K$O$"$J$?$,4IM}$9$k$$$/$D$+$N%^%7%s$,$"$k$H$7$^$9!#(B - $B$=$l$i$r$^$H$a$F%/%i%9%?$H8F$V$3$H$K$7$^$9!#$=$l$>$l$N%^%7%s$OJ#?t$N(B - Apache $B$r<B9T$9$k$3$H$b$G$-$^$9!#(B - $B$3$l$i$9$Y$F$r$^$H$a$?$b$N$,!V1'Ch!W$G$"$k$H9M$($i$l$^$9!#(B - $B$$$/$D$+$N2>Dj$N2<$G!"%/%i%9%?$N%^%7%s4V$,$?$/$5$sDL?.$r$9$k$3$H$J$/!"(B - $B$3$N1'Ch$NCf$G$=$l$>$l$N%j%/%(%9%H$K0l0U$J<1JL;R$r@8@.$G$-$k$3$H$r<($7$^$9!#(B - </p> - - <p>$B%/%i%9%?$K$"$k%^%7%s$O0J2<$NMW5a$rK~$?$5$J$1$l$P$J$j$^$;$s!#(B - ($B%^%7%s$,0l$D$@$1$@$H$7$F$b!"(BNTP $B$G;~7W$r9g$o$;$kJ}$,NI$$$G$9!#(B)</p> - - <ul> - <li>NTP $B$dB>$N%M%C%H%o!<%/>e$G;~4V$r9g$o$;$k%W%m%H%3%k$K$h$C$F(B - $B3F%^%7%s$N;~4V$NF14|$,<h$i$l$F$$$k$3$H!#(B</li> - - <li>$B%b%8%e!<%k$,%[%9%HL>$r0z$$$F0c$&(B IP - $B%"%I%l%9$r<u$1<h$k$3$H$,$G$-$k$h$&$K!"(B - $B%/%i%9%?$N$=$l$>$l$N%^%7%s$N%[%9%HL>$,0c$&$3$H!#(B</li> - </ul> - - <p>$B%*%Z%l!<%F%#%s%0%7%9%F%`$K$*$$$F$O!"(Bpid ($B%W%m%;%9(B ID) $B$,(B - 32 $B%S%C%H$NHO0OFb$G$"$k$3$H$r2>Dj$7$^$9!#%*%Z%l!<%F%#%s%0%7%9%F%`$N(B - pid $B$,(B 32 $B%S%C%H$rD6$($k>l9g$O!"4JC1$J=$@5$G$O$"$j$^$9$,!"(B - $B%3!<%I$rJQ99$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$B$3$l$i$N2>Dj$,K~$?$5$l$F$$$k$H!"$"$k;~E@$K$*$$$F!"(B - $B%/%i%9%?Fb$N$I$N%^%7%s$N$I$N(B httpd - $B%W%m%;%9$G$b!"0l0U$KF1Dj$9$k$3$H$,$G$-$^$9!#$3$l$O%^%7%s$N(B IP - $B%"%I%l%9$H(B httpd $B%W%m%;%9$N(B pid $B$G==J,$K9T$J$&$3$H$,$G$-$^$9!#(B - $B$G$9$+$i!"%j%/%(%9%H$K0l0U$J<1JL;R$r@8@.$9$k$?$a$K$O!"(B - $B;~9o$r6hJL$9$kI,MW$,$"$k$@$1$G$9!#(B</p> - - <p>$B;~9o$r6hJL$9$k$?$a$K!"(BUnix $B$N%?%$%`%9%?%s%W(B (UTC $B$N(B 1970 $BG/(B - 1 $B7n(B 1 $BF|$+$i$NIC?t(B) $B$H!"(B16 $B%S%C%H$N%+%&%s%?$r;H$$$^$9!#(B - $B%?%$%`%9%?%s%W$NN3EY$O0lIC$G$9$N$G!"0lIC4V$N(B 65536 - $B$^$G$NCM$rI=8=$9$k$?$a$K%+%&%s%?$r;HMQ$7$^$9!#;M$D$NCM(B - <em>( ip_addr, pid, time_stamp, counter )</em> $B$G3F(B httpd - $B%W%m%;%9$G0lIC$N4V$K(B 65536 $B%j%/%(%9%H$r?t$($"$2$k$3$H$,$G$-$^$9!#(B - $B;~4V$,7P$D$H(B pid $B$,:FMxMQ$5$l$k$H$$$&LdBj$,$"$j$^$9$,!"(B - $B$3$NLdBj$r2r7h$9$k$?$a$K%+%&%s%?$,;HMQ$5$l$^$9!#(B</p> - - <p>httpd $B$N;R%W%m%;%9$,:n@.$5$l$k$H!"%+%&%s%?$O(B - ($B$=$N;~E@$N%^%$%/%mIC(B $B!`(B 10) modulo 65536 $B$G=i4|2=$5$l$^$9(B - ($B$3$N<0$O$$$/$D$+$N%7%9%F%`$K$"$k!"%^%$%/%mIC$N(B - $B%?%$%^$N2<0L%S%C%H$,0[$J$k$H$$$&LdBj$r2r7h$9$k$?$a$KA*$P$l$^$7$?(B)$B!#(B - $B0l0U$J<1JL;R$,@8@.$5$l$?$H$-!";HMQ$5$l$k%?%$%`%9%?%s%W$O(B - $B%&%'%V%5!<%P$K%j%/%(%9%H$,E~Ce$7$?;~9o$K$J$j$^$9!#(B - $B%+%&%s%?$O<1JL;R$,@8@.$5$l$k$?$S$KA}2C$7$^$9(B - ($B$"$U$l$?>l9g$O(B 0 $B$KLa$j$^$9(B)$B!#(B</p> - - <p>$B%+!<%M%k$O%W%m%;%9$r%U%)!<%/$9$k$H!"$=$l$>$l$N%W%m%;%9$N$?$a$K(B - pid $B$r@8@.$7$^$9!#(Bpid $B$O7+$jJV$5$l$k$3$H$,5v2D$5$l$F$$$^$9(B - (pid $B$NCM$OB?$/$N(B Unix $B$G$O(B 16 $B%S%C%H$G$9$,!"?7$7$$%7%9%F%`$G$O(B - 32 $B%S%C%H$K3HD%$5$l$F$$$^$9(B)$B!#(B - $B$G$9$+$i!"$"$kDxEY$N;~4V$,7P2a$9$k$HF1$8(B pid $B$,:F$S;HMQ$5$l$^$9!#(B - $B$7$+$7!"0lICFb$K:F;HMQ$5$l$J$1$l$P!"(B - $B;M$D$NCM$N0l0U@-$OJ]$?$l$^$9!#$D$^$j!"2f!9$O%7%9%F%`$,0lIC4V(B - $B$K(B 65536 $B8D$N%W%m%;%9$r5/F0$7$J$$$H2>Dj$7$F$$$^$9(B ($B$$$/$D$+$N(B Unix - $B$G$O(B 32768 $B%W%m%;%9$G$9$,!"$=$l$G$9$i$[$H$s$I$"$jF@$J$$$G$7$g$&(B)$B!#(B</p> - - <p>$B2?$i$+$NM}M3$G!"F1$8;~9o$,7+$jJV$5$l$?$H$7$^$7$g$&!#(B - $B$D$^$j!"%7%9%F%`$N;~7W$,68$C$F$$$F!"$b$&0lEY2a5n$N;~9o$K$J$C$F$7$^$C$?(B - ($B$b$7$/$O?J$_$9$.$F$$$?$H$-$K!"(B - $B@5$7$$;~9o$KLa$7$?$?$a$K:F$S>-Mh$N;~9o$K$J$C$F$7$^$C$?(B) $B$H$7$^$9!#(B - $B$3$N>l9g!"(Bpid $B$H%?%$%`%9%?%s%W$,:F;HMQ$5$l$k$3$H$,4JC1$K<($5$l$^$9!#(B - $B%+%&%s%?=i4|2=MQ$N4X?t$O!"$3$NLdBj$N2sHr$r<j=u$1$7$h$&$HA*Br$5$l$F$$$^$9!#(B - $BK\Ev$O%+%&%s%?$N=i4|2=$r$9$k$?$a$K%i%s%@%`$J?t;z$r;H$$$?$$$N$G$9$,!"(B - $B$[$H$s$I$N%7%9%F%`$G$O4JC1$K;HMQ$G$-$k?t$OL5$$$3$H$KCm0U$7$F$/$@$5$$(B - (<em>$B$9$J$o$A(B</em>$B!"(Brand ()$B$O;H$($^$;$s!#(Brand () $B$K$O(B seed - $B$rM?$($kI,MW$,$"$j!"(Bseed $B$K$O;~9o$r;H$($^$;$s!#0lICC10L$G$O!"(B - $B$=$N;~9o$O$9$G$K7+$jJV$5$l$F$$$k$+$i$G$9(B)$B!#(B - $B$3$l$O!"40`z$JBP:v$G$O$"$j$^$;$s!#(B</p> - - <p>$B$3$NBP:v$O$I$N$/$i$$8z2L$,$"$k$G$7$g$&$+(B? - $B$3$3$G$O!"%^%7%s72$NCf$N0l$D$O:GBg$G0lIC$K(B 500 - $B%j%/%(%9%H$r07$&$H2>Dj$7$^$9(B ($B$3$l$r=q$$$F$$$k;~E@$G$OBEEv$J>e8B$G$9!#(B - $BDL>o%7%9%F%`$,$9$k$3$H$O@EE*$J%U%!%$%k$r<h$j$@$9$@$1$G$O$"$j$^$;$s$+$i(B)$B!#(B - $B$=$l$r9T$J$&$?$a$K!"$=$N%^%7%s$OJB9T$7$FMh$k%/%i%$%"%s%H$N?t$K(B - $B1~$8$??t$N;R%W%m%;%9$rMW5a$7$^$9!#(B - $B$7$+$7$J$,$i!"Ha4QE*$K9M$($F!"0l$D$N;R%W%m%;%9$,0lIC$K(B 500 - $B%j%/%(%9%H$r07$($k$H$7$^$9!#$=$&$9$k$H!"(B($B0lIC$N@:EY$K$*$$$F(B) - $B;~9o$,F1$8;~$r7+$jJV$9$H!"$3$N;R%W%m%;%9$,%+%&%s%?$NCM$r:F$S;H$$!"(B - $B0l0U@-$,2u$l$k2DG=@-$,(B 1.5% $B$"$j$^$9!#(B - $B$3$l$OHs>o$KHa4QE*$JNc$G!"<B@$3&$NCM$G$O!"$[$H$s$I5/$3$j$=$&$K$"$j$^$;$s!#(B - $B$=$l$G$b$3$l$,5/$3$k2DG=@-$N$"$k$h$&$J%7%9%F%`$J$i!"(B - ($B%W%m%0%i%`%3!<%I$rJT=8$7$F(B) - $B%+%&%s%?$r(B 32 $B%S%C%H$K$9$k$N$,NI$$$G$7$g$&!#(B - </p> - - <p>$B%5%^!<%?%$%`$K$h$j;~7W$,!VLa$5$l$k!W$3$H$r5$$K$7$F$$$k?M$,(B - $B$$$k$+$b$7$l$^$;$s!#$3$3$G;HMQ$5$l$k;~4V$O(B UTC $B$G$"$j!"(B - $B$=$l$O!V>o$K!W?J$`$N$G$3$3$G$OLdBj$K$J$j$^$;$s!#(Bx86 $B>e$N(B Unix - $B$O$3$N>r7o$rK~$?$9$?$a$KE,@Z$J@_Dj$,I,MW$+$b$7$l$J$$$3$H$K(B - $BCm0U$7$F$/$@$5$$!#%^%6!<%\!<%I$N;~7W$O(B UTC $B$K$J$C$F$$$F!"(B - $BB>$N;~4V$O$=$3$+$iE,@Z$KJd@5$5$l$k$3$H$r2>Dj$G$-$k$h$&$K(B - $B@_Dj$5$l$J$1$l$P$J$j$^$;$s!#$=$N$h$&$J>l9g$G$5$(!"(BNTP - $B$r;H$C$F$$$k$J$i$P%j%V!<%H8e$K$9$0@5$7$$(B UTC $B$N;~4V$K$J$k$G$7$g$&!#(B</p> - - <p><code>UNIQUE_ID</code> $B4D6-JQ?t$O(B 112 $B%S%C%H(B (32 $B%S%C%H(B IP - $B%"%I%l%9!"(B32 $B%S%C%H(B pid, 32 $B%S%C%H%?%$%`%9%?%s%W!"(B16 - $B%S%C%H%+%&%s%?$N;M$D$NAH(B) $B$r%"%k%U%!%Y%C%H(B <code>[A-Za-z0-9@-]</code> - $B$rMQ$$$F(B MIME $B$N(B base64 $BId9f2=$HF1MM$NJ}K!$K$h$jId9f2=$7!"(B19 - $B$NJ8;z$r@8@.$9$k$3$H$K$h$j:n@.$5$l$^$9!#(BMIME $B$N(B base64 - $B$N%"%k%U%!%Y%C%H$O<B:]$O(B <code>[A-Za-z0-9+/]</code> $B$G$9$,!"(B - <code>+</code> $B$H(B <code>/</code> $B$H$O(B URL - $B$G$OFCJL$JId9f2=$,I,MW$J$N$G!"$"$^$jK>$^$7$/$"$j$^$;$s!#(B - $BA4$F$NCM$O%M%C%H%o!<%/%P%$%H%*!<%@$GId9f2=$5$l$^$9$N$G!"(B - $BId9f$O0c$C$?%P%$%H%*!<%@$N%"!<%-%F%/%A%c4V$GHf3S2DG=$G$9!#(B - $B<B:]$NId9f2=$N=gHV$O(B: $B%?%$%`%9%?%s%W!"(BIP $B%"%I%l%9!"(Bpid, - $B%+%&%s%?$G$9!#$3$N=g$K$OL\E*$,$"$j$^$9$,!"(B - $B%"%W%j%1!<%7%g%s$OId9f$r2r@O$9$k$Y$-$G$O$J$$$3$H$r6/D4$7$F$*$-$^$9!#(B - $B%"%W%j%1!<%7%g%s$OId9f2=$5$l$?(B <code>UNIQUE_ID</code> - $BA4BN$rF)2aE*$J%H!<%/%s$H$7$F07$&$Y$-$G$9!#(B - <code>UNIQUE_ID</code> $B$OB>$N(B <code>UNIQUE_ID</code> - $B$H$NEy2A@-$rD4$Y$k$?$a$@$1$K$N$_;HMQ$G$-$^$9!#(B</p> - - <p>$B$3$N=gHV$O>-Mh!"4{B8$N(B <code>UNIQUE_ID</code> - $B$N%G!<%?%Y!<%9$H$N>WFM$r?4G[$9$k$3$H$J$/Id9f$rJQ99$9$k$3$H$,(B - $B2DG=$K$J$k$h$&$KA*Br$7$F$$$^$9!#(B - $B?7$7$$Id9f$O%?%$%`%9%?%s%W$r:G=i$NMWAG$H$7$F;D$9$N$,K>$^$7$/!"(B - $B$=$l0J30$OF1$8%"%k%U%!%Y%C%H$H%S%C%HD9$r;H$&$3$H$,$G$-$^$9!#(B - $B%?%$%`%9%?%s%W$OK\<AE*$KA}2C7ONs$G$9$N$G!"(B - $B%/%i%9%?$NA4$F$N%^%7%s$,%j%/%(%9%H$H%5!<%P5!G=$rDd;_$7$F!"(B - $B8E$$Id9f2=J}<0$r;HMQ$9$k$N$r$d$a$k(B<em>$B%U%i%0IC(B</em>$B$,$"$l$P==J,$G$9!#(B - $B$=$N8e$O!"%j%/%(%9%H$r:F3+$7!"(B - $B?7$7$$Id9f$rH/9T$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</p> - - <p>$B2f!9$O$3$l$,!"(B - $B$3$NLdBj$K$*$1$kHf3SE*0\?"@-$N9b$$2r7hK!$@$H9M$($F$$$^$9!#(B - Windows NT $B$N$h$&$K!"%9%l%C%I(Bid $B$r(B ID $B$KDI2C$7$F!"(B24 $BJ8;z$N(B - UNIQUE_ID $B$N(B 4 $BG\$K$"$?$k(B 144-bit (32 $B%S%C%H$N(B tid $B$r4^$`(B) $B$N(B ID - $B$r:n$j=P$9$h$&$J%^%k%A%9%l%C%I%7%9%F%`MQ$K3HD%$9$k$3$H$,$G$-$^$9!#(B - $B>-Mh$N(B ID $B$OI,MW$K1~$8$FD9$/$9$k$3$H$,$G$-$^$9$N$G!"@8@.$5$l$?(B ID - $B$O<B<A>e!"L58B$KM-8z$G$9!#$^$?!"%/%i%9%?$N%^%7%s4V$NDL?.$b;v<B>eI,MW$J$/(B - (NTP $B$K$h$kF14|$N$_$,I,MW$G!"$3$l$O%*!<%P%X%C%I$O$"$^$j$"$j$^$;$s(B)$B!"(Bhttpd - $B%W%m%;%94V$NDL?.$bI,MW$"$j$^$;$s(B ($BDL?.$O%+!<%M%k$K$h$j3d$jEv$F$i$l$?(B - pid $B$NCM$K$h$j0EL[$NFb$K9T$J$o$F$$$^$9(B)$B!#(B - $B$5$i$K8B$i$l$?>u672<$G$O!"(BID $B$O$5$i$KC;$/$9$k$3$H$,$G$-$^$9$,!"(B - $B$h$jB?$/$N>pJs$r2>Dj$9$kI,MW$,$G$F$-$^$9(B ($BNc$($P!"(B32 $B%S%C%H(B - IP $B%"%I%l%9$O$I$N%5%$%H$K$*$$$F$b2a>j$J>pJs$G$9$,!"(B - $B$=$l$NBe$o$j$K$J$k0\?"@-$N$"$k$b$N$O$"$j$^$;$s(B)$B!#(B - $B$3$N%b%8%e!<%k$O!"(BIPv6 $B%"%I%l%9A4BN$r4^$`$h$&$K$b3HD%$G$-$^$9$,!"(B - $B$[$H$s$I$9$Y$F$N%5!<%P!<$K$H$C$F$O2a>j$J>pJs$G$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en deleted file mode 100644 index a692bf76adb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en +++ /dev/null @@ -1,150 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_userdir</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_userdir</h1> - - <p>This module provides for user-specific directories.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_userdir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - userdir_module</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#userdir">UserDir</a></li> - </ul> - <hr /> - - <h2><a id="userdir" name="userdir">UserDir</a> directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UserDir - <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UserDir - public_html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_userdir<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> All forms except - the <code>UserDir public_html</code> form are only available in - Apache 1.1 or above. Use of the <samp>enabled</samp> keyword, - or <samp>disabled</samp> with a list of usernames, is only - available in Apache 1.3 and above. - - <p>The UserDir directive sets the real directory in a user's - home directory to use when a request for a document for a user - is received. <em>Directory-filename</em> is one of the - following:</p> - - <ul> - <li>The name of a directory or a pattern such as those shown - below.</li> - - <li>The keyword <samp>disabled</samp>. This turns off - <em>all</em> username-to-directory translations except those - explicitly named with the <samp>enabled</samp> keyword (see - below).</li> - - <li>The keyword <samp>disabled</samp> followed by a - space-delimited list of usernames. Usernames that appear in - such a list will <em>never</em> have directory translation - performed, even if they appear in an <samp>enabled</samp> - clause.</li> - - <li>The keyword <samp>enabled</samp> followed by a - space-delimited list of usernames. These usernames will have - directory translation performed even if a global disable is - in effect, but not if they also appear in a - <samp>disabled</samp> clause.</li> - </ul> - - <p>If neither the <samp>enabled</samp> nor the - <samp>disabled</samp> keywords appear in the - <samp>Userdir</samp> directive, the argument is treated as a - filename pattern, and is used to turn the name into a directory - specification. A request for - <code>http://www.foo.com/~bob/one/two.html</code> will be - translated to:</p> -<pre> -UserDir public_html -> ~bob/public_html/one/two.html -UserDir /usr/web -> /usr/web/bob/one/two.html -UserDir /home/*/www -> /home/bob/www/one/two.html -</pre> - - <p>The following directives will send redirects to the - client:</p> -<pre> -UserDir http://www.foo.com/users -> http://www.foo.com/users/bob/one/two.html -UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html -UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html -</pre> - - <blockquote> - <strong>Be careful when using this directive; for instance, - <samp>"UserDir ./"</samp> would map - <samp>"/~root"</samp> to <samp>"/"</samp> - which is probably - undesirable. If you are running Apache 1.3 or above, it is - strongly recommended that your configuration include a - "<samp>UserDir disabled root</samp>" declaration. - See also the <a - href="core.html#directory"><Directory></a> directive - and the <a href="../misc/security_tips.html">Security - Tips</a> page for more information.</strong> - </blockquote> - -<p>Additional examples:</p> - -<p>To allow a few users to have <code>UserDir</code> directories, but -not anyone else, use the following:</p> - -<pre> -UserDir disabled -UserDir enabled user1 user2 user3 -</pre> - -<p>To allow most users to have <code>UserDir</code> directories, but -deny this to a few, use the following:</p> - -<pre> -UserDir enabled -UserDir disabled user4 user5 user6 -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis deleted file mode 100644 index 93dfcc23d5d..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis +++ /dev/null @@ -1,149 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_userdir</title> - </head> - <!-- English revision: 1.20 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_userdir $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$7$^$9(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_userdir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - userdir_module</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#userdir">UserDir</a></li> - </ul> - <hr /> - - <h2><a id="userdir" name="userdir">UserDir</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UserDir - <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UserDir - public_html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_userdir<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> <code>UserDir public_html</code> - $B$H$$$C$?7A<00J30$O!"(BApache 1.1 $B0J9_$G$N$_M-8z$G$9!#(B - <samp>enabled</samp> $B$d(B <samp>disabled</samp> $B$H$$$&%-!<%o!<%I$N5-=R5Z$S!"(B - $B%f!<%6L>$NNs5s$K4X$7$F$O!"(BApache 1.3 $B0J9_$G$N$_BP1~$7$F$$$^$9!#(B - - <p>UserDir $B%G%#%l%/%F%#%V$O!"(B - $B%f!<%6$N%I%-%e%a%s%H$KBP$9$kMW5a$,$"$C$?:]$K;HMQ$9$k!"(B - $B%f!<%6$N%[!<%`%G%#%l%/%H%j$NCf$N<B:]$N%G%#%l%/%H%j$NL>A0$r;XDj$7$^$9!#(B - <em>directory-filename</em> $B$K$O!"0J2<$N$I$l$+$r;XDj$7$^$9!#(B</p> - - <ul> - <li>$B%G%#%l%/%H%jL>$+!"0J2<$K=R$Y$k7A<0$N%Q%?!<%s!#(B</li> - - <li><samp>disabled</samp> $B$H$$$&%-!<%o!<%I!#(B<br /> - $B$3$N@_Dj$O!"(B<samp>enabled</samp> $B%-!<%o!<%I(B ($B0J2<;2>H(B) - $B$K$*$$$F;XDj$5$l$?%f!<%60J30!"(B - <em>$B$9$Y$F(B</em>$B$N%f!<%6L>$r%G%#%l%/%H%j$KJQ49$7$J$$$h$&$K$7$^$9!#(B</li> - - <li><samp>disabled</samp> $B$H$$$&%-!<%o!<%I$H!"(B - $B$=$N8e$K%9%Z!<%96h@Z$j$G%f!<%6L>$rNs5s!#(B<br /> - $B;XDj$5$l$?%f!<%6$O!"(B<samp>enabled</samp> - $B$K$*$$$F5-=R$,$5$l$F$$$?$H$7$F$b!"(B - $B%G%#%l%/%H%j$X$NJQ49$,(B<em>$B$5$l$J$/(B</em>$B$J$j$^$9!#(B</li> - - <li><samp>enabled</samp> - $B$H$$$&%-!<%o!<%I$H!"%9%Z!<%96h@Z$j$G%f!<%6L>$rNs5s(B<br /> - $B;XDj$5$l$?%f!<%6$O!"JQ49$,$5$l$J$$$h$&$K@_Dj$5$l$F$$$?$H$7$F$b!"(B - $B%G%#%l%/%H%j$X$NJQ49$r9T$$$^$9!#(B - $B$?$@$7!"(B<samp>disabled</samp> - $B$K$*$$$FL@5-$5$l$F$$$k>l9g$K$O!"JQ49$,$J$5$l$^$;$s!#(B</li> - </ul> - - <p><samp>enabled</samp> $B$d(B <samp>disabled</samp> - $B$H$$$C$?%-!<%o!<%I$G$J$$>l9g$K$O!"(B - $B%U%!%$%kL>$N%Q%?!<%s$H$7$F07$o$l!"(B - $BL>A0$+$i%G%#%l%/%H%j$X$NJQ49$r;XDj$9$k$3$H$,$G$-$^$9!#(B - <code>http://www.foo.com/~bob/one/two.html</code> $B$X$N(B URL - $B$N>l9g$NJQ49$K$D$$$F8+$F$_$^$9!#(B</p> - -<pre> -UserDir public_html -> ~bob/public_html/one/two.html -UserDir /usr/web -> /usr/web/bob/one/two.html -UserDir /home/*/www -> /home/bob/www/one/two.html -</pre> - - <p>$B0J2<$N$h$&$K%G%#%l%/%F%#%V$r@_Dj$9$k$H!"(B - $B%/%i%$%"%s%H$X$O%j%@%$%l%/%H$,Aw=P$5$l$^$9!#(B</p> -<pre> -UserDir http://www.foo.com/users -> http://www.foo.com/users/bob/one/two.html -UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html -UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html -</pre> - - <blockquote> - <strong> - $B$3$N%G%#%l%/%F%#%V$rMxMQ$9$k:]!"(B<samp>"UserDir ./"</samp> - $B$H$$$C$?@_Dj$r$9$k$H!"(B<samp>"/~root"</samp> $B$O(B <samp>"/"</samp> - $B$K%^%C%T%s%0$5$l$k$3$H$K5$$r$D$1$F$/$@$5$$!#(B - $B$3$l$OHs>o$KK>$^$7$/$"$j$^$;$s!#(B - Apache 1.3 $B0J9_$rMxMQ$7$F$$$k$N$G$"$l$P!"(B"UserDir disabled root" - $B$H$$$&5-=R$r@_Dj%U%!%$%kCf$K4^$a$k$3$H$r6/$/?d>)$7$^$9!#(B - <a - href="core.html#directory"><Directory></a> $B%G%#%l%/%F%#%V$d!"(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k3P=q(B</a> - $B$b;2>H$7$F$/$@$5$$!#(B</strong> - </blockquote> - -<p>$B$=$NB>$N@_DjNc(B:</p> - -<p>$B>.?t$N%f!<%6$K$O(B <code>UserDir</code> -$B%G%#%l%/%H%j$rMxMQ$5$;$k$b$N$N!";D$j$N%f!<%6$K$O$5$;$?$/$J$$>l9g(B:</p> - -<pre> -UserDir disabled -UserDir enabled user1 user2 user3 -</pre> - -<p>$BBgItJ,$N%f!<%6$K$O(B <code>UserDir</code> -$B%G%#%l%/%H%j$rMxMQ$5$;!"0lIt$N%f!<%6$N$_L58z$K$9$k>l9g(B:</p> - -<pre> -UserDir enabled -UserDir disabled user4 user5 user6 -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en b/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en deleted file mode 100644 index 0609614cf82..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Definitions of terms used to describe Apache - modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Terms Used to Describe Apache Modules</h1> - - <p>Each Apache module is described using a common format that - looks like this:</p> - - <dl> - <dd><a href="#Status" rel="Help"><strong>Status:</strong></a> - <em>status</em><br /> - <a href="#SourceFile" rel="Help"><strong>Source - File:</strong></a> <em>source-file</em><br /> - <a href="#ModuleIdentifier" rel="Help"><strong>Module - Identifier:</strong></a> <em>module-identifier</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <em>compatibility notes</em></dd> - </dl> - - <p>Each of the attributes, complete with values where possible, - are described in this document.</p> - - <h2>Module Terms</h2> - - <ul> - <li><a href="#Status">Status</a></li> - - <li><a href="#SourceFile">Source File</a></li> - - <li><a href="#ModuleIdentifier">Module Identifier</a></li> - - <li><a href="#Compatibility">Compatibility</a></li> - </ul> - <hr /> - - <h2><a id="Status" name="Status">Status</a></h2> - - <p>This indicates how tightly bound into the Apache Web server - the module is; in other words, you may need to recompile the - server in order to gain access to the module and its - functionality. Possible values for this attribute are:</p> - - <dl> - <dt><strong>Base</strong></dt> - - <dd>A module labeled as having "Base" status is compiled and - loaded into the server by default, and is therefore normally - available unless you have taken steps to remove the module - from your configuration.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>A module with "Extension" status is not normally compiled - and loaded into the server. To enable the module and its - functionality, you may need to change the server build - configuration files and re-compile Apache.</dd> - - <dt><strong>Experimental</strong></dt> - - <dd>"Experimental" status indicates that the module is - available as part of the Apache kit, but you are on your own - if you try to use it. The module is being documented for - completeness, and is not necessarily supported.</dd> - - <dt><strong>External</strong></dt> - - <dd>Modules which are not included with the base Apache - distribution ("third-party modules") may use the "External" - status. We are not responsible, nor do we support such - modules.</dd> - </dl> - <hr /> - - <h2><a id="SourceFile" name="SourceFile">Source File</a></h2> - - <p>This quite simply lists the name of the source file which - contains the code for the module. This is also the name used by - the <a - href="core.html#ifmodule"><code><IfModule></code></a> - directive.</p> - <hr /> - - <h2><a id="ModuleIdentifier" name="ModuleIdentifier">Module - Identifier</a></h2> - - <p>This is a string which identifies the module for use in the - <a href="mod_so.html#loadmodule">LoadModule</a> directive when - dynamically loading modules. In particular, it is the name of - the external variable of type module in the source file.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibility</a></h2> - - <p>If the module was not part of the original Apache version 1 - distribution, the version in which it was introduced should be - listed here.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis deleted file mode 100644 index 1526b52460c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis +++ /dev/null @@ -1,124 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%b%8%e!<%k$N2r@b$G;HMQ$9$kMQ8l(B</title> - - </head> - <!-- English revision: 1.2 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k$N2r@b$G;HMQ$9$kMQ8l(B</h1> - - <p>Apache $B%b%8%e!<%k$K$D$$$F$N2r@b$O!"(B - $B$$$:$l$b0J2<$N6&DL$N=q<0$G5-=R$5$l$F$$$^$9(B:</p> - - <dl> - <dd><a href="#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> - <em>status</em><br /> - <a href="#sourcefile" rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - <em>source-file</em><br /> - <a href="#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - <em>module-identifier</em><br /> - <a href="#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - <em>compatibility notes</em></dd> - </dl> - <p>$B$3$N%I%-%e%a%s%H$G$O$=$l$>$l$NB0@-$r@bL@$7$F$$$^$9!#(B - $B<h$jF@$k$9$Y$F$NCM$b5-=R$7$F$$$^$9!#(B</p> - - <h2>$B%b%8%e!<%k$NMQ8l(B</h2> - - <ul> - <li><a href="#status">$B%9%F!<%?%9(B</a></li> - - <li><a href="#sourcefile">$B%=!<%9%U%!%$%k(B</a></li> - - <li><a href="#moduleidentifier">$B%b%8%e!<%k<1JL;R(B</a></li> - - <li><a href="#Compatibility">$B8_49@-(B</a></li> - </ul> - <hr /> - - <h2><a id="status" name="status">$B%9%F!<%?%9(B</a></h2> - - <p>$B$3$l$O!"$=$N%b%8%e!<%k$,(B Apache - $B%&%'%V%5!<%P$K$I$l$/$i$$L)@\$KAH$_9~$^$l$F$$$k$+$r<($7$^$9!#(B - $B8@$$49$($l$P!"%b%8%e!<%k$rAH$_9~$_!"$=$N5!G=$rMxMQ$9$k$?$a$K!"(B - $B%5!<%P$r:F%3%s%Q%$%k$9$kI,MW$,$"$k$+$b$7$l$J$$$H$$$&$3$H$r<($7$^$9!#(B - $B$3$NB0@-$,<h$jF@$kCM$O0J2<$N$b$N$G$9(B:</p> - <dl> - <dt><strong>Base</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Base" - $B$N%b%8%e!<%k$O!"%G%U%)%k%H$G%3%s%Q%$%k$5$l$F!"$o$6$o$6@_Dj$+$i(B - $B%b%8%e!<%k$r:o=|$7$F$$$J$$8B$j!"DL>o$OMxMQ2DG=$G$9!#(B - </dd> - - <dt><strong>Extension</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Extension" $B$N%b%8%e!<%k$O!"(B - $B%G%U%)%k%H$G$O%3%s%Q%$%k$5$l$:!"%5!<%P$K$bFI$_9~$^$l$^$;$s!#(B - $B$=$N%b%8%e!<%k$H$=$N5!G=$rM-8z$K$9$k$K$O!"(B - $B%5!<%P$r%S%k%I$9$k$?$a$N@_Dj$rJQ99$7$F!"(BApache - $B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#(B</dd> - <dt><strong>Experimental</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Experimental" $B$N%b%8%e!<%k$O!"(B - Apache $BG[I[J*$KF1:-$5$l$F$$$^$9$,!"(B - $B;HMQ$9$k>l9g$O<+8J@UG$$G9T$J$&I,MW$,$"$j$^$9!#(B - $B$=$N%b%8%e!<%k$O!"%I%-%e%a%s%H$b40@.$K8~$1$F:n@.Cf$G$9$7!"(B - $B%5%]!<%H$5$l$k$F$$$k$H$O8B$j$^$;$s!#(B</dd> - <dt><strong>External</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "External" $B$N%b%8%e!<%k$O!"4pK\(B Apache - $BG[I[$KF1:-$5$l$^$;$s(B ("$B%5!<%I%Q!<%F%#!<%b%8%e!<%k(B")$B!#(B - $B$=$N$?$a!"2f!9$K@UG$$O$"$j$^$;$s$7!"(B - $B$=$N%b%8%e!<%k$N%5%]!<%H$b$7$F$$$^$;$s!#(B</dd> - </dl> - <hr /> - - <h2><a id="sourcefile" name="sourcefile">$B%=!<%9%U%!%$%k(B</a></h2> - - <p>$B$3$l$OC1=c$K!"(B - $B$=$N%b%8%e!<%k$KI,MW$J%3!<%I$r4^$`%=!<%9%U%!%$%k$NL>A0$rNs5s$7$?$b$N$G$9!#(B - $B$3$l$O!"(B<a href="core.html#ifmodule"><code><IfModule></code></a> - $B%G%#%l%/%F%#%V$G;HMQ$5$l$kL>A0$G$b$"$j$^$9!#(B - </p> - <hr /> - - <h2><a id="moduleidentifier" - name="moduleidentifier">$B%b%8%e!<%k<1JL;R(B</a></h2> - - <p>$B$3$NJ8;zNs$O!"%b%8%e!<%k$NF0E*FI$_9~$_$r9T$J$&$H$-$K;HMQ$9$k(B <a - href="mod_so.html#loadmodule">LoadModule</a> - $B%G%#%l%/%F%#%V$K$*$$$F;HMQ$5$l$k%b%8%e!<%k$N<1JL;R$G$9!#(B - $B>\$7$/=q$/$H!"%=!<%9%U%!%$%kFb$N(B module $B%?%$%W$N30ItJQ?t$NL>A0$G$9!#(B - </p> - <hr /> - - <h2><a id="Compatibility" name="Compatibility">$B8_49@-(B</a></h2> - - <p>$B$"$k%b%8%e!<%k$,(B Apache $B%P!<%8%g%s(B 1 - $B$NG[I[$K4^$^$l$F$$$J$+$C$?>l9g!"(B - $B$=$N%b%8%e!<%k$,F3F~$5$l$?%P!<%8%g%s$,$3$3$K=q$+$l$F$$$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.en b/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.en deleted file mode 100644 index 7adbea08157..00000000000 --- a/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.en +++ /dev/null @@ -1,900 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>New features with Apache 1.3</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Overview of New Features in Apache 1.3</h1> - - <p>New features with this release, as extensions of the Apache - functionality. Because the core code has changed so - significantly, there are certain liberties that earlier - versions of Apache (and the NCSA daemon) took that recent - Apache versions are pickier about - please check the <a - href="misc/compat_notes.html">compatibility notes</a> if you - have any problems.</p> - - <p>If you're upgrading from Apache 1.2, you may wish to read - the <a href="upgrading_to_1_3.html">upgrade notes</a>.</p> - - <p>Enhancements: <a href="#core">Core</a> | <a - href="#performance">Performance</a> | <a - href="#config">Configuration</a> | <a href="#mod">Modules</a> | - <a href="#api">API</a> | <a href="#misc">Misc</a></p> - <hr /> - - <h2><a id="core" name="core">Core Enhancements:</a></h2> - - <dl> - <dt><strong><a href="dso.html">Dynamic Shared Object (DSO) - support</a></strong></dt> - - <dd>Apache modules may now be loaded at runtime; this means - that modules can be loaded into the server process space only - when necessary, thus overall memory usage by Apache will be - significantly reduced. DSO currently is supported on FreeBSD, - OpenBSD, NetBSD, Linux, Solaris, SunOS, Digital UNIX, IRIX, - HP/UX, UnixWare, NetWare, AIX, ReliantUnix and generic SVR4 - platforms.</dd> - - <dt><strong><a href="windows.html">Support for Windows - NT/95</a></strong></dt> - - <dd>Apache now supports the Windows NT and Windows 2000 - operating systems. While Apache may run on Windows 95, 98, or - ME, these consumer products are never recommended for - production environments, and their use remains experimental. - All versions of Apache running on Windows prior to 1.3.15 - should be considered beta quality releases.</dd> - - <dt><strong><a href="cygwin.html">Support for - Cygwin</a></strong></dt> - - <dd>Apache now supports the Cygwin platform for the Windows - NT and Windows 2000 operating systems. The Cygwin versions - should be considered as stable and reliable as the <a - href="windows.html">Windows</a> native counterpart.</dd> - - <dt><strong><a href="netware.html">Support for NetWare - 5.x</a></strong></dt> - - <dd>Apache now supports NetWare 5.x and above - operating systems.</dd> - - <dt><strong><a href="sourcereorg.html">Re-organized - Sources</a></strong></dt> - - <dd>The source files for Apache have been re-organized. The - main difference for Apache users is that the "Module" lines - in <code>Configuration</code> have been replaced with - "AddModule" with a slightly different syntax. For module - authors there are some changes designed to make it easier for - users to add their module.</dd> - - <dt><strong>Reliable Piped Logs</strong></dt> - - <dd>On almost all Unix architectures Apache now implements - "reliable" piped logs in <a - href="mod/mod_log_config.html">mod_log_config</a>. Where - reliable means that if the logging child dies for whatever - reason, Apache will recover and respawn it without having to - restart the entire server. Furthermore if the logging child - becomes "stuck" and isn't reading its pipe frequently enough - Apache will also restart it. This opens up more opportunities - for log rotation, hit filtering, real-time splitting of - multiple vhosts into separate logs, and asynchronous DNS - resolving on the fly.</dd> - </dl> - <hr /> - - <h2><a id="performance" name="performance">Performance - Improvements</a></h2> - - <ul> - <li>IP-based virtual hosts are looked up via hash table.</li> - - <li><Directory> parsing speedups.</li> - - <li>The critical path for static requests has fewer system - calls. This generally helps all requests. (45 syscalls for a - static request in 1.2 versus 22 in 1.3 in a well tuned - configuration).</li> - - <li><a - href="mod/mod_proxy.html#proxyreceivebuffersize"><code>ProxyReceiveBufferSize</code></a> - directive gives <code>mod_proxy</code>'s outgoing connections - larger network buffers, for increased throughput.</li> - - <li>The low level I/O routines use <code>writev</code> (where - available) to issue multiple writes with a single system - call. They also avoid copying memory into buffers as much as - possible. The result is less CPU time spent on transferring - large files.</li> - - <li>Static requests are served using <code>mmap</code>, which - means bytes are only copied from the disk buffer to the - network buffer directly by the kernel. The program never - copies bytes around, which reduces CPU time. (Only where - available/tested.)</li> - - <li>When presented with a load spike, the server quickly - adapts by spawning children at faster rates.</li> - - <li>The code which dispatches modules was optimized to avoid - repeatedly skipping over modules that don't implement certain - phases of the API. (This skipping showed up as 5% of the CPU - time on profiles of a server with the default module - mix.)</li> - - <li>Revamp of the Unix scoreboard management code so that - less time is spent counting children in various states. - Previously a scan was performed for each hit, now it is - performed only once per second. This should be noticeable on - servers running with hundreds of children and high - loads.</li> - - <li>New serialization choices improve performance on Linux, - and IRIX.</li> - - <li><code><a - href="mod/mod_log_config.html">mod_log_config</a></code> can - be compile-time configured to buffer writes.</li> - - <li>Replaced <code>strncpy()</code> with - <code>ap_cpystrn()</code>, a routine which doesn't have to - zero-fill the entire result. This has dramatic effects on - <code>mod_include</code> speed.</li> - - <li>Additions to the internal "table" API (used for keeping - lists of key/value string pairs) provide for up to 20% - performance improvement in many situations.</li> - </ul> - - <p>See <a href="misc/perf-tuning.html">the new performance - documentation</a> for more information.</p> - <hr /> - - <h2><a id="config" name="config">Configuration - Enhancements</a></h2> - - <dl> - <dt><strong>Unified Server Configuration Files</strong></dt> - - <dd><em>(Apache 1.3.4)</em> The contents of the three server - configuration files (<samp>httpd.conf</samp>, - <samp>srm.conf</samp>, and <samp>access.conf</samp>) have - been merged into a single <samp>httpd.conf</samp> file. The - <samp>srm.conf</samp> and <samp>access.conf</samp> files are - now empty except for comments directing the Webmaster to look - in <samp>httpd.conf</samp>. In addition, the merged - <samp>httpd.conf</samp> file has been restructured to allow - directives to appear in a hopefully more intuitive and - meaningful order.</dd> - - <dt><strong>Continuation Lines in config files</strong></dt> - - <dd>Directive lines in the server configuration files may now - be split onto multiple lines by using the canonical Unix - continuation mechanism, namely a '\' as the last non-blank - character on the line to indicate that the next line should - be concatenated.</dd> - - <dt><strong>Apache Autoconf-style Interface - (APACI)</strong></dt> - - <dd>Until Apache 1.3 there was no real out-of-the-box - batch-capable build and installation procedure for the - complete Apache package. This is now provided by a top-level - <code>configure</code> script and a corresponding top-level - <code>Makefile.tmpl</code> file. The goal is to provide a GNU - Autoconf-style frontend which is capable to both drive the - old <code>src/Configure</code> stuff in batch and - additionally installs the package with a GNU-conforming - directory layout. Any options from the old configuration - scheme are available plus a lot of new options for flexibly - customizing Apache.<br /> - <strong>Note:</strong> The default installation layout has - changed for Apache 1.3.4. See the files - <code>README.configure</code> and <code>INSTALL</code> for - more information.</dd> - - <dt><strong>APache eXtenSion (APXS) support - tool</strong></dt> - - <dd>Now that Apache provides full support for loading modules - under runtime from dynamic shared object (DSO) files, a new - support tool <code>apxs</code> was created which provides - off-source building, installing and activating of those - DSO-based modules. It completely hides the platform-dependent - DSO-build commands from the user and provides an easy way to - build modules outside the Apache source tree. To achieve this - APACI installs the Apache C header files together with the - <code>apxs</code> tool.</dd> - - <dt><a href="install.html#installing"><strong>Default Apache - directory path changed to - <code>/usr/local/apache/</code></strong></a><br /> - </dt> - - <dd>The default directory for the Apache ServerRoot changed - from the NCSA-compatible <code>/usr/local/etc/httpd/</code> - to <code>/usr/local/apache/</code>. This change covers only - the default setting (and the documentation); it is of course - possible to override it using the <a href="invoking.html">-d - <em>ServerRoot</em> and -f <em>httpd.conf</em></a> switches - when starting apache.</dd> - - <dt><strong>Improved HTTP/1.1-style Virtual - Hosts</strong></dt> - - <dd>The new <a - href="mod/core.html#namevirtualhost"><code>NameVirtualHost</code></a> - directive is used to list IP address:port pairs on which - HTTP/1.1-style virtual hosting occurs. This is vhosting based - on the <code>Host:</code> header from the client. Previously - this address was implicitly the same as the "main address" of - the machine, and this caused no end of problems for users, - and was not powerful enough. Please see the <a - href="vhosts/">Apache Virtual Host documentation</a> for - further details on configuration.</dd> - - <dt><strong><code>Include</code> directive</strong></dt> - - <dd>The <a - href="mod/core.html#include"><code>Include</code></a> - directive includes other config files immediately at that - point in parsing.</dd> - - <dt><strong>-S command line option for debugging vhost - setup</strong></dt> - - <dd>If Apache is invoked with the <code>-S</code> command - line option it will dump out information regarding how it - parsed the <code>VirtualHost</code> sections. This is useful - for folks trying to debug their virtual host - configuration.</dd> - - <dt><strong>Control of HTTP methods</strong></dt> - - <dd><a href="mod/core.html#limitexcept"><LimitExcept> - and </LimitExcept></a> are used to enclose a group of - access control directives which will then apply to any HTTP - access method not listed in the arguments; i.e., it is the - opposite of a <Limit> section and can be used to - control both standard and nonstandard/unrecognized - methods.</dd> - </dl> - <hr /> - - <h3><a id="mod" name="mod">Module Enhancements</a></h3> - - <dl> - <dt><a href="mod/mod_negotiation.html"><strong>Improved - mod_negotiation</strong></a><br /> - </dt> - - <dd>The optional content negotiation (MultiViews) module has - been completely overhauled for Apache 1.3.4, incorporating - the latest HTTP/1.1 revisions and the experimental - Transparent Content Negotion features of RFC 2295 and RFC - 2296.</dd> - - <dt><a href="mod/mod_speling.html"><strong>NEW - Spelling - correction module</strong></a><br /> - </dt> - - <dd>This optional module corrects frequently occurring - spelling and capitalization errors in document names - requested from the server.</dd> - - <dt><a href="mod/mod_setenvif.html"><strong>NEW - Conditional - setting of environment variables</strong></a><br /> - </dt> - - <dd>The addition of <a - href="mod/mod_setenvif.html#setenvif"><code>SetEnvIf</code></a> - and <a - href="mod/mod_setenvif.html#setenvifnocase"><code>SetEnvIfNoCase</code></a>. - These allow you to set environment variables for server and - CGI use based upon attributes of the request.</dd> - - <dt><strong><a href="mod/mod_mime_magic.html">NEW - "Magic" - MIME-typing</a></strong></dt> - - <dd>The optional <code>mod_mime_magic</code> has been added. - It uses "magic numbers" and other hints from a file's - contents to figure out what the contents are. It then uses - this information to set the file's media type, if it cannot - be determined by the file's extension.</dd> - - <dt><strong><a href="mod/mod_unique_id.html">NEW - Unique - Request Identifiers</a></strong></dt> - - <dd><a href="mod/mod_unique_id.html">mod_unique_id</a> can be - included to generate a unique identifier that distinguishes a - hit from every other hit. ("Unique" has some restrictions on - it.) The identifier is available in the environment variable - <code>UNIQUE_ID</code>.</dd> - - <dt><strong>mod_proxy enhancements:</strong></dt> - - <dd> - <ul> - <li>Easier and safer authentication for ftp proxy logins: - When no ftp user name and/or password is specified in the - URL, but the destination ftp server requires one, Apache - now returns a "[401] Authorization Required" status. This - status code usually makes the client browser pop up an - "Enter user name and password" dialog, and the request is - retried with the given user authentification. That is - slightly more secure than specifying the authentication - information as part of the request URL, where it could be - logged in plaintext by older proxy servers.</li> - - <li>The new <samp>AllowCONNECT</samp> directive allows - configuration of the port numbers to which the proxy - CONNECT method may connect. That allows proxying to - https://some.server:8443/ which resulted in an error - message prior to Apache version 1.3.2.</li> - - <li>The proxy now supports the HTTP/1.1 "Via:" header as - specified in RFC2068. The new <a - href="mod/mod_proxy.html#proxyvia"><code>ProxyVia</code></a> - directive allows switching "Via:" support off or on, or - suppressing outgoing "Via:" header lines altogether for - privacy reasons.</li> - - <li>The "Max-Forwards:" TRACE header specified in - HTTP/1.1 is now supported. With it, you can trace the - path of a request along a chain of proxies (if they, too, - support it).</li> - - <li><a - href="mod/mod_proxy.html#noproxy"><code>NoProxy</code></a> - and <a - href="mod/mod_proxy.html#proxydomain"><code>ProxyDomain</code></a> - directives added to proxy, useful for intranets.</li> - - <li>New <code><a - href="mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></code> - directive. It lets Apache adjust the URL in the - <tt>Location</tt> header on HTTP redirect responses.</li> - - <li>Easier navigation in ftp server directory trees.</li> - </ul> - </dd> - - <dt><a href="mod/mod_include.html#flowctrl"><strong>Enhanced - <code>mod_include</code> string - comparisons</strong></a><br /> - </dt> - - <dd>The string-based server-side include (SSI) flow-control - directives now include comparison for less-than (<), - less-than-or-equal (<=), greater-than (>), and - greater-than-or-equal (>=). Previously comparisons could - only be made for equality or inequality.</dd> - - <dt><strong>ServerRoot relative auth filenames</strong></dt> - - <dd>Auth filenames for the various authentication modules are - now treated as relative to the ServerRoot if they are not - full paths.</dd> - - <dt><a href="mod/mod_autoindex.html"><strong>Enhancements to - directory indexing:</strong></a></dt> - - <dd> - <ul> - <li><strong>Code split:</strong>The <code>mod_dir</code> - module has been split in two, with <a - href="mod/mod_dir.html">mod_dir</a> handling directory - index files, and <a - href="mod/mod_autoindex.html">mod_autoindex</a> creating - directory listings. Thus allowing folks to remove the - indexing function from critical servers.</li> - - <li><strong>Sortable:</strong> Clicking on a column title - will now sort the listing in order by the values in that - column. This feature can be disabled using the - <code>SuppressColumnSorting</code> <a - href="mod/mod_autoindex.html#indexoptions">IndexOptions</a> - keyword.</li> - - <li><a - href="mod/mod_autoindex.html#indexoptions:suppresshtmlpreamble"> - <code><strong>SuppressHTMLPreamble</strong></code></a> - can be used if your README.html file includes its own - HTML header.</li> - - <li>The <a - href="mod/mod_autoindex.html#indexoptions"><code><strong>IndexOptions</strong></code></a> - directive now allows the use of incremental prefixes (+/- - to add/remove the respective keyword feature, as was - already possible for the <a - href="mod/core.html#options">Options</a> directive) to - its keyword arguments. Multiple IndexOptions directives - applying to the same directory will now be merged.</li> - - <li><a - href="mod/mod_autoindex.html#indexoptions:iconheight"><strong> - <code>IconHeight</code></strong></a> and <a - href="mod/mod_autoindex.html#indexoptions:iconwidth"><strong> - <code>IconWidth</code></strong></a> let you set height - and width attributes to the <code><IMG></code> tag - in directory listings.</li> - - <li>The new <a - href="mod/mod_autoindex.html#indexoptions:namewidth"><strong> - <code>NameWidth</code></strong></a> keyword to the <a - href="mod/mod_autoindex.html#indexoptions">IndexOptions</a> - directive lets you set the number of columns for <a - href="mod/mod_autoindex.html#indexoptions:fancyindexing">"fancy" - directory listings</a>. If set to an '*' asterisk, the - name width will be adjusted automatically.</li> - - <li>The <a - href="mod/mod_autoindex.html#fancyindexing"><samp>FancyIndexing</samp></a> - directive now correctly has the same impact as <a - href="mod/mod_autoindex.html#indexoptions:fancyindexing"><samp> - IndexOptions FancyIndexing</samp></a> without - replacing the effect of any existing - <samp>IndexOptions</samp> directive.</li> - - <li>Starting with 1.3.15, the server will satisfy - directory requests with the cache controls ETag and - LastModified, if IndexOptions includes the <a - href="mod/mod_autoindex.html#indexoptions:trackmodified"><samp>TrackModified</samp></a> - directive. The server will not need to generate the - listing if the client determines the request has not - changed, improving performance. Due to its experimental - nature, this feature is not enabled by default.</li> - </ul> - </dd> - - <dt><strong>Less Buffering of CGI Script Output</strong></dt> - - <dd>In previous versions of Apache, the output from CGI - scripts would be internally buffered by the server, and - wouldn't be forwarded to the client until either the buffers - were full or the CGI script completed. As of Apache 1.3, the - buffer to the client is flushed any time it contains - something and the server is waiting for more information from - the script. This allows CGI script to provide partial status - reports during long processing operations.</dd> - - <dt><strong><a href="mod/mod_alias.html">Regular Expression - support for <code>Alias</code> and - <code>Redirect</code></a></strong></dt> - - <dd>New <a - href="mod/mod_alias.html#aliasmatch"><code>AliasMatch</code></a>, - <a - href="mod/mod_alias.html#scriptaliasmatch"><code>ScriptAliasMatch</code></a>, - and <a - href="mod/mod_alias.html#redirectmatch"><code>RedirectMatch</code></a> - directives allow for the use of regular expression matching. - Additionally, new <a - href="mod/core.html#directorymatch"><code><DirectoryMatch></code></a>, - <a - href="mod/core.html#locationmatch"><code><LocationMatch></code></a>, - and <a - href="mod/core.html#filesmatch"><code><FilesMatch></code></a> - sections provide a new syntax for regular expression - sectioning.</dd> - - <dt><strong><a - href="mod/mod_info.html#addmoduleinfo"><code>AddModuleInfo</code></a> - directive added to <a - href="mod/mod_info.html">mod_info</a></strong></dt> - - <dd>Allows additional information to be listed along with a - specified module.</dd> - - <dt><strong>Absence of any <code>TransferLog</code> disables - logging</strong></dt> - - <dd>If no <a - href="mod/mod_log_config.html#transferlog"><code>TransferLog</code></a> - directive is given then no log is written. This supports - co-existence with other logging modules.</dd> - - <dt><strong>Ability to name logging formats</strong></dt> - - <dd>The <a - href="mod/mod_log_config.html#logformat"><code>LogFormat</code></a> - directive has been enhanced to allow you to give nicknames to - specific logging formats. You can then use these nicknames in - other <code>LogFormat</code> and <a - href="mod/mod_log_config.html#customlog"><code>CustomLog</code></a> - directives, rather than having to spell out the complete log - format string each time.</dd> - - <dt><strong>Conditional logging</strong></dt> - - <dd><a - href="mod/mod_log_config.html#customlog-conditional">mod_log_config</a> - now supports logging based upon environment variables. - mod_log_referer and mod_log_agent are now deprecated.</dd> - - <dt><strong>mod_cern_meta configurable - per-directory</strong></dt> - - <dd><a href="mod/mod_cern_meta.html">mod_cern_meta</a> is now - configurable on a per-directory basis.</dd> - - <dt><strong>New map types for <a - href="mod/mod_rewrite.html#RewriteMap"><code>RewriteMap</code></a> - directive</strong></dt> - - <dd>The new map types `Randomized Plain Text' and `Internal - Function' were added to the <code>RewriteMap</code> directive - of mod_rewrite. They provide two new features: First, you now - can randomly choose a sub-value from a value which was - looked-up in a rewriting map (which is useful when choosing - between backend servers in a Reverse Proxy situation). - Second, you now can translate URL parts to fixed (upper or - lower) case (which is useful when doing mass virtual hosting - by the help of mod_rewrite).</dd> - - <dt><strong>CIDR and Netmask access control</strong></dt> - - <dd><a href="mod/mod_access.html">mod_access</a> directives - now support CIDR (Classless Inter-Domain Routing) style - prefixes, and netmasks for greater control over IP access - lists.</dd> - </dl> - <hr /> - - <h3><a id="api" name="api">API Additions and Changes</a></h3> - - <p>For all those module writers and code hackers:</p> - - <dl> - <dt><strong><code>child_init</code></strong></dt> - - <dd>A new phase for Apache's API is called once per - "heavy-weight process," before any requests are handled. This - allows the module to set up anything that need to be done - once per processes. For example, connections to - databases.</dd> - - <dt><strong><code>child_exit</code></strong></dt> - - <dd>A new phase called once per "heavy-weight process," when - it is terminating. Note that it can't be called in some fatal - cases (such as segfaults and kill -9). The - <code>child_init</code> and <code>child_exit</code> functions - are passed a pool whose lifetime is the same as the lifetime - of the child (modulo completely fatal events in which Apache - has no hope of recovering). In contrast, the module - <code>init</code> function is passed a pool whose lifetime - ends when the parent exits or restarts.</dd> - - <dt><strong><code>child_terminate</code></strong></dt> - - <dd>Used in the child to indicate the child should exit after - finishing the current request.</dd> - - <dt><strong><code>register_other_child</code></strong></dt> - - <dd>See <code>http_main.h</code>. This is used in the parent - to register a child for monitoring. The parent will report - status to a supplied callback function. This allows modules - to create their own children which are monitored along with - the httpd children.</dd> - - <dt><strong><code>piped_log</code></strong></dt> - - <dd>See <code>http_log.h</code>. This API provides the common - code for implementing piped logs. In particular it implements - a reliable piped log on architectures supporting it - (<em>i.e.</em>, Unix at the moment).</dd> - - <dt><strong>scoreboard format changed</strong></dt> - - <dd>The scoreboard format is quite different. It is - considered a "private" interface in general, so it's only - mentioned here as an FYI.</dd> - - <dt><strong><code>set_last_modified</code> split into - three</strong></dt> - - <dd>The old function <code>set_last_modified</code> performed - multiple jobs including the setting of the - <code>Last-Modified</code> header, the <code>ETag</code> - header, and processing conditional requests (such as IMS). - These functions have been split into three functions: - <code>set_last_modified</code>, <code>set_etag</code>, and - <code>meets_conditions</code>. The field <code>mtime</code> - has been added to <code>request_rec</code> to facilitate - <code>meets_conditions</code>.</dd> - - <dt><strong>New error logging function: - <code>ap_log_error</code></strong></dt> - - <dd>All old logging functions are deprecated, we are in the - process of replacing them with a single function called - <code>ap_log_error</code>. This is still a work in - progress.</dd> - - <dt><strong><code>set_file_slot</code> for config - parsing</strong></dt> - - <dd>The <code>set_file_slot</code> routine provides a - standard routine that prepends ServerRoot to non-absolute - paths.</dd> - - <dt><strong><code>post_read_request</code> module - API</strong></dt> - - <dd>This request phase occurs immediately after reading the - request (headers), and immediately after creating an internal - redirect. It is most useful for setting environment variables - to affect future phases.</dd> - - <dt><strong><code>psocket</code>, and - <code>popendir</code></strong></dt> - - <dd>The <code>psocket</code> and <code>pclosesocket</code> - functions allow for race-condition free socket creation with - resource tracking. Similarly <code>popendir</code> and - <code>pclosedir</code> protect directory reading.</dd> - - <dt><strong><code>is_initial_req</code></strong></dt> - - <dd>Test if the request is the initial request - (<em>i.e.</em>, the one coming from the client).</dd> - - <dt><strong><code>kill_only_once</code></strong></dt> - - <dd>An option to <code>ap_spawn_child</code> functions which - prevents Apache from aggressively trying to kill off the - child.</dd> - - <dt><strong><code>alloc debugging code</code></strong></dt> - - <dd>Defining <code>ALLOC_DEBUG</code> provides a rudimentary - memory debugger which can be used on live servers with low - impact -- it sets all allocated and freed memory bytes to - 0xa5. Defining <code>ALLOC_USE_MALLOC</code> will cause the - alloc code to use <code>malloc()</code> and - <code>free()</code> for each object. This is far more - expensive and should only be used for testing with tools such - as Electric Fence and Purify. See <code>main/alloc.c</code> - for more details.</dd> - - <dt><strong><code>ap_cpystrn</code></strong></dt> - - <dd>The new <code>strncpy</code> "lookalike", with slightly - different semantics is much faster than <code>strncpy</code> - because it doesn't have to zero-fill the entire buffer.</dd> - - <dt><strong><code>table_addn</code>, <code>table_setn</code>, - <code>table_mergen</code></strong></dt> - - <dd>These new functions do <strong>not</strong> call - <code>pstrdup</code> on their arguments. This provides for - big speedups. There is also some debugging support to ensure - code uses them properly. See <code>src/CHANGES</code> for - more information.</dd> - - <dt><strong><code>construct_url</code></strong></dt> - - <dd>The function prototype for this changed from taking a - <code>server_rec *</code> to taking a <code>request_rec - *</code>.</dd> - - <dt><strong><code>get_server_name</code>, - <code>get_server_port</code></strong></dt> - - <dd>These are wrappers which deal with the <a - href="mod/core.html#usecanonicalname">UseCanonicalName</a> - directive when retrieving the server name and port for a - request.</dd> - - <dt><strong>Change to prototype for - <code>ap_bspawn_child</code> and - <code>ap_call_exec</code></strong></dt> - - <dd>Added a <code>child_info *</code> to <code>spawn</code> - function (as passed to <code>ap_bspawn_child</code>) and to - <code>ap_call_exec</code> to allow children to work correctly - on Win32. We also cleaned up the nomenclature a bit, - replacing <code>spawn_child_err</code> with simply - <code>ap_spawn_child</code> and - <code>spawn_child_err_buff</code> with simply - <code>ap_bspawn_child</code>.</dd> - - <dt> - <strong><code>ap_add_version_component()</code></strong></dt> - - <dd>This API function allows for modules to add their own - additional server tokens which are printed on the on the - <code>Server:</code> header line. Previous 1.3beta versions - had used a <code>SERVER_SUBVERSION</code> compile-time - <code>#define</code> to perform this function. Whether the - tokens are actually displayed is controlled by the new - <code>ServerTokens</code> directive.</dd> - </dl> - <hr /> - - <h3><a id="misc" name="misc">Miscellaneous - Enhancements</a></h3> - - <dl> - <dt><strong><a href="ebcdic.html">Port to EBCDIC mainframe - machine running BS2000/OSD</a></strong></dt> - - <dd>As a premiere, this version of Apache comes with a beta - version of a port to a mainframe machine which uses the - EBCDIC character set as its native codeset (It is the SIEMENS - family of mainframes running the BS2000/OSD operating system - on a IBM/390 compatible processor. This mainframe OS nowadays - features a SVR4-like POSIX subsystem).</dd> - - <dt><strong><a - href="mod/core.html#accessfilename"><code>AccessFileName</code> - Enhancement</a></strong></dt> - - <dd>The <code>AccessFileName</code> directive can now take - more than one filename. This lets sites serving pages from - network file systems and more than one Apache web server, - configure access based on the server through which shared - pages are being served.</dd> - - <dt><strong><code>HostnameLookups</code> now defaults to - "Off"</strong></dt> - - <dd>The <a - href="mod/core.html#hostnamelookups"><code>HostnameLookups</code></a> - directive now defaults to "Off". This means that, unless - explicitly turned on, the server will not resolve IP - addresses into names. This was done to spare the Internet - from unnecessary DNS traffic.</dd> - - <dt><strong>Double-Reverse DNS enforced</strong></dt> - - <dd>The <a - href="mod/core.html#hostnamelookups"><code>HostnameLookups</code></a> - directive now supports double-reverse DNS. (Known as - <em>PARANOID</em> in the terminology of tcp_wrappers.) An IP - address passes a double-reverse DNS test if the forward map - of the reverse map includes the original IP. Regardless of - the HostnameLookups setting, <a - href="mod/mod_access.html">mod_access</a> access lists using - DNS names <strong>require</strong> all names to pass a - double-reverse DNS test. (Prior versions of Apache required a - compile-time switch to enable double-reverse DNS.)</dd> - - <dt><strong>LogLevel and syslog support</strong></dt> - - <dd>Apache now has <a - href="mod/core.html#loglevel">configurable error logging - levels</a> and supports <a - href="mod/core.html#errorlog">error logging via - syslogd(8)</a>.</dd> - - <dt><strong>Detaching from stdin/out/err</strong></dt> - - <dd>On boot Apache will now detach from stdin, stdout, and - stderr. It does not detach from stderr until it has - successfully read the config files. So you will see errors in - the config file. This should make it easier to start Apache - via rsh or crontab.</dd> - - <dt><a id="y2k" name="y2k"><strong>Year-2000 - Improvements</strong></a></dt> - - <dd>The default <code>timefmt</code> string used by <a - href="mod/mod_include.html"><code>mod_include</code></a> has - been modified to display the year using four digits rather - than the two-digit format used previously. The <a - href="mod/mod_autoindex.html"><code>mod_autoindex</code></a> - module has also been modified to display years using four - digits in FancyIndexed directory listings.</dd> - - <dt><strong>Common routines Moving to a Separate - Library</strong></dt> - - <dd>There are a number of functions and routines that have - been developed for the Apache project that supplement or - supersede library routines that differ from one operating - system to another. While most of these are used only by the - Apache server itself, some are referenced by supporting - applications (such as <code>htdigest</code>), and these other - applications would fail to build because the routines were - built only into the server. These routines are now being - migrated to a separate subdirectory and library so they can - be used by other applications than just the server. See the - <code>src/ap/</code> subdirectory.</dd> - - <dt><strong>New <code><a - href="mod/core.html#serversignature">ServerSignature</a></code> - directive</strong></dt> - - <dd>This directive optionally adds a line containing the - server version and virtual host name to server-generated - pages (error documents, ftp directory listings, mod_info - output <em>etc.</em>). This makes it easier for users to tell - which server produced the error message, especially in a - proxy chain (often found in intranet environments).</dd> - - <dt><strong>New <code><a - href="mod/core.html#usecanonicalname">UseCanonicalName</a></code> - directive</strong></dt> - - <dd>This directive gives control over how Apache creates - self-referential URLs. Previously Apache would always use the - <a href="mod/core.html#servername">ServerName</a> and <a - href="mod/core.html#port">Port</a> directives to construct a - "canonical" name for the server. With <code>UseCanonicalName - off</code> Apache will use the hostname and port supplied by - the client, if available.</dd> - - <dt><strong><code>SERVER_VERSION</code> definition - abstracted, and server build date added</strong></dt> - - <dd>In earlier versions, the Apache server version was - available to modules through the <code>#define</code>d value - for <code>SERVER_VERSION</code>. In order to keep this value - consistent when modules and the core server are compiled at - different times, this information is now available through - the core API routine <code>ap_get_server_version()</code>. - The use of the <code>SERVER_VERSION</code> symbol is - deprecated. Also, <code>ap_get_server_built()</code> returns - a string representing the time the core server was - linked.</dd> - - <dt><a href="mod/core.html#servertokens"><strong>Including - the operating system in the server - identity</strong></a><br /> - </dt> - - <dd>A new directive, <code>ServerTokens</code>, allows the - Webmaster to change the value of the <code>Server</code> - response header field which is sent back to clients. The - <code>ServerTokens</code> directive controls whether the - server will include a non-specific note in the server - identity about the type of operating system on which the - server is running as well as included module information. As - of Apache 1.3, this additional information is included by - default.<br /> - <br /> - </dd> - - <dt><strong>Support for Netscape style SHA1 encrypted - passwords</strong><br /> - </dt> - - <dd>To facilitate migration or integration of BasicAuth - password schemes where the password is encrypted using SHA1 - (as opposed to Apache's built in MD5 and/or the OS specific - crypt(3) function ) passwords prefixed with with - <code>{SHA1}</code> are taken as Base64 encoded SHA1 - passwords. More information and some utilities to convert - Netscape ldap/ldif entries can be found in support/SHA1.</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.ja.jis b/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.ja.jis deleted file mode 100644 index 2a364681188..00000000000 --- a/usr.sbin/httpd/htdocs/manual/new_features_1_3.html.ja.jis +++ /dev/null @@ -1,900 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>New features with Apache 1.3</title> - - </head> - <!-- English revision: 1.91 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache 1.3 $B$N?75!G=$N35MW(B</h1> - - <p>$B:#2s$N%j%j!<%9$G$N?7$7$$FCD'$H$7$F!"(BApache - $B$N5!G=@-$N3HD%$K$D$$$F$3$3$G$O@bL@$7$^$9!#(B - $B%3%"ItJ,$N%3!<%I$,Bg$-$/JQ$o$j$^$7$?$N$G!"=i4|$N%P!<%8%g%s$N(B Apache - ($B$*$h$S(B NCSA httpd) $B$,<u$1IU$1$?$b$N$G$b!"?7$7$$(B Apache - $B$G$O<u$1$D$1$J$$$b$N$,$"$j$^$9!#$J$s$i$+$NLdBj$,$"$k>l9g$K$O(B - <a href="misc/compat_notes.html">$B8_49@-$K4X$7$F(B</a> - $B$G%A%'%C%/$7$F$/$@$5$$!#(B</p> - - <p>Apache 1.2 $B$+$i$N%"%C%W%0%l!<%I$O(B<a href="upgrading_to_1_3.html" - >$B!V%"%C%W%0%l!<%I$K4X$7$F!W(B</a>$B$rFI$`$HNI$$$G$7$g$&!#(B</p> - - <p>$B3HD%(B: <a href="#core">$B%3%"(B</a> | <a - href="#performance">$B%Q%U%)!<%^%s%9(B</a> | <a - href="#config">$B@_Dj(B</a> | <a href="#mod">$B%b%8%e!<%k(B</a> | - <a href="#api">API</a> | <a href="#misc">$B$=$NB>(B</a></p> - <hr /> - - <h2><a id="core" name="core">$B%3%"$N3HD%(B:</a></h2> - - <dl> - <dt><strong><a href="dso.html">Dynamic Shared Object (DSO) - $B$N%5%]!<%H(B</a></strong></dt> - - <dd>$B<B9T;~$K(BApache $B$N%b%8%e!<%k$r%m!<%I$9$k$3$H$,2DG=$K$J$j$^$7$?!#(B - $B$3$l$K$h$j!"%b%8%e!<%k$OI,MW$J$H$-$@$1%5!<%P$N%a%b%jNN0h$K(B - $BFI$_$3$^$l$k$3$H$K$J$j!"(BApache - $BA4BN$N%a%b%j$N;HMQ$r$+$J$j8:$i$9$3$H$K$J$j$^$9!#(BDSO $B$O8=:_(B - FreeBSD, OpenBSD, NetBSD, Linux, Solaris, SunOS, Digital UNIX, - IRIX, HP/UX, UnixWare, NetWare, AIX, ReliantUnix, $B=c?h$J(B SVR4 - $B%W%i%C%H%U%)!<%`$G%5%]!<%H$5$l$F$$$^$9!#(B</dd> - - <dt><strong><a href="windows.html">Windows NT/95 $B$N%5%]!<%H(B</a - ></strong></dt> - - <dd>Apache $B$O(B Windows NT $B$H(B Windows 2000 $B$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B - Windows 95, 98, ME $B$G$b(B Apache $B$OF0:n$9$k$+$b$7$l$^$;$s$,!"(B - $B$3$l$i$N%3%s%7%e!<%^@=IJ$N4D6-$G$N;HMQ$O?d>)$7$F$$$^$;$s!#(B - $B$=$7$F!"$=$N;HMQ$K$D$$$F$N>uBV$O!"<B83E*$J$b$N$H$7$?$^$^$G$9!#(B - Windows $B>e$GF0:n$7$F$$$k(B 1.3.15 $B$h$jA0$N$9$Y$F$N%P!<%8%g%s$N(B - Apache $B$O!"%Y!<%?HGIJ<A$N%j%j!<%9$@$H9M$($F$/$@$5$$!#(B</dd> - - <dt><strong><a href="cygwin.html">Cygwin - $B$N%5%]!<%H(B</a></strong></dt> - - <dd>Apache $B$O(B Windows NT $B$H(B Windows 2000 $B>e$N(B Cygwin - $B$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#0BDj@-$d?.Mj@-$NLL$+$i!"(B - <a href="windows.html">Windows</a> $B<+BN$HJ;$;$F(B Cygwin - $B$N%P!<%8%g%s$r9MN8$9$Y$-$G$9!#(B</dd> - - <dt><strong><a href="netware.html">NetWare 5.x - $B$N%5%]!<%H(B</a></strong></dt> - - <dd>Apache $B$O(B NetWare 5.x - $B$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B</dd> - - <dt><strong><a href="sourcereorg.html" - >$B%=!<%9$N:F9=@.(B</a></strong></dt> - - <dd>Apache $B$N%=!<%9%U%!%$%k$O:F9=@.$5$l$^$7$?!#(BApache - $B$N%f!<%6$K$H$C$F<gMW$JJQ99E@$O(B <code>Configuration</code> - $B$K$*$1$k(B "Module" $B9T$,(B "AddModule" $B$GCV$-49$o$j!"(B - $B9=J8$,>/$7JQ$o$C$?$3$H$G$9!#%b%8%e!<%k$N:n<T$K$H$C$F$O!"(B - $B%f!<%6$,%b%8%e!<%k$rMF0W$KDI2C$G$-$k$h$&$K$9$k$?$a$NJQ99$,(B - $B$$$/$D$+$J$5$l$F$$$^$9!#(B</dd> - - <dt><strong>$B?.Mj@-$N$"$k%Q%$%W$5$l$?%m%0(B</strong></dt> - - <dd>$B$[$H$s$I$9$Y$F$N(B Unix $B%"!<%-%F%/%A%c$G(B Apache - $B$O!V?.Mj@-$N$"$k!W%Q%$%W$5$l$?%m%0$r(B <a - href="mod/mod_log_config.html">mod_log_config</a> $B$G<BAu$7$F$$$^$9!#(B - $B$3$3$G!"?.Mj@-$N$"$k$H$O!"%m%0$r<}=8$7$F$$$k;R%W%m%;%9$,(B - $B2?$i$+$NM}M3$G;`$s$@$H$-$K!"(BApache $B$O%5!<%PA4BN$r:F5/F0$9$k$3$H$J$/!"(B - $B$=$3$+$i2sI|$7$F%m%0MQ%W%m%;%9$r:F5/F0$9$k$3$H$,$G$-$k$H$$$&0UL#$G$9!#(B - $B99$K!"%m%0$r<}=8$7$F$$$k;R%W%m%;%9$,(B "$B5M$^$C$F(B" $B$7$^$$!"(B - $B%Q%$%W$r==J,$J2s?tFI$s$G$$$J$$$H$-$b(B Apache $B$O$=$l$r:F5/F0$7$^$9!#(B - $B$3$l$G!"%m%0$N%m!<%F!<%7%g%s$d%R%C%H$NA*JL$r$7$?$j!"J#?t$N(B vhost - ($BLuCm(B: $B%P!<%A%c%k%[%9%H(B) $B$N%m%0$rJL!9$K%j%"%k%?%$%`$GJ,$1$?$j!"(B - $B$=$N>l$G$NHsF14|$N(B DNS $B2r7h$r$7$?$j$9$k5!2q$,$G$-$^$9!#(B</dd> - </dl> - <hr /> - - <h2><a id="performance" name="performance">$B@-G=$N2~A1(B</a></h2> - - - <ul> - <li>IP $B$K4p$E$$$?%P!<%A%c%k%[%9%H$O%O%C%7%e%F!<%V%k$rMQ$$$FD4$Y$i$l$^$9!#(B</li> - - <li><Directory> $B2r@O$NB.EY8~>e!#(B</li> - - <li>$B@EE*$J%j%/%(%9%H$KBP$9$k%/%j%F%#%+%k%Q%9$N%7%9%F%`%3!<%k(B - $B?t$,8:$j$^$7$?!#$3$l$ODL>o$9$Y$F$N%j%/%(%9%H$GLrN)$A$^$9!#(B - ($B$h$/%A%e!<%s$5$l$?@_Dj$K$*$$$F!"(B1.2 $B$G$O@EE*$J%j%/%(%9%H$G%7%9%F%`%3!<%k$,(B - 45 $B$"$C$?$N$KBP$7$F!"(B1.3 $B$G$O(B 22 $B$G$9(B)$B!#(B</li> - - <li>$B%9%k!<%W%C%H8~>e$N$?$a$K(B<a - href="mod/mod_proxy.html#proxyreceivebuffersize"> - <code>ProxyReceiveBufferSize</code></a> $B%G%#%l%/%F%#%V$O!"(B - <code>mod_proxy</code> $B$+$i$N30It@\B3$KBP$7$F!"(B - $B$h$jBg$-$J%M%C%H%o!<%/%P%C%U%!$rM?$($^$9!#(B</li> - - <li>$BJ#?t$N=q$-9~$_$r0l$D$N%7%9%F%`%3!<%k$G$9$^$;$k$?$a$KDc%l%Y%k(B - I/O $B$N%k!<%A%s$G$O(B ($B;HMQ2DG=$G$"$l$P(B) <code>writev</code> - $B$r;H$&$h$&$K$J$C$F$$$^$9!#$3$N%k!<%A%s$G$O%a%b%j$N%P%C%U%!$X$N(B - $B%3%T!<$b$G$-$k$@$1Hr$1$F$$$^$9!#$=$N7k2L!"Bg$-$J%U%!%$%k$NE>Aw$K;H$o$l$k(B - CPU $B;~4V$,>/$J$/$J$j$^$9!#(B</li> - - <li>$B@EE*$J%j%/%(%9%H$O(B <code>mmap</code> $B$rMQ$$$F=hM}$5$l$^$9!#(B - $B$3$l$G!"%P%$%H$O%+!<%M%k$K$h$j%G%#%9%/$N%P%C%U%!$+$i%M%C%H%o!<%/$N(B - $B%P%C%U%!$XD>@\%3%T!<$5$l$k$@$1$K$J$j$^$9!#%W%m%0%i%`$O!"(B - $B%P%$%H$N$"$A$3$A$X$N%3%T!<$r$7$^$;$s!#(B($B;HMQ2DG=$+$D%F%9%H(B - $B$5$l$F$$$k$H$-$N$_!#(B) $B$=$l$O(B CPU $B;~4V$r8:>/$5$;$F$7$^$$$^$9!#(B</li> - - <li>$BIi2Y$,5^7c$KA}2C$7$?$H$-!"%5!<%P$OB.$/;R%W%m%;%9$r5/F0$7$F!"(B - $BAGAa$/E,1~$7$^$9!#(B</li> - - <li>$B%b%8%e!<%k$r%G%#%9%Q%C%A$9$k%3!<%I$O(B API - $B$NFCDj$NItJ,$r<BAu$7$J$$%b%8%e!<%k$r7+$jJV$7%9%-%C%W(B - $B$9$k$N$rHr$1$k$h$&:GE,2=$5$l$F$$$^$9!#(B($B%G%U%)%k%H$N%b%8%e!<%k(B - $B$rAH9g$;$?%5!<%P$N%W%m%U%!%$%k$G$O!"$3$N%9%-%C%W$G(B CPU $B;~4V$N(B - 5% $B$r;HMQ$7$F$$$^$7$?!#(B)</li> - - <li>Unix $B$N%9%3%"%\!<%I$N4IM}%3!<%I$r:F9=@.$7$^$7$?!#(B - $B$3$l$K$h$j!"B?$/$N>l9g$G;R%W%m%;%9$N?t$r?t$($k;~4V$,C;$/$J$j$^$7$?!#(B - $B0JA0$O3F%R%C%H$KBP$7$F%9%-%c%s$,<B9T$5$l$F$$$^$7$?$,!":#$O(B 1 - $BIC$K(B 1 $B2s<B9T$5$l$^$9!#B?$/$N;R%W%m%;%9$N$"$kIi2Y$N9b$$%5!<%P$G$O!"(B - $B$=$N0c$$$,82Cx$@$H;W$$$^$9!#(B</li> - - <li>$B?7$7$$%7%j%"%i%$%:$NJ}K!$rA*Br$7$?$3$H$G(B Linux $B$H(B IRIX - $B$G$N@-G=$,2~A1$5$l$^$7$?!#(B</li> - - <li><code><a - href="mod/mod_log_config.html">mod_log_config</a></code> $B$O%3%s%Q%$%k;~$K(B - $B%P%C%U%!$X=q$-9~$_$r$9$k$h$&$K@_Dj$G$-$k$h$&$K$J$j$^$7$?!#(B</li> - - <li><code>strncpy()</code> $B$r7k2LA4BN$r(B 0 $B$GKd$a$kI,MW$N$J$$(B - <code>ap_cpystrn()</code> $B$GCV$-49$($^$7$?!#$3$l$O(B - <code>mod_include</code> $B$NB.EY$K7`E*$J8z2L$,$"$j$^$9!#(B - </li> - - <li>$BFbIt$N(B "table" API ($B%-!<(B/$BCM(B $B$NJ8;zNs$NBP$rJ];}$9$k$N$K;H$o$l$F$$$^$9(B) - $B$X$NDI2C$K$h$j!"B?$/$N>u67$G:GBg(B 20% $B$N@-G=$N2~A1$r$b$?$i$9$h$&$K(B - $B$J$j$^$7$?!#(B</li> - </ul> - - <p>$B>\$7$$>pJs$O(B<a href="misc/perf-tuning.html" - >$B@-G=$K$D$$$F$N?7$7$$%I%-%e%a%s%H(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="config" name="config">$B@_Dj$N3HD%(B</a></h2> - - - <dl> - <dt><strong>$B%5!<%P$N@_Dj%U%!%$%k$N0l852=(B</strong></dt> - - <dd><em>(Apache 1.3.4)</em> $B;0$D$N%5!<%P@_Dj%U%!%$%k(B - (<samp>httpd.conf</samp>, <samp>srm.conf</samp>, - <samp>access.conf</samp>) $B$,(B <samp>httpd.conf</samp> - $B%U%!%$%k0l$D$K$^$H$a$i$l$^$7$?!#(B<samp>srm.conf</samp> $B$H(B - <samp>access.conf</samp> $B%U%!%$%k$O!"%&%'%V%^%9%?!<$,(B - <samp>httpd.conf</samp> $B$r8+$k$h$&%3%a%s%H$,$"$k$@$1$G!"(B - $B8e$O6u$K$J$C$F$$$^$9!#(B - $B99$K!"$^$H$a$i$l$?(B <samp>httpd.conf</samp> $B%U%!%$%k$G$O!"(B - $B%G%#%l%/%F%#%V(B - $B$,$h$jD>46E*$G0UL#$N$"$k=gHV$K$J$k$h$&$K:F9=@.$5$l$^$7$?!#(B</dd> - - <dt><strong>$B@_Dj%U%!%$%k$G$N7QB3$7$?9T(B</strong></dt> - - <dd>$B@_Dj%U%!%$%k$K$*$1$k%G%#%l%/%F%#%V$N9T$O(B Unix - $B$N7QB39T$r07$&DL>o$NJ}K!!"$9$J$o$A(B '\' - $B$r$=$N9T$N6uGr0J30$N:G8e$NJ8;z$H$7$FCV$/$3$H$G!"(B - $B<!$N9T$r$D$J$07A<0$rMQ$$$F!"(B - $BJ#?t$N9T$KJ,$1$k$3$H$,$G$-$k$h$&$K$J$j$^$7$?!#(B</dd> - - <dt><strong>Apache Autoconf-style Interface - (APACI)</strong></dt> - - <dd>Apache 1.3 $B$K$J$k$^$G$O!"(B Apache - $B%Q%C%1!<%8A4It$rE83+$7$?$i$9$0$K!"%S%k%I$7$F%$%s%9%H!<%k(B - $B$9$k$h$&$J%P%C%AE*<j=g$ODs6!$5$l$F$$$^$;$s$G$7$?!#(B - $B$7$+$7!"%H%C%W%G%#%l%/%H%j$K$"$k(B <code>configure</code> - $B%9%/%j%W%H$H!"$=$l$KBP1~$9$k%H%C%W%G%#%l%/%H%j$N(B - <code>Makefile.tmpl</code> $B%U%!%$%k$G!"$=$l$,<B8=$5$l$^$7$?!#(B - $B$3$NL\E*$O!"(BGNU $B$N(B Autoconf $B7A<0$N%U%m%s%H%(%s%I$rDs6!$9$k$3$H$G$9!#(B - $B$=$7$F!"$3$l$^$G$N(B <code>src/Configure</code> $B4XO"MWAG$N%P%C%A=hM}$H!"(B - GNU $BN.$N%G%#%l%/%H%j9=@.$G$N%Q%C%1!<%8%$%s%9%H!<%k$NN>J}$,2DG=$K$J$j$^$9!#(B - $B8E$$@_DjJ}K!$G2DG=$@$C$?$b$N%*%W%7%g%s$9$Y$F$K2C$($F!"(BApache - $B$r=@Fp$K%+%9%?%^%$%:$9$k$?$a$N$?$/$5$s$N?7$7$$%*%W%7%g%s$,(B - $B;HMQ2DG=$G$9!#(B<br /> - <strong>$BCm0U(B:</strong> $B%G%U%)%k%H$N%$%s%9%H!<%k$N9=@.$O(B Apache - 1.3.4 $B$GJQ99$5$l$^$7$?!#>\:Y$K$D$$$F$O(B <code>README.configure</code> - $B$H(B <code>INSTALL</code> $B%U%!%$%k$r;2>H$7$F$/$@$5$$!#(B</dd> - - <dt><strong>APache eXtenSion (APXS) - $B%5%]!<%H%D!<%k(B</strong></dt> - - <dd>Apache $B$O<B9T;~$K(B dynamic shared object (DSO) $B%U%!%$%k$+$i(B - $B%b%8%e!<%k$r%m!<%I$9$k$3$H$r40A4$K%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B - $B$=$3$G!"(BDSO $B$K4p$E$$$?%b%8%e!<%k$r(B Apache $B$N%=!<%9$H$OJL$N>l=j$G(B - $B%S%k%I!"%$%s%9%H!<%k!"%"%/%F%#%V2=$r9T$J$&?7$7$$%5%]!<%H%D!<%k(B - <code>apxs</code> $B$,:n@.$5$l$^$7$?!#$3$l$K$h$j!"%W%i%C%H%U%)!<%`(B - $B$K0MB8$7$?(B DSO $B%S%k%IMQ$N%3%^%s%I$O%f!<%6$+$i40A4$K1#$5$l!"(BApache - $B$N%=!<%9%D%j!<$N30$G%b%8%e!<%k$r%S%k%I$9$k$3$H$,MF0W$K$J$C$F$$$^$9!#(B - $B$3$l$rC#@.$9$k$?$a$K!"(BAPACI $B$O(B Apache $B$N(B C $B$N%X%C%@%U%!%$%k$r(B - <code>apxs</code> $B$H0l=o$K%$%s%9%H!<%k$7$^$9!#(B</dd> - - <dt><a href="install.html#installing"><strong>Apache - $B$N%G%U%)%k%H%G%#%l%/%H%j%Q%9$r(B <code>/usr/local/apache/</code> - $B$XJQ99(B</strong></a><br /> - </dt> - - <dd>Apache $B$N%G%U%)%k%H$N(B ServerRoot $B%G%#%l%/%H%j$,!"(BNCSA $B8_49$N(B - <code>/usr/local/etc/httpd/</code>$B$+$i(B - <code>/usr/local/apache/</code> $B$KJQ99$5$l$^$7$?!#(B - $B$3$l$O%G%U%)%k%H$N@_Dj(B ($B$H%I%-%e%a%s%H(B) $B$NJQ99$@$1$G$9!#$b$A$m$s!"(B - Apache $B$r5/F0$9$k$H$-$K(B <a href="invoking.html">-d - <em>ServerRoot</em> $B$H(B -f <em>httpd.conf</em></a> - $B$r;XDj$9$k$3$H$GJQ99$9$k$3$H$,$G$-$^$9!#(B</dd> - - <dt><strong>HTTP/1.1 - $B7A<0$N%P!<%A%c%k%[%9%H$N2~A1(B</strong></dt> - - <dd><a - href="mod/core.html#namevirtualhost"><code>NameVirtualHost</code></a> - $B$H$$$&?7$7$$%G%#%l%/%F%#%V$r;HMQ$7$F(B IP $B%"%I%l%9(B:$B%]!<%H(B - $B$NBP$r;XDj$9$k$3$H$G!"(BHTTP/1.1 $B7A<0$N%P!<%A%c%k%[%9%H$r<B8=$7$^$9!#(B - $B$3$l$O%/%i%$%"%s%H$+$i$N(B <code>Host:</code> $B%X%C%@$K4p$E$/(B - $B%P!<%A%c%k%[%9%H$G$9!#0JA0$O$3$N%"%I%l%9$O0EL[$N$&$A$K%^%7%s$N(B - "$B%a%$%s%"%I%l%9(B" $B$HF1$8$K$7$F$$$^$7$?$,!"$3$l$O?tB?$/$NLdBj$r0z$-5/$3$7!"(B - $B$^$?5!G=$b==J,$G$O$"$j$^$;$s$G$7$?!#@_Dj$N>\:Y$K$D$$$O(B - <a href="vhosts/">$B!V(BApache $B%P!<%A%c%k%[%9%H%I%-%e%a%s%H!W(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</dd> - - <dt><strong><code>Include</code> $B%G%#%l%/%F%#%V(B</strong></dt> - - <dd>$B@_Dj%U%!%$%k$N%Q!<%9$NESCf$G(B <a - href="mod/core.html#include"><code>Include</code></a> - $B%G%#%l%/%F%#%V$K=P2q$&$H!"(B - $BD>$A$KB>$N@_Dj%U%!%$%k$r$=$N>l=j$KA^F~$7$^$9!#(B</dd> - - <dt><strong>$B%P!<%A%c%k%[%9%H$N@_Dj$N%G%P%C%0$N$?$a$N(B -S - $B%3%^%s%I%i%$%s%*%W%7%g%s(B</strong></dt> - - <dd>$B%3%^%s%I%i%$%s%*%W%7%g%s(B <code>-S</code> $B$rIU$1$F(B Apache - $B$r5/F0$9$k$H!"(B<code>VirtualHost</code> - $B$r$I$N$h$&$K%Q!<%9$7$?$+$H$$$&>pJs$rI=<($7$^$9!#(B - $B$3$l$O%P!<%A%c%k%[%9%H$N@_Dj$r%G%P%C%0$7$h$&$H$9$k>l9g$KJXMx$G$9!#(B - </dd> - - <dt><strong>HTTP $B%a%C%=%I$N@)8f(B</strong></dt> - - <dd><a href="mod/core.html#limitexcept"><LimitExcept> - $B$H(B </LimitExcept></a> $B$O%"%/%;%9@)8fL?Na$N%0%k!<%W$r0O$_!"(B - $B0z?t$H$7$F;XDj$7$F$$$J$$(B HTTP - $B%"%/%;%9%a%=%C%I$K$D$$$F$=$N%"%/%;%9@)8fL?Na$,E,MQ$5$l$^$9!#(B - $B$9$J$o$A!"$3$l$O(B <Limit> $B%;%/%7%g%s$N5U$G!"(B - $BI8=`$N%a%=%C%I$HHsI8=`$J$$$7$OG'<1$G$-$J$$(B - $B%a%=%C%I$NN>J}$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B</dd> - </dl> - <hr /> - - <h3><a id="mod" name="mod">$B%b%8%e!<%k$N3HD%(B</a></h3> - - <dl> - <dt><a href="mod/mod_negotiation.html"><strong>mod_negotiation - $B$N2~A1(B</strong></a><br /> - </dt> - - <dd>$B%*%W%7%g%J%k$N%3%s%F%s%H%M%4%7%(!<%7%g%s(B (MultiViews) - $B%b%8%e!<%k$,(B Apache 1.3.4 $B$GA4BNE*$K=$@5$5$l!":G?7$N(B HTTP/1.1 - $B2~D{HG$H<B83E*$K(B RFC 2295 $B$H(B RFC 2296 $B$N(B Transparent Content - Negotiation $B5!G=$,DI2C$5$l$^$7$?!#(B - </dd> - - <dt><a href="mod/mod_speling.html"><strong>NEW - - $BDV$j=$@5%b%8%e!<%k(B ($BLuCm(B: mod_speling)</strong></a><br /> - </dt> - - <dd>$B$3$N%*%W%7%g%J%k$J%b%8%e!<%k$O!"%5!<%P$+$iMW5a$5$l$?(B - $B%I%-%e%a%s%H$N%Q%9L>$G$7$P$7$P8+$i$l$kDV$j$dBgJ8;z>.J8;z$N(B - $B4V0c$$$r=$@5$7$^$9!#(B</dd> - - <dt><a href="mod/mod_setenvif.html"><strong>NEW - - $B>r7oIU$-4D6-JQ?t$N@_Dj(B ($BLuCm(B: mod_setenvif)</strong></a><br /> - </dt> - - <dd><a - href="mod/mod_setenvif.html#setenvif"><code>SetEnvIf</code></a> - $B%G%#%l%/%F%#%V$H(B <a href="mod/mod_setenvif.html#setenvifnocase"> - <code>SetEnvIfNoCase</code></a> $B%G%#%l%/%F%#%V$,DI2C$5$l$^$7$?!#(B - $B$3$l$K$h$j!"%j%/%(%9%H$NB0@-$K1~$8$F%5!<%P$H(B CGI - $B$N4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</dd> - - <dt><strong><a href="mod/mod_mime_magic.html">NEW - "Magic" - MIME $B%?%$%W(B ($BLuCm(B: mod-mime_magic)</a></strong></dt> - - <dd>$B%*%W%7%g%J%k$J(B <code>mod_mime_magic</code> $B$,DI2C$5$l$^$7$?!#(B - $B$3$N%b%8%e!<%k$O!"(B"$B%^%8%C%/%J%s%P!<(B" $B$d%U%!%$%k$NFbMF$+$i(B - $BF@$i$l$k>pJs$r;HMQ$7$F!"BP>]$H$J$k%3%s%F%s%D$NB0@-$rD4$Y$^$9!#(B - $B$3$N>pJs$O!"%U%!%$%k$N3HD%;R$+$i$=$N%U%!%$%k$N%a%G%#%"%?%$%W$r(B - $B7hDj$G$-$J$$>l9g$K;HMQ$5$l$^$9!#(B</dd> - - <dt><strong><a href="mod/mod_unique_id.html">NEW - - $B0l0U$K<1JL2DG=$J(B ID ($BLuCm(B: mod_unique_id)</a></strong></dt> - - <dd><a href="mod/mod_unique_id.html">mod_unique_id</a> - mod_unique_id $B$rAH$_9~$`$3$H$G!"$"$k%R%C%H$HB>$N%R%C%H$H$r6hJL$9$k(B - $B%f%K!<%/$J<1JL;R$r@8@.$9$k$h$&$K$J$j$^$9(B ($B$3$3$G$N(B $B!V%f%K!<%/$J!W(B - $B$K$O$$$/$D$+@)8B$,$"$j$^$9!#(B) $B$=$N<1JL;R$O!"4D6-JQ?t(B - <code>UNIQUE_ID</code> $B$H$7$F;2>H$9$k$3$H$,$G$-$^$9!#(B</dd> - - <dt><strong>mod_proxy $B$N3HD%(B:</strong></dt> - - <dd> - <ul> - <li>ftp proxy $B$N%m%0%$%s$G$N$h$j4JC1$+$D0BA4$JG'>Z(B:$B@\B3@h$N(B - ftp $B%5!<%P$,MW5a$7$F$$$k$N$K!"(BURL $B$H$7$F(B ftp $B$K%f!<%6L>$H(B - $B%Q%9%o!<%I$,;XDj$5$l$F$$$J$$>l9g!"(BApache $B$O(B "[401] Authorization - Required" $B%9%F!<%?%9$rJV$9$h$&$K$J$j$^$7$?!#$3$N%9%F!<%?%9%3!<%I$r(B - $B%/%i%$%"%s%H$,<u$1<h$k$H!"DL>o$O!V%f!<%6L>$H%Q%9%o!<%I$rF~NO(B - $B$7$F$/$@$5$$!W$H$$$&%@%$%"%m%0$rI=<($7!"$=$3$GF~NO$5$l$?(B - $B%f!<%6G'>Z$rMQ$$$?%j%/%(%9%H$,:F$S9T$J$o$l$^$9!#$3$&$9$k$3$H$G!"(B - $B%j%/%(%9%H(B URL $B$KG'>Z>pJs$r4^$^$;$F;XDj$9$kJ}K!(B ($B8E$$(B proxy - $B%5!<%P$G$OJ?J8$G%m%0$K5-O?$5$l$F$7$^$&2DG=@-$,$"$j$^$9(B) - $B$h$j$b<c430BA4$K$J$C$F$$$^$9!#(B</li> - - <li>$B?75,$N(B <samp>AllowCONNECT</samp> $B%G%#%l%/%F%#%V$K$h$j!"(Bproxy - CONNECT $B%a%=%C%I$,@\B32DG=$J%]!<%H$,;XDj$G$-$k$h$&$K$J$j$^$7$?!#(B - $B$3$l$K$h$j!"(BApache 1.3.2 $B0JA0$G$O%(%i!<%a%C%;!<%8$,JV$5$l$F$$$?(B - https://some.server:8443/ $B$K$D$$$F(B proxy - $B$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</li> - - <li>RFC2068 $B$G;XDj$5$l$F$$$k(B HTTP/1.1 $B$N(B "Via:" $B%X%C%@$r(B - $B%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#?75,$N(B <a - href="mod/mod_proxy.html#proxyvia"><code>ProxyVia</code></a> - $B%G%#%l%/%F%#%V$G(B "Via:" $B$N%5%]!<%H$N%*%s(B/$B%*%U$r@Z$jBX$($k$3$H$,$G$-$^$9!#(B - $B$^$?!"%W%i%$%P%7!<>e$NM}M3$+$i!"30$K=P$F9T$/%X%C%@$+$i(B "Via:" - $B$r:o$k$h$&$K$9$k$3$H$,$G$-$^$9!#(B</li> - - <li>HTTP/1.1 $B$G5,Dj$5$l$F$$$k(B "Max-Forwards:" TRACE - $B%X%C%@$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#$=$l$K$h$j!"(B($BB>$N(B proxy - $B%5!<%P$G$b%5%]!<%H$7$F$$$l$P(B) $B%W%m%-%7!<$NO":?$r$?$I$C$F(B - $B%j%/%(%9%H$N%Q%9$r%H%l!<%9$9$k$3$H$,$G$-$^$9!#(B</li> - - <li><a href="mod/mod_proxy.html#noproxy"><code>NoProxy</code></a> - $B%G%#%l%/%F%#%V$H(B <a href="mod/mod_proxy.html#proxydomain"><code - >ProxyDomain</code></a>$B%G%#%l%/%F%#%V$,DI2C$5$l$^$7$?!#(B - $B%$%s%H%i%M%C%H$G$NMxMQ$KJXMx$G$9!#(B</li> - - - <li><code><a href="mod/mod_proxy.html#proxypassreverse" - >ProxyPassReverse</a></code> $B%G%#%l%/%F%#%VL?Na$,?75,$KDI2C$5$l$^$7$?!#(B - $B$3$l$K$h$j!"(BHTTP $B$N%j%@%$%l%/%H%l%9%]%s%9$K$*$1$k(B <tt>Location:</tt> - $B%X%C%@Cf$N(B URL $B$rD4@0$9$k$3$H$,$G$-$^$9!#(B</li> - - <li>FTP $B%5!<%P$N%G%#%l%/%H%j%D%j!<$G$N0\F0$,!"$h$j4JC1$K$J$j$^$7$?!#(B</li> - </ul> - </dd> - - <dt><a href="mod/mod_include.html#flowctrl"><strong><code - >mod_include</code>$B$NJ8;zNsHf3S$N3HD%(B</strong></a><br /> - </dt> - - - <dd>$BJ8;zNs$K4p$E$$$?(B server-side include (SSI) $B$N%U%m!<@)8f(B - $B%G%#%l%/%F%#%V$KL$K~(B (<)$B!"0J2<(B (<=)$B!"$h$jBg$-$$(B (>)$B!"(B - $B0J>e(B (>=) $B$,4^$a$i$l$^$7$?!#0JA0$OEy$7$$$+Ey$7$/$J$$$+$N(B - $BHf3S$7$+$G$-$^$;$s$G$7$?!#(B</dd> - - - <dt><strong>ServerRoot $B$+$i$NAjBP%Q%9$G$N(B auth $B%U%!%$%kL>;XDj(B</strong></dt> - - <dd>$BMM!9$JG'>Z%b%8%e!<%k$N(B auth $B%U%!%$%kL>$N;XDj$O!"(B - $B%U%k%Q%9$GL5$$>l9g$O(B ServerRoot $B$+$i$NAjBP%Q%9$H$7$F(B - $B07$o$l$k$h$&$K$J$j$^$7$?!#(B</dd> - - - <dt><a href="mod/mod_autoindex.html"><strong - >$B%G%#%l%/%H%j$N%$%s%G%C%/%9$N3HD%(B:($BLuCm(B: mod_autoindex)</strong></a></dt> - - <dd> - <ul> - <li><strong>$B%3!<%I$NJ,3d(B:</strong> <code>mod_dir</code> - $B%b%8%e!<%k$,!"%G%#%l%/%H%j$N%$%s%G%C%/%9%U%!%$%k$r07$&(B <a - href="mod/mod_dir.html">mod_dir</a> $B$H!"(B - $B%G%#%l%/%H%jFb$N%U%!%$%k0lMw$r:n@.$9$k(B <a - href="mod/mod_autoindex.html">mod_autoindex</a> - $B$NFs$D$KJ,3d$5$l$^$7$?!#$3$l$K$h$j!"%/%j%F%#%+%k$J%5!<%P$+$i(B - $B%$%s%G%C%/%9$N5!G=$r30$9$3$H$,$G$-$^$9!#(B</li> - - <li><strong>$B%=!<%H2DG=(B:</strong> $B%+%i%`$N%?%$%H%k$r(B - $B%/%j%C%/$9$k$H$=$N%+%i%`CM$K$h$k%j%9%H$N%=!<%H$r9T$J$$$^$9!#(B - $B$3$N5!G=$O(B <a href="mod/mod_autoindex.html#indexoptions" - >IndexOptions</a> $B$N(B <code>SuppressColumnSorting</code> - $B%-!<%o!<%I$GL58z$K$G$-$^$9!#(B - </li> - - <li>README.html $B%U%!%$%k$K(B HTML $B$N%X%C%@$,5-=R$5$l$F$$$k>l9g$O!"(B - <a href="mod/mod_autoindex.html#indexoptions:suppresshtmlpreamble" - ><code><strong>SuppressHTMLPreamble</strong></code></a> - $B$r;H$&$3$H$,$G$-$^$9!#(B - </li> - - <li>The <a href="mod/mod_autoindex.html#indexoptions" - ><code><strong>IndexOptions</strong></code></a> - $B%G%#%l%/%F%#%V$O!"%-!<%o!<%I0z?t$KBP$7$F(B - $B%$%s%/%j%a%s%?%k%W%l%U%#%C%/%9$r;HMQ$G$-$k$h$&$K$J$j$^$7$?(B - (<a href="mod/core.html#options">Options</a> $B%G%#%l%/%F%#%V$HF1MM$K!"(B - $B5!G=$KBP$9$k%-!<%o!<%I$N5!G=$NDI2C$r(B +/- $B$G;XDj$7$^$9(B)$B!#(B - $B$3$l$K$h$j!"F1$8%G%#%l%/%H%j$KE,MQ$5$l$kJ#?t$N(B IndexOptions - $B%G%#%l%/%F%#%V$r0l$D$K$^$H$a$k$3$H$,$G$-$^$9!#(B</li> - - <li><a href="mod/mod_autoindex.html#indexoptions:iconheight" - ><strong><code>IconHeight</code></strong></a> $B$H(B <a - href="mod/mod_autoindex.html#indexoptions:iconwidth" - ><strong><code>IconWidth</code></strong></a> - $B$G%G%#%l%/%H%j$N0lMwI=<($G$N(B <code><IMG></code> - $B%?%0$N(B height $BB0@-$H(B width $BB0@-$r@_Dj$G$-$^$9!#(B - </li> - - <li><a href="mod/mod_autoindex.html#indexoptions">IndexOptions</a> - $B%G%#%l%/%F%#%V$K?75,$KDI2C$5$l$?(B <a - href="mod/mod_autoindex.html#indexoptions:namewidth" - ><strong><code>NameWidth</code></strong></a> $B%-!<%o!<%I$G!"(B<a - href="mod/mod_autoindex.html#indexoptions:fancyindexing" - >"$B6E$C$?(B" $B%G%#%l%/%H%jFbMF0lMw(B</a> $B$N7e?t$r@_Dj$G$-$^$9!#(B - $B%"%9%?%j%9%/(B `*' $B$K@_Dj$9$k$H!"L>A0(B ($BLuCm(B: Name $B$NItJ,(B) - $B$NI}$O<+F0E*$KD4@0$5$l$^$9!#(B</li> - - <li><a href="mod/mod_autoindex.html#fancyindexing" - ><samp>FancyIndexing</samp></a> $B%G%#%l%/%F%#%V$O@_Dj:Q$_$N(B - <samp>IndexOptions</samp> - $B%G%#%l%/%F%#%V$N8z2L$rCV$-49$($F$7$^$&$3$H$J$/!"@5$7$/(B - <a href="mod/mod_autoindex.html#indexoptions:fancyindexing" - ><samp>IndexOptions FancyIndexing</samp></a> - $B$HF1$88z2L$K$J$k$h$&$K$J$j$^$7$?!#(B</li> - - <li>1.3.15 $B$+$i$O!"(BIndexOptions $B$K(B <a - href="mod/mod_autoindex.html#indexoptions:trackmodified"><samp>TrackModified</samp - ></a> $B%G%#%l%/%F%#%V$,4^$^$l$F$$$k>l9g$O!"%5!<%P$O%G%#%l%/%H%j$N(B - $B%j%/%(%9%H$r<u$1$?$H$-$K!"%-%c%C%7%e$r@)8f$9$k(B ETag $B$H(B LastModified - $B$rIU$1$FJV$7$^$9!#$=$N%j%/%(%9%H$,JQ99$5$l$F$$$J$$$H%/%i%$%"%s%H(B - $B$,H=CG$7$?$H$-$K$O!"%5!<%P$O$=$N0lMw$r@8@.$9$kI,MW$,$"$j$^$;$s!#(B - $B$3$l$K$h$j!"@-G=$,8~>e$7$^$9!#$3$N5!G=$O<B83E*$J$b$N$J$N$G!"(B - $B%G%U%)%k%H$G$O;HMQ2DG=$K$O$J$C$F$$$^$;$s!#(B</li> - </ul> - </dd> - - <dt><strong>CGI $B%9%/%j%W%H$N=PNO$N%P%C%U%!%j%s%0$N8:>/(B</strong></dt> - - <dd>$B0JA0$N%P!<%8%g%s$N(B Apache $B$G$O!"(BCGI $B%9%/%j%W%H$+$i$N=PNO$O!"(B - $B%5!<%P$,FbItE*$K%P%C%U%!$r$7$F$$$F!"%P%C%U%!$,0lGU$K$J$k$+(B CGI - $B%9%/%j%W%H$,=*N;$9$k$^$G$O%/%i%$%"%s%H$KAw$i$l$^$;$s$G$7$?!#(B - Apache 1.3 $B$G$O!"%/%i%$%"%s%H$X$N%G!<%?$N%P%C%U%!$O!"(B - $B%P%C%U%!Cf$K2?$+$,$"$C$F!"%5!<%P$,%9%/%j%W%H$+$i$N$5$i$J$k=PNO$r(B - $BBT$C$F$$$k$H$-$K$$$D$G$b%U%i%C%7%e$5$l$^$9!#$3$l$K$h$j!"(BCGI - $B%9%/%j%W%H$OD9$$=hM}A`:n$N4V$KItJ,E*$J%9%F!<%?%9Js9p$,2DG=$K$J$j$^$9!#(B - </dd> - - <dt><strong><a href="mod/mod_alias.html"><code>Alias</code> - $B$H(B <code>Redirect</code> $B$G$N@55,I=8=$N%5%]!<%H(B</a></strong> - </dt> - - <dd>$B?75,$N(B <a - href="mod/mod_alias.html#aliasmatch"><code>AliasMatch</code></a>, - <a - href="mod/mod_alias.html#scriptaliasmatch"><code>ScriptAliasMatch</code></a>, - $B$H(B <a - href="mod/mod_alias.html#redirectmatch"><code>RedirectMatch</code></a> - $B%G%#%l%/%F%#%V$G!"@55,I=8=$G$N%Q%?!<%s%^%C%A$r;XDj$G$-$k$h$&$K$J$j$^$7$?!#(B - $B99$K!"?75,$N(B <a - href="mod/core.html#directorymatch"><code><DirectoryMatch></code></a>, - <a - href="mod/core.html#locationmatch"><code><LocationMatch></code></a>, - <a - href="mod/core.html#filesmatch"><code><FilesMatch></code></a> - $B%;%/%7%g%s$K$h$j!"(B - $B@55,I=8=$rMQ$$$?%;%/%7%g%s;XDj$,$G$-$k?7$7$$9=J8$,Ds6!$5$l$^$9!#(B</dd> - - <dt><strong><a - href="mod/mod_info.html">mod_info</a> $B$X$N(B <a - href="mod/mod_info.html#addmoduleinfo"><code>AddModuleInfo</code></a> - $B%G%#%l%/%F%#%V$NDI2C(B</strong></dt> - - <dd>$B;XDj$5$l$?%b%8%e!<%k$K$D$$$F!"I=<($5$;$kDI2C>pJs$r;XDj$G$-$k$h$&$K(B - $B$J$j$^$7$?!#(B</dd> - - <dt><strong><code>TransferLog</code> $B$,L5$$>l9g$N%m%0<}=8$NM^@)(B</strong> - </dt> - - <dd><a href="mod/mod_log_config.html#transferlog" - ><code>TransferLog</code></a> $B%G%#%l%/%F%#%V$,L5$$>l9g$O%m%0$O(B - $B<}=8$5$l$^$;$s!#$3$l$OB>$N%m%0MQ%b%8%e!<%k$H$N6&MQ$r%5%]!<%H$7$^$9!#(B - </dd> - - <dt><strong>$B%m%0$N=q<0$KL>A0$rIU$1$k5!G=(B</strong></dt> - - <dd><a - href="mod/mod_log_config.html#logformat"><code>LogFormat</code></a> - $B%G%#%l%/%F%#%V$,3HD%$5$l!"FCDj$N%m%0%U%)!<%^%C%H$K%K%C%/%M!<%`$r(B - $BIU$1$k$3$H$r2DG=$K$J$j$^$7$?!#Kh2s%m%0%U%)!<%^%C%H$NJ8;zNs$r=q$/Be$o$j$K!"(B - $B$3$N%K%C%/%M!<%`$rB>$N(B <code>LogFormat</code> $B%G%#%l%/%F%#%V$N;XDj$d(B - <a href="mod/mod_log_config.html#customlog" - ><code>CustomLog</code></a> $B%G%#%l%/%F%#%V$N;XDj$G;H$&$3$H$,$G$-$^$9!#(B - </dd> - - <dt><strong>$B>r7oIU$-%m%0<}=8(B</strong></dt> - - <dd><a href="mod/mod_log_config.html#customlog-conditional" - >mod_log_config</a> $B$,4D6-JQ?t$K4p$E$$$?%m%0<}=8$r%5%]!<%H(B - $B$9$k$h$&$K$J$j$^$7$?!#(Bmod_log_referer $B$H(B mod_log_agent - $B$O;HMQ$7$J$$$3$H$,?d>)$5$l$F$$$^$9!#(B</dd> - - <dt><strong>mod_cern_meta - $B$r%G%#%l%/%H%jKh$K@_Dj2DG=(B</strong></dt> - - <dd><a href="mod/mod_cern_meta.html">mod_cern_meta</a> - $B$r%G%#%l%/%H%jKh$K@_Dj$9$k$3$H$,$G$-$k$h$&$K$J$j$^$7$?!#(B</dd> - - <dt><strong><a href="mod/mod_rewrite.html#rewritemap" - ><code>RewriteMap</code></a>$B%G%#%l%/%F%#%V$N?7$7$$%^%C%W%?%$%W(B</strong> - </dt> - - <dd>mod_rewrite $B$N(B <code>RewriteMap</code> - $B%G%#%l%/%F%#%V$K?7$7$$%^%C%W7?(B `Randomized Plain Text' $B$H(B - `Internal Function' $B$,DI2C$5$l$^$7$?!#$3$l$i$N%^%C%W7?$O(B - $BFs$D$N5!G=$rDs6!$7$^$9(B: $B0l$D$O!"=q$-49$(MQ%^%C%W$G;2>H$5$l$k(B - $BCM$+$iBP1~$9$kCM$r%i%s%@%`$KA*Br$9$k$3$H$,$G$-$k$h$&$K$J$j$^$7$?(B - (Reverse Proxy $B$K$*$$$F!"%P%C%/%(%s%I$N%5!<%P$rA*$V>l9g$KJXMx$G$9(B)$B!#(B - $B$b$&0l$D$O!"(BURL $B$N0lIt$rBgJ8;z$+>.J8;z$N$I$A$i$+$KJQ49$9$k$3$H$,(B - $B$G$-$k$h$&$K$J$j$^$7$?(B (mod_rewrite $B$rMQ$$$FBg5,LO$J(B - $B%P!<%A%c%k%[%9%F%#%s%0$r9T$J$&>l9g$KJXMx$G$9(B)$B!#(B</dd> - - <dt><strong>CIDR $B$H(B Netmask $B$K$h$k%"%/%;%9@)8f(B</strong></dt> - - <dd><a href="mod/mod_access.html">mod_access</a> - $B%G%#%l%/%F%#%V$O(B CIDR (Classless Inter-Domain Routing) - $B7A<0$N%W%l%U%#%C%/%9$N;XDj$H!"(BIP $B$N%"%/%;%9%j%9%H$N@)8f$r(B - $B$h$j:Y$+$/@_Dj$G$-$k%M%C%H%^%9%/$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B</dd> - </dl> - <hr /> - - <h3><a id="api" name="api">API $B$NDI2C$HJQ99(B</a></h3> - - <p>$B%b%8%e!<%k:n<T$H%3!<%I%O%C%+!<8~$1>pJs(B:</p> - - <dl> - <dt><strong><code>child_init</code></strong></dt> - - <dd>"heavy-weight process" $B$K$D$-(B1$B2s8F$P$l$k(B Apache API - $B$N?75,%U%'!<%:$G$9!#$3$N8e$G%j%/%(%9%H$N=hM}$r9T$J$$$^$9!#(B - $B$3$l$r$9$k$3$H$G!"%b%8%e!<%k$,%W%m%;%9Kh$K9T$J$&I,MW$N$"$k$3$H$r(B - $B$9$Y$F@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B$?$H$($P!"%G!<%?%Y!<%9$X$N@\B3$,$"$j$^$9!#(B</dd> - - <dt><strong><code>child_exit</code></strong></dt> - - <dd>"heavy-weight process" $B$K$D$-(B1$B2s8F$P$l$k?75,$N%U%'!<%:$G!"(B - $B%W%m%;%9$N=*N;;~$K8F$P$l$^$9!#CWL?E*$J>u67$G$O(B - ($B$?$H$($P%;%0%a%s%F!<%7%g%s%U%)!<%k%H$d(B kill -9 $B$5$l$?>l9g(B) - $B8F$P$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B<code>child_init</code> $B4X?t$H(B - <code>child_exit</code> $B4X?t$O!";R%W%m%;%9$N@8B84|4V$H(B (Apache - $B$,2sI|$G$-$k8+9~$_$N$J$$40A4$KCWL?E*$J%$%Y%s%H$r=|$$$F(B) - $BF1$8@8B84|4V$r;}$D%W!<%k$rEO$5$l$^$9!#BP>HE*$K!"%b%8%e!<%k$N(B - <code>init</code> $B4X?t$O?F%W%m%;%9$,=*N;$7$?$j:F5/F0$7$?$j$9$k$H(B - $B>CLG$9$k%W!<%k$rEO$5$l$^$9!#(B</dd> - - <dt><strong><code>child_terminate</code></strong></dt> - - <dd>$B8=:_$N%j%/%(%9%H$r=*N;$7$?8e$K;R%W%m%;%9$,=*N;$9$Y$-$G$"$k$3$H$r(B - $B<($9$?$a$K;R%W%m%;%9$G;H$o$l$^$9!#(B</dd> - - <dt><strong><code>register_other_child</code></strong></dt> - - <dd><code>http_main.h</code> $B$r;2>H$7$F$/$@$5$$!#(B - $B$3$l$O?F%W%m%;%9$G;HMQ$7!"4F;k$9$k;R%W%m%;%9$rEPO?$7$^$9!#(B - $B?F%W%m%;%9$OM?$($i$l$?%3!<%k%P%C%/4X?t$K>uBV$rJs9p$7$^$9!#(B - $B$3$N4X?t$r;HMQ$9$k$H!"%b%8%e!<%k$,@8@.$9$k;R%W%m%;%9$O!"(B - httpd $B$NB>$N;R%W%m%;%9$H6&$K4F;k$5$l$k$h$&$K$J$j$^$9!#(B</dd> - - <dt><strong><code>piped_log</code></strong></dt> - - <dd><code>http_log.h</code> $B$r;2>H$7$F$/$@$5$$!#$3$N(B API - $B$O!"%Q%$%W$5$l$?%m%0$r<BAu$9$k$?$a$N6&DL$N%3!<%I$rDs6!$7$^$9!#(B - $BFC$K!"%"!<%-%F%/%A%c$,%5%]!<%H$7$F$$$k>l9g$O(B (<em>$B$D$^$j(B</em> - $B8=;~E@$G$O(B Unix)$B!"?.Mj@-$N$"$k%Q%$%W$5$l$?%m%0$r<BAu$7$F$$$^$9!#(B</dd> - - <dt><strong>$B%9%3%"%\!<%I$N7A<0JQ99(B</strong></dt> - - <dd>$B%9%3%"%\!<%I$N7A<0$O$+$J$jJQ99$5$l$^$7$?!#(B - $BIaDL%9%3%"%\!<%I$O(B "private" $B$J%$%s%?!<%U%'!<%9$@$H$5$l$F$$$k$N$G!"(B - $B$3$3$G$O>R2p$9$k$K$H$I$a$F$*$-$^$9!#(B</dd> - - <dt><strong><code>set_last_modified</code> - $B$r;0$D$KJ,3d(B</strong></dt> - - <dd>$B8E$$(B <code>set_last_modified</code> $B4X?t$O!"(B - <code>Last-Modified</code> $B%X%C%@$d!"(B<code>Etag</code> $B%X%C%@$N@_Dj!"(B - (If-Modified-Since $B$N$h$&$J(B ) $B>r7oIU$-%j%/%(%9%H$N=hM}$J$I!"(B - $BJ#?t$N;E;v$r$7$F$$$^$7$?!#$3$l$i$N5!G=$O;0$D$N4X?t!"(B - <code>set_last_modified</code>, <code>set_etag</code>, - <code>meets_conditions</code> $B$KJ,3d$5$l$^$7$?!#(B - <code>meets_conditions</code> $B4X?t$N=hM}$r4JC1$K$9$k$?$a$K(B - <code>requrest_rec</code> $B9=B$BN$K(B <code>mtime</code> - $B$,%U%#!<%k%I$,DI2C$5$l$^$7$?!#(B</dd> - - <dt><strong>$B%(%i!<%m%0<}=8MQ$N?75,4X?t(B: - <code>ap_log_error</code></strong></dt> - - <dd>$B%m%0<}=8MQ$N8E$$4X?t$O$9$Y$FHs?d>)$H$J$C$F$$$^$9!#(B - $B$3$l$i$N4X?t$r(B <code>ap_log_error</code> - $B$H$$$&C1FH$N4X?t$GCV$-49$($h$&$H$7$F$$$^$9!#(B - $B$3$l$O$^$@:n6HCf$G$9!#(B</dd> - - <dt><strong>$B@_Dj2r@O$N$?$a$N(B - <code>set_file_slot</code></strong></dt> - - <dd><code>set_file_slot</code> $B%k!<%A%s$O!"(B - $B@dBP%Q%9$K$J$C$F$$$J$$%Q%9$NA0$K(B ServerRoot - $B$rDI2C$9$k$?$a$NI8=`%k!<%A%s$rDs6!$7$^$9!#(B</dd> - - <dt><strong><code>post_read_request</code> - $B%b%8%e!<%k(B API</strong></dt> - - <dd>$B$3$N%j%/%(%9%H%U%'!<%:$O%j%/%(%9%H(B ($B%X%C%@(B) - $B$rFI$_9~$s$@D>8e$d!"FbIt%j%@%$%l%/%H$r:n@.$7$?D>8e$K5/$3$j$^$9!#(B - $B$=$N8e$NCJ3,$K1F6A$9$k4D6-JQ?t$r@_Dj$9$k$?$a$K0lHVLr$KN)$A$^$9!#(B - </dd> - - <dt><strong><code>psocket</code> $B$H(B - <code>popendir</code></strong></dt> - - <dd>socket $B$N@8@.$K$*$$$F!"6%9g>uBV$,5/$3$i$J$$$h$&$K%j%=!<%9$N(B - $B%H%i%C%-%s%0$r$9$k(B <code>psocket</code> $B4X?t$H(B <code>pclosesocket</code> - $B4X?t$,MQ0U$5$l$^$7$?!#F1MM$K!"(B<code>popendir</code> $B4X?t$H(B - <code>pclosedir</code> $B4X?t$O%G%#%l%/%H%j$NFI$_9~$_$rJ]8n$7$^$9!#(B</dd> - - <dt><strong><code>is_initial_req</code></strong></dt> - - <dd>$B%j%/%(%9%H$,=i4|%j%/%(%9%H(B (<em>$B$9$J$o$A(B</em>$B!"(B - $B%/%i%$%"%s%H$+$iMh$k$b$N(B)$B$G$"$k$+$I$&$+$rH=Dj$7$^$9!#(B</dd> - - <dt><strong><code>kill_only_once</code></strong></dt> - - <dd><code>ap_spawn_child</code> $B4X?t$N%*%W%7%g%s$G!"(B - Apache $B$,;R%W%m%;%9$r@Q6KE*$K(B kill $B$7$h$&$H$9$k$3$H$rM^@)$7$^$9!#(B - </dd> - - <dt><strong><code>alloc $B%G%P%C%0MQ%3!<%I(B</code></strong></dt> - - <dd><code>ALLOC_DEBUG</code> - $B$rDj5A$9$k$H86;OE*$J%a%b%j%G%P%C%,$,Ds6!$5$l$^$9!#(B - $B$3$l$r;H$&>l9g!"@8B8Cf$N%5!<%P$KM?$($k1F6A$,>/$J$/:Q$_$^$9!#(B - $B$=$l$O!"3d$jEv$F$i$l$F$k%a%b%j$*$h$S2rJ|$5$l$k%a%b%j$N%P%$%H?t$r$9$Y$F(B - 0xa5 $B$K@_Dj$7$^$9!#(B<code>ALLOC_USE_MALLOC</code> $B$rDj5A$9$k$H!"(B - alloc $B%3!<%I$,$=$l$>$l$N%*%V%8%'%/%H$KBP$7$F(B <code>malloc()</code> - $B$H(B <code>free()</code> $B$r;H$&$h$&$K$J$j$^$9!#$3$l$O$:$C$H%3%9%H$,9b$/!"(B - Electric Fence $B$d(B Purify $B$N$h$&$J%D!<%k$r;H$C$F%F%9%H$r$9$k$H$-$K$N$_(B - $B;H$o$l$k$Y$-$b$N$G$9!#>\:Y$O(B <code>main/alloc.c</code> $B$r;2>H$7$F$/$@$5$$!#(B</dd> - - <dt><strong><code>ap_cpystrn</code></strong></dt> - - <dd>$B?7$7$$(B <code>strncpy</code> $B$N$h$&$J$b$N$G$9$,!"%P%C%U%!A4BN$r(B - 0 $B$GK~$?$9I,MW$,L5$$$?$a$K(B <code>strncpy</code> - $B$h$j$:$C$HB.$$E@$G<c430c$$$^$9!#(B</dd> - - <dt><strong><code>table_addn</code>, <code>table_setn</code>, - <code>table_mergen</code></strong></dt> - - <dd>$B$3$l$i$N?7$7$$4X?t$O!"0z?t$KBP$7$F(B <code>pstrdup</code> - $B$r8F$S(B<strong>$B$^$;$s(B</strong>$B!#$3$l$OBg$-$JB.EY8~>e$r$b$?$i$7$^$9!#(B - $B%3!<%I$,$=$l$i$rE,@Z$K;HMQ$7$F$$$k$3$H$r3N$+$a$k$?$a$N%G%P%C%0$N(B - $B%5%]!<%H$b$"$j$^$9!#>\$7$$>pJs$O(B <code>src/CHANGES</code> - $B$r;2>H$7$F$/$@$5$$!#(B</dd> - - <dt><strong><code>construct_url</code></strong></dt> - - <dd>$B$3$N4X?t$N%W%m%H%?%$%W$,(B <code>server_rec *</code> $B$+$i(B - <code>request_rec *</code> $B$r0z?t$H$7$F<h$k$h$&$KJQ$o$j$^$7$?!#(B - </dd> - - <dt><strong><code>get_server_name</code>, - <code>get_server_port</code></strong></dt> - - <dd>$B%j%/%(%9%H$KBP1~$9$k%5!<%PL>$H%]!<%HHV9f$r<hF@$9$k:]$K(B - <a href="mod/core.html#usecanonicalname">UseCanonicalName</a> - $B%G%#%l%/%F%#%V$r07$&$?$a$N%i%C%Q!<$G$9!#(B - </dd> - - <dt><strong><code>ap_bspawn_child</code> $B$H(B - <code>ap_call_exec</code> $B$N%W%m%H%?%$%W$NJQ99(B</strong></dt> - - <dd>Win32 $B$G;R%W%m%;%9$,@5$7$/F0:n$9$k$h$&$K!"(B - <code>spawn</code> $B4X?t(B (<code>ap_bspawn_child</code> - $B$KEO$5$l$k(B) $B$H(B <code>ap_call_exec</code> $B4X?t$K(B - <code>child_info *</code> $B$rDI2C$7$^$7$?!#(B - $B$^$?!"(B<code>spawn_child_err</code> $B$rC1$K(B - <code>ap_spawn_child</code> $B$GCV$-49$(!"(B - <code>spawn_child_err_buff</code> $B$rC1$K(B - <code>ap_bspawn_child</code> $B$GCV$-49$($k$3$H$G!"(B - $B4X?tL>$r>/$7@0M}$7$^$7$?!#(B</dd> - - <dt><strong><code>ap_add_version_component()</code></strong> - </dt> - - <dd>$B$3$N(B API $B4X?t$O(B <code>Server:</code> - $B%X%C%@$K=PNO$5$l$k%5!<%P%H!<%/%s$r!"(B - $B%b%8%e!<%k<+?H$,DI2C$G$-$k$h$&$K$7$^$9!#0JA0$N(B 1.3beta - $B%P!<%8%g%s$G$O%3%s%Q%$%k;~$K(B <code>#define</code> $B$5$l$?(B - <code>SERVER_SUBVERSION</code> $B$rDj5A$7$F$3$N5!G=$r<B8=$7$F$$$^$7$?!#(B - $B%H!<%/%s$,<B:]$KI=<($5$l$k$+$I$&$+$O?7$7$$(B <code>SeverTokens</code> - $B%G%#%l%/%F%#%V$G@)8f$5$l$^$9!#(B</dd> - </dl> - <hr /> - - <h3><a name="misc" id="misc">$B$=$NB>$N3HD%(B</a></h3> - - <dl> - <dt><strong><a href="ebcdic.html">BS2000/OSD $B$r<B9T$7$F$$$k(B - EBCDIC $B%a%$%s%U%l!<%`%^%7%s$X$N0\?"(B</a></strong></dt> - - <dd>($BLuCm(B: $B%a%$%s%U%l!<%`%^%7%s$X$N0\?"$N(B ) $B<j;O$a$H$7$F!"(B - $B$3$N%P!<%8%g%s$N(B Apache $B$G$O!"(BEBCDIC $BJ8;z%;%C%H$r(B - $B%M%$%F%#%V%3!<%I%;%C%H$H$7$F;HMQ$9$k%a%$%s%U%l!<%`%^%7%s$X$N(B - $B0\?"$N%Y!<%?HG$,IU$$$F$$$^$9(B (IBM/390 $B8_49$N%W%m%;%C%5!<>e$G(B - BS2000/OSD $B%*%Z%l!<%F%#%s%0%7%9%F%`$r<B9T$7$F$$$k(B SIEMENS - $B$N%a%$%s%U%l!<%`%U%!%_%j!<$G$9!#$3$N%a%$%s%U%l!<%`$N(B OS - $B$O!":G6a$G$O(B SVR4 $B%i%$%/$N(B POSIX $B$N%5%V%7%9%F%`$N5!G=$,$"$j$^$9(B)$B!#(B</dd> - - <dt><strong><a - href="mod/core.html#accessfilename"><code>AccessFileName</code> - $B$N3HD%(B</a></strong></dt> - - <dd><code>AccessFileName</code> $B%G%#%l%/%F%#%V$O!"J#?t$N%U%!%$%kL>$r(B - $B<u$1IU$1$k$h$&$K$J$j$^$7$?!#$3$l$K$h$j!"(BNFS $B$rMQ$$$FJ#?t$N(B Apache - $B%5!<%P$G%Z!<%8$rDs6!$7$F$$$k%5!<%P$G$N@_Dj$K1~$8$?%"%/%;%9$r@_Dj(B - $B$G$-$k$h$&$K$J$j$^$9!#(B($BLuCm(B: NFS $B$rMQ$$$F!"F1$8%3%s%F%s%D6u4V$rJ#?t$N(B - $B%5!<%P$G6&M-$7$F$$$k$H!"$=$l$i$N%5!<%P$N(B AccessFileName $B$,F1$8$H$O8B$j$^$;$s!#(B - $B6&M-$7$F$$$k%3%s%F%s%D$KBP$9$k%"%/%;%9@)8f$OF1$8@_Dj$r;H$$$?$$$H$-$K!"(B - $B$3$N5!G=$,Lr$KN)$A$^$9(B)$B!#(B</dd> - - <dt><strong><code>HostnameLookups</code> $B$N%G%U%)%k%H$r(B "Off" $B$KJQ99(B</strong></dt> - - <dd><a - href="mod/core.html#hostnamelookups"><code>HostnameLookups</code></a> - $B%G%#%l%/%F%#%V$O%G%U%)%k%H$G(B "Off" $B$K$J$j$^$7$?!#L@<(E*$K(B on - $B$K$7$J$$8B$j!"%5!<%P$O(B IP $B%"%I%l%9$NL>A02r7h$r9T$J$o$J$$$H$$$&$3$H$G$9!#(B - $B$3$NJQ99$O%$%s%?!<%M%C%H$K$*$$$F$rITI,MW$J(B DNS $B%H%i%U%#%C%/$r(B - $BH/@8$5$;$J$$$?$a$K9T$J$o$l$^$7$?!#(B</dd> - - <dt><strong>DNS $B$NFs=E5U0z$-$N6/@)5!G=(B</strong></dt> - - <dd><a - href="mod/core.html#hostnamelookups"><code>HostnameLookups</code></a> - $B%G%#%l%/%F%#%V$O(B DNS $B$NFs=E5U0z$-$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B - (tcp_wrapper $B$NMQ8l$G$O(B <em>PARANOID</em> $B$H$7$FCN$i$l$F$$$k$b$N$G$9(B)$B!#(B - IP $B%"%I%l%9$KBP$7$F5U0z$-$r9T$J$$!"$5$i$K@50z$-$7$FF@$i$l$k(B IP - $B%"%I%l%9$N%j%9%H$K85$N(B IP $B%"%I%l%9$,4^$^$l$F$$$l$P!"(B - $BFs=E5U0z$-$N%F%9%H$rDL2a$7$^$9!#(BHostnameLookup $B$N@_Dj$K4X$o$i$:!"(B - <a href="mod/mod_access.html">mod_access</a> $B%"%/%;%9@)8f$N@_Dj$G(B DNS - $BL>$r;HMQ$7$F$$$k>l9g!"$9$Y$F$NL>A0$,(B DNS $B$NFs=E5U0z$-%F%9%H$K9g3J$9$k(B - $B$3$H$r(B<strong>$BMW5a(B</strong>$B$7$^$9!#(B($B0JA0$N%P!<%8%g%s$N(B Apache $B$G$O!"(BDNS - $B$NFs=E5U0z$-$r2DG=$K$9$k$?$a$K%3%s%Q%$%k;~$N%9%$%C%A$,I,MW$G$7$?!#(B)</dd> - - <dt><strong>LogLevel $B$H(B syslog $B$N%5%]!<%H(B</strong></dt> - - <dd>Apache $B$O(B<a - href="mod/core.html#loglevel">$B%(%i!<$N%m%0<}=8%l%Y%k$r@_Dj(B</a> - $B$G$-$k5!G=$,DI2C$5$l$^$7$?!#$^$?!"(B<a href="mod/core.html#errorlog">syslogd(8) - $B$K$h$k%(%i!<$N%m%0<}=8(B</a>$B$r%5%]!<%H$9$k$h$&$K$J$j$^$7$?!#(B</dd> - - <dt><strong>$BI8=`F~NO(B/$BI8=`=PNO(B/$BI8=`%(%i!<=PNO$+$i$N@ZN%$7(B</strong></dt> - - <dd>Apache $B$O!"%V!<%H;~$KI8=`F~NO(B/$BI8=`=PNO(B/$BI8=`%(%i!<=PNO$r(B - $B@Z$jN%$9$h$&$K$J$j$^$7$?!#I8=`%(%i!<=PNO$O!"@_Dj%U%!%$%k$N(B - $BFI$_9~$_$K@.8y$9$k$^$G@Z$jN%$7$^$;$s!#$G$9$+$i!"@_Dj%U%!%$%k$N(B - $B%(%i!<$OL\$K$9$k$3$H$K$J$k$G$7$g$&!#$3$l$K$h$j!"(Brsh $B$d(B crontab - $B$G(B Apache $B$r5/F0$7$d$9$/$J$C$F$$$k$O$:$G$9!#(B</dd> - - <dt><a name="y2k" id="y2k"><strong>2000 $BG/LdBj$N2~A1(B</strong></a></dt> - - <dd><a - href="mod/mod_include.html"><code>mod_include</code></a> - $B$G;H$o$l$k%G%U%)%k%H$N(B <code>timefmt</code> - $BJ8;zNs$,!"0JA0;H$o$l$F$$$?(B 2 $B7e$G$O$J$/(B 4 $B7e$r;H$&$h$&$K(B - $B=$@5$5$l$^$7$?!#(B<a href="mod/mod_autoindex.html" - ><code>mod_autoindex</code></a> $B%b%8%e!<%k$b(B FancyIndex - $B$5$l$?%G%#%l%/%H%j0lMwI=<($K(B 4 $B7e$NG/$rI=<($9$k$h$&$K=$@5$5$l$^$7$?!#(B - </dd> - - <dt><strong>$B6&DL$N%k!<%A%s$rFHN)$7$?%i%$%V%i%j$KJ,N%(B</strong></dt> - - <dd>$B%*%Z%l!<%F%#%s%0%7%9%F%`$K$h$k%i%$%V%i%j$N%k!<%A%s$N0c$$$r(B - $BJd40$7$?$jCV$-49$($?$j$9$k4X?t$d%k!<%A%s$,!"(BApache - $B%W%m%8%'%/%H$N$?$a$K?tB?$/3+H/$5$l$F$$$^$9!#$[$H$s$I$N$b$N$O(B - Apache $B%5!<%P<+?H$G$N$_$G;HMQ$5$l$F$$$^$9$,!"Cf$K$O(B - <code>htdigest</code> - $B$N$h$&$J%5%]!<%HMQ%"%W%j%1!<%7%g%s$G;2>H$5$l$F$$$k$b$N$b$"$j$^$9!#(B - $B$=$7$F!"$=$N%k!<%A%s$O%5!<%P$K$N$_AH9~$^$l$F$$$k$?$a$K!"(B - $B$3$N$h$&$JJL%"%W%j%1!<%7%g%s$O%S%k%I$K<:GT$7$^$9!#$3$l$i$N%k!<%A%s$r(B - $BJL$N%5%V%G%#%l%/%H%j$GJL$N%i%$%V%i%j$K0\F0$7$^$7$?!#$3$l$K$h$j!"(B - $B%5!<%P$@$1$G$J$/B>$N%"%W%j%1!<%7%g%s$+$i$b;H$($k$h$&$K$J$j$^$7$?!#(B - <code>src/ap/</code> $B%5%V%G%#%l%/%H%j$r;2>H$7$F$/$@$5$$!#(B - </dd> - - <dt><strong>$B?7$7$$(B <code><a - href="mod/core.html#serversignature">ServerSignature</a></code> - $B%G%#%l%/%F%#%V(B</strong></dt> - - <dd>$B$3$N%G%#%l%/%F%#%V$O%5!<%P$,:n@.$7$?%Z!<%8(B ($B%(%i!<%I%-%e%a%s%H!"(B - FTP $B$N%G%#%l%/%H%jFbMF0lMw!"(Bmod_info $B$N=PNO(B <em>$B$J$I(B</em>) - $B$K%5!<%P$N%P!<%8%g%s$H%P!<%A%c%k%[%9%HL>$r4^$`9T$r%*%W%7%g%s$GDI2C$7$^$9!#(B - $B$3$l$K$h$j!"FC$K(B pxory $B$NO":?(B ($B%$%s%H%i%M%C%H$N4D6-$G$O$h$/$"$j$^$9(B) - $B$,$"$k$H$-$K!"$I$N%5!<%P$,%(%i!<%a%C%;!<%8$r=P$7$?$N$+$r%f!<%6$,(B - $B4JC1$KCN$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</dd> - - <dt><strong>$B?7$7$$(B <code><a href="mod/core.html#usecanonicalname" - >UseCanonicalName</a></code> $B%G%#%l%/%F%#%V(B</strong> - </dt> - - <dd>$B$3$N%G%#%l%/%F%#%V$O!"(BApache $B$,$I$N$h$&$K<+J,<+?H$r;2>H$9$k(B - URL $B$r:n@.$9$k$+$r@)8f$7$^$9!#0JA0$N(B Apache $B$G$O!"(B<a - href="mod/core.html#servername"> ServerName</a> $B%G%#%l%/%F%#%V$H(B <a - href="mod/core.html#port">Port</a> $B%G%#%l%/%F%#%V$r>o$K;XDj$9$k$3$H$G(B - "$B@55,2=$5$l$?(B" $B%5!<%P$NL>$r@8@.$7$F$$$^$7$?!#(B<code>UseCanonicalName - off</code> $B$G!"%/%i%$%"%s%H$+$iDs6!$5$l$?%[%9%HL>$H%]!<%HHV9f$,$"$k>l9g!"(B - Apache $B$O$=$l$r;HMQ$9$k$h$&$K$J$j$^$9!#(B</dd> - - <dt><strong><code>SERVER_VERSION</code> $B$NDj5A$NCj>]2=$H(B - $B%5!<%P$N%S%k%IF|;~$NDI2C(B</strong> </dt> - - <dd>$B0JA0$N%P!<%8%g%s$G$O!"(B<code>SERVER_VERSION</code> - $B$GDj5A$5$l$?CM$rDL$8$F!"%b%8%e!<%k$O(B Apache - $B%5!<%P$N%P!<%8%g%s$r;2>H$9$k$3$H$,$G$-$^$7$?!#(B - $B%3%"%5!<%P$H%b%8%e!<%k$,0c$&;~$K%3%s%Q%$%k$5$l$?>l9g$G$b(B - $B$3$NCM$N0l4S@-$rJ]$D$?$a$K!"$3$N>pJs$O%3%"(B API $B%k!<%A%s(B - <code>ap_get_server_version()</code> - $B$GF@$k$3$H$,$G$-$k$h$&$K$J$j$^$7$?!#(B<code>SERVER_VERSION</code> - $B%7%s%\%k$N;EMM$OHs?d>)$G$9!#(B - $B$^$?!"(B<code>ap_get_server_built()</code> $B$O%3%"%5!<%P$,%j%s%/$5$l$?(B - $B;~9o$rI=$9J8;zNs$rJV$7$^$9!#(B</dd> - - <dt><a href="mod/core.html#servertokens"><strong>$B%5!<%P$N(B ID - $B$K%*%Z%l!<%F%#%s%0%7%9%F%`$r4^$a$k(B</strong></a><br /> - </dt> - - - <dd>$B?7$7$$%G%#%l%/%F%#%V(B <code>ServerTokens</code> $B$K$h$j!"(B - $B%/%i%$%"%s%H$KAw$jJV$5$l$k(B <code>Server</code> - $B%l%9%]%s%9%X%C%@%U%#!<%k%I$NCM$r%&%'%V%^%9%?!<$,(B - $BJQ99$G$-$k$h$&$K$J$j$^$7$?!#(B<code>ServerTokens</code> - $B%G%#%l%/%F%#%V$G$O!"%5!<%P$,F0:n$7$F$$$k%*%Z%l!<%F%#%s%0%7%9%F%`$N(B - $B<oN`$K$D$$$F$N>\$7$9$.$J$$DxEY$N>pJs$r!"%b%8%e!<%k>pJs$HF1MM$K%5!<%P(B - ID $B$K4^$a$k$+$I$&$+$r@)8f$7$^$9!#(BApache 1.3 $B$G$O!"(B - $B$3$NDI2C$N>pJs$,%G%U%)%k%H$G4^$^$l$k$h$&$K$J$C$F$$$^$9!#(B - <br /> - <br /> - </dd> - - <dt><strong>Netscape $B7A<0$N(B SHA1 - $B$G0E9f2=$5$l$?%Q%9%o!<%I$N%5%]!<%H(B</strong><br /> - </dt> - - <dd>(Apache $B$KAH9~$^$l$F$$$k(B MD5 $B$d!"(BOS $B8GM-$N(B crypt(3) - $B4X?t$H0[$J$j(B) $B%Q%9%o!<%I$,(B SHA1 $B$G0E9f2=$5$l$k$h$&$J(B BasicAuth - $B%Q%9%o!<%IJ}<0$N0\9T$dE}9g$rB%?J$9$k$?$a!"(B<code>{SHA1}</code> - $B$,A0$KIU$$$F$$$k%Q%9%o!<%I$O(B Base64 $B$GId9f2=$5$l$?(B SHA1 - $B%Q%9%o!<%I$H$7$F2r<a$5$l$^$9!#$5$i$J$k>pJs$d(B Netscape $B$N(B - ldap/ldif $B%(%s%H%j$rJQ49$9$k$?$a$N%f!<%F%#%j%F%#!<$O!"(B - support/SHA1 $B$K$"$j$^$9!#(B</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/process-model.html.en b/usr.sbin/httpd/htdocs/manual/process-model.html.en deleted file mode 100644 index dc4f91f6863..00000000000 --- a/usr.sbin/httpd/htdocs/manual/process-model.html.en +++ /dev/null @@ -1,77 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Server Pool Management</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Server Pool Management</h1> - <hr /> - - <p>We found that many people were using values for "MaxServers" - either too high or too low, and were hanging themselves on it. - The model we adopted is still based on long-lived - minimal-forking processes, but instead of specifying one number - of persistent processes, the web-master specifies a maximum and - minimum number of processes to be "spare" - every couple of - seconds the parent checks the actual number of spare servers - and adjusts accordingly. This should keep the number of servers - concurrently running relatively low while still ensuring - minimal forking.</p> - - <p>We renamed the current StartServers to MinSpareServers, - created separate StartServers parameter which means what it - says, and renamed MaxServers to MaxSpareServers (though the old - name still works, for NCSA 1.4 back-compatibility). The old - names were generally regarded as too confusing.</p> - - <p>The defaults for each variable are:</p> -<pre> -MinSpareServers 5 -MaxSpareServers 10 -StartServers 5 -</pre> - There is an absolute maximum number of simultaneous children - defined by a compile-time limit which defaults to 256 and a - "MaxClients" directive which specifies the number of - simultaneous children that will be allowed. MaxClients can be - adjusted up to the compile-time limit (HARD_SERVER_LIMIT, - defined in httpd.h). If you need more than 256 simultaneous - children, you need to modify both HARD_SERVER_LIMIT and - MaxClients. - - <p>In versions before 1.2, HARD_SERVER_LIMIT defaulted to - 150.</p> - - <p>We do not recommend changing either of these values - unless:</p> - - <ol> - <li>You know you have the server resources to handle - more</li> - - <li>You use the machine for other purposes and must limit the - amount of memory Apache uses</li> - </ol> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/process-model.html.ja.jis b/usr.sbin/httpd/htdocs/manual/process-model.html.ja.jis deleted file mode 100644 index cad23a434d1..00000000000 --- a/usr.sbin/httpd/htdocs/manual/process-model.html.ja.jis +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Server Pool Management</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.12 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">$BM=Hw%5!<%P$N4IM}(B</h1> - <hr /> - - <p>$BB?$/$N?M$,(B "MaxServers" - $B$KBP$7$F9b$9$.$k$^$?$ODc$9$.$kCM$r@_Dj$7!"(B - $B$=$l$r;H$$B3$1$F$$$?$H$$$&$3$H$,$o$+$j$^$7$?!#(B - $B;dC#$,:NMQ$7$F$$$k%b%G%k$O!"(B - $B$J$k$Y$/(B fork $B$r:G>.$K$7!"%W%m%;%9$,D9$/@8B8$9$k$h$&$JJ}K!$K(B - $B4p$E$$$?$^$^$G$9$,!"(B - $B0JA0$N7h$^$C$??t$N;}B3E*$J%W%m%;%9$r;XDj$9$k$H$$$&J}K!$NBe$o$j$K!"(B - $B!VM=Hw!W$H$J$k%W%m%;%9$N:GBgCM$H:G>.CM$r%&%'%V%^%9%?!<$,(B - $B;XDj$G$-$k$h$&$K$7$^$7$?!#$D$^$j!"?F%W%m%;%9$,?tIC$4$H$KM=Hw$N(B - $B%5!<%P$N<B:]$N?t$r%A%'%C%/$7!"$=$l$K1~$8$F%5!<%P$N?t$rD4@0$7$^$9!#(B - $B$3$l$K$h$j!"(Bfork $B$N?t$r:G>.8B$KM^$($D$D!"(B - $B%5!<%P$N?t$rHf3SE*>/$J$$>uBV$KJ]$D$3$H$,$G$-$k$O$:$G$9!#(B</p> - - <p>$B8=:_$N(B StartServers $B$O(B MinSpareServers $B$H$$$&L>A0$K$J$j!"(B - $BJL8D$K!"L>A0$NDL$j$N0UL#$r$b$D!"(BStartServers $B%Q%i%a!<%?$,:n@.$5$l!"(B - MaxServers $B$O(B MaxSpareServers $B$H$$$&L>A0$K$J$j$^$7$?(B ($B8E$$L>A0$b(B - NCSA 1.4 $B$+$i$N8_49@-$rJ]$D$?$a$K$^$@F0:n$7$^$9(B)$B!#(B - $B8E$$L>A0$O0lHL$KJ6$i$o$7$9$.$k$H9M$($i$l$F$$$^$7$?!#(B</p> - - <p>$B$=$l$>$l$N%G%U%)%k%H$NCM$O0J2<$N$H$*$j$G$9(B</p> -<pre> -MinSpareServers 5 -MaxSpareServers 10 -StartServers 5 -</pre> - <p>$BF1;~$K5vMF$5$l$k;R%W%m%;%9$N?t$O%3%s%Q%$%k;~$K@)8B$5$l$k(B - $B@dBPE*$J:GBgCM(B ($B%G%U%)%k%H$G(B 256 $B$H$J$C$F$$$^$9(B) $B$H(B - "MaxClients" $B%G%#%l%/%F%#%V$K$h$jDj5A$5$l$^$9!#(B - MaxClients $B$O:GBg$G%3%s%Q%$%k;~$N@)8BCM(B (httpd.h $B$GDj5A$5$l$k(B - HARD_SERVER_LIMIT) $B$^$GD4@0$G$-$^$9!#F1;~$K(B 256 - $B0J>e$N;R%W%m%;%9$,I,MW$J>l9g$O(B HARD_SERVER_LIMIT $B$H(B MaxClients - $B$NN>J}$rJQ99$9$kI,MW$,$"$j$^$9!#(B - </p> - - <p>1.2 $B0JA0$N%P!<%8%g%s$G$O(B HARD_SERVER_LIMIT $B$N%G%U%)%k%H$O(B - 150 $B$K$J$C$F$$$^$9!#(B</p> - - <p>$B0J2<$,Ev$F$O$^$i$J$$>l9g$O!"(B - $B$3$NCM$N$I$A$i$+$rJQ99$9$k$3$H$OA&$a$i$l$^$;$s!#(B</p> - - <ol> - <li>$B$h$jB?$/$r07$&$?$a$N%5!<%P$N%j%=!<%9$,M-$k$3$H$,J,$+$C$F$$$k!#(B - </li> - - <li>$B%^%7%s$rB>$NL\E*$K$b;HMQ$9$k$N$G(B Apache $B$,;HMQ$9$k(B - $B%a%b%j$NNL$r@)8B$7$J$/$F$O$J$i$J$$!#(B</li> - </ol> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/sections.html.en b/usr.sbin/httpd/htdocs/manual/sections.html.en deleted file mode 100644 index 63e899c445b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/sections.html.en +++ /dev/null @@ -1,165 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>How Directory, Location and Files sections work</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">How Directory, Location and Files sections - work</h1> - - <p>The sections <a - href="mod/core.html#directory"><code><Directory></code></a>, - <a - href="mod/core.html#location"><code><Location></code></a> - and <a - href="mod/core.html#files"><code><Files></code></a> can - contain directives which only apply to specified directories, - URLs or files respectively. Also htaccess files can be used - inside a directory to apply directives to that directory. This - document explains how these different sections differ and how - they relate to each other when Apache decides which directives - apply for a particular directory or request URL.</p> - - <h2>Directives allowed in the sections</h2> - - <p>Everything that is syntactically allowed in - <code><Directory></code> is also allowed in - <code><Location></code> (except a - sub-<code><Files></code> section). Semantically, however - some things, most notably <code>AllowOverride</code> and the - two options <code>FollowSymLinks</code> and - <code>SymLinksIfOwnerMatch</code>, make no sense in - <code><Location></code>, - <code><LocationMatch></code> or - <code><DirectoryMatch></code>. The same for - <code><Files></code> -- syntactically everything is fine, - but semantically some things are different.</p> - - <h2>How the sections are merged</h2> - - <p>The order of merging is:</p> - - <ol> - <li><code><Directory></code> (except regular - expressions) and .htaccess done simultaneously (with - .htaccess, if allowed, overriding - <code><Directory></code>)</li> - - <li><code><DirectoryMatch></code>, and - <code><Directory></code> with regular expressions</li> - - <li><code><Files></code> and - <code><FilesMatch></code> done simultaneously</li> - - <li><code><Location></code> and - <code><LocationMatch></code> done simultaneously</li> - </ol> - - <p>Apart from <code><Directory></code>, each group is - processed in the order that they appear in the configuration - files. <code><Directory></code> (group 1 above) is - processed in the order shortest directory component to longest. - If multiple <code><Directory></code> sections apply to - the same directory they are processed in the configuration - file order. The configuration files are read in the order - httpd.conf, srm.conf and access.conf. Configurations included - via the <code>Include</code> directive will be treated as if - they were inside the including file at the location of the - <code>Include</code> directive.</p> - - <p>Sections inside <code><VirtualHost></code> sections - are applied <em>after</em> the corresponding sections outside - the virtual host definition. This allows virtual hosts to - override the main server configuration. (Note: this only works - correctly from 1.2.2 and 1.3a2 onwards. Before those releases - sections inside virtual hosts were applied <em>before</em> the - main server).</p> - - <p>Later sections override earlier ones.</p> - - <h2>Notes about using sections</h2> - - <p>The general guidelines are:</p> - - <ul> - <li>If you are attempting to match objects at the filesystem - level then you must use <code><Directory></code> and/or - <code><Files></code>.</li> - - <li>If you are attempting to match objects at the URL level - then you must use <code><Location></code></li> - </ul> - - <p>But a notable exception is:</p> - - <ul> - <li>proxy control is done via <code><Directory></code>. - This is a legacy mistake because the proxy existed prior to - <code><Location></code>. A future version of the config - language should probably switch this to - <code><Location></code>.</li> - </ul> - - <p>Note about .htaccess parsing:</p> - - <ul> - <li>Modifying .htaccess parsing during Location doesn't do - anything because .htaccess parsing has already occurred.</li> - </ul> - - <p><code><Location></code> and symbolic links:</p> - - <ul> - <li>It is not possible to use "<code>Options - FollowSymLinks</code>" or "<code>Options - SymLinksIfOwnerMatch</code>" inside a - <code><Location></code>, - <code><LocationMatch></code> or - <code><DirectoryMatch></code> section (the options are - simply ignored). Using the options in question is only - possible inside a <code><Directory></code> section (or - a <code>.htaccess</code> file).</li> - </ul> - - <p><code><Files></code> and <code>Options</code>:</p> - - <ul> - <li>Apache won't check for it, but using an - <code>Options</code> directive inside a - <code><Files></code> section has no effect.</li> - </ul> - - <p>Another note:</p> - - <ul> - <li>There is actually a - <code><Location></code>/<code><LocationMatch></code> - sequence performed just before the name translation phase - (where <code>Aliases</code> and <code>DocumentRoots</code> - are used to map URLs to filenames). The results of this - sequence are completely thrown away after the translation has - completed.</li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/sections.html.ja.jis b/usr.sbin/httpd/htdocs/manual/sections.html.ja.jis deleted file mode 100644 index 71bf442908a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/sections.html.ja.jis +++ /dev/null @@ -1,165 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>How Directory, Location and Files sections work</title> - - </head> - <!-- English revision: 1.13 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Directory, Location, Files - $B%;%/%7%g%s$NF0:nJ}K!(B</h1> - - <p>$B%;%/%7%g%s(B <a - href="mod/core.html#directory"><code><Directory></code></a>, - <a - href="mod/core.html#location"><code><Location></code></a>, <a - href="mod/core.html#files"><code><Files></code></a> - $B$K$O!"$=$l$>$l;XDj$5$l$?%G%#%l%/%H%j!"(BURL, - $B%U%!%$%k$K$N$_E,MQ$5$l$k%G%#%l%/%F%#%V$r=q$/$3$H$,$G$-$^$9!#(B - $B$^$?!"%G%#%l%/%H%j$K%G%#%l%/%F%#%V$rE,MQ$9$k$?$a$K%G%#%l%/%H%jCf$K(B - .htaccess $B%U%!%$%k$r;HMQ$9$k$3$H$b$G$-$^$9!#$3$N%I%-%e%a%s%H$O(B - $B$3$l$i$N%;%/%7%g%s$N0c$$$r@bL@$7!"$=$l$i$H!"%G%#%l%/%H%j$d(B - $B%j%/%(%9%H$5$l$?(B URL $B$K(B Apache $B$,$I$N%G%#%l%/%F%#%V$r(B - $BE,MQ$9$k$+$r7hDj$9$kJ}K!$H$N4X78$r@bL@$7$^$9!#(B</p> - - <h2>$B%;%/%7%g%sCf$K5v2D$5$l$F$$$k%G%#%l%/%F%#%V(B</h2> - - <p>$B9=J8>e(B <code><Directory></code> - $B$K=q$1$k$b$N$O$9$Y$F(B <code><Location></code> - $B$K$b=q$/$3$H$,$G$-$^$9(B (<code><Files></code> - $B%;%/%7%g%s$ONc30$G$9(B)$B!#$7$+$7!"Cf$K$O(B - <code>AllowOverride</code> $B$d(B <code>FollowSymLinks</code> - $B$H(B <code>SymLinksIfOwnerMatch</code> - $B$H$$$&Fs$D$N%*%W%7%g%s$N$h$&$K!"(B<code><Location></code>, - <code><LocationMatch></code>, - <code><DirectoryMatch></code> $BCf$G$O0UL#$N$J$$$b$N$b$"$j$^$9!#(B - $BF1MM$N$3$H$,(B <code><Files></code> - $B$K$b8@$($^$9!#9=J8E*$K$O$9$Y$FBg>fIW$G$9$,!"(B - $B0UL#E*$K$O$=$&$G$J$$$b$N$b$"$j$^$9!#(B</p> - - <h2>$B%;%/%7%g%s$N%^!<%8J}K!(B</h2> - - <p>$B%^!<%8$N=gHV$O0J2<$N$h$&$K$J$C$F$$$^$9(B:</p> - - <ol> - <li><code><Directory></code> ($B@55,I=8=L5$7(B) $B$H(B - .htaccess $B$rF1;~$K(B (.htaccess $B$,5v2D$5$l$F$$$l$P!"$=$l$,(B - <code><Directory></code> $B$r(B $B>e=q$-$7$^$9(B) - </li> - - <li><code><DirectoryMatch></code> $B$H@55,I=8=$N$"$k(B - <code><Directory></code></li> - - <li><code><Files></code> $B$H(B - <code><FilesMatch></code> $B$rF1;~$K(B</li> - - <li><code><Location></code> $B$H(B - <code><LocationMatch></code> $B$rF1;~$K(B</li> - </ol> - - <p><code><Directory></code> - $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B - <code><Directory></code> ($B>e$N%0%k!<%W(B 1) - $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#J#?t$N(B - <code><Directory></code> $B%;%/%7%g%s$,F1$8%G%#%l%/%H%j$K(B - $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B - $B@_Dj%U%!%$%k$O(B httpd.conf, srm.conf, access.conf - $B$N=g$K=hM}$5$l$^$9!#(B<code>Include</code> - $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B - <code>Include</code> - $B%G%#%l%/%F%#%V$N0LCV$K$"$C$?$+$N$h$&$K07$o$l$^$9!#(B</p> - - <p><code><VirtualHost></code> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B - $B%P!<%A%c%k%[%9%H$NDj5A$N30B&$NBP1~$9$k%;%/%7%g%s$N(B - <em>$B8e(B</em>$B$KE,MQ$5$l$^$9!#$3$l$K$h$j%P!<%A%c%k%[%9%H$,(B - $B%a%$%s$N%5!<%P@_Dj$r>e=q$-$G$-$k$h$&$J$j$^$9!#(B($BCm0U(B: $B$3$l$O(B - 1.2.2 $B0J9_$H(B 1.3a2 $B0J9_$G$N$_@5$7$/F0:n$7$^$9!#(B - $B$3$l$i$N%j%j!<%9$h$jA0$N$b$N$O%P!<%A%c%k%[%9%H$NCf$N%;%/%7%g%s$O(B - $B%a%$%s%5!<%P$N(B<em>$BA0(B</em>$B$KE,MQ$5$l$F$$$^$7$?(B)$B!#(B</p> - - <p>$B8e$N%;%/%7%g%s$N%G%#%l%/%F%#%V$,A0$N%;%/%7%g%s$N$b$N$r>e=q$-$7$^$9!#(B</p> - - <h2>$B%;%/%7%g%s$r;H$&:]$NCm0U(B</h2> - - <p>$B0lHLE*$J%,%$%I%i%$%s$O(B:</p> - - <ul> - <li>$B%U%!%$%k%7%9%F%`%l%Y%k$G%*%V%8%'%/%H$N%^%C%A$r9T$J$&$H$-$O!"(B - <code><Directory></code> $B$H(B <code><Files></code> - $B$r;H$&I,MW$,$"$j$^$9!#(B</li> - - <li>URL $B%l%Y%k$G%*%V%8%'%/%H$N%^%C%A$r9T$J$&$H$-$O(B - <code><Location></code> $B$r;H$&I,MW$,$"$j$^$9!#(B</li> - </ul> - - <p>$B=EMW$JNc30$O(B:</p> - - <ul> - <li>$B%W%m%-%7$N@)8f$O(B <code><Directory></code> - $B$rDL$7$F9T$J$o$l$^$9!#$3$l$O%W%m%-%7$,(B - <code><Location></code> - $B$h$jA0$+$iB8:_$7$?$3$H$K$h$k%_%9$G$9!#>-Mh$N@_Dj8@8l$G$O$*$=$i$/(B - <code><Location></code> $B$K@Z$jBX$($i$l$k$G$7$g$&!#(B</li> - </ul> - - <p>.htaccess $B%U%!%$%k$N2r@O$K4X$9$kCm0U(B:</p> - - <ul> - <li>Location $BCf$G(B .htaccess $B$N2r@OJ}K!$rJQ99$7$F$b!"(B - $B2?$bJQ$o$j$^$;$s!#(B.htaccess $B$N2r@O$O4{$K=*$o$C$F$$$k$+$i$G$9!#(B</li> - </ul> - - <p><code><Location></code> $B$H%7%s%\%j%C%/%j%s%/(B:</p> - - <ul> - <li>"<code>Options FollowSymLinks</code>" $B$d(B - "<code>Options SymLinksIfOwnerMatch</code>" $B$O(B - <code><Location></code>, - <code><LocationMatch></code>, - <code><DirectoryMatch></code> - $B%;%/%7%g%s$G$O;H$&$3$H$,$G$-$^$;$s(B - ($B$=$l$i$N%*%W%7%g%s$OC1$KL5;k$5$l$^$9(B)$B!#$=$l$i$N%*%W%7%g%s$O(B - <code><Directory></code> $B%;%/%7%g%s(B ($B$b$7$/$O(B - <code>.htaccess</code> $B%U%!%$%k(B) $B$NCf$G$N$_;HMQ2DG=$G$9!#(B</li> - </ul> - - <p><code><Files></code> $B$H(B <code>Options</code>:</p> - - <ul> - <li>Apache $B$O$3$N>u67$O%A%'%C%/$7$^$;$s$,!"(B - <code><Files></code> $B%;%/%7%g%s$NCf$G(B <code>Options</code> - $B%G%#%l%/%F%#%V$r;HMQ$7$F$b8z2L$O$"$j$^$;$s!#(B</li> - </ul> - - <p>$BB>$NCm0U(B:</p> - - <ul> - <li>$B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL - $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B - <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B - <code><Location></code>/<code><LocationMatch></code> - $B$,9T$J$o$l$^$9!#(B - $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B - </li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/server-wide.html.en b/usr.sbin/httpd/htdocs/manual/server-wide.html.en deleted file mode 100644 index 9af60c5b5fe..00000000000 --- a/usr.sbin/httpd/htdocs/manual/server-wide.html.en +++ /dev/null @@ -1,279 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Server-Wide Configuration</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Server-Wide Configuration</h1> - - <p>This document explains some of the directives provided by - the <a href="mod/core.html">core</a> server which are used to - configure the basic operations of the server.</p> - - <ul> - <li><a href="#identification">Server Identification</a></li> - - <li><a href="#locations">File Locations</a></li> - - <li><a href="#process">Process Creation</a></li> - - <li><a href="#network">Network Configuration</a></li> - - <li><a href="#resource">Limiting Resource Usage</a></li> - </ul> - <hr /> - - <h2><a id="identification" name="identification">Server - Identification</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="mod/core.html#servername">ServerName</a><br /> - <a href="mod/core.html#serveradmin">ServerAdmin</a><br /> - <a - href="mod/core.html#serversignature">ServerSignature</a><br /> - <a - href="mod/core.html#servertokens">ServerTokens</a><br /> - <a - href="mod/core.html#usecanonicalname">UseCanonicalName</a><br /> - </td> - </tr> - </table> - - <p>The <code>ServerAdmin</code> and <code>ServerTokens</code> - directives control what information about the server will be - presented in server-generated documents such as error messages. - The <code>ServerTokens</code> directive sets the value of the - Server HTTP response header field.</p> - - <p>The <code>ServerName</code> and - <code>UseCanonicalName</code> directives are used by the server - to determine how to construct self-referential URLs. For - example, when a client requests a directory, but does not - include the trailing slash in the directory name, Apache must - redirect the client to the full name including the trailing - slash so that the client will correctly resolve relative - references in the document.</p> - <hr /> - - <h2><a id="locations" name="locations">File Locations</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#coredumpdirectory">CoreDumpDirectory</a><br /> - <a - href="mod/core.html#documentroot">DocumentRoot</a><br /> - <a href="mod/core.html#errorlog">ErrorLog</a><br /> - <a href="mod/core.html#lockfile">Lockfile</a><br /> - <a href="mod/core.html#pidfile">PidFile</a><br /> - <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a><br /> - <a href="mod/core.html#serverroot">ServerRoot</a><br /> - </td> - </tr> - </table> - - <p>These directives control the locations of the various files - that Apache needs for proper operation. When the pathname used - does not begin with a slash "/", the files are located relative - to the <code>ServerRoot</code>. Be careful about locating files - in paths which are writable by non-root users. See the <a - href="misc/security_tips.html">security tips</a> documentation - for more details.</p> - <hr /> - - <h2><a id="process" name="process">Process Creation</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#bs2000account">BS2000Account</a><br /> - <a href="mod/core.html#group">Group</a><br /> - <a href="mod/core.html#maxclients">MaxClients</a><br /> - <a - href="mod/core.html#maxrequestsperchild">MaxRequestsPerChild</a><br /> - <a - href="mod/core.html#maxspareservers">MaxSpareServers</a><br /> - <a - href="mod/core.html#minspareservers">MinSpareServers</a><br /> - <a href="mod/core.html#servertype">ServerType</a><br /> - <a - href="mod/core.html#startservers">StartServers</a><br /> - <a - href="mod/core.html#threadsperchild">ThreadsPerChild</a><br /> - <a href="mod/core.html#user">User</a><br /> - </td> - </tr> - </table> - - <p>When <code>ServerType</code> is set to its recommended value - of <code>Standalone</code>, Apache 1.3 for Unix is a - pre-forking web server. A single control process is responsible - for launching child processes which listen for connections and - serve them when they arrive. Apache always tries to maintain - several <em>spare</em> or idle server processes, which stand - ready to serve incoming requests. In this way, clients do not - need to wait for a new child processes to be forked before - their requests can be served.</p> - - <p>The <code>StartServers</code>, <code>MinSpareServers</code>, - <code>MaxSpareServers</code>, and <code>MaxServers</code> - regulate how the parent process creates children to serve - requests. In general, Apache is very self-regulating, so most - sites do not need to adjust these directives from their default - values. Sites which need to serve more than 256 simultaneous - requests may need to increase <code>MaxClients</code>, while - sites with limited memory may need to decrease - <code>MaxClients</code> to keep the server from thrashing - (swapping memory to disk and back). More information about - tuning process creation is provided in the <a - href="misc/perf-tuning.html">performance hints</a> - documentation.</p> - - <p>While the parent process is usually started as root under - Unix in order to bind to port 80, the child processes are - launched by Apache as a less-privileged user. The - <code>User</code> and <code>Group</code> directives are used to - set the privileges of the Apache child processes. The child - processes must be able to read all the content that will be - served, but should have as few privileges beyond that as - possible. In addition, unless <a href="suexec.html">suexec</a> - is used, these directives also set the privileges which will be - inherited by CGI scripts.</p> - - <p><code>MaxRequestsPerChild</code> controls how frequently the - server recycles processes by killing old ones and launching new - ones.</p> - - <p>Under Windows, Apache launches one control process and one - child process. The child process creates multiple threads to - serve requests. The number of threads is controlled by the - <code>ThreadsPerChild</code> directive.</p> - <hr /> - - <h2><a id="network" name="network">Network - Configuration</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="mod/core.html#bindaddress">BindAddress</a><br /> - <a href="mod/core.html#keepalive">KeepAlive</a><br /> - <a - href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br /> - <a href="mod/core.html#listen">Listen</a><br /> - <a - href="mod/core.html#listenbacklog">ListenBackLog</a><br /> - <a - href="mod/core.html#acceptfilter">AcceptFilter</a><br /> - <a href="mod/core.html#acceptmutex">AcceptMutex</a><br /> - <a - href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br /> - <a href="mod/core.html#port">Port</a><br /> - <a - href="mod/core.html#sendbuffersize">SendBufferSize</a><br /> - <a href="mod/core.html#timeout">TimeOut</a><br /> - </td> - </tr> - </table> - - <p>When Apache starts, it connects to some port and address on - the local machine and waits for incoming requests. By default, - it listens to all addresses on the machine, and to the port as - specified by the <code>Port</code> directive in the server - configuration. However, it can be told to listen to more than - one port, to listen to only selected addresses, or a - combination. This is often combined with the <a - href="vhosts/">Virtual Host</a> feature which determines how - Apache responds to different IP addresses, hostnames and - ports.</p> - - <p>There are two directives used to restrict or specify which - addresses and ports Apache listens to. The - <code>BindAddress</code> directive is used to restrict the - server to listening to a single IP address. The - <code>Listen</code> directive can be used to specify multiple - IP addresses and/or Ports to which Apache will listen.</p> - - <p>The <code>ListenBackLog</code>, <code>SendBufferSize</code>, - and <code>TimeOut</code> directives are used to adjust how - Apache interacts with the network.<code>AcceptFilter</code> - controls a BSD specific filter optimization. See the BSD - section on <a href="misc/perf-bsd44.html">performance hints</a> - documentation. <code>AcceptMutex</code> controls which accept - mutex method will be used. For an explanation of what this is - and why it's needed, see the <a - href="misc/perf-tuning.html">performance tuning guide</a></p> - - <p>The <code>KeepAlive</code>, <code>KeepAliveTimeout</code>, - and <code>MaxKeepAliveRequests</code> directives are used to - configure how Apache handles persistent connections.</p> - <hr /> - - <h2><a id="resource" name="resource">Limiting Resource - Usage</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="mod/core.html#limitrequestbody">LimitRequestBody</a><br /> - <a - href="mod/core.html#limitrequestfields">LimitRequestFields</a><br /> - <a - href="mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a><br /> - <a - href="mod/core.html#limitrequestline">LimitRequestLine</a><br /> - <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br /> - <a href="mod/core.html#rlimitmem">RLimitMEM</a><br /> - <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br /> - <a - href="mod/core.html#threadstacksize">ThreadStackSize</a><br /> - </td> - </tr> - </table> - - <p>The <code>LimitRequest</code>* directives are used to place - limits on the amount of resources Apache will use in reading - requests from clients. By limiting these values, some kinds of - denial of service attacks can be mitigated.</p> - - <p>The <code>RLimit</code>* directives are used to limit the - amount of resources which can be used by processes forked off - from the Apache children. In particular, this will control - resources used by CGI scripts and SSI exec commands.</p> - - <p>The <code>ThreadStackSize</code> directive is used only on - Netware to control the stack size.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/server-wide.html.fr b/usr.sbin/httpd/htdocs/manual/server-wide.html.fr deleted file mode 100644 index e6e8a880ad1..00000000000 --- a/usr.sbin/httpd/htdocs/manual/server-wide.html.fr +++ /dev/null @@ -1,320 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--English revision 1.8 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Configuration globale du serveur</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Configuration globale du serveur</h1> - - <p>Ce document décrit certaines directives - traitées par le <a href="mod/core.html">noyau</a> du - serveur qui sont utilisées pour configurer les - opérations de base du serveur.</p> - - <ul> - <li><a href="#identification">Identification du - serveur</a></li> - - <li><a href="#locations">Emplacement des fichiers</a></li> - - <li><a href="#process">Création des processus</a></li> - - <li><a href="#network">Configuration réseau</a></li> - - <li><a href="#resource">Limitation de l'utilisation des - ressources</a></li> - </ul> - <hr /> - - <h2><a id="identification" name="identification">Identification - du serveur</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - associées</strong><br /> - <br /> - <a href="mod/core.html#servername">ServerName</a><br /> - <a href="mod/core.html#serveradmin">ServerAdmin</a><br /> - <a - href="mod/core.html#serversignature">ServerSignature</a><br /> - <a - href="mod/core.html#servertokens">ServerTokens</a><br /> - <a - href="mod/core.html#usecanonicalname">UseCanonicalName</a><br /> - </td> - </tr> - </table> - - <p>Les directives <code>ServerAdmin</code> and - <code>ServerTokens</code> contrôlent quelles informations - du serveur seront présentées dans les pages - générées par le serveur telles que les - messages d'erreur. La directive <code>ServerTokens</code> - assigne la valeur du champ serveur dans les en-têtes de - réponse HTTP.</p> - - <p>Les directives <code>ServerName</code> and - <code>UseCanonicalName</code> sont utilisées pour - déterminer comment former les URLs s'auto - référençant. Par exemple, quand un client - requiert un répertoire, mais n'inclut pas de barre - oblique finale dans le nom du répertoire, Apache doit - rediriger le client vers le nom complet, incluant la barre - oblique finale permettant ainsi au client de résoudre - correctement les références relatives contenues - dans le document.</p> - <hr /> - - <h2><a id="locations" name="locations">Emplacement des - fichiers</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - associées</strong><br /> - <br /> - <a - href="mod/core.html#coredumpdirectory">CoreDumpDirectory</a><br /> - <a - href="mod/core.html#documentroot">DocumentRoot</a><br /> - <a href="mod/core.html#errorlog">ErrorLog</a><br /> - <a href="mod/core.html#lockfile">Lockfile</a><br /> - <a href="mod/core.html#pidfile">PidFile</a><br /> - <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a><br /> - <a href="mod/core.html#serverroot">ServerRoot</a><br /> - </td> - </tr> - </table> - - <p>Ces directives contrôlent les emplacements des - différents fichiers qu'Apache utilise pour ses propres - besoins. Quand le chemin employé ne commence pas par une - barre oblique, les fichiers sont localisés relativement - à <code>ServerRoot</code>. Soyez attentifs à - placer ces fichiers dans des chemins qui sont autorisés - en écriture aux utilisateurs autres que root. Voir les - <a href="misc/security_tips.html">trucs sur la - sécurité</a> pour plus de détails.</p> - <hr /> - - <h2><a id="process" name="process">Création des - processus</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - associées</strong><br /> - <br /> - <a - href="mod/core.html#bs2000account">BS2000Account</a><br /> - <a href="mod/core.html#group">Group</a><br /> - <a href="mod/core.html#maxclients">MaxClients</a><br /> - <a - href="mod/core.html#maxrequestsperchild">MaxRequestsPerChild</a><br /> - <a - href="mod/core.html#maxspareservers">MaxSpareServers</a><br /> - <a - href="mod/core.html#minspareservers">MinSpareServers</a><br /> - <a href="mod/core.html#servertype">ServerType</a><br /> - <a - href="mod/core.html#startservers">StartServers</a><br /> - <a - href="mod/core.html#threadsperchild">ThreadsPerChild</a><br /> - <a href="mod/core.html#user">User</a><br /> - </td> - </tr> - </table> - - <p>Si la directive <code>ServerType</code> est définie - avec la valeur recommandée de <code>Standalone</code>, - Apache 1.3 sur Unix est basé sur un modèle de - prélancement des processus. Un unique processus de - contrôle est responsable de lancer des processus fils qui - écoutent les connexions et les traitent à leur - arrivée. Apache essaye de maintenir un certain nombre de - processus en réserve ou inactifs, qui restent toujours - prêts à traiter les requêtes arrivantes. De - cette manière, les clients n'ont pas à attendre - que de nouveaux processus fils soient lancés avant que - leurs requêtes soient traitées.</p> - - <p>Les directives <code>StartServers</code>, - <code>MinSpareServers</code>, <code>MaxSpareServers</code>, et - <code>MaxServers</code> régissent comment le processus - père crée les processus fils pour traiter les - requêtes. En général Apache se régit - seul correctement, et la plupart des sites n'ont pas besoin - d'ajuster la valeur de ces directives. Les sites qui veulent - servir plus de 256 requêtes simultanées doivent - augmenter la valeur de <code>MaxClients</code>, tandis que les - sites tournant sur des machines limitées en - mémoire doivent réduire la valeur de - <code>MaxClients</code> afin d'éviter d'utiliser le - fichier d'échange. Plus d'informations sur le - paramétrage de la création des processus se - trouvent dans la documentation <a - href="misc/perf-tuning.html">Aide sur les performances - générales</a>.</p> - - <p>Tandis que le processus père est - généralement lancé en tant que root sous - Unix pour se connecter sur le port 80, les processus fils sont - lancés sous un utilisateur moins - privilégié. Les directives <code>User</code> et - <code>Group</code> servent à définir les - privilèges des processus fils. Les processus fils - doivent être capable de lire le contenu devant être - servi, mais doivent avoir le minimum de privilèges - possibles. De plus, à moins que <a - href="suexec.html">suexec</a> soit utilisé, ces - directives définissent également les droits qui - seront hérités par les scripts CGI.</p> - - <p><code>MaxRequestsPerChild</code> contrôle la - fréquence de rénovation des processus, en - supprimant les anciens et en lançant de nouveaux.</p> - - <p>Sous Windows, Apache lance un processus père et un - processus fils. Le processus fils crée un ensemble de - threads pour traiter les requêtes. Le nombre de threads - est contrôlé par la directive - <code>ThreadsPerChild</code>.</p> - <hr /> - - <h2><a id="network" name="network">Configuration - réseau</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - associées</strong><br /> - <br /> - <a href="mod/core.html#bindaddress">BindAddress</a><br /> - <a href="mod/core.html#keepalive">KeepAlive</a><br /> - <a - href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br /> - <a href="mod/core.html#listen">Listen</a><br /> - <a - href="mod/core.html#listenbacklog">ListenBackLog</a><br /> - <a - href="mod/core.html#acceptfilter">AcceptFilter</a><br /> - <a - href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br /> - <a href="mod/core.html#port">Port</a><br /> - <a - href="mod/core.html#sendbuffersize">SendBufferSize</a><br /> - <a href="mod/core.html#timeout">TimeOut</a><br /> - </td> - </tr> - </table> - - <p>Au démarrage d'Apache, celui ci se connecte à - un port et une adresse donnés sur la machine locale et - attend l'arrivée de requêtes. Par défaut, - il écoute sur toutes les adresses, et sur le port - défini par la directive <code>Port</code>. Toutefois, on - peut lui indiquer d'écouter sur plus d'un port, de - n'écouter qu'à partir d'une seule adresse, ou une - combinaison des deux. Ceci est généralement - combiné avec la fonction d' <a href="vhosts/">hôte - virtuel</a> qui détermine comment Apache répond - aux différentes adresses IP, noms d'hôtes et - ports.</p> - - <p>Il y a deux directives qui permettent de restreindre ou de - spécifier quelles adresses et quels ports Apache doit - écouter. La directive <code>BindAddress</code> restreint - le serveur à n'écouter qu'une seule adresse IP. - La directive <code>Listen</code> peut être - utilisée pour spécifier un ensemble d'adresses et - de ports qu'Apache doit écouter.</p> - - <p>Les directives <code>ListenBackLog</code>, - <code>SendBufferSize</code>, et <code>TimeOut</code> permettent - d'adjuster comment Apache interagit avec le réseau. La - directive <code>AcceptFilter</code> contrôle une - optimisation spécifique à BSD. Veuillez vous - référer à la section concernant BSD dans - la <a href="misc/perf-bsd44.html">documentation sur la - performance. --></a></p> - <br /> - <br /> - - - <p>Les directives <code>KeepAlive</code>, - <code>KeepAliveTimeout</code>, et - <code>MaxKeepAliveRequests</code> définissent comment - Apache gère les connexions persistantes.</p> - <hr /> - - <h2><a id="resource" name="resource">Limitation de - l'utilisation des Ressources</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Directives - associées</strong><br /> - <br /> - <a - href="mod/core.html#limitrequestbody">LimitRequestBody</a><br /> - <a - href="mod/core.html#limitrequestfields">LimitRequestFields</a><br /> - <a - href="mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a><br /> - <a - href="mod/core.html#limitrequestline">LimitRequestLine</a><br /> - <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br /> - <a href="mod/core.html#rlimitmem">RLimitMEM</a><br /> - <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br /> - <a - href="mod/core.html#threadstacksize">ThreadStackSize</a><br /> - </td> - </tr> - </table> - - <p>Les directives commençant par - <code>LimitRequest</code> sont employées pour fixer des - limites sur la quantité de ressources qui seront - utilisées pendant la lecture des requêtes - clientes. En limitant ces valeurs, certains types de - déni de service peuvent être - atténués.</p> - - <p>Les directives commençant par <code>RLimit</code> - sont employées pour fixer des limites sur la - quantité de ressources qu'utiliseront les processus - lancés par les processus enfants Apache. En particulier, - elles contrôle les ressources utilisées par les - scripts CGI et les commandes exec SSI.</p> - - <p>La directive <code>ThreadStackSize</code> est - utilisée seulement sur Netware pour contrôler la - taille de la pile.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/server-wide.html.ja.jis b/usr.sbin/httpd/htdocs/manual/server-wide.html.ja.jis deleted file mode 100644 index 117b11b6c2e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/server-wide.html.ja.jis +++ /dev/null @@ -1,279 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Server-Wide Configuration</title> - - </head> - <!-- English revision: 1.10 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">$B%5!<%PA4BN$N@_Dj(B</h1> - - <p>$B$3$N%I%-%e%a%s%H$G$O(B<a href="mod/core.html">$B%3%"(B</a>$B%5!<%P$N(B - $B%G%#%l%/%F%#%V$NCf$G!"4pK\F0:n$r@_Dj$9$k$?$a$N$b$N$r@bL@$7$^$9!#(B - </p> - - <ul> - <li><a href="#identification">$B%5!<%P(B ID</a></li> - - <li><a href="#locations">$B%U%!%$%k$N0LCV(B</a></li> - - <li><a href="#process">$B%W%m%;%9@8@.(B</a></li> - - <li><a href="#network">$B%M%C%H%o!<%/@_Dj(B</a></li> - - <li><a href="#resource">$B%j%=!<%9$N@)8B(B</a></li> - </ul> - <hr /> - - <h2><a id="identification" name="identification">$B%5!<%P(B ID</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="mod/core.html#servername">ServerName</a><br /> - <a - href="mod/core.html#serveradmin">ServerAdmin</a><br /> - <a - href="mod/core.html#serversignature">ServerSignature</a><br /> - <a - href="mod/core.html#servertokens">ServerTokens</a><br /> - <a href="mod/core.html#usecanonicalname">UseCanonicalName</a><br /> - </td> - </tr> - </table> - - <p><code>ServerAdmin</code> $B%G%#%l%/%F%#%V$H(B <code>ServerTokens</code> - $B%G%#%l%/%F%#%V$O!"%(%i!<%a%C%;!<%8$J$I$N%5!<%P$,:n$k%I%-%e%a%s%H$K!"(B - $B$I$N$h$&$J%5!<%P$N>pJs$rI=<($9$k$+$r@)8f$7$^$9!#(B - <code>ServerTokens</code> $B%G%#%l%/%F%#%V$O!"(BServer HTTP - $B%l%9%]%s%9%X%C%@%U%#!<%k%I$NCM$r@_Dj$7$^$9!#(B</p> - - <p><code>ServerName</code> $B%G%#%l%/%F%#%V$H(B - <code>UseCanonicalName</code> $B%G%#%l%/%F%#%V$O!"(B - $B%5!<%P$,<+J,<+?H$r;2>H$9$k(B URL $B$r:n$k$H$-$K;H$o$l$^$9!#$?$H$($P!"(B - $B%/%i%$%"%s%H$,%G%#%l%/%H%j$rMW5a$7$F!"$=$N%G%#%l%/%H%jL>$N:G8e$K(B - $B%9%i%C%7%e$,IU$$$F$$$J$$$h$&$J>l9g$K$O!"%I%-%e%a%s%H$NAjBPE*$J(B - $B;2>H$r@5$7$/2r7h$G$-$k$h$&$K$9$k$?$a$K!"(BApache $B$O:G8e$N%9%i%C%7%e(B - $B$r4^$s$@40A4$J%Q%9$K%/%i%$%"%s%H$r%j%@%$%l%/%H$5$;$kI,MW$,$"$j$^$9!#(B - </p> - <hr /> - - <h2><a id="locations" name="locations">$B%U%!%$%k$N0LCV(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#coredumpdirectory">CoreDumpDirectory</a><br /> - <a - href="mod/core.html#documentroot">DocumentRoot</a><br /> - <a href="mod/core.html#errorlog">ErrorLog</a><br /> - <a href="mod/core.html#lockfile">Lockfile</a><br /> - <a href="mod/core.html#pidfile">PidFile</a><br /> - <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a><br /> - <a href="mod/core.html#serverroot">ServerRoot</a><br /> - </td> - </tr> - </table> - - <p>$B$3$l$i$N%G%#%l%/%F%#%V$O(B Apache $B$,E,@Z$JF0:n$r$9$k$?$a$KI,MW$J(B - $B3F<o%U%!%$%k$N0LCV$r@)8f$7$^$9!#%Q%9$,%9%i%C%7%e(B "/" - $B$G;O$^$C$F$$$J$$$H$-$O!"%U%!%$%k$O(B <code>ServerRoot</code> - $B$+$i$NAjBP%Q%9$H$7$FC5$5$l$^$9!#(B - root $B0J30$N%f!<%6$,=q$-9~$_2DG=$J%Q%9$K%U%!%$%k$rCV$/>l9g$OCm0U$,I,MW$G$9!#(B - $B>\:Y$O(B<a href="misc/security_tips.html">$B!V%;%-%e%j%F%#>pJs!W(B</a>$B$r(B - $B;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="process" name="process">$B%W%m%;%9@8@.(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#bs2000account">BS2000Account</a><br /> - <a href="mod/core.html#group">Group</a><br /> - <a href="mod/core.html#maxclients">MaxClients</a><br /> - <a - href="mod/core.html#maxrequestsperchild">MaxRequestsPerChild</a><br /> - <a - href="mod/core.html#maxspareservers">MaxSpareServers</a><br /> - <a - href="mod/core.html#minspareservers">MinSpareServers</a><br /> - <a href="mod/core.html#servertype">ServerType</a><br /> - <a - href="mod/core.html#startservers">StartServers</a><br /> - <a - href="mod/core.html#threadsperchild">ThreadsPerChild</a><br /> - <a href="mod/core.html#user">User</a><br /> - </td> - </tr> - </table> - - <p><code>ServerType</code> $B$K?d>)$5$l$F$$$kCM$G$"$k(B - <code>Standalone</code> $B$,@_Dj$5$l$F$$$k>l9g$O!"(BUnix $B>e$G$N(B Apache - $B$O(B pre-forking $B%5!<%P$G$9!#$=$3$G$O0l$D$N@)8fMQ%W%m%;%9$,;R%W%m%;%9$r(B - $B5/F0$9$k@UG$$r;}$A$^$9!#$=$7$F!";R%W%m%;%9$O%W%m%;%9$,@8B8$7$F$$$k4V(B - listen $B$7!"@\B3$5$l$?$i$=$N%3%M%/%7%g%s$KBP$9$k=hM}$r9T$J$$$^$9!#(B - Apache $B$O%j%/%(%9%H$,Mh$?$H$-$K$9$0$K1~Ez$G$-$k$h$&$K!">o$KJ#?t$N(B - <em>$B%9%Z%"(B</em>$B%5!<%P%W%m%;%9!"$^$?$O%"%$%I%k%5!<%P%W%m%;%9$r0];}(B - $B$7$h$&$H$7$^$9!#$3$&$9$k$3$H$G!"%j%/%(%9%H$,07$o$l$kA0$K?7$7$$;R%W%m%;%9$,(B - fork $B$5$l$k$N$r%/%i%$%"%s%H$,BT$DI,MW$,$J$/$J$j$^$9!#(B</p> - - <p><code>StartServers</code>, <code>MinSpareServers</code>, - <code>MaxSpareServers</code>, <code>MaxServers</code> $B$O!"(B - $B?F%W%m%;%9$,%j%/%(%9%H$r07$&$3$H$K$J$k;R%W%m%;%9$r:n@.$9$kJ}K!$r@)8f$7$^$9!#(B - $BDL>o!"(BApache $B$OHs>o$K<+@)E*$G$9$N$G!"$[$H$s$I$N%5%$%H$G$O(B - $B%G%U%)%k%HCM$+$iJQ99$9$kI,MW$O$"$j$^$;$s!#$?$@!"F1;~$K(B 256 $B$rD6$($k(B - $B%j%/%(%9%H$r07$&%5%$%H$O(B <code>MaxClients</code> $B$rA}$d$9I,MW$,$"$k$G$7$g$&!#(B - $B0lJ}!"%a%b%j$N>/$J$$%5%$%H$G$O!"%5!<%P$,%9%i%C%7%s%0(B ($B%a%b%j$r%G%#%9%/$K(B - $B%9%o%C%W$7$?$j!"%a%b%j$KLa$7$?$j$9$k$N$r7+$jJV$9(B) $B$rKI$0$?$a$K(B - <code>MaxClients</code> $B$r8:$i$9I,MW$,$"$k$G$7$g$&!#(B - $B%W%m%;%9:n@.$r%A%e!<%s$9$k$?$a$N>\$7$$>pJs$O(B - <a href="misc/perf-tuning.html">$B@-G=$N>pJs(B</a> - $B%I%-%e%a%s%H$r;2>H$7$F$/$@$5$$!#(B - </p> - - <p>Unix $B$G$ODL>o!"?F%W%m%;%9$O(B 80 $BHV%]!<%H$r%P%$%s%I$9$k$?$a$K(B - root $B$G5/F0$5$l$^$9$,!";R%W%m%;%9$O(B Apache $B$+$i$h$jFC8"$N>/$J$$(B - $B%f!<%6$H$7$F5/F0$5$l$^$9!#(B<code>User</code> $B%G%#%l%/%F%#%V$H(B - <code>Group</code>$B%G%#%l%/%F%#%V$O!"(BApache $B$N;R%W%m%;%9$K@_Dj$5$l$k(B - $BFC8"$r@_Dj$9$k$?$a$K;HMQ$5$l$^$9!#;R%W%m%;%9$ODs6!$9$k$9$Y$F$N(B - $B%3%s%F%s%D$rFI$a$J$1$l$P$$$1$^$;$s$,!"(B - $B$=$l0J>e$NFC8"$O>/$J$1$l$P>/$J$$J}$,K>$^$7$$$G$9!#(B - $B$^$?!"(B<a href="suexec.html">suexec</a> $B$,;HMQ$5$l$F$$$J$$$H$-$O!"(B - CGI $B%9%/%j%W%H$,7Q>5$9$kFC8"$K$b$3$l$i$N%G%#%l%/%F%#%V$N(B - $B@_Dj$,E,MQ$5$l$^$9!#(B</p> - - <p><code>MaxRequestsPerChild</code> $B$O!"%5!<%P$,8E$$%W%m%;%9$r(B - kill $B$7$F?7$7$$%W%m%;%9$r5/F0$9$k$3$H$G!"(B - $B%W%m%;%9$r:FMxMQ$9$kIQEY$r@_Dj$7$^$9!#(B</p> - - <p>Windows $B$G$O!"(BApache $B$O@)8f%W%m%;%90l$D$H;R%W%m%;%90l$D$G%9%?!<%H(B - $B$7$^$9!#;R%W%m%;%9$O%j%/%(%9%H$K1~$($k$?$a$KJ#?t$N%9%l%C%I$r:n@.$7$^$9!#(B - $B%9%l%C%I$N?t$O(B <code>ThreadsPerChild</code> $B%G%#%l%/%F%#%V$G@)8f$7$^$9!#(B - </p> - <hr /> - - <h2><a id="network" name="network">$B%M%C%H%o!<%/@_Dj(B</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="mod/core.html#bindaddress">BindAddress</a><br /> - <a href="mod/core.html#keepalive">KeepAlive</a><br /> - <a - href="mod/core.html#keepalivetimeout">KeepAliveTimeout</a><br /> - <a href="mod/core.html#listen">Listen</a><br /> - <a - href="mod/core.html#listenbacklog">ListenBackLog</a><br /> - <a - href="mod/core.html#acceptfilter">AcceptFilter</a><br /> - <a href="mod/core.html#acceptmutex">AcceptMutex</a><br /> - <a - href="mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a><br /> - <a href="mod/core.html#port">Port</a><br /> - <a - href="mod/core.html#sendbuffersize">SendBufferSize</a><br /> - <a href="mod/core.html#timeout">TimeOut</a><br /> - </td> - </tr> - </table> - - - <p>Apache $B$O5/F0$9$k$H!"%m!<%+%k%^%7%s$N2?$i$+$N%]!<%HHV9f$H(B - $B%"%I%l%9$K%3%M%/%H$7!"%j%/%(%9%H$rBT$A$^$9!#%G%U%)%k%H$G$O!"(B - $B%^%7%s$K3d$jEv$F$i$l$F$$$k$9$Y$F$N%"%I%l%9$G%5!<%P@_Dj$N(B - <code>Port</code> $B%G%#%l%/%F%#%V$G;XDj$5$l$F$$$k%]!<%HHV9f$r(B listen - $B$7$^$9!#Fs$D0J>e$N%]!<%H$r(B listen $B$7$?$j!"A*Br$5$l$?%"%I%l%9$N$_$r(B - listen $B$7$?$j!"$=$NAH$_9g$o$;$r(B listen $B$7$?$j$9$k$h$&$K$b$G$-$^$9!#(B - $B0c$&(B IP $B%"%I%l%9!"%[%9%HL>!"%]!<%HHV9f$K$h$C$F(B Apache $B$N1~Ez$r(B - $B7hDj$9$k(B<a href="vhosts/">$B%P!<%A%c%k%[%9%H(B</a>$B5!G=$HAH$_9g$o$;$F(B - $B;H$o$l$k$3$H$,$h$/$"$j$^$9!#(B - </p> - - <p>Apache $B$,(B listen $B$9$k%"%I%l%9$H%]!<%HHV9f$r;XDj!"(B - $B$b$7$/$O@)8B$9$k%G%#%l%/%F%#%V$OFs$D$"$j$^$9!#(B - <code>BindAddress</code> $B%G%#%l%/%F%#%V$O%5!<%P$,0l$D$N(B IP - $B%"%I%l%9$@$1$r(B listen $B$5$;$k$?$a$K;HMQ$5$l$^$9!#(B - <code>Listen</code> $B%G%#%l%/%F%#%V$O(B Apache $B$,(B listen $B$9$k(B IP $B%"%I%l%9$H(B - $B%]!<%HHV9f$NAH!"$^$?$O$I$A$i$+0lJ}$rJ#?t;XDj$9$k$?$a$K;HMQ$5$l$^$9!#(B</p> - - <p><code>ListenBackLog</code> $B%G%#%l%/%F%#%V!"(B<code>SendBufferSize</code> - $B%G%#%l%/%F%#%V!"(B<code>TimeOut</code> $B%G%#%l%/%F%#%V$O!"(BApache $B$H(B - $B%M%C%H%o!<%/$H$N4X78$rD4@0$7$^$9!#(B<code>AcceptFilter</code> - $B$O(B BSD $BFCM-$N%U%#%k%?$N:GE,2=$r@)8f$7$^$9!#(B - <a href="misc/perf-bsd44.html">$B@-G=$K4X$9$k%R%s%H(B</a>$B$N(B BSD $B$N@a$r(B - $B8+$F$/$@$5$$!#(B<code>AcceptMutex</code> $B$O$I$N$h$&$K(B accept $B;~$N(B - $BGSB>@)8f$r9T$J$&$+$r@)8f$7$^$9!#$3$l$,0lBN2?$G!"$J$<I,MW$G$"$k$+$O!"(B - <a href="misc/perf-tuning.html">$B0lHLE*$J@-G=$K4X$9$k%R%s%H(B</a> - $B$r8+$F$/$@$5$$!#(B</p> - - <p><code>KeepAlive</code> $B%G%#%l%/%F%#%V!"(B<code>KeepAliveTimeout</code> - $B%G%#%l%/%F%#%V!"(B<code>MaxKeepAliveRequests</code> $B%G%#%l%/%F%#%V$O!"(B - Apache $B$,(B persistent connection $B$r$I$N$h$&$K07$&$+$r@)8f$7$^$9!#(B</p> - <hr /> - - <h2><a id="resource" name="resource">$B%j%=!<%9$N@)8B(B</a></h2> - - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="mod/core.html#limitrequestbody">LimitRequestBody</a><br /> - <a - href="mod/core.html#limitrequestfields">LimitRequestFields</a><br /> - <a - href="mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a><br /> - <a - href="mod/core.html#limitrequestline">LimitRequestLine</a><br /> - <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br /> - <a href="mod/core.html#rlimitmem">RLimitMEM</a><br /> - <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br /> - <a - href="mod/core.html#threadstacksize">ThreadStackSize</a><br /> - </td> - </tr> - </table> - - <p><code>LimitRequest</code>* $B%G%#%l%/%F%#%V$O(B Apache $B$,(B - $B%/%i%$%"%s%H$+$i$N%j%/%(%9%HFI$_9~$_$G;H$&%j%=!<%9$r@)8B$9$k$?$a$K(B - $B;H$o$l$^$9!#$3$l$i$NCM$r@)8B$9$k$3$H$G!"$$$/$D$+$N%5!<%S%95qH]967b$N(B - $B1F6A$rOB$i$2$k$3$H$,$G$-$^$9!#(B</p> - - <p><code>RLimit</code>* $B%G%#%l%/%F%#%V$O!"(BApache $B$N;R%W%m%;%9$+$i(B - fork $B$5$l$?%W%m%;%9$,;HMQ$9$k%j%=!<%9$r@)8B$9$k$?$a$K(B - $B;H$o$l$^$9!#FC$K!"$3$l$O(B CGI $B%9%/%j%W%H$H(B SSI exec $B%3%^%s%I$G(B - $B;H$o$l$k%j%=!<%9$r@)8f$7$^$9!#(B</p> - - <p><code>ThreadStackSize</code> $B$O(B Netware $B$G$N$_!"(B - $B%9%?%C%/$NBg$-$5$r@)8f$9$k$?$a$K;H$o$l$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/stopping.html.en b/usr.sbin/httpd/htdocs/manual/stopping.html.en deleted file mode 100644 index 9854a4b57b4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/stopping.html.en +++ /dev/null @@ -1,208 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Stopping and Restarting Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Stopping and Restarting Apache</h1> - - <p>This document covers stopping and restarting Apache on Unix - and Cygwin only. Windows users should see <a - href="windows.html#signal">Signalling Apache when - running</a>.</p> - - <p>You will notice many <code>httpd</code> executables running - on your system, but you should not send signals to any of them - except the parent, whose pid is in the <a - href="mod/core.html#pidfile">PidFile</a>. That is to say you - shouldn't ever need to send signals to any process except the - parent. There are three signals that you can send the parent: - <code>TERM</code>, <code>HUP</code>, and <code>USR1</code>, - which will be described in a moment.</p> - - <p>To send a signal to the parent you should issue a command - such as:</p> - - <blockquote> -<pre> - kill -TERM `cat /usr/local/apache/logs/httpd.pid` -</pre> - </blockquote> - You can read about its progress by issuing: - - <blockquote> -<pre> - tail -f /usr/local/apache/logs/error_log -</pre> - </blockquote> - Modify those examples to match your <a - href="mod/core.html#serverroot">ServerRoot</a> and <a - href="mod/core.html#pidfile">PidFile</a> settings. - - <p>As of Apache 1.3 we provide a script called <a - href="programs/apachectl.html">apachectl</a> which can be used - to start, stop, and restart Apache. It may need a little - customization for your system, see the comments at the top of - the script.</p> - - <h3>TERM Signal: stop now</h3> - - <p>Sending the <code>TERM</code> signal to the parent causes it - to immediately attempt to kill off all of its children. It may - take it several seconds to complete killing off its children. - Then the parent itself exits. Any requests in progress are - terminated, and no further requests are served.</p> - - <h3>HUP Signal: restart now</h3> - - <p>Sending the <code>HUP</code> signal to the parent causes it - to kill off its children like in <code>TERM</code> but the - parent doesn't exit. It re-reads its configuration files, and - re-opens any log files. Then it spawns a new set of children - and continues serving hits.</p> - - <p>Users of the <a href="mod/mod_status.html">status module</a> - will notice that the server statistics are set to zero when a - <code>HUP</code> is sent.</p> - - <p><strong>Note:</strong> If your configuration file has errors - in it when you issue a restart then your parent will not - restart, it will exit with an error. See below for a method of - avoiding this.</p> - - <h3>USR1 Signal: graceful restart</h3> - - <p><strong>Note:</strong> prior to release 1.2b9 this code is - quite unstable and shouldn't be used at all.</p> - - <p>The <code>USR1</code> signal causes the parent process to - <em>advise</em> the children to exit after their current - request (or to exit immediately if they're not serving - anything). The parent re-reads its configuration files and - re-opens its log files. As each child dies off the parent - replaces it with a child from the new <em>generation</em> of - the configuration, which begins serving new requests - immediately.</p> - - <p>This code is designed to always respect the <a - href="mod/core.html#maxclients">MaxClients</a>, <a - href="mod/core.html#minspareservers">MinSpareServers</a>, and - <a href="mod/core.html#maxspareservers">MaxSpareServers</a> - settings. Furthermore, it respects <a - href="mod/core.html#startservers">StartServers</a> in the - following manner: if after one second at least StartServers new - children have not been created, then create enough to pick up - the slack. This is to say that the code tries to maintain both - the number of children appropriate for the current load on the - server, and respect your wishes with the StartServers - parameter.</p> - - <p>Users of the <a href="mod/mod_status.html">status module</a> - will notice that the server statistics are <strong>not</strong> - set to zero when a <code>USR1</code> is sent. The code was - written to both minimize the time in which the server is unable - to serve new requests (they will be queued up by the operating - system, so they're not lost in any event) and to respect your - tuning parameters. In order to do this it has to keep the - <em>scoreboard</em> used to keep track of all children across - generations.</p> - - <p>The status module will also use a <code>G</code> to indicate - those children which are still serving requests started before - the graceful restart was given.</p> - - <p>At present there is no way for a log rotation script using - <code>USR1</code> to know for certain that all children writing - the pre-restart log have finished. We suggest that you use a - suitable delay after sending the <code>USR1</code> signal - before you do anything with the old log. For example if most of - your hits take less than 10 minutes to complete for users on - low bandwidth links then you could wait 15 minutes before doing - anything with the old log.</p> - - <p><strong>Note:</strong> If your configuration file has errors - in it when you issue a restart then your parent will not - restart, it will exit with an error. In the case of graceful - restarts it will also leave children running when it exits. - (These are the children which are "gracefully exiting" by - handling their last request.) This will cause problems if you - attempt to restart the server -- it will not be able to bind to - its listening ports. Before doing a restart, you can check the - syntax of the configuration files with the <code>-t</code> - command line argument (see <a - href="programs/httpd.html">httpd</a> ). This still will not - guarantee that the server will restart correctly. To check the - semantics of the configuration files as well as the syntax, you - can try starting httpd as a non-root user. If there are no - errors it will attempt to open its sockets and logs and fail - because it's not root (or because the currently running httpd - already has those ports bound). If it fails for any other - reason then it's probably a config file error and the error - should be fixed before issuing the graceful restart.</p> - - <h3>Appendix: signals and race conditions</h3> - - <p>Prior to Apache 1.2b9 there were several <em>race - conditions</em> involving the restart and die signals (a simple - description of race condition is: a time-sensitive problem, as - in if something happens at just the wrong time it won't behave - as expected). For those architectures that have the "right" - feature set we have eliminated as many as we can. But it should - be noted that there still do exist race conditions on certain - architectures.</p> - - <p>Architectures that use an on disk <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a> have the - potential to corrupt their scoreboards. This can result in the - "bind: Address already in use" (after <code>HUP</code>) or - "long lost child came home!" (after <code>USR1</code>). The - former is a fatal error, while the latter just causes the - server to lose a scoreboard slot. So it might be advisable to - use graceful restarts, with an occasional hard restart. These - problems are very difficult to work around, but fortunately - most architectures do not require a scoreboard file. See the <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a> - documentation for a architecture uses it.</p> - - <p><code>NEXT</code> and <code>MACHTEN</code> (68k only) have - small race conditions which can cause a restart/die signal to - be lost, but should not cause the server to do anything - otherwise problematic. - <!-- they don't have sigaction, or we're not using it -djg --> - </p> - - <p>All architectures have a small race condition in each child - involving the second and subsequent requests on a persistent - HTTP connection (KeepAlive). It may exit after reading the - request line but before reading any of the request headers. - There is a fix that was discovered too late to make 1.2. In - theory this isn't an issue because the KeepAlive client has to - expect these events because of network latencies and server - timeouts. In practice it doesn't seem to affect anything either - -- in a test case the server was restarted twenty times per - second and clients successfully browsed the site without - getting broken images or empty documents. - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/stopping.html.fr b/usr.sbin/httpd/htdocs/manual/stopping.html.fr deleted file mode 100644 index bac6ac71f08..00000000000 --- a/usr.sbin/httpd/htdocs/manual/stopping.html.fr +++ /dev/null @@ -1,261 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /><!-- Traduction anglais 1.18 --> - - <title>Arrêt et redémarrage d'Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Arrêt et redémarrage - d'Apache</h1> - - <p>Ce document décrit l'arrêt et le - redémarrage d'Apache sur Unix et Cygwin seulement. Les - utilisateurs de Windows sont invités à lire le - paragraphe <a href="windows.html#signal">signaler à - Apache en cours d'exécution</a>.</p> - - <p>Lorsque qu'Apache s'exécute, vous pouvez noter que - plusieurs processus <code>httpd</code> s'exécutent en - même temps sur votre machine, mais vous ne devez envoyer - de signaux qu'à celui dont l'identifiant de processus - est celui contenu dans le fichier <a - href="mod/core.html#pidfile">PidFile</a>. Autrement dit, vous - ne devez jamais envoyer de signaux aux processus - <code>httpd</code> autres que le processus père. Il - existe trois signaux que vous pouvez envoyer au processus - père : <code>TERM</code>, <code>HUP</code>, et - <code>USR1</code>, dont la signification est décrite ci - dessous.</p> - - <p>Pour envoyer un signal au père vous pouvez utiliser - une commande comme</p> - - <blockquote> -<pre> - kill -TERM `cat /usr/local/apache/logs/httpd.pid` -</pre> - </blockquote> - Vous pouvez lire l'effet de la commande - précédente en effectuant la commande - - <blockquote> -<pre> - tail -f /usr/local/apache/logs/error_log -</pre> - </blockquote> - Ces exemples devront être modifiés en fonction des - valeurs des directives <a - href="mod/core.html#serverroot">ServerRoot</a> et <a - href="mod/core.html#pidfile">PidFile</a>. - - <p>Avec Apache 1.3 est fourni un script <a - href="programs/apachectl.html">apachectl</a> qui peut - être employé pour démarrer, arrêter - et relancer Apache. Il peut nécessiter un peu - d'adaptation pour votre système, pour cela lisez les - commentaires situés au début de ce script.</p> - - <h3>Signal TERM : arrêt immédiat</h3> - - <p>L'envoi du signal <code>TERM</code> demande au processus - père d'essayer de tuer tous ses processus fils. Il peut - s'écouler quelques secondes avant que tous les processus - fils ne soient tués. Le processus père se termine - ensuite. Les requêtes en cours sont terminées et - plus aucune requête n'est traitée.</p> - - <h3>Signal HUP : redémarrage immédiat</h3> - - <p>L'envoi du signal <code>HUP</code> demande au processus - père de tuer tous ses processus fils, comme le signal - <code>TERM</code>, mais le processus père ne se termine - pas. Il relit ses fichiers de configuration, et rouvre les - fichiers de trace. Il lance ensuite un nouvel ensemble de - processus fils et continue de traiter les requêtes.</p> - - <p>Les utilisateurs du module <a - href="mod/mod_status.html">status</a> noteront que les - statistiques du serveur sont réinitialisées - à zéro après l'envoi du signal - <code>HUP</code>.</p> - - <p><strong>Note:</strong> si votre fichier de configuration - contient des erreurs lorsque vous demandez un - redémarrage, le processus père ne se relancera - pas mais se terminera avec une erreur. Voir plus bas pour une - méthode permettant d'éviter ce - problème.</p> - - <h3>Signal USR1 : redémarrage en douceur</h3> - - <p><strong>Note:</strong> pour les versions inférieures - à 1.2b9 cette fonction est instable et ne doit pas - être utilisée.</p> - - <p>Le signal <code>USR1</code> demande au processus père - de prier les processus de se terminer après avoir - traité leurs requêtes en cours (ou de se terminer - immédiatement s'ils n'ont pas de traitement en cours). - Le processus père relit les fichiers de configuration et - rouvre les fichiers de trace. Au fur et à mesure que les - fils meurent, ils sont remplacés par des processus fils - prenant en compte la nouvelle <em>génération</em> - de la configuration, et commencent aussitôt à - traiter les nouvelles requêtes.</p> - - <p>Cette fonction est conçue pour toujours respecter les - valeurs de <a href="mod/core.html#maxclients">MaxClients</a>, - <a href="mod/core.html#minspareservers">MinSpareServers</a>, et - <a href="mod/core.html#maxspareservers">MaxSpareServers</a>. De - plus, elle respecte la valeur de <a - href="mod/core.html#startservers">StartServers</a> de la - manière suivante : si après une seconde, au moins - StartServers nouveaux processus fils n'ont pas - été créés, alors elle en - crée suffisament pour combler le manque. Autrement dit, - la fonction essaie de maintenir à la fois le nombre de - processus fils approprié pour traiter la charge actuelle - du serveur, et respecter vos souhaits concernant le - paramètre StartServers.</p> - - <p>Les utilisateurs du module <a - href="mod/mod_status.html">status</a> noteront que les - statistiques du serveur <strong>ne sont pas</strong> - réinitialisées à zéro après - l'envoi du signal <code>USR1</code>. La fonction est - écrite afin de minimiser le temps durant lequel le - serveur est incapable de traiter de nouvelles requêtes - (elle sont mises en attente par le système - d'exploitation et donc ne sont pas perdues) tout en respectant - vos réglages. Pour cela, Apache doit maintenir la - <em>table de comunication interprocessus</em> pour les - différents processus fils et leur - génération.</p> - - <p>Le module <a href="mod/mod_status.html">status</a> utilise - également un <code>G</code> pour marquer les fils - traitant les requêtes démarrées avant le - redémarrage en douceur.</p> - - <p>Actuellement, il n'y a aucun moyen pour un script de - rotation des fichiers de trace qui utiliserait le signal - <code>USR1</code> de savoir de manière absolue que tous - les processus fils écrivant dans l'ancien fichier de - trace sont terminés. Nous suggérons d'utiliser un - délai d'attente raisonnable après l'envoi du - signal avant de faire quoi que ce soit avec l'ancien fichier de - trace. Si par exemple la majorité de vos accès - sont traités en moins de dix minutes pour des - utilisateurs utilisant des liaisons à bas débit, - alors vous devrez attendre quinze minutes avant de faire - quelque chose avec l'ancien fichier de trace.</p> - - <p><strong>Note:</strong> Si votre fichier de configuration - contient des erreurs au moment de réinitialiser le - processus père, ce dernier ne redémarrera pas et - se terminera avec une erreur. Dans le cas d'un - redémarrage en douceur, le processus père laisse - les fils continuer quand il se termine. Ce sont les processus - fils qui sont "terminés en douceur" en traitant leurs - requêtes en cours. Ceci peut poser des problèmes - si vous essayez de redémarrer le serveur -- il ne sera - pas capable de se connecter sur son port d'écoute. Afin - d'effectuer un redémarrage, vous pouvez vérifier - la syntaxe du fichier de configuration en utilisant le - paramètre <code>-t</code> (cf. <a - href="programs/httpd.html">httpd</a>). Ceci n'est pas suffisant - pour garantir que le serveur redémarrera correctement. - Afin de vérifier la sémantique des fichiers de - configuration ainsi que leur syntaxe, vous pouvez essayer de - lancer <code>httpd</code> sous un compte utilisateur autre que - root. S'il n'y a pas d'erreur, il essaiera d'ouvrir ses ports - réseau, mais échouera, soit parce qu'il n'est pas - root, soit parce que le serveur existant est déjà - connecté sur ces ports. S'il échoue pour une - autre raison, c'est qu'il existe une erreur dans les fichiers - de configuration et cette erreur doit être - corrigée avant de déclencher une relance en - douceur.</p> - - <h3>Annexe : signaux et conditions temporelles</h3> - - <p>Avant la version 1.2b9 d'Apache il existait un certain - nombre de <em>conditions temporelles</em> concernant les - signaux de redémarrage et d'arrêt. Une description - simple d'une condition temporelle est un problème - lié à l'ordre des traitements dans le temps, - comme quand quelque chose arrive au mauvais moment et ne se - comporte pas comme prévu. Pour les architectures - possédant les "bonnes" fonctionnalités, nous les - avons éliminées autant que possible. Mais il doit - être noté qu'il existe toujours des - problèmes sur certaines architectures.</p> - - <p>Les architectures utilisant un fichier sur disque <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a> pour la - communication interprocessus peuvent éventuellement - corrompre ce fichier. Il en résulte le message d'erreur - "bind: Address already in use" (après le signal - <code>HUP</code>) ou "long lost child came home!" (après - le signal <code>USR1</code>). Le premier est une erreur fatale, - tandis que le deuxième a juste pour effet de perdre une - entrée dans la table de communication interprocessus. Il - est donc envisageable d'utiliser le redémarrage en - douceur, avec d'occasionnels redémarrages - immédiats. Ces problèmes sont très - difficiles à éviter, mais heureusement de - nombreuses architectures n'ont pas besoin d'utiliser un fichier - pour la communication interprocessus. Consulter la - documentation sur <a - href="mod/core.html#scoreboardfile">ScoreBoardFile</a> pour - savoir si votre architecture l'utilise.</p> - - <p><code>NEXT</code> et <code>MACHTEN</code> (68k seulement) - présentent quelques conditions temporelles qui peuvent - provoquer la perte d'un signal d'arrêt ou de - redémarrage, mais ne devraient pas créer de - problème majeur.</p> - - <p>Sur toutes les architectures, les processus fils - présentent des conditions temporelles dans le cas du - traitement de la deuxième requête, et des - suivantes, pour des connexions HTTP persistantes (KeepAlive). - Le processus peut se terminer après avoir lu la - requête mais avant d'avoir lu l'en-tête. Il existe - un correctif, mais celui ci a été - réalisé trop tard pour être - intégré dans la version 1.2. En théorie, - ceci ne doit pas être un problème car le client - utilisant la persistance des connexions doit être capable - de traiter ce genre de cas, qui peut se produire soit à - cause des temps de latence du réseau, soit à - cause des délais de réponse trop longs des - serveurs. En pratique, cela ne semble pas non plus affecter le - système. Dans un test, le serveur était - redémarré vingt fois par seconde et les clients - ont pu consulter le site sans obtenir de documents vides ou - d'images invalides.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/suexec.html.en b/usr.sbin/httpd/htdocs/manual/suexec.html.en deleted file mode 100644 index 35359a9cb8b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/suexec.html.en +++ /dev/null @@ -1,618 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache suEXEC Support</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Apache suEXEC Support</h1> - - <ol> - <li><big><strong>CONTENTS</strong></big></li> - - <li><a href="#what">What is suEXEC?</a></li> - - <li><a href="#before">Before we begin.</a></li> - - <li><a href="#model">suEXEC Security Model.</a></li> - - <li><a href="#install">Configuring & Installing - suEXEC</a></li> - - <li><a href="#enable">Enabling & Disabling - suEXEC</a></li> - - <li><a href="#usage">Using suEXEC</a></li> - - <li><a href="#debug">Debugging suEXEC</a></li> - - <li><a href="#jabberwock">Beware the Jabberwock: Warnings - & Examples</a></li> - </ol> - - <h3><a id="what" name="what">What is suEXEC?</a></h3> - - <p align="LEFT">The <strong>suEXEC</strong> feature -- - introduced in Apache 1.2 -- provides Apache users the ability - to run <strong>CGI</strong> and <strong>SSI</strong> programs - under user IDs different from the user ID of the calling - web-server. Normally, when a CGI or SSI program executes, it - runs as the same user who is running the web server.</p> - - <p align="LEFT">Used properly, this feature can reduce - considerably the security risks involved with allowing users to - develop and run private CGI or SSI programs. However, if suEXEC - is improperly configured, it can cause any number of problems - and possibly create new holes in your computer's security. If - you aren't familiar with managing setuid root programs and the - security issues they present, we highly recommend that you not - consider using suEXEC.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="before" name="before">Before we begin.</a></h3> - - <p align="LEFT">Before jumping head-first into this document, - you should be aware of the assumptions made on the part of the - Apache Group and this document.</p> - - <p align="LEFT">First, it is assumed that you are using a UNIX - derivate operating system that is capable of - <strong>setuid</strong> and <strong>setgid</strong> operations. - All command examples are given in this regard. Other platforms, - if they are capable of supporting suEXEC, may differ in their - configuration.</p> - - <p align="LEFT">Second, it is assumed you are familiar with - some basic concepts of your computer's security and its - administration. This involves an understanding of - <strong>setuid/setgid</strong> operations and the various - effects they may have on your system and its level of - security.</p> - - <p align="LEFT">Third, it is assumed that you are using an - <strong>unmodified</strong> version of suEXEC code. All code - for suEXEC has been carefully scrutinized and tested by the - developers as well as numerous beta testers. Every precaution - has been taken to ensure a simple yet solidly safe base of - code. Altering this code can cause unexpected problems and new - security risks. It is <strong>highly</strong> recommended that - you do not alter the suEXEC code unless you are well versed in - the particulars of security programming and are willing to share - your work with the Apache Group for consideration.</p> - - <p align="LEFT">Fourth, and last, it has been the decision of - the Apache Group to <strong>NOT</strong> make suEXEC part of - the default installation of Apache. To this end, suEXEC - configuration requires careful attention to details from the - administrator. After due consideration has been given to the - various settings for suEXEC, the administrator may install - suEXEC through normal installation methods. The values for - these settings need to be carefully determined and specified by - the administrator to properly maintain system security during - the use of suEXEC functionality. It is through this detailed - process that the Apache Group hopes to limit suEXEC - installation only to those who are careful and determined - enough to use it.</p> - - <p align="LEFT">Still with us? Yes? Good. Let's move on!</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="model" name="model">suEXEC Security Model</a></h3> - - <p align="LEFT">Before we begin configuring and installing - suEXEC, we will first discuss the security model you are about - to implement. By doing so, you may better understand what - exactly is going on inside suEXEC and what precautions are - taken to ensure your system's security.</p> - - <p align="LEFT"><strong>suEXEC</strong> is based on a setuid - "wrapper" program that is called by the main Apache web server. - This wrapper is called when an HTTP request is made for a CGI - or SSI program that the administrator has designated to run as - a userid other than that of the main server. When such a - request is made, Apache provides the suEXEC wrapper with the - program's name and the user and group IDs under which the - program is to execute.</p> - - <p align="LEFT">The wrapper then employs the following process - to determine success or failure -- if any one of these - conditions fail, the program logs the failure and exits with an - error, otherwise it will continue:</p> - - <ol> - <li> - <strong>Was the wrapper called with the proper number of - arguments?</strong> - - <blockquote> - The wrapper will only execute if it is given the proper - number of arguments. The proper argument format is known - to the Apache web server. If the wrapper is not receiving - the proper number of arguments, it is either being - hacked, or there is something wrong with the suEXEC - portion of your Apache binary. - </blockquote> - </li> - - <li> - <strong>Is the user executing this wrapper a valid user of - this system?</strong> - - <blockquote> - This is to ensure that the user executing the wrapper is - truly a user of the system. - </blockquote> - </li> - - <li> - <strong>Is this valid user allowed to run the - wrapper?</strong> - - <blockquote> - Is this user the user allowed to run this wrapper? Only - one user (the Apache user) is allowed to execute this - program. - </blockquote> - </li> - - <li> - <strong>Does the target program have an unsafe hierarchical - reference?</strong> - - <blockquote> - Does the target program contain a leading '/' or have a - '..' backreference? These are not allowed; the target - program must reside within the Apache webspace. - </blockquote> - </li> - - <li> - <strong>Is the target user name valid?</strong> - - <blockquote> - Does the target user exist? - </blockquote> - </li> - - <li> - <strong>Is the target group name valid?</strong> - - <blockquote> - Does the target group exist? - </blockquote> - </li> - - <li> - <strong>Is the target user <em>NOT</em> superuser?</strong> - - - <blockquote> - Presently, suEXEC does not allow 'root' to execute - CGI/SSI programs. - </blockquote> - </li> - - <li> - <strong>Is the target userid <em>ABOVE</em> the minimum ID - number?</strong> - - <blockquote> - The minimum user ID number is specified during - configuration. This allows you to set the lowest possible - userid that will be allowed to execute CGI/SSI programs. - This is useful to block out "system" accounts. - </blockquote> - </li> - - <li> - <strong>Is the target group <em>NOT</em> the superuser - group?</strong> - - <blockquote> - Presently, suEXEC does not allow the 'root' group to - execute CGI/SSI programs. - </blockquote> - </li> - - <li> - <strong>Is the target groupid <em>ABOVE</em> the minimum ID - number?</strong> - - <blockquote> - The minimum group ID number is specified during - configuration. This allows you to set the lowest possible - groupid that will be allowed to execute CGI/SSI programs. - This is useful to block out "system" groups. - </blockquote> - </li> - - <li> - <strong>Can the wrapper successfully become the target user - and group?</strong> - - <blockquote> - Here is where the program becomes the target user and - group via setuid and setgid calls. The group access list - is also initialized with all of the groups of which the - user is a member. - </blockquote> - </li> - - <li> - <strong>Does the directory in which the program resides - exist?</strong> - - <blockquote> - If it doesn't exist, it can't very well contain files. - </blockquote> - </li> - - <li> - <strong>Is the directory within the Apache - webspace?</strong> - - <blockquote> - If the request is for a regular portion of the server, is - the requested directory within the server's document - root? If the request is for a UserDir, is the requested - directory within the user's document root? - </blockquote> - </li> - - <li> - <strong>Is the directory <em>NOT</em> writable by anyone - else?</strong> - - <blockquote> - We don't want to open up the directory to others; only - the owner user may be able to alter this directories - contents. - </blockquote> - </li> - - <li> - <strong>Does the target program exist?</strong> - - <blockquote> - If it doesn't exists, it can't very well be executed. - </blockquote> - </li> - - <li> - <strong>Is the target program <em>NOT</em> writable by - anyone else?</strong> - - <blockquote> - We don't want to give anyone other than the owner the - ability to change the program. - </blockquote> - </li> - - <li> - <strong>Is the target program <em>NOT</em> setuid or - setgid?</strong> - - <blockquote> - We do not want to execute programs that will then change - our UID/GID again. - </blockquote> - </li> - - <li> - <strong>Is the target user/group the same as the program's - user/group?</strong> - - <blockquote> - Is the user the owner of the file? - </blockquote> - </li> - - <li> - <strong>Can we successfully clean the process environment - to ensure safe operations?</strong> - - <blockquote> - suEXEC cleans the process' environment by establishing a - safe execution PATH (defined during configuration), as - well as only passing through those variables whose names - are listed in the safe environment list (also created - during configuration). - </blockquote> - </li> - - <li> - <strong>Can we successfully become the target program and - execute?</strong> - - <blockquote> - Here is where suEXEC ends and the target program begins. - </blockquote> - </li> - </ol> - - <p align="LEFT">This is the standard operation of the - suEXEC wrapper's security model. It is somewhat stringent and - can impose new limitations and guidelines for CGI/SSI design, - but it was developed carefully step-by-step with security in - mind.</p> - - <p align="LEFT">For more information as to how this security - model can limit your possibilities in regards to server - configuration, as well as what security risks can be avoided - with a proper suEXEC setup, see the <a - href="#jabberwock">"Beware the Jabberwock"</a> section of this - document.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="install" name="install">Configuring & Installing - suEXEC</a></h3> - - <p align="LEFT">Here's where we begin the fun. If you use - Apache 1.2 or prefer to configure Apache 1.3 with the - "<code>src/Configure</code>" script you have to edit the suEXEC - header file and install the binary in its proper location - manually. This procedure is described in an <a - href="suexec_1_2.html">extra document</a>. The following - sections describe the configuration and installation for Apache - 1.3 with the AutoConf-style interface (APACI).</p> - - <p align="LEFT"><strong>APACI's suEXEC configuration - options</strong><br /> - </p> - - <dl> - <dt><code>--enable-suexec</code></dt> - - <dd>This option enables the suEXEC feature which is never - installed or activated by default. At least one - --suexec-xxxxx option has to be provided together with the - --enable-suexec option to let APACI accept your request for - using the suEXEC feature.</dd> - - <dt><code>--suexec-caller=<em>UID</em></code></dt> - - <dd>The <a href="mod/core.html#user">username</a> under which - Apache normally runs. This is the only user allowed to - execute this program.</dd> - - <dt><code>--suexec-docroot=<em>DIR</em></code></dt> - - <dd>Define as the DocumentRoot set for Apache. This will be - the only hierarchy (aside from UserDirs) that can be used for - suEXEC behavior. The default directory is the --datadir value - with the suffix "/htdocs", <em>e.g.</em> if you configure - with "<code>--datadir=/home/apache</code>" the directory - "/home/apache/htdocs" is used as document root for the suEXEC - wrapper.</dd> - - <dt><code>--suexec-logfile=<em>FILE</em></code></dt> - - <dd>This defines the filename to which all suEXEC - transactions and errors are logged (useful for auditing and - debugging purposes). By default the logfile is named - "suexec_log" and located in your standard logfile directory - (--logfiledir).</dd> - - <dt><code>--suexec-userdir=<em>DIR</em></code></dt> - - <dd>Define to be the subdirectory under users' home - directories where suEXEC access should be allowed. All - executables under this directory will be executable by suEXEC - as the user so they should be "safe" programs. If you are - using a "simple" UserDir directive (ie. one without a "*" in - it) this should be set to the same value. suEXEC will not - work properly in cases where the UserDir directive points to - a location that is not the same as the user's home directory - as referenced in the passwd file. Default value is - "public_html".<br /> - If you have virtual hosts with a different UserDir for each, - you will need to define them to all reside in one parent - directory; then name that parent directory here. <strong>If - this is not defined properly, "~userdir" cgi requests will - not work!</strong></dd> - - <dt><code>--suexec-uidmin=<em>UID</em></code></dt> - - <dd>Define this as the lowest UID allowed to be a target user - for suEXEC. For most systems, 500 or 100 is common. Default - value is 100.</dd> - - <dt><code>--suexec-gidmin=<em>GID</em></code></dt> - - <dd>Define this as the lowest GID allowed to be a target - group for suEXEC. For most systems, 100 is common and - therefore used as default value.</dd> - - <dt><code>--suexec-safepath=<em>PATH</em></code></dt> - - <dd>Define a safe PATH environment to pass to CGI - executables. Default value is - "/usr/local/bin:/usr/bin:/bin".</dd> - </dl> - - <p align="LEFT"><strong>Checking your suEXEC - setup</strong><br /> - Before you compile and install the suEXEC wrapper you can - check the configuration with the --layout option.<br /> - Example output:</p> -<pre> - suEXEC setup: - suexec binary: /usr/local/apache/sbin/suexec - document root: /usr/local/apache/share/htdocs - userdir suffix: public_html - logfile: /usr/local/apache/var/log/suexec_log - safe path: /usr/local/bin:/usr/bin:/bin - caller ID: www - minimum user ID: 100 - minimum group ID: 100 -</pre> - - <p align="LEFT"><strong>Compiling and installing the suEXEC - wrapper</strong><br /> - If you have enabled the suEXEC feature with the - --enable-suexec option the suexec binary (together with Apache - itself) is automatically built if you execute the command - "make".<br /> - After all components have been built you can execute the - command "make install" to install them. The binary image - "suexec" is installed in the directory defined by the --sbindir - option. Default location is - "/usr/local/apache/sbin/suexec".<br /> - Please note that you need <strong><em>root - privileges</em></strong> for the installation step. In order - for the wrapper to set the user ID, it must be installed as - owner <code><em>root</em></code> and must have the setuserid - execution bit set for file modes.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="enable" name="enable">Enabling & Disabling - suEXEC</a></h3> - - <p align="LEFT">Upon startup of Apache, it looks for the file - "suexec" in the "sbin" directory (default is - "/usr/local/apache/sbin/suexec"). If Apache finds a properly - configured suEXEC wrapper, it will print the following message - to the error log:</p> -<pre> - [notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>) -</pre> - - <p>If you don't see this message at server startup, the server - is most likely not finding the wrapper program where it expects - it, or the executable is not installed <em>setuid - root</em>.<br /> - If you want to enable the suEXEC mechanism for the first time - and an Apache server is already running you must kill and - restart Apache. Restarting it with a simple HUP or USR1 signal - will not be enough.<br /> - If you want to disable suEXEC you should kill and restart - Apache after you have removed the "suexec" file.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="usage" name="usage">Using suEXEC</a></h3> - - <p align="LEFT"><strong>Virtual Hosts:</strong><br /> - One way to use the suEXEC wrapper is through the <a - href="mod/core.html#user">User</a> and <a - href="mod/core.html#group">Group</a> directives in <a - href="mod/core.html#virtualhost">VirtualHost</a> definitions. - By setting these directives to values different from the main - server user ID, all requests for CGI resources will be executed - as the <em>User</em> and <em>Group</em> defined for that - <code><VirtualHost></code>. If only one or neither of - these directives are specified for a - <code><VirtualHost></code> then the main server userid is - assumed.</p> - - <p><strong>User directories:</strong><br /> - The suEXEC wrapper can also be used to execute CGI programs as - the user to which the request is being directed. This is - accomplished by using the "<strong><code>~</code></strong>" - character prefixing the user ID for whom execution is desired. - The only requirement needed for this feature to work is for CGI - execution to be enabled for the user and that the script must - meet the scrutiny of the <a href="#model">security checks</a> - above.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="debug" name="debug">Debugging suEXEC</a></h3> - - <p align="LEFT">The suEXEC wrapper will write log information - to the file defined with the --suexec-logfile option as - indicated above. If you feel you have configured and installed - the wrapper properly, have a look at this log and the error_log - for the server to see where you may have gone astray.</p> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - - <h3><a id="jabberwock" name="jabberwock">Beware the Jabberwock: - Warnings & Examples</a></h3> - - <p align="LEFT"><strong>NOTE!</strong> This section may not be - complete. For the latest revision of this section of the - documentation, see the Apache Group's <a - href="http://httpd.apache.org/docs/suexec.html">Online - Documentation</a> version.</p> - - <p align="LEFT">There are a few points of interest regarding - the wrapper that can cause limitations on server setup. Please - review these before submitting any "bugs" regarding suEXEC.</p> - - <ul> - <li><strong>suEXEC Points Of Interest</strong></li> - - <li> - Hierarchy limitations - - <blockquote> - For security and efficiency reasons, all suexec requests - must remain within either a top-level document root for - virtual host requests, or one top-level personal document - root for userdir requests. For example, if you have four - VirtualHosts configured, you would need to structure all - of your VHosts' document roots off of one main Apache - document hierarchy to take advantage of suEXEC for - VirtualHosts. (Example forthcoming.) - </blockquote> - </li> - - <li> - suEXEC's PATH environment variable - - <blockquote> - This can be a dangerous thing to change. Make certain - every path you include in this define is a - <strong>trusted</strong> directory. You don't want to - open people up to having someone from across the world - running a trojan horse on them. - </blockquote> - </li> - - <li> - Altering the suEXEC code - - <blockquote> - Again, this can cause <strong>Big Trouble</strong> if you - try this without knowing what you are doing. Stay away - from it if at all possible. - </blockquote> - </li> - </ul> - - <p align="CENTER"><strong><a href="suexec.html">BACK TO - CONTENTS</a></strong></p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/suexec.html.ja.jis b/usr.sbin/httpd/htdocs/manual/suexec.html.ja.jis deleted file mode 100644 index 605277a3d20..00000000000 --- a/usr.sbin/httpd/htdocs/manual/suexec.html.ja.jis +++ /dev/null @@ -1,617 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache suEXEC Support</title> - - </head> - <!-- English revision: 1.28 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Apache suEXEC Support</h1> - - <ol> - - <li><big><strong>$BL\<!(B</strong></big></li> - - <li><a href="#what">suEXEC $B$H$O(B?</a></li> - - <li><a href="#before">$B;O$a$kA0$K(B</a></li> - - <li><a href="#model">suEXEC $B$N%;%-%e%j%F%#%b%G%k(B</a></li> - - <li><a href="#install">suEXEC $B$N@_Dj$H%$%s%9%H!<%k(B</a></li> - - <li><a href="#enable">suEXEC $B$NM-8z2=$HL58z2=(B</a></li> - - <li><a href="#usage">suEXEC $B$N;HMQ(B</a></li> - - <li><a href="#debug">suEXEC $B$N%G%P%C%0(B</a></li> - - <li><a href="#jabberwock">$B$H$+$2$KCm0U(B: $B7Y9p$H;vNc(B</a></li> - - </ol> - - - <h3><a id="what" name="what">suEXEC $B$H$O(B?</a></h3> - - <p align="left">Apache 1.2 $B$GF3F~$5$l$?(B <strong>suEXEC</strong> - $B5!G=$K$h$j!"(BApache $B%f!<%6$O(B Web $B%5!<%P$r<B9T$7$F$$$k%f!<%6(B ID $B$H$O(B - $B0[$J$k%f!<%6(B ID $B$G(B <strong>CGI</strong> $B%W%m%0%i%`$d(B <strong>SSI</strong> - $B%W%m%0%i%`$r<B9T$9$k$3$H$,$G$-$^$9!#(BCGI $B%W%m%0%i%`$^$?$O(B SSI - $B%W%m%0%i%`$r<B9T$9$k>l9g!"DL>o$O(B web $B%5!<%P$HF1$8%f!<%6$G<B9T$5$l$^$9!#(B - </p> - - <p align="left">$BE,@Z$K;HMQ$9$k$H!"$3$N5!G=$K$h$j%f!<%6$,8DJL$N(B CGI - $B$d(B SSI $B%W%m%0%i%`$r3+H/$7<B9T$9$k$3$H$G@8$8$k%;%-%e%j%F%#>e$N4m81$r!"(B - $B$+$J$j8:$i$9$3$H$,$G$-$^$9!#$7$+$7!"(BsuEXEC $B$N@_Dj$,ITE,@Z$@$H!"(B - $BB?$/$NLdBj$,@8$8!"$"$J$?$N%3%s%T%e!<%?$K?7$7$$%;%-%e%j%F%#%[!<%k$r(B - $B:n$C$F$7$^$&2DG=@-$,$"$j$^$9!#$"$J$?$,(B root $B$K(B setuid - $B$5$l$?%W%m%0%i%`$H!"$=$l$i$+$i@8$8$k%;%-%e%j%F%#>e$NLdBj$N4IM}$K(B - $B>\$7$/$J$$$h$&$J$i!"(BsuEXEC $B$N;HMQ$r8!F$$7$J$$$h$&$K6/$/?d>)$7$^$9!#(B - </p> - - <p align="center"><strong><a href="suexec.html">$BL\<!$KLa$k(B</a></strong> - </p> - - <h3><a id="before" name="before">$B;O$a$kA0$K(B</a></h3> - - <p align="left">$B$3$NJ8=q$N@hF,$KHt$VA0$K!"(BApache - $B%0%k!<%W$H$3$NJ8=q$G$N2>Dj$rCN$C$F$*$/$Y$-$G$7$g$&!#(B - </p> - - <p align="left">$BBh(B 1 $B$K!"$"$J$?$,(B <strong>setuid</strong> $B$H(B - <strong>setgid</strong> $BA`:n$,2DG=$J(B UNIX - $BM3Mh$N%*%Z%l!<%F%#%s%0%7%9%F%`$r;H$C$F$$$k$3$H$rA[Dj$7$F$$$^$9!#(B - $B$3$l$O!"$9$Y$F$N%3%^%s%INc$K$"$F$O$^$j$^$9!#(B - $B$=$NB>$N%W%i%C%H%[!<%`$G$O!"$b$7(B suEXEC - $B$,%5%]!<%H$5$l$F$$$?$H$7$F$b@_Dj$O0[$J$k$+$b$7$l$^$;$s!#(B</p> - - <p align="left">$BBh(B 2 $B$K!"$"$J$?$,;HMQCf$N%3%s%T%e!<%?$N(B - $B%;%-%e%j%F%#$K4X$9$k4pK\E*$J35G0$H!"$=$l$i$N4IM}$K$D$$$F>\$7$$$3$H$r(B - $BA[Dj$7$F$$$^$9!#$3$l$O!"(B<strong>setuid/setgid</strong> - $BA`:n!"$"$J$?$N%7%9%F%`>e$G$N$=$NA`:n$K$h$kMM!9$J8z2L!"(B - $B%;%-%e%j%F%#%l%Y%k$K$D$$$F$"$J$?$,M}2r$7$F$$$k$H$$$&$3$H$r4^$_$^$9!#(B - </p> - - <p align="left">$BBh(B 3 $B$K!"(B<strong>$B2~B$$5$l$F$$$J$$(B</strong> suEXEC - $B%3!<%I$N;HMQ$rA[Dj$7$F$$$^$9!#(BsuEXEC $B$N%3!<%I$O!"(B - $BB?$/$N%Y!<%?%F%9%?$@$1$G$J$/!"3+H/<T$K$h$C$F$bCm0U?<$/@:::$5$l(B - $B%F%9%H$5$l$F$$$^$9!#$=$l$i$NCm0U$K$h$j!"4J7i$G?.Mj$G$-$k0BA4$J(B - $B%3!<%I$N4pHW$,J]>Z$5$l$^$9!#$3$N%3!<%I$r2~JQ$9$k$3$H$G!"(B - $BM=4|$5$l$J$$LdBj$d?7$7$$%;%-%e%j%F%#>e$N4m81$,@8$8$k$3$H$,$"$j$^$9!#(B - $B%;%-%e%j%F%#%W%m%0%i%_%s%0$N>\:Y$KDL$8$F$$$F!"(B - $B:#8e$N8!F$$N$?$a$K@.2L$r(B Apache - $B%0%k!<%W$H6&M-$7$h$&$H;W$&$N$G$J$1$l$P!"(BsuEXEC - $B%3!<%I$OJQ$($J$$$3$H$r(B <strong>$B6/$/(B</strong>$B?d>)$7$^$9!#(B</p> - - <p align="left">$BBh(B 4 $B$K!"$3$l$,:G8e$G$9$,!"(BsuEXEC $B$r(B Apache - $B$N%G%U%)%k%H%$%s%9%H!<%k$K$O(B<strong>$B4^$a$J$$(B</strong>$B$3$H$,(B - Apache $B%0%k!<%W$G7hDj$5$l$F$$$^$9!#$3$l$O!"(BsuEXEC - $B$N@_Dj$K$O4IM}<T$N>\:Y$K$o$?$k?5=E$JCm0U$,I,MW$@$+$i$G$9!#(B - suEXEC $B$NMM!9$J@_Dj$K$D$$$F8!F$$,=*$o$l$P!"4IM}<T$O(B suEXEC - $B$rDL>o$N%$%s%9%H!<%kJ}K!$G%$%s%9%H!<%k$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$i$N@_DjCM$O!"(BsuEXEC - $B5!G=$N;HMQCf$K%7%9%F%`%;%-%e%j%F%#$rE,@Z$KJ]$D$?$a$K!"(B - $B4IM}<T$K$h$C$F?5=E$K7hDj$5$l;XDj$5$l$k$3$H$,I,MW$G$9!#(B - $B$3$N>\:Y$J<j=g$K$h$j!"(BApache $B%0%k!<%W$O!"(BsuEXEC - $B$N%$%s%9%H!<%k$K$D$$$F!"Cm0U?<$/==J,$K8!F$$7$F$=$l$r;HMQ$9$k$3$H$r(B - $B7hDj$7$?>l9g$K8B$C$F$$$?$@$-$?$$$H9M$($F$$$^$9!#(B - </p> - - <p align="left">$B$=$l$G$b?J$_$^$9$+(B? $B$h$m$7$$!#$G$O!"@h$X?J$_$^$7$g$&(B!</p> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - - <h3><a id="model" name="model">suEXEC $B%;%-%e%j%F%#%b%G%k(B</a></h3> - - <p align="left">suEXEC $B$N@_Dj$H%$%s%9%H!<%k$r;O$a$kA0$K!"(B - $B$^$:<BAu$7$h$&$H$7$F$$$k%;%-%e%j%F%#%b%G%k$K$D$$$FO@$8$F$*$-$^$9!#(B - $B$=$l$K$O!"(BsuEXEC $B$NFbIt$G9T$J$o$l$F$$$k$3$H!"(B - $B%7%9%F%`$N%;%-%e%j%F%#$rJ]>Z$9$k$?$a$K7Y9p$5$l$k$3$H$r(B - $B$h$/M}2r$7$F$*$$$?J}$,$h$$$G$7$g$&!#(B</p> - - <p align="left"><strong>suEXEC</strong> $B$O!"(BApache web - $B%5!<%P$+$i8F$S=P$5$l$k(B setuid $B$5$l$?(B "wrapper" - $B%W%m%0%i%`$,4pK\$H$J$C$F$$$^$9!#@_7W$7$?(B CGI$B!"$^$?$O(B SSI - $B%W%m%0%i%`$X$N(B HTTP $B%j%/%(%9%H$,$"$k$H!"$3$N(B wrapper - $B$,8F$S=P$5$l$^$9!#$3$N$h$&$J%j%/%(%9%H$,$"$k$H!"(BApache - $B$O$=$N%W%m%0%i%`$,<B9T$5$l$k:]$N%W%m%0%i%`L>$H%f!<%6(B ID $B$H%0%k!<%W(B - ID $B$r;XDj$7$F(B suEXEC wrapper $B$r<B9T$7$^$9!#(B - </p> - - <p align="left">$B$=$l$+$i!"(Bwrapper $B$O@.8y$^$?$O<:GT$r7hDj$9$k$?$a(B - $B0J2<$N=hM}$r9T$J$$$^$9!#$3$l$i$N>uBV$N$&$A0l$D$G$b<:GT$7$?>l9g!"(B - $B%W%m%0%i%`$O<:GT$r%m%0$K5-O?$7$F%(%i!<$G=*N;$7$^$9!#(B - $B$=$&$G$J$1$l$P!"8e$N=hM}$,B3$1$i$l$^$9!#(B</p> - - <ol> - <li> - <strong>wrapper $B$,E,@Z$J?t$N0z?t$G8F$S=P$5$l$?$+(B?</strong> - - - <blockquote> - wrapper $B$OE,@Z$J?t$N0z?t$,M?$($i$l$?>l9g$K$N$_<B9T$5$l$^$9!#(B - $BE,@Z$J0z?t$N%U%)!<%^%C%H$O(B Apache Web $B%5!<%P$K2r<a$5$l$^$9!#(B - $BE,@Z$J?t$N0z?t$r<u$1<h$i$J$1$l$P!"967b$r$5$l$?$+(B - $B$"$J$?$N(B Apache $B%P%$%J%j$N(B suEXEC $B$NItJ,$,(B - $B$I$3$+$*$+$7$$2DG=@-$,$"$j$^$9!#(B - </blockquote> - </li> - - - <li> - <strong>wrapper - $B$r<B9T$7$F$$$k%f!<%6$O$3$N%7%9%F%`$N@5Ev$J%f!<%6$+(B?</strong> - - <blockquote> - $B$3$l$O!"(Bwrapper $B$r<B9T$7$F$$$k%f!<%6$,(B - $BK\Ev$K%7%9%F%`$NMxMQ<T$G$"$k$3$H$rJ]>Z$9$k$?$a$G$9!#(B - </blockquote> - </li> - - <li> - <strong>$B$3$N@5Ev$J%f!<%6$O(B wrapper - $B$N<B9T$r5v2D$5$l$F$$$k$+(B?</strong> - - <blockquote> - $B$3$N%f!<%6$O(B wrapper $B<B9T$r5v2D$5$l$?%f!<%6$G$9$+(B? - $B$?$@0l?M$N%f!<%6(B (Apache $B%f!<%6(B) $B$@$1$,!"(B - $B$3$N%W%m%0%i%`$N<B9T$r5v2D$5$l$^$9!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$N%W%m%0%i%`$,0BA4$G$J$$3,AX$N;2>H$r$7$F$$$k$+(B? - </strong> - - <blockquote> - $BBP>]$N%W%m%0%i%`$,(B '/' $B$+$i;O$^$k!"$^$?$O(B - '..' $B$K$h$k;2>H$r9T$J$C$F$$$^$9$+(B? $B$3$l$i$O5v2D$5$l$^$;$s!#(B - $BBP>]$N%W%m%0%i%`$O(B Apache $B$N(B web $B6u4VFb$K$J$1$l$P$J$j$^$;$s!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%f!<%6L>$O@5Ev$J$b$N$+(B?</strong> - - <blockquote> - $BBP>]$H$J$k%f!<%6L>$OB8:_$7$F$$$^$9$+(B? - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%0%k!<%WL>$O@5Ev$J$b$N$+(B?</strong> - - <blockquote> - $BBP>]$H$J$k%0%k!<%WL>$OB8:_$7$F$$$^$9$+(B? - </blockquote> - </li> - - <li> - <strong>$BL\E*$N%f!<%6$O%9!<%Q!<%f!<%6$G$O(B<em>$B$J$$(B</em>$B$+(B? - </strong> - - <blockquote> - $B:#$N$H$3$m!"(BsuEXEC $B$O(B 'root' $B$K$h$k(B CGI/SSI - $B%W%m%0%i%`$N<B9T$r5v2D$7$F$$$^$;$s!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%f!<%6(B ID $B$O!":G>.$N(B ID - $BHV9f$h$j$b(B<em>$BBg$-$$(B</em>$B$+(B? </strong> - - <blockquote> - $B:G>.%f!<%6(B ID $BHV9f$O@_Dj;~$K;XDj$5$l$^$9!#$3$l$O!"(B - CGI/SSI $B%W%m%0%i%`<B9T$r5v2D$5$l$k%f!<%6(B ID - $B$N$H$j$&$k:G>.CM$G$9!#$3$l$O(B - "system" $BMQ$N%"%+%&%s%H$rJD$a=P$9$N$KM-8z$G$9!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%0%k!<%W$O%9!<%Q!<%f!<%6$N%0%k!<%W$G$O(B - <em>$B$J$$(B</em>$B$+(B?</strong> - - <blockquote> - $B:#$N$H$3$m!"(BsuEXEC $B$O(B 'root' $B%0%k!<%W$K$h$k(B CGI/SSI - $B%W%m%0%i%`$N<B9T$r5v2D$7$F$$$^$;$s!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%0%k!<%W(B ID $B$O:G>.$N(B ID - $BHV9f$h$j$b(B<em>$BBg$-$$(B</em>$B$+(B?</strong> - - <blockquote> - $B:G>.%0%k!<%W(B ID $BHV9f$O@_Dj;~$K;XDj$5$l$^$9!#$3$l$O!"(B - CGI/SSI $B%W%m%0%i%`<B9T$r5v2D$5$l$k%0%k!<%W(B - ID $B$N$H$j$&$k:G>.CM$G$9!#(B - $B$3$l$O(B "system" $BMQ$N%0%k!<%W$rJD$a=P$9$N$KM-8z$G$9!#(B - </blockquote> - </li> - - <li> - <strong>wrapper $B$,@5>o$KBP>]$H$J$k%f!<%6$H%0%k!<%W$K$J$l$k$+(B? - </strong> - - <blockquote> - $B$3$3$G!"(Bsetuid $B$H(B setgid - $B$N5/F0$K$h$j%W%m%0%i%`$OBP>]$H$J$k%f!<%6$H%0%k!<%W$K$J$j$^$9!#(B - $B%0%k!<%W%"%/%;%9%j%9%H$O!"(B - $B%f!<%6$,B0$7$F$$$k$9$Y$F$N%0%k!<%W$G=i4|2=$5$l$^$9!#(B - </blockquote> - </li> - - <li> - <strong>$B%W%m%0%i%`$,CV$+$l$k%G%#%l%/%H%j$OB8:_$7$F$$$k$+(B? - </strong> - - <blockquote> - $B%G%#%l%/%H%j$,B8:_$7$J$$$J$i!"$=$N%U%!%$%k$bB8:_$7$J$$$+$b$7$l$^$;$s!#(B - </blockquote> - </li> - - <li> - <strong>$B%G%#%l%/%H%j$,(B Apache $B$N%I%-%e%a%s%H%D%j!<Fb$K$"$k$+(B? - </strong> - - <blockquote> - $B%j%/%(%9%H$,%5!<%PFb$N$b$N$G$"$l$P!"(B - $BMW5a$5$l$?%G%#%l%/%H%j$,%5!<%P$N%I%-%e%a%s%H%k!<%HG[2<$K$"$j$^$9$+(B? - $B%j%/%(%9%H$,(B UserDir $B$N$b$N$G$"$l$P!"(B - $BMW5a$5$l$?%G%#%l%/%H%j$,%f!<%6$N%I%-%e%a%s%H%k!<%HG[2<$K$"$j$^$9$+(B? - </blockquote> - </li> - - <li> - <strong>$B%G%#%l%/%H%j$rB>$N%f!<%6$,=q$-9~$a$k$h$&$K$J$C$F(B - <em>$B$$$J$$(B</em>$B$+(B?</strong> - - <blockquote> - $B%G%#%l%/%H%j$rB>%f!<%6$K3+J|$7$J$$$h$&$K$7$^$9!#(B - $B=jM-%f!<%6$@$1$,$3$N%G%#%l%/%H%j$NFbMF$r2~JQ$G$-$k$h$&$K$7$^$9!#(B - </blockquote> - </li> - - - <li> - <strong>$BBP>]$H$J$k%W%m%0%i%`$OB8:_$9$k$+(B?</strong> - - <blockquote> - $BB8:_$7$J$1$l$P<B9T$G$-$^$;$s!#(B - </blockquote> - </li> - - <li> - <strong>$BBP>]$H$J$k%W%m%0%i%`%U%!%$%k$,B>%"%+%&%s%H$+$i(B - $B=q$-9~$a$k$h$&$K$J$C$F(B<em>$B$$$J$$(B</em>$B$+(B?</strong> - - <blockquote> - $B=jM-<T0J30$K$O%W%m%0%i%`$rJQ99$9$k8"8B$OM?$($i$l$^$;$s!#(B - </blockquote> - </li> - - - <li> - <strong>$BBP>]$H$J$k%W%m%0%i%`$,(B setuid $B$^$?$O(B setgid - $B$5$l$F(B<em>$B$$$J$$(B</em>$B$+(B?</strong> - - <blockquote> - UID/GID $B$r:FEYJQ99$7$F$N%W%m%0%i%`<B9T$O$7$^$;$s(B - </blockquote> - </li> - - - <li> - <strong>$BBP>]$H$J$k%f!<%6(B/$B%0%k!<%W$,%W%m%0%i%`$N(B - $B%f!<%6(B/$B%0%k!<%W$HF1$8$+(B?</strong> - - <blockquote> - $B%f!<%6$,$=$N%U%!%$%k$N=jM-<T$G$9$+(B? - </blockquote> - </li> - - <li> - <strong>$B0BA4$JF0:n$rJ]>Z$9$k$?$a$N4D6-JQ?t%/%j%"$,2DG=$+(B? - </strong> - - <blockquote> - suEXEC $B$O!"0BA4$J4D6-JQ?t$N%j%9%H(B - ($B$3$l$i$O@_Dj;~$K:n@.$5$l$^$9(B) $BFb$NJQ?t$H$7$FEO$5$l$k0BA4$J(B - PATH $BJQ?t(B ($B@_Dj;~$K;XDj$5$l$^$9(B) $B$r@_Dj$9$k$3$H$G!"(B - $B%W%m%;%9$N4D6-JQ?t$r%/%j%"$7$^$9!#(B - </blockquote> - </li> - - - <li> - <strong>$BBP>]$H$J$k%W%m%0%i%`$r(B exec $B$7$F<B9T$G$-$k$+(B?</strong> - - - <blockquote> - $B$3$3$G(B suEXEC $B$,=*N;$7!"BP>]$H$J$k%W%m%0%i%`$,3+;O$5$l$^$9!#(B - </blockquote> - </li> - </ol> - - <p align="left">$B$3$3$^$G$,(B suEXEC $B$N(B wrapper - $B$K$*$1$k%;%-%e%j%F%#%b%G%k$NI8=`E*$JF0:n$G$9!#$b$&>/$787=E$K(B - CGI/SSI $B@_7W$K$D$$$F$N?7$7$$@)8B$d5,Dj$r<h$jF~$l$k$3$H$b$G$-$^$9$,!"(B - suEXEC $B$O%;%-%e%j%F%#$KCm0U$7$F?5=E$K>/$7$:$D3+H/$5$l$F$-$^$7$?!#(B - </p> - - <p align="left">$B$3$N%;%-%e%j%F%#%b%G%k$rMQ$$$F(B - $B%5!<%P@_Dj;~$K$I$N$h$&$K5v$9$3$H$r@)8B$9$k$+!"$^$?!"(BsuEXEC - $B$rE,@Z$K@_Dj$9$k$H$I$N$h$&$J%;%-%e%j%F%#>e$N4m81$rHr$1$i$l$k$+$K(B - $B4X$9$k$h$j>\$7$$>pJs$K$D$$$F$O!"(B<a href="#jabberwock">"$B$H$+$2$KCm0U(B" - (Beware the Jabberwock)</a> $B$N>O$r;2>H$7$F$/$@$5$$!#(B - </p> - - <p align="center"><strong><a href="suexec.html" - >$BL\<!$KLa$k(B</a></strong></p> - - <h3><a name="install" id="install">suEXEC - $B$N@_Dj$H%$%s%9%H!<%k(B</a></h3> - - <p align="left">$B$3$3$+$i3Z$7$/$J$j$^$9!#(BApache 1.2 $B$"$k$$$O(B - <code>"src/Configure"</code> $B%9%/%j%W%H$G(B Apache 1.3 $B$r@_Dj$9$k$J$i!"(B - suEXEC $B%X%C%@%U%!%$%k$rJT=8$7$F%P%$%J%j$rE,@Z$J>l=j$K<j:n6H$G(B - $B%$%s%9%H!<%k$7$J$1$l$P$J$j$^$;$s!#$3$N=hM}$K$D$$$F$O(B <a - href="suexec_1_2.html">$BJL$NJ8=q(B</a>$B$K5-:\$5$l$F$$$^$9!#(B - $B0J2<$N>O$G$O!"(BAutoConf-style $B%$%s%?%U%'!<%9(B (APACI) $B$r;H$C$?(B - Apache 1.3 $B$G$N@_Dj$H%$%s%9%H!<%k$K$D$$$F=R$Y$F$$$^$9!#(B - </p> - - <p align="left"><strong>APACI $B$N(B suEXEC - $B@_Dj%*%W%7%g%s(B</strong><br /> - </p> - - <dl> - <dt><code>--enable-suexec</code></dt> - - <dd>$B$3$N%*%W%7%g%s$O!"%G%U%)%k%H$G$O%$%s%9%H!<%k$5$l$:!"(B - $BM-8z$K$O$J$i$J$$(B suEXEC $B5!G=$rM-8z$K$7$^$9!#(B - suEXEC $B$r;H$&$h$&$K(B APACI $B$KMW5a$9$k$K$O!"(B--enable-suexec - $B%*%W%7%g%s$H$"$o$;$F>/$J$/$H$b0l$D$O(B --suexec-xxxxx - $B%*%W%7%g%s$,;XDj$5$l$J$1$l$P$J$j$^$;$s!#(B</dd> - - <dt><code>--suexec-caller=<em>UID</em></code></dt> - - <dd>Apache $B$rDL>oF0:n$5$;$k(B<a - href="mod/core.html#user">$B%f!<%6L>(B</a>$B$r;XDj$7$^$9!#(B - $B$3$N%f!<%6$@$1$,(B suexec $B$N<B9T$r5v2D$5$l$?%f!<%6$K$J$j$^$9!#(B</dd> - - <dt><code>--suexec-docroot=<em>DIR</em></code></dt> - - <dd>Apache $B$N%I%-%e%a%s%H%k!<%H$r@_Dj$7$^$9!#$3$l$,(B suEXEC - $B$NF0:n$G;HMQ$9$kM#0l$N%G%#%l%/%H%j3,AX$K$J$j$^$9(B (UserDir - $B$N;XDj$OJL(B)$B!#%G%U%)%k%H$G$O(B --datadir $B$K(B "/htdocs" - $B$H$$$&%5%U%#%C%/%9$r$D$1$?$b$N$G$9!#(B - "<code>--datadir=/home/apache</code>" $B$H$7$F@_Dj$9$k$H!"(B - suEXEC wrapper $B$K$H$C$F(B "/home/apache/htdocs" - $B$,%I%-%e%a%s%H%k!<%H$H$7$F;H$o$l$^$9!#(B</dd> - - <dt><code>--suexec-logfile=<em>FILE</em></code></dt> - - <dd>suEXEC $B$N=hM}$H%(%i!<$,5-O?$5$l$k%U%!%$%kL>$r;XDj$7$^$9!#(B - ($B4F::$d%G%P%C%0L\E*$KM-MQ(B) - $B%G%U%)%k%H$G$O%m%0%U%!%$%k$O(B "suexec_log" $B$H$$$&L>A0$G!"(B - $BI8=`$N%m%0%U%!%$%k%G%#%l%/%H%j(B (--logfiledir) $B$KCV$+$l$^$9!#(B - </dd> - - <dt><code>--suexec-userdir=<em>DIR</em></code></dt> - - <dd>suEXEC $B$,%"%/%;%9$r5v$5$l$k%f!<%6%[!<%`%G%#%l%/%H%jG[2<$N(B - $B%5%V%G%#%l%/%H%j$r;XDj$7$^$9!#(B - $B$3$N%G%#%l%/%H%j0J2<$NA4<B9T%U%!%$%k$O!"(B"$B0BA4$J(B"$B%W%m%0%i%`$K$J$k$h$&!"(B - suEXEC $B$,$=$N%f!<%6$H$7$F<B9T$G$-$k$h$&$K$7$^$9!#(B - "$BC1=c$J(B" UserDir $B%G%#%l%/%F%#%V$r;H$C$F$$$k>l9g(B - ($B$9$J$o$A(B "*" $B$r4^$^$J$$$b$N(B)$B!"$3$l$HF1$8CM$r@_Dj$9$Y$-$G$9!#(B - Userdir $B%G%#%l%/%F%#%V$,$=$N%f!<%6$N%Q%9%o!<%I%U%!%$%kFb$N(B - $B%[!<%`%G%#%l%/%H%j$HF1$8>l=j$r;X$7$F$$$J$1$l$P!"(B - suEXEC $B$OE,@Z$KF0:n$7$^$;$s!#%G%U%)%k%H$O(B "public_html" $B$G$9!#(B - <br /> - $B3F(B UserDir $B$,0[$J$C$?2>A[%[%9%H$r@_Dj$7$F$$$k>l9g!"(B - $B$=$l$i$rA4$F0l$D$N?F%G%#%l%/%H%j$K4^$a$F!"(B - $B$=$N?F%G%#%l%/%H%j$NL>A0$r$3$3$G;XDj$9$kI,MW$,$"$j$^$9!#(B - <strong>$B$3$N$h$&$K;XDj$5$l$J$1$l$P(B "~userdir" cgi - $B$X$N%j%/%(%9%H$,F0:n$7$^$;$s!#(B</strong></dd> - - <dt><code>--suexec-uidmin=<em>UID</em></code></dt> - - <dd>suEXEC $B$NBP>]%f!<%6$H$7$F5v$5$l$k(B UID $B$N:G>.CM$r;XDj$7$^$9!#(B - $BBgDq$N%7%9%F%`$G$O(B 500 $B$+(B 100 $B$,0lHLE*$G$9!#(B - $B%G%U%)%k%HCM$O(B 100 $B$G$9!#(B</dd> - - <dt><code>--suexec-gidmin=<em>GID</em></code></dt> - - <dd>suEXEC $B$NBP>]%0%k!<%W$H$7$F5v$5$l$k(B GID - $B$N:G>.CM$r;XDj$7$^$9!#BgDq$N%7%9%F%`$G$O(B 100 $B$,0lHLE*$J$N$G!"(B - $B%G%U%)%k%HCM$H$7$F$b(B 100 $B$,;H$o$l$F$$$^$9!#(B</dd> - - <dt><code>--suexec-safepath=<em>PATH</em></code></dt> - - <dd>CGI $B<B9T%U%!%$%k$KEO$5$l$k0BA4$J(B PATH $B4D6-JQ?t$G$9!#(B - $B%G%U%)%k%HCM$O(B "/usr/local/bin:/usr/bin:/bin" $B$G$9!#(B - </dd> - </dl> - - <p align="left"><strong>suEXEC $B@_Dj$N3NG'(B</strong> - <br /> - suEXEC wrapper $B$r%3%s%Q%$%k$7$F%$%s%9%H!<%k$9$kA0$K!"@_DjFbMF$r(B - --layout $B%*%W%7%g%s$G3NG'$G$-$^$9!#(B<br /> - $B=PNONc(B:</p> -<pre> - suEXEC setup: - suexec binary: /usr/local/apache/sbin/suexec - document root: /usr/local/apache/share/htdocs - userdir suffix: public_html - logfile: /usr/local/apache/var/log/suexec_log - safe path: /usr/local/bin:/usr/bin:/bin - caller ID: www - minimum user ID: 100 - minimum group ID: 100 -</pre> - - <p align="left"><strong>suEXEC wrapper - $B$N%3%s%Q%$%k$H%$%s%9%H!<%k(B</strong><br /> - --enable-suexec $B%*%W%7%g%s$G(B suEXEC $B5!G=$rM-8z$K$9$k$H!"(B - "make" $B%3%^%s%I$r<B9T$7$?;~$K(B suEXEC $B$N%P%$%J%j(B (Apache $B<+BN$b(B) - $B$,<+F0E*$K:n@.$5$l$^$9!#(B - <br /> - $B$9$Y$F$N9=@.MWAG$,:n@.$5$l$k$H!"$=$l$i$N%$%s%9%H!<%k$K$O(B - "make install" $B%3%^%s%I$,<B9T$G$-$^$9!#%P%$%J%j%$%a!<%8$N(B "suexec" - $B$O(B --sbindir $B%*%W%7%g%s$G;XDj$5$l$?%G%#%l%/%H%j$K%$%s%9%H!<%k$5$l$^$9!#(B - $B%G%U%)%k%H$N>l=j$O(B "/usr/local/apache/sbin/suexec" $B$G$9!#(B<br /> - $B%$%s%9%H!<%k;~$K$O(B <strong><em>root</em></strong> - $B8"8B$,I,MW$J$N$GCm0U$7$F$/$@$5$$!#(Bwrapper $B$,%f!<%6(B ID - $B$r@_Dj$9$k$?$a$K!"=jM-<T(B <code><em>root</em></code> - $B$G$N%;%C%H%f!<%6(B ID - $B%S%C%H$r$=$N%U%!%$%k$N%b!<%I$K@_Dj$7$J$1$l$P$J$j$^$;$s!#(B - </p> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - - <h3><a id="enable" name="enable">suEXEC - $B$NM-8z2=$HL58z2=(B</a></h3> - - <p align="left">$B5/F0;~$K!"(BApache $B$O(B "sbin" $B%G%#%l%/%H%j$G(B - "suexec" $B$rC5$7$^$9(B - ($B%G%U%)%k%H$O(B "/usr/local/apache/sbin/suexec") $B!#(B - $BE,@Z$K@_Dj$5$l$?(B suEXEC $B$,$_$D$+$k$H!"(B - $B%(%i!<%m%0$K0J2<$N%a%C%;!<%8$,=PNO$5$l$^$9!#(B</p> -<pre> - [notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>) -</pre> - - <p>$B%5!<%P5/F0;~$K$3$N%a%C%;!<%8$,=P$J$$>l9g!"(B - $BBgDq$O%5!<%P$,A[Dj$7$?>l=j$G(B wrapper $B%W%m%0%i%`$,8+$D$+$i$J$+$C$?$+!"(B - <em>setuid root</em> $B$H$7$F%$%s%9%H!<%k$5$l$F$$$J$$$+$G$9!#(B - <br /> - suEXEC $B$N;EAH$_$r;HMQ$9$k$N$,=i$a$F$G!"(BApache $B$,4{$KF0:nCf$G$"$l$P!"(B - Apache $B$r(B kill $B$7$F!":F5/F0$7$J$1$l$P$J$j$^$;$s!#(BHUP $B%7%0%J%k$d(B - USR1 $B%7%0%J%k$K$h$kC1=c$J:F5/F0$G$OIT==J,$G$9!#(B<br /> - suEXEC $B$rL58z$K$9$k>l9g$O!"(B"suexec" $B%U%!%$%k$r:o=|$7$F$+$i(B - Apache $B$r(B kill $B$7$F:F5/F0$7$^$9!#(B - </p> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - - <h3><a id="usage" name="usage">suEXEC $B$N;HMQ(B</a></h3> - - <p align="left"><strong>$B2>A[%[%9%H(B:</strong><br /> - suEXEC wrapper $B$N;H$$J}$H$7$F!"(B - <a href="mod/core.html#virtualhost">$B2>A[%[%9%H(B</a>$B@_Dj$G$N(B - <a href="mod/core.html#user">User</a> $B%G%#%l%/%F%#%V$H(B - <a href="mod/core.html#group">Group</a> - $B%G%#%l%/%F%#%V$rDL$7$?$b$N$,$"$j$^$9!#(B - $B$3$l$i$N%G%#%l%/%F%#%V$r%a%$%s%5!<%P$N%f!<%6(B ID - $B$H0[$J$k$b$N$K$9$k$H!"(BCGI $B%j%=!<%9$X$N$9$Y$F$N%j%/%(%9%H$O!"$=$N(B - <code><VirtualHost></code> $B$G;XDj$5$l$?(B <em>User</em> $B$H(B - <em>Group</em> $B$H$7$F<B9T$5$l$^$9!#(B<code><VirtualHost></code> - $B$G$=$l$i$N%G%#%l%/%F%#%V$N$I$A$i$+!"$^$?$ON>J}$,;XDj$5$l$F$$$J$$>l9g!"(B - $B%a%$%s%5!<%P$N%f!<%6(B ID $B$,A[Dj$5$l$^$9!#(B</p> - - <p><strong>$B%f!<%6%G%#%l%/%H%j(B:</strong><br /> - suEXEC wrapper $B$O!"%j%/%(%9%H@h$N%f!<%6$H$7$F(B CGI - $B$r<B9T$9$k$?$a$K$b;H$($^$9!#$3$l$O4|BT$9$k<B9T8"8B$N%f!<%6(B ID - $B$NA0$K!"(B"<strong><code>~</code></strong>" - $BJ8;z$rCV$/$3$H$G<B8=$5$l$^$9!#(B - $B$3$N5!G=$rF0:n$5$;$k$?$a$KI,MW$J$3$H$O!"(BCGI - $B$r$=$N%f!<%6$G<B9T$G$-$k$3$H!"$=$N%9%/%j%W%H$,>e5-$N(B<a - href="#model">$B%;%-%e%j%F%#8!::(B</a>$B$r%Q%9$G$-$k$3$H$G$9!#(B - </p> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - - <h3><a id="debug" name="debug">suEXEC $B$N%G%P%C%0(B</a></h3> - - <p align="left">suEXEC wrapper $B$O!">e5-$G=R$Y$?(B --suexec-logfile - $B%*%W%7%g%s$G;XDj$5$l$?%U%!%$%k$K%m%0>pJs$r5-O?$7$^$9!#(B - wrapper $B$rE,@Z$K@_Dj!"%$%s%9%H!<%k$G$-$F$$$k$H;W$&>l9g!"(B - $B$I$3$GLB$C$F$$$k$+8+$h$&$H$9$k$J$i$3$N%m%0$H%5!<%P$N(B - $B%(%i!<%m%0$r8+$k$H$h$$$G$7$g$&!#(B</p> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - - <h3><a id="jabberwock" - name="jabberwock">$B$H$+$2$KCm0U(B: $B7Y9p$H;vNc(B</a></h3> - - <p align="left"><strong>$BCm0U(B!</strong> - $B$3$N>O$O40A4$G$O$"$j$^$;$s!#$3$N>O$N:G?72~D{HG$K$D$$$F$O!"(B - Apache $B%0%k!<%W$N(B<a href="http://httpd.apache.org/docs/suexec.html"> - $B%*%s%i%$%s%I%-%e%a%s%H(B</a>$BHG$r;2>H$7$F$/$@$5$$!#(B - </p> - - <p align="left">$B%5!<%P$N@_Dj$K@)8B$r$b$&$1$k(B wrapper $B$K$D$$$F!"(B - $B$$$/$D$+6=L#?<$$E@$,$"$j$^$9!#(BsuEXEC $B$K4X$9$k(B "$B%P%0(B" - $B$rJs9p$9$kA0$K$3$l$i$r3NG'$7$F$/$@$5$$!#(B</p> - - <ul> - <li><strong>suEXEC $B$N6=L#?<$$E@(B</strong></li> - - <li>$B3,AX9=B$$N@)8B(B - - - <blockquote> - $B%;%-%e%j%F%#$H8zN($NM}M3$+$i!"(BsuEXEC $B$NA4$F$N%j%/%(%9%H$O(B - $B2>A[%[%9%H$X$N%j%/%(%9%H$K$*$1$k:G>e0L$N%I%-%e%a%s%H%k!<%HFb$+!"(B - $B%f!<%6%G%#%l%/%H%j$X$N%j%/%(%9%H$K$*$1$k8D!9$N%f!<%6$N:G>e0L$N(B - $B%I%-%e%a%s%H%k!<%HFb$K;D$i$J$1$l$P$J$j$^$;$s!#(B - $BNc$($P!";M$D$N2>A[%[%9%H$r@_Dj$7$F$$$k>l9g!"(B - $B2>A[%[%9%H$N(B suEXEC $B$KM-Mx$J$h$&$K!"%a%$%s$N(B Apache - $B%I%-%e%a%s%H3,AX$N30B&$KA4$F$N2>A[%[%9%H$N%I%-%e%a%s%H%k!<%H$r(B - $B9=C[$9$kI,MW$,$"$j$^$9!#(B($BNc$O8eF|5-:\(B) - </blockquote> - </li> - - <li>suEXEC $B$N(B PATH $B4D6-JQ?t(B - - - <blockquote> - $B$3$l$rJQ99$9$k$N$O4m81$G$9!#$3$N;XDj$K4^$^$l$k3F%Q%9$,(B - <strong>$B?.Mj$G$-$k(B</strong> - $B%G%#%l%/%H%j$G$"$k$3$H$r3NG'$7$F$/$@$5$$!#(B - $B@$3&$+$i$N%"%/%;%9$K$h$j!"C/$+$,%[%9%H>e$G%H%m%$$NLZGO(B - $B$r<B9T$G$-$k$h$&$K$O$7$?$/$J$$$G$7$g$&!#(B - </blockquote> - </li> - - <li>suEXEC $B%3!<%I$N2~B$(B - - - <blockquote> - $B7+$jJV$7$^$9$,!"2?$r$d$m$&$H$7$F$$$k$+GD0.$;$:$K$3$l$r$d$k$H(B - <strong>$BBg$-$JLdBj(B</strong>$B$r0z$-5/$3$7$+$M$^$;$s!#(B - $B2DG=$J8B$jHr$1$F$/$@$5$$!#(B - </blockquote> - </li> - </ul> - - <p align="center"><strong><a - href="suexec.html">$BL\<!$KLa$k(B</a></strong></p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/win_compiling.html.en b/usr.sbin/httpd/htdocs/manual/win_compiling.html.en deleted file mode 100644 index 371793653bc..00000000000 --- a/usr.sbin/httpd/htdocs/manual/win_compiling.html.en +++ /dev/null @@ -1,273 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Compiling Apache for Microsoft Windows</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Compiling Apache for Microsoft Windows</h1> - - <p>There are many important points before you begin compiling - Apache. See <a href="windows.html">Using Apache with Microsoft - Windows</a> before you begin.</p> - - <p>Compiling Apache requires Microsoft Visual C++ 5.0 or 6.0 to - be properly installed. It can be built with command-line tools, - or within the Visual Studio environment. Consult the VC++ - manual to determine how to install them. Be especially aware - that the vcvars32.bat file from the Program - Files/DevStudio/VC/bin folder, and the setenv.bat file from the - Platform SDK, may be required to prepare the command-line tools - for command-line builds (e.g. using nmake). To install apache - with the Makefile.win or the InstallBin project in the Visual - Studio IDE, the awk utility is also required. If you use Visual - Studio 7.0 (.net), loading Apache.dsw converts it to .msproj - format. When changes are made to the project (.dsp) files, you - must reconvert Apache.dsw all over again.</p> - - <p>First, you should install awk.exe where it can be found in - the path and the DevStudio environment, if you plan to use the - IDE. There are many versions of awk available for Windows; the - easiest to install is available from Brian Kernighan's <a - href="http://cm.bell-labs.com/cm/cs/who/bwk/">http://cm.bell-labs.com/cm/cs/who/bwk/</a> - site. When downloading <a - href="http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe">http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe</a> - from this site, you must save it with the name awk.exe rather - than awk95.exe.</p> - - <p>Note that Developer Studio IDE will only find awk.exe from - the <u>T</u>ools menu <u>O</u>ptions... Directories tab - (the Projects - VC++ Directories pane in Developer Studio 7.0) - listing Executable file paths. Add the path for awk.exe to this - list, and your system PATH environment variable, as needed.</p> - - <p>Then unpack the Apache distribution into an appropriate - directory. Open a command-line prompt, and change to the - <code>src</code> subdirectory of the Apache distribution.</p> - - <p>The master Apache makefile instructions are contained in the - <code>Makefile.win</code> file. To compile Apache on Windows - NT, simply use one of the following commands:</p> - - <ul> - <li><code>nmake /f Makefile.win _apacher</code> (release - build)</li> - - <li><code>nmake /f Makefile.win _apached</code> (debug - build)</li> - </ul> - - <p>These will both compile Apache. The latter will include - debugging information in the resulting files, making it easier - to find bugs and track down problems.</p> - - <p>If you get an error such as "the name specified is not - recognized..." then you need to run vcvars32.bat first. Enter - the following command;</p> -<pre> - "c:\Program Files\DevStudio\VC\Bin\VCVARS32.BAT" -</pre> - - <p>(you will need to adjust this command so it matches the - directory where your VC was installed.)</p> - - <p>If you are a Visual C++ 5.0 user, and have installed a - recent Platform SDK, you may also need to enter the following - command (adjusted for the install directory of the Platform SDK - update);</p> -<pre> - "c:\Program Files\Platform SDK\SETENV.BAT" -</pre> - - <p>Then try the nmake command again.</p> - - <p><strong>Note</strong> that the Windows Platform SDK update - is required to enable all supported mod_isapi features. The SDK - files distributed with Microsoft Visual C++ 5.0 are out of - date. Without a recent update, Apache will issue warnings under - MSVC++ 5.0 that some mod_isapi features will be disabled. Look - for the update at <a - href="http://msdn.microsoft.com/platformsdk/"> - http://msdn.microsoft.com/platformsdk/</a>.</p> - - <p>Apache can also be compiled using VC++'s Visual Studio - development environment. To simplify this process, a Visual - Studio workspace, Apache.dsw, is provided in the - <code>src</code> folder. This workspace exposes the entire list - of working .dsp projects that are required for the complete - Apache binary release. It includes dependencies between the - projects to assure that they are built in the appropriate - order. InstallBin is the top-level project that will build all - other projects, and install the compiled files into their - proper locations.</p> - - <p>These .dsp project files are distributed in Visual C++ 6.0 - format. Visual C++ 5.0 (97) will recognize them with the single - exception of the /ZI flag, which corresponds to the VC 5.0 /Zi - flag for debugging symbols. To quickly prepare the .dsp files - for the Visual Studio 5.0 (97), you can use the perl scripts - distributed in the <code>src\helpers</code> folder:</p> -<pre> - cd src\helpers - cvstodsp5.pl -</pre> - - <p>This command assumes you have a Perl interpreter installed - and registered for files of type .pl. The list of converted - .dsp project files will be displayed as they are converted. If - you contribute back a patch that offers revised project files, - please convert them back with the script dsp5tocvs.pl, which - puts the projects back to Visual Studio 6.0 format.</p> - - <p>The core .dsp projects built by Apache.dsw and makefile.win - are:</p> - - <ul> - <li><code>os\win32\ApacheOS.dsp</code></li> - <li><code>os\win32\Win9xConHook.dsp</code></li> - <li><code>regex\regex.dsp</code></li> - <li><code>ap\ap.dsp</code></li> - <li><code>lib\expat-lite\xmltok.dsp</code></li> - <li><code>lib\expat-lite\xmlparse.dsp <em>requires - xmltok</em></code></li> - <li><code>lib\sdbm.dsp</code></li> - <li><code>main\gen_uri_delims.dsp</code></li> - <li><code>main\gen_test_char.dsp</code></li> - <li><code>ApacheCore.dsp <em>requires all of the - above</em></code></li> - <li><code>Apache.dsp <em>requires ApacheCore</em></code></li> - </ul> - - <p>In addition, the <code>os\win32</code> subdirectory contains - project files for the optional modules, all of which require - ApacheCore.</p> - - <ul> - <li><code>os\win32\mod_auth_anon.dsp</code></li> - <li><code>os\win32\mod_auth_dbm.dsp <em>also requires - sdbm</em></code></li> - <li><code>os\win32\mod_auth_digest.dsp</code></li> - <li><code>os\win32\mod_cern_meta.dsp</code></li> - <li><code>os\win32\mod_digest.dsp</code></li> - <li><code>os\win32\mod_expires.dsp</code></li> - <li><code>os\win32\mod_headers.dsp</code></li> - <li><code>os\win32\mod_info.dsp</code></li> - <li><code>os\win32\mod_mime_magic.dsp</code></li> - <li><code>os\win32\mod_proxy.dsp</code></li> - <li><code>os\win32\mod_rewrite.dsp</code></li> - <li><code>os\win32\mod_speling.dsp</code></li> - <li><code>os\win32\mod_status.dsp</code></li> - <li><code>os\win32\mod_unique_id.dsp</code></li> - <li><code>os\win32\mod_usertrack.dsp</code></li> - <li><code>os\win32\mod_vhost_alias.dsp</code></li> - </ul> - - <p>The <code>support\</code> folder contains project files for - additional programs that are not part of the Apache runtime, - but are used by the administrator to maintain password and log - files.</p> - - <ul> - <li><code>support\htdigest.dsp</code></li> - <li><code>support\htpasswd.dsp</code></li> - <li><code>support\logresolve.dsp</code></li> - <li><code>support\rotatelogs.dsp</code></li> - </ul> - - <p>Once Apache has been compiled, it needs to be installed in - its server root directory. The default is the - <code>\Apache</code> directory, on the current hard drive.</p> - - <p>To install the files into the <code>c:\ServerRoot</code> - directory automatically, use one of the following nmake commands - (see above):</p> - - <ul> - <li><code>nmake /f Makefile.win installr - INSTDIR=<em>c:\ServerRoot</em></code> (for release - build)</li> - <li><code>nmake /f Makefile.win installd - INSTDIR=<em>c:\ServerRoot</em></code> (for debug build)</li> - </ul> - - <p>The <em>c:\ServerRoot</em> argument to INSTDIR gives the - installation directory (it can be omitted if Apache is to be - installed into <samp>\Apache</samp>).</p> - - <p>This will install the following:</p> - - <ul> - <li><code><em>c:\ServerRoot</em>\Apache.exe</code> - Apache - program</li> - <li><code><em>c:\ServerRoot</em>\ApacheCore.dll</code> - - Apache runtime [shared library]</li> - <li><code><em>c:\ServerRoot</em>\Win9xConHook.dll</code> - - Win9x console fixups [shared library]</li> - <li><code><em>c:\ServerRoot</em>\xmlparse.dll</code> - XML - parser [shared library]</li> - <li><code><em>c:\ServerRoot</em>\xmltok.dll</code> - XML - token engine [shared library]</li> - <li><code><em>c:\ServerRoot</em>\bin\*.exe</code> - - Administration programs</li> - <li><code><em>c:\ServerRoot</em>\cgi-bin</code> - Example CGI - scripts</li> - <li><code><em>c:\ServerRoot</em>\conf</code> - Configuration - files directory</li> - <li><code><em>c:\ServerRoot</em>\icons</code> - Icons for - FancyIndexing</li> - <li><code><em>c:\ServerRoot</em>\include\*.h</code> - Apache - header files</li> - <li><code><em>c:\ServerRoot</em>\htdocs</code> - Welcome - index.html pages</li> - <li><code><em>c:\ServerRoot</em>\htdocs\manual</code> - - Apache documentation</li> - <li><code><em>c:\ServerRoot</em>\lib</code> - Static library - files</li> - <li><code><em>c:\ServerRoot</em>\libexec</code> - Dynamic - link libraries</li> - <li><code><em>c:\ServerRoot</em>\logs</code> - Empty logging - directory</li> - <li><code><em>c:\ServerRoot</em>\modules\mod_*.dll</code> - - Loadable Apache modules</li> - </ul> - - <p>If you do not have nmake, or wish to install in a different - directory, be sure to use a similar naming scheme.</p> - - <p>To simplify the process, dependencies between all projects - are defined in the Microsoft Visual Studio workspace file:</p> -<pre> - src/Apache.dsw -</pre> - - <p>This assures that lower-level sources are rebuilt from - within Visual Studio. The top level project is InstallBin, - which invokes Makefile.win to move the compiled executables and - dlls. You may personalize the INSTDIR= setting by changing the - Settings for InstallBin, Build command line entry under the - General tab. The default from within the InstallBin.dsp project - is one level up (..) from the src tree. Modify the InstallBin - settings and edit the INSTDIR=.. entry to the desired target - directory.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/win_compiling.html.ja.jis b/usr.sbin/httpd/htdocs/manual/win_compiling.html.ja.jis deleted file mode 100644 index ff0e02495ef..00000000000 --- a/usr.sbin/httpd/htdocs/manual/win_compiling.html.ja.jis +++ /dev/null @@ -1,278 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Microsoft Windows $B$G$N(B Apache $B$N%3%s%Q%$%k(B</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.16 --> - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Microsoft Windows $B$G$N(B Apache $B$N%3%s%Q%$%k(B</h1> - - <p>Apache $B$N%3%s%Q%$%k$r;O$a$k$K$"$?$C$F!"B?$/$N=EMW$J%]%$%s%H$,$"$j$^$9!#(B - $B;O$a$kA0$K!"(B<a href="windows.html">Microsoft Windows $B$G$N(B Apache - $B$N;HMQ(B</a>$B$r8+$F$/$@$5$$!#(B</p> - - <p>Apache $B$r%3%s%Q%$%k$9$k$K$O(B Microsoft Visual C++ 5.0 - $B$^$?$O(B 6.0 $B$,E,@Z$K%$%s%9%H!<%k$5$l$F$$$k$3$H$,I,MW$G$9!#(B - $B%S%k%I$O%3%^%s%I%i%$%s%D!<%k!"$^$?$O(B Visual Studio - $B4D6-$G2DG=$G$9!#%$%s%9%H!<%k$NJ}K!$O!"(BVC++ - $B$N%^%K%e%"%k$r;29M$K$7$F$/$@$5$$!#%3%^%s%I%i%$%s$G$N%S%k%I(B - ($BNc$($P(B nmake $B$N;HMQ(B)$B$G$O!"%3%^%s%I%i%$%s%D!<%k$N=`Hw$K(B Program - Files/DevStudio/VC/bin $B%U%)%k%@$K$"$k(B vcvars32.bat $B5Z$S(B Platform - SDK $B$N(B setenv.bat $B$N%U%!%$%k$,I,MW$K$J$k$G$"$m$&$3$H$K$D$$$F!"(B - $BFC$KCm0U$7$F$/$@$5$$!#(BMakefile.win $B$d(B Visual Studio IDE $B$N(B - InstallBin $B%W%m%8%'%/%H$r;H$C$F(B Apache $B$r%$%s%9%H!<%k$9$k>l9g$O!"(B - awk $B%f!<%F%#%j%F%#$bI,MW$K$J$j$^$9!#(BVisual Studio 7.0 (.net) - $B$r;H$&>l9g$O!"(BApache.dsw $B$rFI$_9~$_(B .msproj - $B%U%)!<%^%C%H$KJQ49$7$F$/$@$5$$!#%W%m%8%'%/%H%U%!%$%k(B (.dsp) - $B$KJQ99$,$"$C$?>l9g$O(B Apache.dsw - $B$r0l$+$iJQ49$7D>$5$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$^$:!"(BIDE $B$r;H$&$D$b$j$J$i%Q%9$,DL$j!"(BDevStudio - $B4D6-$,2r<a$G$-$k$H$3$m$K(B awk.exe $B$r%$%s%9%H!<%k$7$F$/$@$5$$!#(B - Windows $B$GMxMQ2DG=$J(B awk $B$OMM!9$J%P!<%8%g%s$,$"$j$^$9!#(B - $B0lHV%$%s%9%H!<%k$7$d$9$$$b$N$O(B Brian Kernighan $B$N(B <a - href="http://cm.bell-labs.com/cm/cs/who/bwk/" - >http://cm.bell-labs.com/cm/cs/who/bwk/</a> $B%5%$%H$+$iF~<j2DG=$G$9!#(B - $B$3$N%5%$%H$+$i(B <a href="http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe" - >http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe</a> - $B$r%@%&%s%m!<%I$7$?>l9g$O!"(Bawk95.exe $B$r(B awk.exe - $B$H$$$&L>A0$GJ]B8$7$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>Developer Studio IDE $B$O%D!<%k(B (<u>T</u>) $B%a%K%e!<$N%*%W%7%g%s(B - (<u>O</u>) $B0J2<$N!"%G%#%l%/%H%j%?%V(B (Developer Studio 7.0 $B$G$O(B - Projects - VC++ Directories) - $B$N<B9T2DG=%U%!%$%k$K%j%9%H$5$l$?>l=j$K$"$k>l9g$K$N$_!"(Bawk.exe - $B$r8+$D$1$i$l$k$3$H$KCm0U$7$F$/$@$5$$!#I,MW$K1~$8!"(Bawk.exe - $B$X$N%Q%9$r$3$N%j%9%H!"%7%9%F%`$N4D6-JQ?t(B PATH $B$KDI2C$7$F$/$@$5$$!#(B</p> - - <p>$B$=$l$+$i!"E,@Z$J%G%#%l%/%H%j$K(B Apache $B$NG[I[$rE83+$7$F$/$@$5$$!#(B - $B%3%^%s%I%W%m%s%W%H$r3+$-!"(BApache $BG[I[%5%V%G%#%l%/%H%j(B - <code>src</code> $B$K0\F0$7$F$/$@$5$$(B</p> - - <p><code>Makefile.win</code> $B%U%!%$%k$K$O(B Apache $B$N(B makefile - $B$N85$H$J$k;X<($,4^$^$l$F$$$^$9!#(BWindowsNT $B$G(B Apache - $B$r%3%s%Q%$%k$9$k$K$O!"C1$K0J2<$N%3%^%s%I$N$&$A$N0l$D$r;H$C$F$/$@$5$$(B</p> - - <ul> - <li><code>nmake /f Makefile.win _apacher</code> - ($B%j%j!<%9%S%k%I(B)</li> - - <li><code>nmake /f Makefile.win _apached</code> - ($B%G%P%C%0%S%k%I(B)</li> - </ul> - - <p>$B$3$l$i$O$I$A$i$b(B Apache $B$r%3%s%Q%$%k$7$^$9!#(B - $B8e<T$G$O!"=PNO$5$l$?%U%!%$%k$K%G%P%C%0>pJs$,4^$^$l!"(B - $B%P%0$r8+$D$1$?$jLdBj$rDI@W$7$?$j$7$d$9$/$J$j$^$9!#(B</p> - - <p>$B$b$7!"!V(B...$B$H$7$FG'<1$5$l$F$$$^$;$s!W(B - $B$N$h$&$J%(%i!<$,=P$?>l9g$O$^$:!"(Bvcvars32.bat $B$r<B9T$9$kI,MW$,$"$j$^$9!#(B - $B0J2<$N%3%^%s%I$rF~NO$7$F$/$@$5$$(B</p> -<pre> - "c:\Program Files\DevStudio\VC\Bin\VCVARS32.bat" -</pre> - - <p>($B$3$N%3%^%s%I$O(B VC $B$,%$%s%9%H!<%k$5$l$?%G%#%l%/%H%j$K9g$o$;$F(B - $BD4@0$9$kI,MW$,$"$j$^$9!#(B)</p> - - <p>Visual C++ 5.0 $B%f!<%6$G!"$+$D!":G6a$N%W%i%C%H%U%)!<%`(B SDK - $B$r%$%s%9%H!<%k$7$F$$$k>l9g$O!"0J2<$N%3%^%s%I$rF~NO$9$kI,MW$,$"$k$G$7$g$&(B - (Platform SDK $B%"%C%W%G!<%H$,%$%s%9%H!<%k$5$l$F$$$k%G%#%l%/%H%j$K9g$o$;$F(B - $BD4@0$9$kI,MW$,$"$j$^$9(B)</p> -<pre> - "c:\Program Files\Platform SDK\SETENV.BAT" -</pre> - - <p>$B$=$l$+$i!":F$S(B nmake $B%3%^%s%I$r;n$7$F$/$@$5$$!#(B</p> - - <p>$B%5%]!<%H$5$l$?$9$Y$F$N(B mod_isapi $B5!G=$rM-8z$K$9$k$K$O(B Windows - Platform SDK $B$N99?7$,I,MW$K$J$k$3$H$K(B<strong>$BCm0U$7$F$/$@$5$$(B</strong>$B!#(B - Microsoft Visual C++ 5.0 $B$H$H$b$KG[I[$5$l$?(B SDK $B%U%!%$%k$O8E$$$?$a$K(B - $B;H$($^$;$s!#(B - $B:G6a$N%"%C%W%G!<%H$,$J$5$l$F$$$J$$>l9g!"(BApache $B$O(B MSVC++ 5.0 $B$G$O!"(B - mod_isapi $B5!G=$,$$$/$D$+;HMQIT2D$K$J$k$3$H$r7Y9p$7$^$9!#(B - $B%"%C%W%G!<%H$K4X$7$F$O(B <a - href="http://msdn.microsoft.com/platformsdk/" - >http://msdn.micro soft.com/platformsdk/</a> $B$GC5$7$F$/$@$5$$!#(B</p> - - <p>Apache $B$O!"(BVC++ $B$N(B Visual Studio $B3+H/4D6-$r;H$C$F%3%s%Q%$%k(B - $B$9$k$3$H$b$G$-$^$9!#$3$N%W%m%;%9$r4JAG2=$9$k$?$a$K!"(BVisual Studio - workspace (Apache.dsw) $B$,(B <code>src</code> $B%U%)%k%@$K$*$$$F(B - $BDs6!$5$l$F$$$^$9!#(B - $B$3$N(B workspace $B$O!"40A4$J(B Apache $B$N%P%$%J%j%j%j!<%9$KI,MW$J(B .dsp - $B%W%m%8%'%/%H$NA4BN$N%j%9%H$,=q$+$l$F$$$^$9!#(B - $B$^$?!"$=$l$i$,E,@Z$J=g=x$G%S%k%I$5$l$k$h$&$K$9$k$?$a$K!"(B - $B%W%m%8%'%/%H$N4V$N0MB84X78$b4^$^$l$F$$$^$9!#(B - InstallBin $B$,!"B>$N$9$Y$F$N%W%m%8%'%/%H$r%S%k%I$7!"(B - $B%3%s%Q%$%k$5$l$?%U%!%$%k$rE,@Z$J0LCV$K%$%s%9%H!<%k$9$k!"(B - $B%H%C%W%l%Y%k$N%W%m%8%'%/%H$G$9!#(B</p> - - <p>$B$3$l$i$N(B .dsp $B%W%m%8%'%/%H%U%!%$%k$O(B Visual C++ 6.0 - $B$N%U%)!<%^%C%H$GG[I[$5$l$^$9!#(BVisual C++ 5.0(97) $B$O(B - $BM#0l$NNc30!"%G%P%C%0%7%s%\%kMQ$N%U%i%0$G$"$k(B /ZI - $B%U%i%0$r=|$$$F$3$N%U%)!<%^%C%H$rG'<1$7$^$9!#(B - VC 5.0 $B$G$O(B /Zi $B%U%i%0$,$3$l$KAjEv$7$^$9!#(B - Visual Studio 5.0 (97) $B$N(B .dsp $B%U%!%$%k$r$9$0$K=`Hw$9$k$K$O!"(B - <code>src\helpers</code> $B%U%)%k%@$K$FG[I[$5$l$F$$$k(B perl - $B%9%/%j%W%H$r;H$&$3$H$,$G$-$^$9(B</p> -<pre> - cd src\helpers - cvstodsp5.pl -</pre> - - <p>$B$3$N%3%^%s%I$O!"(BPerl $B%$%s%?%W%j%?$,%$%s%9%H!<%k$5$l$F$$$F!"(B - .pl $B$N%U%!%$%k%?%$%W$,EPO?$5$l$F$$$k$H2>Dj$7$^$9!#JQ49$5$l$?(B .dsp - $B%W%m%8%'%/%H%U%!%$%k$N%j%9%H$O$=$l$i$,JQ49$5$l$k$K$D$l$FI=<($5$l$F$$$-$^$9!#(B - $B2~D{$5$l$?%W%m%8%'%/%H%U%!%$%k$rDs6!$9$k%Q%C%A$r4sM?$9$k$H$-$O!"(B - Visual Studio6.0 $B%U%)!<%^%C%H$K%W%m%8%'%/%H$rLa$9%9%/%j%W%H(B - dsp5tocvs.pl $B$K$h$C$F$=$l$i$rJQ49$7$F$/$@$5$$!#(B</p> - - <p>Apache.dsw $B5Z$S(B makefile.win $B$K$h$j%S%k%I$5$l$k%3%"$N(B .dsp - $B%W%m%8%'%/%H$O0J2<$NDL$j$G$9(B</p> - - <ul> - <li><code>os\win32\ApacheOS.dsp</code></li> - <li><code>os\win32\Win9xConHook.dsp</code></li> - <li><code>regex\regex.dsp</code></li> - <li><code>ap\ap.dsp</code></li> - <li><code>lib\expat-lite\xmltok.dsp</code></li> - <li><code>lib\expat-lite\xmlparse.dsp <em>xmltok $B$,I,MW(B</em></code></li> - <li><code>lib\sdbm.dsp</code></li> - <li><code>main\gen_uri_delims.dsp</code></li> - <li><code>main\gen_test_char.dsp</code></li> - <li><code>ApacheCore.dsp <em>$B0J>eA4$F$,I,MW(B</em></code></li> - <li><code>Apache.dsp <em>ApacheCore $B$,I,MW(B</em></code></li> - </ul> - - <p>$B$5$i$K(B <code>os\win32</code> $B%5%V%G%#%l%/%H%j$K$O!"(B - $B%*%W%7%g%s$N%b%8%e!<%k$9$Y$F$N%W%m%8%'%/%H%U%!%$%k$,4^$^$l$^$9!#(B - $B$3$l$i$O$9$Y$F(B ApacheCore $B$rI,MW$H$7$^$9!#(B - </p> - - <ul> - <li><code>os\win32\mod_auth_anon.dsp</code></li> - <li><code>os\win32\mod_auth_dbm.dsp <em>sdbm $B$bI,MW(B</em></code></li> - <li><code>os\win32\mod_auth_digest.dsp</code></li> - <li><code>os\win32\mod_cern_meta.dsp</code></li> - <li><code>os\win32\mod_digest.dsp</code></li> - <li><code>os\win32\mod_expires.dsp</code></li> - <li><code>os\win32\mod_headers.dsp</code></li> - <li><code>os\win32\mod_info.dsp</code></li> - <li><code>os\win32\mod_mime_magic.dsp</code></li> - <li><code>os\win32\mod_proxy.dsp</code></li> - <li><code>os\win32\mod_rewrite.dsp</code></li> - <li><code>os\win32\mod_speling.dsp</code></li> - <li><code>os\win32\mod_status.dsp</code></li> - <li><code>os\win32\mod_unique_id.dsp</code></li> - <li><code>os\win32\mod_usertrack.dsp</code></li> - <li><code>os\win32\mod_vhost_alias.dsp</code></li> - </ul> - - <p><code>support\</code> $B%U%)%k%@$O!"(BApache - $B%i%s%?%$%`$N0lIt$G$O$J$$$1$l$I$b!"%Q%9%o!<%I$H%m%0%U%!%$%k$r(B - $B4IM}$9$k$?$a$K!"4IM}<T$K$h$j;HMQ$5$l$kDI2C$N%W%m%0%i%`$N(B - $B%W%m%8%'%/%H%U%!%$%k$,4^$^$l$^$9!#(B</p> - - <ul> - <li><code>support\htdigest.dsp</code></li> - <li><code>support\htpasswd.dsp</code></li> - <li><code>support\logresolve.dsp</code></li> - <li><code>support\rotatelogs.dsp</code></li> - </ul> - - <p>Apache $B$,%3%s%Q%$%k$G$-$?$i%5!<%P%k!<%H%G%#%l%/%H%j$K%$%s%9%H!<%k(B - $B$9$kI,MW$,$"$j$^$9!#%G%U%)%k%H$O8=:_$N%O!<%I%G%#%9%/$N%G%#%l%/%H%j(B - <code>\Apache</code> $B$G$9!#(B</p> - - <p>$B<+F0E*$K(B <code>c:\ServerRoot</code> - $B$K%U%!%$%k$r%$%s%9%H!<%k$9$k$K$O!"0J2<$N(B nmake - $B%3%^%s%I(B($B>eIt;2>H(B)$B$N$I$A$i$+$r;H$C$F$/$@$5$$!#(B</p> - - <ul> - <li><code>nmake /f Makefile.win installr - INSTDIR=<em>c:\ServerRoot</em></code> ($B%j%j!<%9HG%S%k%IMQ(B) - </li> - <li><code>nmake /f Makefile.win installd - INSTDIR=<em>c:\ServerRoot</em></code> ($B%G%P%C%0HG%S%k%IMQ(B)</li> - </ul> - - <p>INSTDIR $B$X$N(B<em>c:\ServerRoot</em> - $B0z?t$,%$%s%9%H!<%k%G%#%l%/%H%j$r;XDj$7$^$9(B (Apache $B$r(B <samp>\Apache</samp> - $B$K%$%s%9%H!<%k$9$k>l9g$O>JN,2D(B)$B!#(B</p> - - <p>$B$3$l$K$h$j0J2<$,%$%s%9%H!<%k$5$l$^$9(B</p> - - <ul> - <li><code><em>c:\ServerRoot</em>\Apache.exe</code> - Apache - $B%W%m%0%i%`(B</li> - <li><code><em>c:\ServerRoot</em>\ApacheCore.dll</code> - - Apache $B%i%s%?%$%`(B [$B6&M-%i%$%V%i%j(B]</li> - <li><code><em>c:\ServerRoot</em>\Win9xConHook.dll</code> - - Win9x console fixups [$B6&M-%i%$%V%i%j(B]</li> - <li><code><em>c:\ServerRoot</em>\xmlparse.dll</code> - XML - $B%Q!<%5(B [$B6&M-%i%$%V%i%j(B]</li> - <li><code><em>c:\ServerRoot</em>\xmltok.dll</code> - XML - $B%H!<%/%s%(%s%8%s(B [$B6&M-%i%$%V%i%j(B]</li> - <li><code><em>c:\ServerRoot</em>\bin\*.exe</code> - - $B4IM}MQ%W%m%0%i%`(B</li> - <li><code><em>c:\ServerRoot</em>\cgi-bin</code> - CGI - $B%9%/%j%W%H$NNc(B</li> - <li><code><em>c:\ServerRoot</em>\conf</code> - $B@_Dj%U%!%$%k(B - $B%G%#%l%/%H%j(B</li> - <li><code><em>c:\ServerRoot</em>\icons</code> - FancyIndexing - $BMQ$N%"%$%3%s(B</li> - <li><code><em>c:\ServerRoot</em>\include\*.h</code> - Apache - $B%X%C%@%U%!%$%k(B</li> - <li><code><em>c:\ServerRoot</em>\htdocs</code> - $B$h$&$3$=!"$N(B - index.html $B%Z!<%8(B</li> - <li><code><em>c:\ServerRoot</em>\htdocs\manual</code> - - Apache $B%I%-%e%a%s%H(B</li> - <li><code><em>c:\ServerRoot</em>\lib</code> - $B@EE*%i%$%V%i%j(B - </li> - <li><code><em>c:\ServerRoot</em>\libexec</code> - $BF0E*%i%$%V%i%j(B - </li> - <li><code><em>c:\ServerRoot</em>\logs</code> - $B6u$N%m%0%G%#%l%/%H%j(B - </li> - <li><code><em>c:\ServerRoot</em>\modules\mod_*.dll</code> - - $B%m!<%I2DG=$J(B Apache $B%b%8%e!<%k(B</li> - </ul> - - <p>$B$b$7(B nmake $B$r;}$C$F$$$J$$$+!"0c$&%G%#%l%/%H%j$K%$%s%9%H!<%k(B - $B$7$?$$>l9g$O!"I,$:F1MM$NL?L>BN7O$r;H$C$F$/$@$5$$!#(B</p> - - <p>$B%W%m%;%9$N4JAG2=$N$?$a$9$Y$F$N%W%m%8%'%/%H$N4V$N0MB84X78$O(B - Microsoft Visual Studio workspace $B%U%!%$%k$K$*$$$FDj5A$5$l$F$$$^$9(B</p> -<pre> - src/Apache.dsw -</pre> - - <p>$B$3$l$O!"$h$jDc0L$N%=!<%9$O(B Visual Studio - $BFb$G:F%S%k%I$5$l$k$3$H$rJ]>Z$7$^$9!#:G>e0L$N%W%m%8%'%/%H$O(B InstallBin - $B$G$"$j!"(BMakefile.win $B$r<B9T$7$F%3%s%Q%$%k$5$l$?<B9T%U%!%$%k$H(B dll - $B$r0\F0$7$^$9!#(BInstallBin $B$N!"!V@_Dj!W$+$i!"!V0lHL!W%?%V$K$"$k!"(B - $B!V%3%^%s%I%i%$%s!W%(%s%H%j$G(B INSTDIR= $B$rJQ99$9$k$3$H$,$G$-$^$9!#(B - InstallBin.dsp $B%W%m%8%'%/%HFb$N%G%U%)%k%H$O!"(Bsrc $B%D%j!<$+$i(B - 1 $B3,AX>e(B (..) $B$G$9!#(BInstallBin $B@_Dj$r=$@5$7!"(B - INSTDIR= $B$rL\E*$N%G%#%l%/%H%j$X$HJT=8$7$F$/$@$5$$!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/win_service.html.en b/usr.sbin/httpd/htdocs/manual/win_service.html.en deleted file mode 100644 index 9e1bc7a3552..00000000000 --- a/usr.sbin/httpd/htdocs/manual/win_service.html.en +++ /dev/null @@ -1,445 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Running Apache for Windows as a Service</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Running Apache for Windows as a Service</h1> - - <p>Apache can be run as a service on Windows NT/2000. (There is - also some experimental support for similar behavior on - <a href="#win95svc">Windows 95/98</a>, introduced with Apache - 1.3.13).</p> - - <p>Installing Apache as a service should only be done once you - can successfully run it in a console window. See <a - href="windows.html">Using Apache with Microsoft Windows</a> - before you attempt to install or run Apache as a service. - Changes to the httpd.conf file should always be followed by - starting Apache as a console window. If this succeeds, the - service should succeed.</p> - - <p><strong>NOTE: Prior to version 1.3.13, the configuration was - <em>not tested</em> prior to performing the - installation</strong>, and a lack of service dependencies often - caused the console window to succeed, but the service would - still fail. See <a href="#service">below</a> if you are having - problems running a version of Apache prior to 1.3.13 to resolve - the issue. If you have this problem with version 1.3.13 or - greater, first try uninstalling (-u) and re-installing (-i) the - Apache service. Better yet, upgrade to the most recent version.</p> - <hr /> - - <p>To start Apache as a service, you first need to install it - as a service. Multiple Apache services can be installed, each - with a different name and configuration. To install the default - Apache service named "Apache", choose the "Install as Service for - All Users" option when launching the Apache installation package. - Once this is done you can start the "Apache" service by opening - the Services window (in the Control Panel, hidden in "Administrative - Tools" on Windows 2000), selecting Apache, then clicking - on Start. Apache will now be running, hidden in the background. - You can later stop Apache by clicking on Stop. As an - alternative to using the Services window, you can start and - stop the "Apache" service from the command line with</p> -<pre> - NET START APACHE - NET STOP APACHE -</pre> - - <p>See <a href="#signal">Controlling Apache as a Service</a> - for more information on installing and controlling Apache - services.</p> - - <p><strong>Apache, unlike many other Windows NT/2000 services, - logs most errors to its own error.log file, in the logs folder - within the Apache server root folder. You will find few Apache - error details in the Windows NT Event Log. Only errors as - Apache attempts to start are captured in the Application Event - Log.</strong></p> - - <p>After starting Apache as a service (or if you have trouble - starting it) you can test it using the same <a - href="windows.html#test">procedure</a> as for running in a - console window. Remember to use the command:</p> -<pre> - apache -n "service name" -</pre> - - <p>to assure you are using the service's default - configuration.</p> - - <h2><a id="service" name="service">Running Apache for Windows - as a Service</a></h2> - - <p><strong>Note: The -n option to specify a service name is - only available with Apache 1.3.7 and later.</strong> Earlier - versions of Apache only support the default service name - 'Apache'. Only version 1.3.21 supports Windows 2000 ability - to 'rename' the display name of a service.</p> - - <p>You can install Apache as a Windows NT service as - follows:</p> -<pre> - apache -i -n "service name" -</pre> - - <p>To install a service to use a particular configuration, - specify the configuration file when the service is - installed:</p> -<pre> - apache -i -n "service name" -f "\my server\conf\my.conf" -</pre> - - <p>You can pass any other arguments, such as -d to change the - default server root directory, -D, -C or -c to change config - file processing, etc. Since these are stored in the registry - and are difficult to modify, use this command to clear the - options and replace them with a new list of options;</p> -<pre> - apache -k config -n "service name" -f "\my server\conf\my.conf" -</pre> - - <p>To remove an Apache service, use:</p> -<pre> - apache -u -n "service name" -</pre> - - <p>The default "service name", if one is not specified, is - "Apache".</p> - - <p>Once a service is installed, you can use the <samp>-n</samp> - option, in conjunction with other options, to refer to a - service's configuration file. For example:</p> - - <p>To test a service's configuration file and report the - default options for the service (configured with -i, -k install - or -k config) use:</p> -<pre> - apache -n "service name" -t -</pre> - - <p>To start a console Apache using a service's configuration - file and its default options, use:</p> -<pre> - apache -n "service name" -</pre> - - <p>Effective with Apache release 1.3.15, the -k install option - was added as an alias to -i, and the -k uninstall option was - added as an alias to -u. The original -i and -u options are - deprecated in Apache 2.0. These aliases were added to ease the - transition for administrators running both versions.</p> - - <h2><a id="depends" name="depends">Important Note on service - dependencies:</a></h2> - - <p>Prior to Apache release 1.3.13, the dependencies required to - successfully start an installed service were not configured. - After installing a service using earlier versions of Apache, - you must follow these steps:</p> -<pre> - Run regedt32 - Select <u>W</u>indow - "HKEY_LOCAL_MACHINE on Local Machine" from the menu - Double-click to open the SYSTEM, then the CurrentControlSet keys - Scroll down and click on the Apache servicename - Select <u>E</u>dit - Add <u>V</u>alue... from the menu - Fill in the Add Value dialog with - <u>V</u>alue Name: DependOnGroup - <u>D</u>ata Type: REG_MULTI_SZ - and click OK - Leave the Multi-String Editor dialog empty and click OK - Select <u>E</u>dit - Add <u>V</u>alue... from the menu - Fill in the Add Value dialog with - <u>V</u>alue Name: DependOnService - <u>D</u>ata Type: REG_MULTI_SZ - and click OK - Type the following list (one per line) in the Multi-String Editor dialog - Tcpip - Afd - and click OK -</pre> - - <p>If you are using COM or DCOM components from a third party - module, ISAPI, or other add-in scripting technologies such as - ActiveState Perl, you may also need to add the entry Rpcss to - the DependOnService list. To avoid exposing the TCP port 135 - when it is unnecessary, Apache does not create that entry upon - installation. Follow the directions above to find or create the - DependOnService value, double click that value if it already - exists, and add the Rpcss entry to the list.</p> - - <p>Other installations may require additional dependencies. - If any files required at startup reside on a network drive, you - may need to first configure the service to depend on the network - redirector (usually lanmanworkstation) and follow the directions - below under the "User Account for Apache Service to Run As" section.</p> - - <p>Attempting to use both IIS and Apache, on the same port but on - two different IP addresses may require the W3SVC (IIS) to start prior - to Apache, because IIS tries to glom onto all IP addresses (0.0.0.0) - as it starts, and will fail if Apache has already started on a - specific IP address.</p> - - <p>Apache 1.3.21 introduces a MUCH simpler way to add a dependency. - The -W "servicename" argument modifies the -k install or -k config - commands to configure a dependency for Apache. Multiple -W arguments - may be given, but they should all occur after the -k option. - For example, to add the LanmanWorkstation dependency to an installed - "Apache" service, use this command:</p> -<pre> - apache -k config -n Apache -W LanmanWorkstation -</pre> - - <h2>User Account for Apache Service to Run As (NT/2000)</h2> - - <p>When Apache is first installed as a service (e.g. with the - -i option) it will run as user "System" (the LocalSystem - account). There should be few issues if all resources for the - web server reside on the local system, but it has broad - security privileges to affect the local machine!</p> - - <blockquote> - LocalSystem is a very privileged account locally, so you - shouldn't run any shareware applications there. However, it - has no network privileges and cannot leave the machine via - any NT-secured mechanism, including file system, named pipes, - DCOM, or secure RPC. - </blockquote> - - <p><strong>NEVER grant network privileges to the SYSTEM - account!</strong> Create a new user account instead, grant the - appropriate privileges to that user, and use the 'Log On As:' - option. Select the Start Menu -> Settings -> Control - Panel -> Services -> apache service ... and click the - "Startup" button to access this setting.</p> - - <blockquote> - A service that runs in the context of the LocalSystem account - inherits the security context of the SCM. It is not - associated with any logged-on user account and does not have - credentials (domain name, user name, and password) to be used - for verification. - </blockquote> - - <p>The SYSTEM account has no privileges to the network, so - shared pages or a shared installation of Apache is invisible to - the service. If you intend to use <em>any</em> network - resources, the following steps should help:</p> - - <ul> - <li>Select Apache from the Control Panel's Service dialog and - click Startup.</li> - - <li>Verify that the service account is correct. You may wish - to create an account for your Apache services.</li> - - <li>Retype the password and password confirmation.</li> - - <li>Go to User Manager for Domains.</li> - - <li>Click on Policies from the title bar menu, and select - User Rights.</li> - - <li>Select the option for Advanced User Rights.</li> - - <li> - In the drop-down list, verify that the following rights - have been granted to the selected account: - - <ul> - <li>Act as part of the operating system</li> - - <li>Back up files and directories</li> - - <li>Log on as a service</li> - - <li>Restore files and directories</li> - </ul> - </li> - - <li>Confirm that the selected account is a member of the - Users group.</li> - - <li>Confirm the selected account has access to all document - and script directories (minimally read and browse - access).</li> - - <li>Confirm the selected account has read/write/delete access - to the Apache logs directory!</li> - </ul> - - <p>If you allow the account to log in as a user, then you can - log in yourself and test that the account has the privileges to - execute the scripts, read the web pages, and that you can start - Apache in a console window. If this works, and you have - followed the steps above, Apache should execute as a service - with no problems.</p> - - <p><strong>Note: error code 2186</strong> is a good indication - that you need to review the 'Log On As' configuration, since - the server can't access a required network resource.</p> - - <h2><a id="trouble" name="trouble">Troubleshooting Apache for - Windows as a Service</a></h2> - - <p>When starting Apache as a service you may encounter an error - message from Windows service manager. For example if you try to - start Apache using the Services applet in Windows Control Panel - you may get the following message;</p> -<pre> - Could not start the apache service on \\COMPUTER - Error 1067; The process terminated unexpectedly. -</pre> - - <p>You will get this error if there is any problem starting - Apache. In order to see what is causing the problem you should - follow the instructions for <a href="windows.html#test">Testing - Apache at the Command Prompt</a>.</p> - - <p>Also, Apache 1.3.13 now records startup errors in the - Application Event Log under Windows NT/2000, if Apache is run - as a service. Run the Event Viewer and select <u>L</u>og ... - <u>A</u>pplication to see these events.</p> - - <p><strong>Check the Application Event Log with the Event - Viewer in case of any problems, even if no error message pops - up to warn you that an error occurred.</strong></p> - - <h2><a id="cmdline" name="cmdline">Running Apache for Windows - from the Command Line</a></h2> - For details on controlling Apache service from the command - line, please refer to <a href="windows.html#cmdline">console - command line</a> section. - - <h2><a id="signal" name="signal">Controlling Apache as a - Service</a></h2> - - <p>Multiple instances of Apache can be installed and run as - services. Signal an installed Apache service to start, restart, - or shutdown/stop as follows:</p> -<pre> - apache -n "service name" -k start - apache -n "service name" -k restart - apache -n "service name" -k shutdown - apache -n "service name" -k stop -</pre> - - <p>For the default "Apache" service, the -n Apache option is - still required, since the -k commands without the -n option are - directed at Apache running in a console window. The quotes are - only required if the service name contains spaces.</p> - - <p><strong>Note: the -k stop alias for the -k shutdown command - was introduced in Apache version 1.3.13.</strong> Earlier - versions of Apache will only recognize the -k shutdown option. - Prior to 1.3.3, Apache did not recognize <em>any</em> -k - options at all!</p> - - <p>Note that you may specify startup options on the apache -k - start command line, including the -D, -C and -c options. These - affect the processing of the service configuration, and may be - used with an <IfDefine> block to conditionally process - directives. You may also override the server root path or - configuration file with the -d or -f options. The options - should also be passed to the -k restart command, but they are - ignored if the service is running, and only processed if the - service is started.</p> - - <p>The service also appears in the Service Control applet on - Windows NT/2000. For NT, this is found in the Settings -> - Control Panel -> Services entry, and on 2000 it is found in - the Settings -> Control Panel -> Administrative Tools - -> Services entry. Here you can select the desired Apache - service to start or stop it. Pass additional options such as - -D, -C and -c, or override the default -d or -f options in the - Start Parameters box before clicking the Start button. These - options behave identically to the apache -k start command.</p> - - <p>In addition, you can use the native Windows NT/2000 command - NET to start and stop Apache services:</p> -<pre> - NET START "service name" - NET STOP "service name" -</pre> - - <p>Again, quotes are only required if the service name contains - spaces. There is no way using the NET START command to pass - additional options such as -D, -c or -C using the NET START - command. If options are required, use one of the other two - methods instead.</p> - - <h2><a id="win95svc" name="win95svc">Experimental - Windows 95/98 Service</a></h2> - - <p><strong>Note: The service options for Windows 95 and 98 are - only available with Apache 1.3.13 and later.</strong> Earlier - versions of Apache only supported Apache in a console window - for Windows 95/98.</p> - - <p>There is some support for Apache on Windows 95/98 to behave - in a similar manner as a service on Windows NT/2000. It is - <em>experimental</em>, if it works (at all) the Apache - Software Foundation will not attest to its reliability or - future support. Proceed at your own risk!</p> - - <p>Once you have confirmed that Apache runs correctly at the <a - href="windows.html#test">Command Prompt</a> you can install, - control and uninstall it with the same commands as the Windows - NT/2000 version.</p> - - <p>There are, however, significant differences that you should - note:</p> - - <p>Apache will attempt to start and if successful it will run - in the background. If you run the command</p> -<pre> - Apache -n "service name" -k start -</pre> - - <p>via a shortcut on your desktop, for example, then if the - service starts successfully a console window will flash up but - immediately disappears. If Apache detects any errors on startup - such as a incorrect entries in the httpd.conf file, then the - console window will remain visible. This may display an error - message which will be useful in tracking down the cause of the - problem, and you should also review the error.log file in the - Apache logs directory.</p> - - <p>Windows 95/98 does not support NET START or NET STOP - commands so you must use Apache's Service Control options at a - command prompt. You may wish to set up a shortcut for each of - these commands so that you can just choose it from the start - menu or desktop to perform the required action.</p> - - <p>Apache and Windows 95/98 offer no support for running the - Apache service as a specific user with network privileges. In - fact, Windows 95/98 offers no security on the local machine, - either. This is the simple reason that the Apache Software - Foundation never endorses the use of Windows 95/98 as a public - httpd server. These facilities exist only to assist the user in - developing web content and learning the Apache server, and - perhaps as a intranet server on a secured, private network.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/win_service.html.ja.jis b/usr.sbin/httpd/htdocs/manual/win_service.html.ja.jis deleted file mode 100644 index 1076383345a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/win_service.html.ja.jis +++ /dev/null @@ -1,444 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Windows $B$G(B Apache $B$r%5!<%S%9$H$7$FF0$+$9(B</title> - - </head> - <!-- English revision:1.9 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center">Windows $B$G(B Apache $B$r%5!<%S%9$H$7$FF0$+$9(B</h1> - - <p>Windows NT/2000 $B$G$O(B Apache - $B$r%5!<%S%9$H$7$FF0$+$9$3$H$,$G$-$^$9!#(B(Apache 1.3.13 - $B$G!"Hs>o$K<B83E*$K(B<a href="#win95svc">Windows 95/98</a> - $B$K$*$$$F$bF1MM$NF0:n$r%5%]!<%H$r$9$k$h$&$K$J$j$^$7$?(B)$B!#(B</p> - - <p>$B%5!<%S%9$H$7$F(B Apache $B$r%$%s%9%H!<%k$9$k$K$O!"(B - $B%3%s%=!<%k%&%#%s%I%&$G$?$C$?0lEY$3$N<B9T$,@.8y$G$-$l$P$$$$$O$:$G$9!#(B - Apache $B$r%5!<%S%9$H$7$F%$%s%9%H!<%k$7$?$j!"F0$+$=$&$H$9$kA0$K(B <a - href="windows.html">Microsoft Windows $B$G(B Apache $B$rF0$+$9(B</a> - $B$r;2>H$7$F$/$@$5$$!#(Bhttpd.conf $B%U%!%$%k$X$NJQ99$O%3%s%=!<%k%&%#%s%I%&$G(B - Apache $B$r5/F0$9$k$3$H$K$h$j!"$$$D$bH?1G$5$l$^$9!#(B - $B$3$l$G$&$^$/$$$1$P!"%5!<%S%9$O@.8y$9$k$G$7$g$&!#(B</p> - - <p><strong>$BCm0U(B: $B%P!<%8%g%s(B 1.3.13 $B$h$jA0$G$O%$%s%9%H!<%k<B9TA0$K(B - $B@_Dj$O(B<em>$B%F%9%H$5$l$^$;$s(B</em></strong>$B!#%5!<%S%9$N0MB8@-$NITB-$,(B - $B860x$G!"%3%s%=!<%k%&%#%s%I%&$G$O$7$P$7$P$&$^$/$$$-$^$9$,!"(B - $B%5!<%S%9$O$^$@<:GT$7$^$9!#(BApache $B$N(B 1.3.13 $B$h$jA0$N%P!<%8%g%s$r(B - $BF0$+$9$H$-$KLdBj$,$"$k$J$i$P!"(B<a href="#service">$B8e=R$N@bL@(B</a> - $B$r;2>H$7$F$/$@$5$$!#%P!<%8%g%s(B 1.3.13 $B0J9_$G$3$NLdBj$,$"$k$J$i!"(B - $B$^$::G=i$K(B Apache $B$r%"%s%$%s%9%H!<%k(B (-u) $B$7$F$+$i:F%$%s%9%H!<%k(B - (-i) $B$r;n$7$F$_$F$/$@$5$$!#(B - $B$b$C$H$h$$<jCJ$O:G?7$N%P!<%8%g%s$K%"%C%W%0%l!<%I$9$k$3$H$G$9!#(B</p> - <hr /> - - <p>Apache $B$r%5!<%S%9$H$7$F3+;O$9$k$?$a$K$O!"$^$::G=i$K%5!<%S%9$H$7$F(B - $B%$%s%9%H!<%k$9$kI,MW$,$"$j$^$9!#$=$l$>$lJL$NL>A0$H@_Dj$r;H$C$F!"(B - Apache $B%5!<%S%9$rJ#?t%$%s%9%H!<%k$9$k$3$H$,$G$-$^$9!#%G%U%)%k%H$N(B - "Apache" $B$H$$$&L>A0$G(B Apache $B%5!<%S%9$r%$%s%9%H!<%k$9$k$K$O!"%9%?!<%H(B - $B%a%K%e!<$+$i(B "Install Apache as Service" $B%*%W%7%g%s$r<B9T$7$F$/$@$5$$!#(B - $B$3$l$r0lEY9T$J$($P!"(B($B%3%s%H%m!<%k%Q%M%kCf$N(B) $B%5!<%S%9%&%#%s%I%&(B - $B!J(BWindows 2000$B$G$O4IM}%D!<%k$NCf$K$"$j$^$9!K$r3+$$$F!"(BApache $B$rA*Br$7$F!"(B - $B<!$K(B Start $B$r%/%j%C%/$9$k$3$H$G!"(B"Apache" $B%5!<%S%9$r3+;O$G$-$^$9!#(B - $B$3$l$G(B Apache $B$O%P%C%/%0%i%&%s%I$GF0$-$^$9!#(B - $B$=$N8e$O(B Stop $B$r%/%j%C%/$9$k$3$H$G!"(BApache $B$r=*N;$G$-$^$9!#(B - $B%5!<%S%9%&%#%s%I%&$r;H$&Be$o$j$K!"%3%^%s%I%i%$%s$+$i!"(B - $B0J2<$r<B9T$9$k$3$H$G!"(B"Apache" $B%5!<%S%9$r3+;O!"=*N;$G$-$^$9!#(B</p> -<pre> - NET START APACHE - NET STOP APACHE -</pre> - - <p>Apache $B%5!<%S%9$N%$%s%9%H!<%k$H%3%s%H%m!<%k$K4X$9$k$5$i$J$k>pJs$O!"(B - <a href="#signal">Apache $B%5!<%S%9$N%3%s%H%m!<%k(B</a>$B$r;2>H$7$F$/$@$5$$!#(B - </p> - - <p><strong>Apache $B$O!"B>$NB?$/$N(B Windows NT/2000 $B$N%5!<%S%9$H0[$J$j!"(B - $B$[$H$s$I$N%(%i!<$OFH<+$K(B Apache $B$N%5!<%P%k!<%H$N(B logs $B%U%)%k%@$K$"$k(B - error.log $B%U%!%$%k$K5-O?$7$^$9!#$[$H$s$I$N(B Apache $B$N%(%i!<$K4X$9$k(B - $B>\:Y$O(BWindows NT $B$N%$%Y%s%H%m%0$G$OJ,$+$i$J$$$G$7$g$&!#(BApache - $B$r5/F0$7$h$&$H$7$?$H$-$KH/@8$7$?%(%i!<$@$1$,%$%Y%s%H%m%0$K5-O?$5$l$^$9!#(B - </strong></p> - - <p>Apache $B$r%5!<%S%9$H$7$F3+;O$7$?8e(B ($B$^$?$O!"3+;O$9$k$3$H$KLdBj$,(B - $B$"$l$P(B)$B!"%3%s%=!<%k%&%#%s%I%&$+$iF1$8(B<a href="windows.html#test">$B<j=g(B</a> - $B$G%F%9%H$G$-$^$9!#%G%U%)%k%H$N%5!<%S%9@_Dj$r3NG'$9$k$?$a$K$O!"(B - $B$3$N%3%^%s%I(B:</p> -<pre> - apache -n "service name" -</pre> - - <p>$B$r;H$&$3$H$r3P$($F$*$$$F$/$@$5$$!#(B</p> - - - <h2><a id="service" name="service">Windows $B$G(B Apache $B$r%5!<%S%9$H$7$F(B - $BF0$+$9(B</a></h2> - - <p><strong>$BCm0U(B: $B%5!<%S%9L>$r;XDj$9$k(B -n $B%*%W%7%g%s$O(B Apache 1.3.7 - $B0J9_$G$N$_MxMQ2DG=$G$9!#(B</strong> $B0JA0$N%P!<%8%g%s$N(B Apache $B$G$O!"(B - $B%G%U%)%k%H$N%5!<%S%9L>(B 'Apache' $B$@$1$,%5%]!<%H$5$l$F$$$^$9!#(B - $B%P!<%8%g%s(B 1.3.21 $B$K8B$j!"(BWindows 2000 $B$G%5!<%S%9L>$H$7$FI=<($5$l$k(B - $BL>A0$NJQ99$,%5%]!<%H$5$l$F$$$^$9!#(B</p> - - <p>$B0J2<$N$h$&$K$9$k$3$H$G!"(BApache $B$r(B Windows NT $B$N%5!<%S%9$H$7$F(B - $B%$%s%9%H!<%k$G$-$^$9(B:</p> -<pre> - apache -i -n "service name" -</pre> - - <p>$BFCDj$N@_Dj$r;H$C$F%5!<%S%9$r%$%s%9%H!<%k$9$k$K$O!"(B - $B%$%s%9%H!<%k$N:]$K@_Dj%U%!%$%k$r;XDj$7$F$/$@$5$$(B:</p> - -<pre> - apache -i -n "service name" -f "\my server\conf\my.conf" -</pre> - - <p>$B%5!<%P%k!<%H%G%#%l%/%H%j$r%G%U%)%k%H$+$iJQ99$9$k$?$a$N(B -d$B!"(B - $B@_Dj%U%!%$%k$rJQ99$9$k$?$a$N(B -D, -C $B$d(B -c $B$J$I!"$=$NB>$NB0@-$O(B - $B>JN,$G$-$^$9!#$3$l$i$,%l%8%9%H%j$K=q$-9~$^$l$F$$$FJQ99$,:$Fq$J$H$-$O!"(B - $B$3$N%3%^%s%I$r;H$C$F%*%W%7%g%s$r%/%j%"$7!"?7$7$$%*%W%7%g%s$KCV$-49$($^$9!#(B - </p> -<pre> - apache -k config -n "service name" -f "\my server\conf\my.conf" -</pre> - - <p>Apache $B%5!<%S%9$r:o=|$9$k$K$O!"0J2<$N$h$&$K$7$^$9(B:</p> -<pre> - apache -u -n "service name" -</pre> - - <p>$B%5!<%S%9L>$,;XDj$5$l$J$$>l9g$N%G%U%)%k%H$N!V%5!<%S%9L>!W$O(B - "Apache" $B$H$J$j$^$9!#(B</p> - - <p>$B%5!<%S%9$,%$%s%9%H!<%k$5$l$k$H!"%5!<%S%9$N@_Dj%U%!%$%k$r<($9$N$K(B - $BB>$N%*%W%7%g%s$HF1;~$K(B <samp>-n</samp> $B%*%W%7%g%s$r;HMQ$9$k$3$H$,(B - $B$G$-$^$9!#Nc(B:</p> - - <p>$B%5!<%S%9$N@_Dj%U%!%$%k$r%F%9%H$7$F!"%5!<%S%9$N%G%U%)%k%H$N(B - $B%*%W%7%g%s$r3NG'$9$k$K$O<!$N$h$&$K$7$^$9!J@_Dj$K$O(B -i, -k install, - -k config $B%*%W%7%g%s$r;H$$$^$9(B) $BNc(B:</p> -<pre> - apache -n "service name" -t -</pre> - - <p>$B%5!<%S%9$N@_Dj%U%!%$%k$H%G%U%)%k%H$N%*%W%7%g%s$r;HMQ$7$F!"(B - $B%3%s%=!<%k$+$i(B Apache $B$r5/F0$9$k$K$O<!$N$h$&$K$7$^$9(B:</p> -<pre> - apache -n "service name" -</pre> - - <p>Apache $B%j%j!<%9(B 1.3.15 $B$G(B -k install $B%*%W%7%g%s$,(B -i $B%*%W%7%g%s$N!"(B - $B$^$?!"(B-k uninstall $B%*%W%7%g%s$,(B -u $B%*%W%7%g%s$NJLL>$H$7$FDI2C$5$l$^$7$?!#(B - $B85$N(B -i $B$=$7$F(B -u $B%*%W%7%g%s$O(B Apache 2.0 $B$G$O;HMQ$7$J$$$h$&$K$7$F$/$@$5$$!#(B - $B$3$l$i$NJLL>$O!"N>J}$N%P!<%8%g%s$r1?MQ$9$k4IM}<T$,(B ($BLuCm(B: Apache 2.0 $B$K(B) - $B0\9T$7$d$9$/$9$k$?$a$KDI2C$5$l$^$7$?!#(B</p> - - <h2><a id="depends" name="depends">$B%5!<%S%9$N0MB8$K4X$9$k=EMW$JN10UE@(B</a> - </h2> - - <p>$B%j%j!<%9(B 1.3.13 $B0JA0$N(B Apache $B$G$O!"%$%s%9%H!<%k$5$l$?%5!<%S%9$,(B - $B$&$^$/3+;O$9$k$3$H$,A0Ds>r7o$H$J$k0MB84X78$O9=@.$5$l$^$;$s!#(B - Apache $B$N0JA0$N%P!<%8%g%s$r;HMQ$7$F%5!<%S%9$r%$%s%9%H!<%k$7$?8e$K!"(B - $B0J2<$N<j=g$rF'$^$J$1$l$P$J$j$^$;$s(B : </p> -<pre> - Run regedt32 - Select <u>W</u>indow - "HKEY_LOCAL_MACHINE on Local Machine" from the menu - Double-click to open the SYSTEM, then the CurrentControlSet keys - Scroll down and click on the Apache servicename - Select <u>E</u>dit - Add <u>V</u>alue... from the menu - Fill in the Add Value dialog with - <u>V</u>alue Name: DependOnGroup - <u>D</u>ata Type: REG_MULTI_SZ - and click OK - Leave the Multi-String Editor dialog empty and click OK - Select <u>E</u>dit - Add <u>V</u>alue... from the menu - Fill in the Add Value dialog with - <u>V</u>alue Name: DependOnService - <u>D</u>ata Type: REG_MULTI_SZ - and click OK - Type the following list (one per line) in the Multi-String Editor dialog - Tcpip - Afd - and click OK -</pre> - - <p>$B$^$?!"%5!<%I%Q!<%F%#!<$N%b%8%e!<%k!"(BISAPI$B!"$=$NB>(B ActiveState Perl - $B$J$I$K$h$k!"(BCOM $B$d(B DCOM $B$N9=@.MWAG$r;HMQ$7$F$$$k$J$i$P!"(BDependOnService - $B%j%9%H$K(B Rpcss $B$N%(%s%H%j!<$rDI2C$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#(B - $B$=$l$,ITMW$J>l9g$K!"(BTCP $B%]!<%H(B 135 $B$rO*=P$9$k$N$rHr$1$k$?$a$K!"(B - Apache $B$O%$%s%9%H!<%k$N$H$-$K$=$N%(%s%H%j!<$r:n@.$7$^$;$s!#(B - $B>e$N;X<($K=>$C$F!"(BDependOnService $BCM$r3NG'!"$^$?$O:n@.$7$F$/$@$5$$!#(B - $B4{$KB8:_$7$F$$$k$J$i$P$=$NCM$r%@%V%k%/%j%C%/$7$F!"(BRpcss $B$N%(%s%H%j!<$r(B - $B%j%9%H$KDI2C$7$F$/$@$5$$!#(B</p> - - <p>$B0MB8@-$N$?$a$^$@B>$K2?$+%$%s%9%H!<%k$,MW5a$5$l$k$+$b$7$l$^$;$s!#(B - $B3+;O;~$K%M%C%H%o!<%/%I%i%$%V>e$KB8:_$9$k%U%!%$%k$rMW5a$5$l$k>l9g!"(B - $B$^$::G=i$K%M%C%H%o!<%/%j%@%$%l%/%?(B($BDL>o(B lanmanworkstation) - $B$N0MB8@-$K4X$o$k%5!<%S%9$r@_Dj$7$F!"(B" $B%f!<%6%"%+%&%s%H$G(B Apache - $B$rF0$+$9(B " $B%;%/%7%g%s0J2<$N@bL@$K=>$C$F$/$@$5$$(B</p> - - <p>IIS $B$H(B Apache $B$NN>J}$r;H$*$&$H$9$k$J$i!"0[$J$k(B IP - $B%"%I%l%9$NF1$8%]!<%HHV9f$G(B W3SVC (IIS) $B$r(B Apache - $B$NA0$K3+;O$5$;$F$*$/I,MW$,$"$j$^$9!#$J$<$J$i!"(BApache $B$,@h$KFCDj$N(B - IP $B%"%I%l%9$G3+;O$7$F$$$k$H!"(BIIS $B$O3+;O$9$k$H$-$KA4$F$N(B IP $B%"%I%l%9(B - (0.0.0.0) $B$r3NJ]$7$h$&$H$7$F<:GT$9$k$+$i$G$9!#(B</p> - - <p>Apache 1.3.21 $B$G0MB8@-$r2C$($k$O$k$+$KC1=c$JJ}K!$,F3F~$5$l$^$7$?!#(B - -W "$B%5!<%S%9L>(B" $B0z?t$O(B Apache $B$N0MB8@-$r@_Dj$9$k(B -k install $B$d(B - -k config $B%3%^%s%I$K5!G=$rIU$12C$($^$9!#J#?t$N(B -W - $B0z?t$,M?$($i$l$^$9$,!"$9$Y$F(B -k $B%*%W%7%g%s$N8e$m$G;XDj$9$k$Y$-$G$9!#(B - $BNc$($P!"%$%s%9%H!<%k:Q$_$N(B "Apache" $B%5!<%S%9$K(B LanmanWorkstation - $B0MB8@-$r2C$($k$J$i!"$3$N%3%^%s%I$r;H$$$^$9!#(B</p> -<pre> - apache -k config -n Apache -W LanmanWorkstation -</pre> - - <h2>$B%f!<%6%"%+%&%s%H$G(B Apache $B$rF0$+$9(B (NT/2000)</h2> - - <p>Apache $B$,:G=i$K%5!<%S%9(B ( $BNc$($P!"(B-i $B%*%W%7%g%s(B ) $B$H$7$F%$%s%9%H!<%k$5$l$k$H$-!"(B - "System" $B$H$$$&%f!<%6(B (LocalSystem $B%"%+%&%s%H(B ) $B$GF0:n$9$k$G$7$g$&!#(B - $B$b$7(B web $B%5!<%P$N$9$Y$F$N%j%=!<%9$,%m!<%+%k%7%9%F%`>e$K$"$k$J$i(B - $B$[$H$s$ILdBj$"$j$^$;$s$,!"(B(LocalSystem $B%"%+%&%s%H(B ) $B$O%m!<%+%k%^%7%s$K(B - $B1F6A$rM?$($kI}9-$$%;%-%e%j%F%#FC8"$r;}$C$F$$$^$9!#(B</p> - - <blockquote> - LocalSystem $B$O6I=jE*$KHs>o$KFC8"%"%+%&%s%H$J$N$G!"(B - $B$I$s$J%7%'%"%&%'%"%"%W%j%1!<%7%g%s$b$=$3$GF0:n$5$;$k$Y$-$G$O(B - $B$"$j$^$;$s!#$7$+$7$J$,$i!"$=$l$O%M%C%H%o!<%/FC8"$r;}$?$J$/$F!"(B - NT $B$N5!L)J];}5!G=!"%U%!%$%k%7%9%F%`!"%Q%$%W!"(BDCOM $B!"%;%-%e%"(B RPC $B$r4^$a$F(B - $B$=$N$^$^$K$7$F$*$/$3$H$O$G$-$^$;$s(B - </blockquote> - - <p><strong>$B7h$7$F%7%9%F%`%"%+%&%s%H$K%M%C%H%o!<%/FC8"$rM?$($F$O(B - $B$$$1$^$;$s(B !</strong> $BBe$o$j$K?7$7$$%f!<%6%"%+%&%s%H$r:n@.$7$F!"(B - $B$=$N%f!<%6$KE,@Z$J8"8B$rM?$($F!"(B'Log On As' $B$H$$$&%*%W%7%g%s$r(B - $B;H$C$F$/$@$5$$!#%9%?!<%H%a%K%e!<(B -> $B@_Dj(B -> $B%3%s%H%m!<%k%Q%M%k(B - -> $B%5!<%S%9(B -> Apache Service $B$HA*Br$7$F!"!V%9%?!<%H%"%C%W!W(B - $B%\%?%s$r%/%j%C%/$7$F!"$3$N@_Dj$K%"%/%;%9$7$F$/$@$5$$!#(B</p> - - <blockquote> - LocalSystem $B%"%+%&%s%H$N4D6-$GF0:n$9$k%5!<%S%9$O(B SCM - $B4XO"$N%;%-%e%j%F%#4D6-$r0z$-7Q$.$^$9!#(B - $B%5!<%S%9$O$I$N%f!<%6%"%+%&%s%H$H$b4XO"$E$1$i$l$:!"(B - $B$^$?3NG'$K;HMQ$5$l$k$Y$->ZL@(B ( $B%I%a%$%sL>!"%f!<%6L>!"%Q%9%o!<%I(B ) - $B$r;}$A$^$;$s!#(B - </blockquote> - - <p>SYSTEM $B%"%+%&%s%H$O%M%C%H%o!<%/$KFC8"$r;}$?$J$$$N$G!"6&M-$5$l$?%Z!<%8$d(B - $B6&M-$5$l$?%$%s%9%H!<%k$O%5!<%S%9$+$i$O8+$($^$;$s!#(B - $B$"$J$?$,(B<em>$B$I$s$J(B</em>$B%M%C%H%o!<%/%j%=!<%9$b;HMQ$9$k$D$b$j$G$"$k$J$i$P!"(B - $B0J2<$N%9%F%C%W$OLr$KN)$D$+$b$7$l$^$;$s(B</p> - - <ul> - <li>Control Panel $B$N(B Service $B%@%$%"%m%0$+$i(B Apache $B$rA*Br$7$F!"(B - Startup $B$r%/%j%C%/$7$^$9!#(B</li> - - <li>$B%5!<%S%9%"%+%&%s%H$,@5$7$$$3$H$r3NG'$7$F$/$@$5$$!#(B - Apache $B%5!<%S%9MQ$N%"%+%&%s%H$r:n@.$9$k$3$H$b$h$$J}K!$G$9!#(B</li> - - <li>$B%Q%9%o!<%I$r7+$jJV$7F~NO$7$F%Q%9%o!<%I3NG'$r$7$^$9!#(B</li> - - <li>$B%I%a%$%s$N%f!<%6%^%M!<%8%c$K9T$C$F$/$@$5$$!#(B</li> - - <li>$B%?%$%H%k%P!<%a%K%e!<$+$i(B Policies $B$r%/%j%C%/$7$F!"(B - User Rights $B$rA*Br$7$F$/$@$5$$!#(B</li> - - <li>Advanced User Rights $B$N%*%W%7%g%s$rA*Br$7$F$/$@$5$$!#(B</li> - - <li> - $B%I%m%C%W%@%&%s%j%9%HCf$G!"A*Br$5$l$?%"%+%&%s%H$K0J2<$N8"8B$,(B - $BM?$($i$l$?$3$H$r3NG'$7$F$/$@$5$$!#(B - - <ul> - <li>Act as part of the operating system</li> - - <li>Back up files and directories</li> - - <li>Log on as a service</li> - - <li>Restore files and directories</li> - </ul> - </li> - - <li>$BA*Br$5$l$?%"%+%&%s%H$,(B Users $B%0%k!<%W$N%a%s%P$G$"$k$3$H$r(B - $B3NG'$7$F$/$@$5$$!#(B</li> - - <li>$BA*Br$5$l$?%"%+%&%s%H$,$9$Y$F$N%I%-%e%a%s%H$H%9%/%j%W%H%G%#%l%/%H%j$K(B - $B%"%/%;%9$9$k<jCJ(B ($B:GDc8BFI$_9~$_$H%V%i%&%:(B) $B$r;}$C$F$$$k$3$H$r(B - $B3NG'$7$F$/$@$5$$!#(B</li> - - <li>$BA*Br$5$l$?%"%+%&%s%H$,(B Apache logs $B%G%#%l%/%H%j$KBP$7$FFI$_=q$-!"(B - $B:o=|$9$k<jCJ$r;}$C$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B</li> - </ul> - - <p>$B$=$N%"%+%&%s%H$G%f!<%6$H$7$F%m%0%$%s$9$k$3$H$r5v2D$7$?$i!"(B - $B<+J,<+?H$G%m%0%$%s$7$F$=$N%"%+%&%s%H$,%9%/%j%W%H$N<B9T!"%&%'%V(B - $B%Z!<%8$NFI$_9~$_$r$9$k8"8B$r;}$C$F$$$k$3$H!"%3%s%=!<%k%&%#%s%I%&$+$i(B - Apache $B$r5/F0$G$-$k$3$H$r%F%9%H$9$k$3$H$,$G$-$^$9!#$3$l$,$&$^$/$$$-!"(B - $B>e5-$N%9%F%C%W$K=>$C$F<j=g$rF'$a$P!"(BApache $B$OLdBj$J$/%5!<%S%9$H$7$F(B - $B<B9T$9$k$O$:$G$9!#(B</p> - - <p><strong>$BCm0U(B: $B%(%i!<%3!<%I(B 2186</strong> $B$O%5!<%P$,I,MW$J(B - $B%M%C%H%o!<%/%j%=!<%9$K%"%/%;%9$9$k$3$H$,$G$-$J$$$N$G(B 'Log On As' - $B$N@_Dj$r8+D>$9I,MW$,$"$k!"$H$$$&;X<($G$9!#(B</p> - - <h2><a id="trouble" name="trouble"> Apache $B$r(B Windows $B$G%5!<%S%9$H$7$F(B - $BF0$+$9$H$-$N(B $B%H%i%V%k%7%e!<%F%#%s%0(B</a></h2> - - <p>$B%5!<%S%9$H$7$F(B Apache $B$r3+;O$9$k>l9g!"(BWindows $B%5!<%S%9%^%M!<%8%c$+$i$N(B - $B%(%i!<%a%C%;!<%8$r8+$k$3$H$K$J$k$+$b$7$l$^$;$s!#Nc$($P%3%s%H%m!<%k%Q%M%k$N(B - $B%5!<%S%9(B $B%"%W%l%C%H$r;HMQ$7$F(B Apache $B$r3+;O$5$;$h$&$H$9$k;~$K!"(B - $B0J2<$N%a%C%;!<%8$r8+$k$+$b$7$l$^$;$s!#(B</p> -<pre> - Could not start the apache service on \\COMPUTER - Error 1067; The process terminated unexpectedly. -</pre> - - <p>Apache $B$N3+;O$K$*$$$F2?$i$+$NLdBj$,$"$k>l9g!"$3$N%(%i!<$KAx$$$^$9!#(B - $BLdBj$N860x$r3NG'$9$k$?$a$K$O!"(B<a href="windows.html#test">$B%3%^%s%I(B - $B%W%m%s%W%H$G(B Apache $B$r%F%9%H$9$k(B</a>$B$N;X<($K=>$C$F$/$@$5$$!#(B</p> - - - <p>$B$^$?!"(BApache 1.3.13 $B$G$O(B Windows NT/2000 $B$G%5!<%S%9$H$7$FF0$+$9$H$-!"(B - $B3+;O;~$N%(%i!<$r(B $B%"%W%j%1!<%7%g%s(B $B%m%0(B $B$K5-O?$7$^$9!#%$%Y%s%H(B $B%S%e!<%"(B - $B$r5/F0$7!"(B<u>L</u>og ... <u>A</u>pplication - $B$HA*Br$7$F%$%Y%s%H$r3NG'$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><strong>$BLdBj$,$"$C$?>l9g$O!"%(%i!<$,H/@8$7$?$3$H$r7Y9p$N$?$a$N(B - $B%(%i!<%a%C%;!<%8$,%]%C%W%"%C%W$5$l$J$/$F$b!"%$%Y%s%H(B $B%S%e!<%"$G(B - $B%"%W%j%1!<%7%g%s(B $B%m%0$r%A%'%C%/$7$F$/$@$5$$!#(B</strong></p> - - <h2><a id="cmdline" name="cmdline">Windows $B$G%3%^%s%I%i%$%s$+$i(B - Apache $B$rF0$+$9(B</a></h2> - $B%3%^%s%I%i%$%s$+$i(B Apache $B%5!<%S%9$r@)8f$9$k$3$H$K4X$9$k>\:Y$K$D$$$F$O!"(B - <a href="windows.html#cmdline" - >$B%3%s%=!<%k%3%^%s%I%i%$%s(B</a>$B$N>O$r;2>H$7$F$/$@$5$$!#(B - - <h2><a id="signal" name="signal">$B%5!<%S%9$H$7$F$N(B Apache - $B$r@)8f$9$k(B</a></h2> - - <p>Apache $B$OJ#?t%$%s%9%H!<%k$7$F!"%5!<%S%9$H$7$FF0$+$9$3$H$,$G$-$^$9!#(B - $B%$%s%9%H!<%k$5$l$?(B Apache $B%5!<%S%9$r3+;O!":F3+!"=*N;!"Dd;_$9$k$K$O(B - $B0J2<$N$h$&$K$7$^$9(B:</p> -<pre> - apache -n "service name" -k start - apache -n "service name" -k restart - apache -n "service name" -k shutdown - apache -n "service name" -k stop -</pre> - - <p>-n $B%*%W%7%g%s$N$J$$(B -k $B%3%^%s%I$O%3%s%=!<%k%&%#%s%I%&$G5/F0$7$F$$$k(B - Apache $B$K8~$1$i$l$k$N$G!"%G%U%)%k%H$N(B "Apache" $B%5!<%S%9$G$O(B -n Apache - $B%*%W%7%g%s$,I,MW$G$9!#0zMQId$O%5!<%S%9L>$K%9%Z!<%9$,4^$^$l$k>l9g$K8B$j(B - $BI,MW$K$J$j$^$9!#(B</p> - - <p><strong>$BCm0U(B: -k shutdown $B%3%^%s%I$NJLL>$N(B -k stop $B%3%^%s%I$O(B - Apache $B%P!<%8%g%s(B 1.3.13 $B$GF3F~$5$l$^$7$?!#(B</strong> - $B$=$l$h$jA0$N%P!<%8%g%s$N(B Apache $B$G$O(B -k shutdown - $B%*%W%7%g%s$@$1$,G'<1$5$l$^$9!#(B1.3.3 $B$h$jA0$N(B Apache - $B$G$O(B<em>$B$I$s$J(B</em> -k $B%*%W%7%g%s$bG'<1$5$l$^$;$s$G$7$?!#(B</p> - - <p>-D, -C, -c $B%*%W%7%g%s$r4^$a$?(B apache -k start - $B%3%^%s%I$G5/F0;~$N%*%W%7%g%s$r;XDj$9$k$3$H$b$G$-$^$9!#(B - $B$3$l$i$O%5!<%S%9$N@_Dj%W%m%;%9$K1F6A$7$^$9(B <IfDefine> - $B%V%m%C%/$G;H$&$3$H$G>r7o$D$-$N;XDj$r$9$k$3$H$b$G$-$^$9!#(B - $B%5!<%P%k!<%H$N%Q%9$d(B -d $B%*%W%7%g%s$d(B -f - $B%*%W%7%g%s$r;H$C$F@_Dj%U%!%$%k$r>e=q$-$9$k$3$H$b$G$-$^$9!#(B - $B$3$l$i$N%*%W%7%g%s$O(B -k restart $B%3%^%s%I$K$h$C$F$bFI$_9~$^$l$^$9$,!"(B - $B%5!<%S%9$NF0:nCf$K$OH?1G$5$l$:!"%5!<%S%9$N5/F0;~$K$N$_H?1G$5$l$^$9!#(B - </p> - - <p>$B%5!<%S%9$O(B Windows NT/2000 $B$N(B Service Control - $B%"%W%l%C%H$K$b8=$l$^$9!#(BNT $B$N>l9g!"(BSettings -> Control Panel - -> Services $B%(%s%H%j!"(B2000 $B$N>l9g!"(BSettings -> Control Panel - -> Administrative Tools -> Services $B%(%s%H%j$G;2>H$G$-$^$9!#(B - $B$=$3$+$i3+;O$d=*N;$5$;$k(B Apache $B%5!<%S%9$rA*Br$G$-$^$9!#(B - -D, -C, -c $B$N$h$&$JDI2C$N%*%W%7%g%s$d!"3+;O%Q%i%a!<%?$N%G%U%)%k%H$N(B - -d $B$d(B -f $B%*%W%7%g%s$N>e=q$-$O3+;O%\%?%s$r%/%j%C%/$9$kA0$K$7$F$/$@$5$$!#(B - $B$3$l$i$N%*%W%7%g%s$O(B apache -k start - $B%3%^%s%I$HA4$/F1$8$h$&$K=hM}$5$l$^$9!#(B</p> - - <p>$B$5$i$K!"(BApache $B%5!<%S%9$N3+;O!"=*N;$K%M%$%F%#%V$N(B - Windows NT/2000 $B$N(B NET $B%3%^%s%I$r;H$&$3$H$b$G$-$^$9(B:</p> -<pre> - NET START "service name" - NET STOP "service name" -</pre> - - <p>$B7+$jJV$7$^$9$,!"%5!<%S%9L>$,%9%Z!<%9$r4^$`>l9g$N$_!"(B - $B0zMQId$,I,MW$K$J$j$^$9!#(B-D, -c, -C $B$J$I$NDI2C%*%W%7%g%s$r(B - NET START $B%3%^%s%I$G;XDj$9$kJ}K!$O$"$j$^$;$s!#(B - $B%*%W%7%g%s$,I,MW$J$H$-$O!"B>$N(B - 2 $B<oN`$N%a%=%C%I$N$I$A$i$+$r;HMQ$7$F$/$@$5$$!#(B</p> - - <h2><a id="win95svc" name="win95svc">$BHs>o$K<B83E*$J(B - Windows 95/98 $B%5!<%S%9(B</a></h2> - - <p><strong>$BCm0U(B: Windows 95 $B$H(B 98 $B$G$N%5!<%S%9%*%W%7%g%s$O(B - Apache 1.3.13 $B0J9_$G$N$_M-8z$G$9!#(B</strong>$B0JA0$N%P!<%8%g%s$N(B - Apache $B$G$O(B Windows 95/98 - $B$K$*$$$F$O%3%s%=!<%k%&%#%s%I%&$G$N$_%5%]!<%H$5$l$F$$$^$9!#(B</p> - - <p>Windows NT/2000 $B$G$N%5!<%S%9$HF1$8$h$&$J(B Windows 95/98 $B>e$G$N(B - Apache $B$NF0:n$r$"$kDxEY%5%]!<%H$7$F$$$^$9!#(B - $B$=$l$O(B<em>$BHs>o$K<B83E*(B</em>$B$J$b$N$G!"$b$7(B ($B$9$Y$F=gD4$K(B) - $BF0$$$?$H$7$F$b(B Apache Software Foundation $B$O!"?.Mj@-$d>-Mh$N%5%]!<%H(B - $B$OJ]>Z$7$^$;$s!#0J9_$K$D$$$F$O<+J,<+?H$N%j%9%/$G?J$s$G$/$@$5$$(B!</p> - - <p>Apache $B$,(B <a href="windows.html#test">Command Prompt</a> - $B$G@5>o$KF0:n$9$k$3$H$r3NG'$7$?$i!"(BWindows NT/2000 - $B$N>l9g$HF1$8%3%^%s%I$G%$%s%9%H!<%k!"@)8f!"(B - $B%"%s%$%s%9%H!<%k$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$?$@$7!"Cm0U$9$Y$-=EMW$J0c$$$,$"$j$^$9(B:</p> - - - <p>Apache $B$O!"5/F0$,@.8y$9$k$H!"%P%C%/%0%i%&%s%I$GF0:n$7$^$9!#(B - $B%G%9%/%H%C%W$N%7%g!<%H%+%C%H$rDL$7$F!"%3%^%s%I(B</p> -<pre> - Apache -n "service name" -k start -</pre> - - <p>$B$r<B9T$7$?$i!"Nc$($P!"%5!<%S%9$,$&$^$/3+;O$5$l$l$P!"(B - $B%3%s%=!<%k%&%#%s%I%&$OI=<($5$l$^$9$,$9$0$K8+$($J$/$J$j$^$9!#(B - Apache $B$,3+;O;~$K!"(Bhttpd.conf - $B%U%!%$%k$K$*$1$kIT@5$J%(%s%H%j$N$h$&$J%(%i!<$r8+$D$1$k$H!"(B - $B%3%s%=!<%k%&%#%s%I%&$OI=<($5$l$?$^$^$G;D$j$^$9!#(B - $B$=$3$K$OLdBj$N860x$NDI5a$KLr$KN)$D(B - $B%(%i!<%a%C%;!<%8$,I=<($5$l$F$$$k$G$7$g$&!#$=$N:](B Apache $B$N(B - logs $B%G%#%l%/%H%j$K$"$k(B error.log $B%U%!%$%k$rD4$YD>$9$Y$-$G$9!#(B</p> - - <p>Windows 95/98 $B$G$O(B NET START $B$d(B NET STOP $B%3%^%s%I$r(B - $B%5%]!<%H$7$F$$$J$$$N$G!"(BCommand Prompt $B$+$i(B Apache $B$N(BService Control - $B%*%W%7%g%s$r;HMQ$7$J$1$l$P$J$j$^$;$s!#$3$l$i$N%3%^%s%IKh$K(B - $B%7%g!<%H%+%C%H$rMQ0U$7!"%9%?!<%H%a%K%e!<$d%G%9%/%H%C%W$+$i(B - $B$=$l$r$?$@A*$V$3$H$GI,MW$JF0:n$r<B9T$9$k$h$&$K$9$k$N$O$h$$J}K!$G$9!#(B</p> - - <p>Apache $B$H(B Windows 95/98 $B$OFCDj$N%f!<%6$KBP$7$F!"(BApache - $B%5!<%S%9$r%M%C%H%o!<%/FC8"$G$ODs6!$7$^$;$s!#<B:]!"(BWindows 95/98 - $B$O$I$s$J%;%-%e%j%F%#$b%m!<%+%k%^%7%s$KDs6!$7$F$$$^$;$s!#(B - Apache Software Fondation $B$,%Q%V%j%C%/$J(B httpd $B%5!<%P$H$7$F(B - Windows 95/98 $B$N;HMQ$r7h$7$FG'$a$J$$$N$O!"$3$l$,C1=c$JM}M3$G$9!#(B - $B$3$l$i$O!"(Bweb $B%3%s%F%s%D$N@):n$d(B Apache $B%5!<%P$N3X=,!"(B - $B$^$?$O0BA4$J%$%s%H%i%M%C%H>e$N%5!<%P!"%W%i%$%Y!<%H%M%C%H%o!<%/$N(B - $B%f!<%6$rJd=u$9$k$?$a$KJX59>eB8:_$7$F$$$k$K$9$.$^$;$s!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/windows.html.ja.jis b/usr.sbin/httpd/htdocs/manual/windows.html.ja.jis deleted file mode 100644 index 08be47c9dab..00000000000 --- a/usr.sbin/httpd/htdocs/manual/windows.html.ja.jis +++ /dev/null @@ -1,646 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Microsoft Windows $B$G$N(B Apache $B$N;HMQ(B</title> - - </head> - <!-- English revision: 1.58 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="center"><a id="help" name="help">Microsoft Windows $B$G$N(B Apache $B$N;HMQ(B</a></h1> - - <p>$B$3$NJ8=q$O!"(BMicrosoft Windows $B>e$G$N(B Apache 1.3 - $B$N%$%s%9%H!<%k!"@_Dj!"<B9TJ}K!$r@bL@$7$^$9!#$3$NJ8=q$NBgItJ,$O!"(B - $B%P%$%J%jG[I[$+$i(B Windows $B$K%$%s%9%H!<%k$7$F$$$k$HA[Dj$7$F$$$^$9!#(B - $B$b$7(B ($B3+H/$N<j=u$1$d%P%0DI@W$N$?$a(B) Apache $B$r<+J,$G%3%s%Q%$%k(B - $B$7$?$$>l9g$O!"(B<a href="win_compiling.html">Microsoft Windows $B$G$N(B - Apache $B$N%3%s%Q%$%k(B</a> $B$r8+$F$/$@$5$$!#(B - </p> - - <p>$B$b$7%P%0$r8+$D$1$?$i!"(B<a - href="http://httpd.apache.org/bug_report.html" - >$B%P%0Js9p%Z!<%8(B</a>$B$GJs9p$7$F$/$@$5$$!#(B - $B$=$&$$$C$?4sM?$O4?7^$7$^$9!#(B - $B%3!<%I$^$?$ODs0F$r%P%0Js9p%Z!<%8$GJs9p$9$k$+!"(B - new-httpd $B%a!<%j%s%0%j%9%H$K;22C$7$F$/$@$5$$!#(B</p> - - <p>$B%P%0Js9p%Z!<%8$H(B new-httpd $B%a!<%j%s%0%j%9%H$O!"(BApache - $B$N@_Dj$d<B9TJ}K!$K$D$$$F<ALd$9$k$?$a$KMQ0U$7$F$$$k$o$1$G$O(B - <em>$B$"$j$^$;$s(B</em>$B!#(B $B%P%0!&%l%]!<%H$dMW5a$rDs=P$9$kA0$K$^$:!"(B - $B$3$NJ8=q!"(B<a href="misc/FAQ.html">$B$h$/=P$k<ALd(B</a> - $B$N%Z!<%8!"$=$NB>4XO"$9$kJ8=q$r;2>H$7$F$/$@$5$$!#(B - $B$=$l$G$b$^$@5?Ld$dLdBj$,$"$k$J$i!"(B<a - href="news:comp.infosystems.www.servers.ms-windows" - >comp.infosystems.www.servers.ms-windows</a> - $B%K%e!<%9%0%k!<%W$KEj9F$7$F$/$@$5$$!#B?$/$N(B Apache $B%f!<%6$,$$$F(B - Windows $B>e$G(B Apache $B$r;HMQ$9$k$K$"$?$C$F$N?7$7$$5?Ld!"(B - $B$o$+$j$K$/$$5?Ld$KBP$7$FJVEz$r$/$l$k$G$7$g$&!#(B</p> - - <p><a - href="http://groups.google.com/groups?hl=en&lr=&safe=off&group=comp.infosystems.www.servers.ms-windows" - >groups.google.com $B$N%K%e!<%9%0%k!<%W$N%"!<%+%$%V(B</a>$B$K$h$j0JA0$NLdBj$r(B - $B4JC1$K1\Mw$G$-$^$9!#%K%e!<%9%0%k!<%W$N%"!<%+%$%V$r8!:w$9$l$P!"(B - $B$[$H$s$I$NLdBj$O4{=P$G!"C/$+$,2sEz$7$F$$$k$N$r8+$D$1$i$l$k$G$7$g$&!#(B - </p> - - <p><strong>$B7Y9p(B: NT $B>e$G$N(B Apache $B$O@-G=LL$G$^$@:GE,2=$5$l$F$$$^$;$s!#(B</strong> - $B8=;~E@$G$O(B Apache $B$O(B Unix $B%W%i%C%H%U%)!<%`$G:G9b$N@-G=$rH/4x$7!"(B - $B:G$b?.Mj$G$-$^$9!#;~$H$H$b$K(B NT $B$G$N@-G=$O2~A1$5$l$F!"(BWindows - $B%W%i%C%H%U%)!<%`>e$G$OMh$?$k$Y$-%P!<%8%g%s(B 2.0 - $B$K$*$$$FBg$-$/?JJb$7$F$$$^$9!#%&%'%V%5!<%P@-G=$NAjBPE*$J%l%S%e!<$r(B - $B$7$F$$$k?M$KBP$7$F$O!"$^$@!"(BSolaris$B!"(BFreeBSD$B!"(BLinux $B$J$I$N(B Unix - $B%W%i%C%H%U%)!<%`$G$N(B Apache $B$KBP$7$FHf3S$9$k$h$&$K$*4j$$$7$F$$$^$9!#(B - </p> - <hr /> - - <ul> - <li><a href="#req">$BMW7o(B</a></li> - - <li><a href="#down">Windows $BMQ$N(B Apache $B$r%@%&%s%m!<%I$9$k(B</a></li> - - <li><a href="#inst">Windows $BMQ$N(B Apache $B$r%$%s%9%H!<%k$9$k(B - $B!J%P%$%J%j%$%s%9%H!<%k(B</a>$B!K(B</li> - - <li><a href="#run">Windows $BMQ$N(B Apache $B$r<B9T$9$k(B</a></li> - - <li><a href="#test">Windows $BMQ$N(B Apache $B$r%F%9%H$9$k(B</a></li> - - <li><a href="#use">Windows $BMQ$N(B Apache $B$r@_Dj$9$k(B</a></li> - - <li><a href="#cmdline">$B%3%s%=!<%k%&%#%s%I%&$G(B Apache - $B$r<B9T$9$k(B</a></li> - - <li><a href="#signal">$B%3%s%=!<%k%&%#%s%I%&$G(B Apache - $B$r%3%s%H%m!<%k$9$k(B</a></li> - - <li><a href="win_service.html">$B%5!<%S%9$H$7$F(B Windows $BMQ$N(B - Apache $B$r<B9T$9$k(B</a></li> - - <li><a href="win_service.html#signal">$B%5!<%S%9$H$7$F(B Apache - $B$r%3%s%H%m!<%k$9$k(B</a></li> - - <li><a href="win_compiling.html">Microsoft Windows $BMQ$N(B Apache - $B$r%3%s%Q%$%k$9$k(B</a></li> - </ul> - <hr /> - - <h2><a id="req" name="req">$BMW7o(B</a></h2> - - <p>Apache 1.3 $B$O!"(BWindowsNT 4.0 $B$H(B Windows 2000 - $B$GF0$/$h$&$K@_7W$5$l$F$$$^$9!#%P%$%J%j$N%$%s%9%H!<%i$O(B - $B%$%s%F%k@=$N$b$N$J$I(B x86 $B%U%!%_%j!<$N%W%m%;%C%5$G$N$_F0:n$7$^$9!#(B - Apache $B$O(B Windows 95 $B$d(B 98 $B$G$bF0:n$7$^$9$,!"(B - $B$3$l$i$O%F%9%H$5$l$F$$$^$;$s!#(B - $B$9$Y$F$N>l9g(B TCP/IP $B%M%C%H%o!<%/$,%$%s%9%H!<%k$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>NT 4.0 $B$G<B9T$9$k>l9g!"%5!<%S%9%Q%C%/(B 3 $B$^$?$O(B 6 - $B$N%$%s%9%H!<%k$r?d>)$7$^$9!#%5!<%S%9%Q%C%/(B 4 $B$K$O(B TCP/IP $B$H(B WinSock - $B$NLdBj$,$"$j!"$=$l$O%5!<%S%9%Q%C%/(B 5 $B0J9_$G$O2r7h$5$l$F$$$^$9!#(B</p> - - - <p><strong>$BCm(B: Apache 1.3.7 $B0J9_$G$O(B "Winsock2" - $B$,I,MW$K$J$j$^$9!#(B</strong></p> - - <p>Windows 95 $B$G<B9T$9$k>l9g!"(BApache $B$r<B9T$9$kA0$K(B "Winsock2" - $B%"%C%W%0%l!<%I$r%$%s%9%H!<%k$7$J$1$l$P$J$j$^$;$s!#(B - Windows 95 $BMQ$N(B "Winsock2" $B$O(B<a - href="http://www.microsoft.com/windows95/downloads/contents/WUAdminTools/S_WUNetworkingTools/W95Sockets2/Default.asp" - >$B$3$3(B</a>$B$+(B<a href="http://www.microsoft.com/windows95/downloads/" - >$B$3$3(B</a>$B$+$iF~<j2DG=$G$9!#%@%$%"%k%"%C%W%M%C%H%o!<%/(B 1.2 (MS DUN) - $B%"%C%W%G!<%H$K$OA4$/ITE,Ev$J(B Winsock2 $B$,4^$^$l$F$$$k$N$G(B Winsock2 - $B%"%C%W%G!<%H$O!"(BWindows 95 $B%@%$%"%k%"%C%W%M%C%H%o!<%/$r%$%s%9%H!<%k(B - $B$7$?8e$K:F%$%s%9%H!<%k$7$J$1$l$P$J$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - Windows 98$B!"(BNT ($B%5!<%S%9%Q%C%/(B 3 $B0J9_(B)$B!"$*$h$S(B 2000 $B$N%f!<%6$O(B - Winsock2 $B$,G[I[$5$l$F$$$k$b$N$K4^$^$l$F$$$k$?$a$3$3$G$OFC$K$9$k(B - $BI,MW$O$"$j$^$;$s!#(B</p> - - <h2><a id="down" name="down">Windows $BMQ$N(B Apache - $B$N%@%&%s%m!<%I(B</a></h2> - - <p>Apache $B$N:G?7$N%P!<%8%g%s$K$D$$$F$N>pJs$O!"(B<a - href="http://httpd.apache.org/">http://httpd.apache.org/</a> $B$N(B - Apache $B%&%'%V%5!<%P$N%Z!<%8$G8+$D$1$i$l$^$9!#$=$3$K$O!"8=:_$N%j%j!<%9!"(B - $B:G?7$N%"%k%U%!!"$^$?$O%Y!<%?%F%9%H%j%j!<%9$H$H$b$K%_%i!<%&%'%V%5%$%H!"(B - anonymous FTP $B%5%$%H$N>\:Y$,%j%9%H$5$l$^$9!#(B</p> - - - <p>Windows $BMQ$N(B Apache $B$N%P%$%J%jG[I[$O!"%=!<%9%3!<%I$K6=L#$,$"$k$J$i(B - <code>apache_1_3_#-win32-src.msi</code> $B$HL>IU$1$i$l$?$b$N$r!"(B - $B$^$?$O%=!<%9%3!<%I$KBP$7$F2?$b$9$k$D$b$j$,$J$/!"(B - $B%@%&%s%m!<%I$,Aa$/:Q$s$@J}$,$$$$$H;W$&$J$i(B - <code>apache_1_3_#-win32-no_src.msi</code> $B$r%@%&%s%m!<%I$7$F$/$@$5$$!#(B - $B$3$l$i$N%U%!%$%k$O$=$l$>$l$K40A4$J(B Apache $B%i%s%?%$%`$r4^$s$G$$$^$9!#(B - Apache $B%i%s%?%$%`G[I[$r%$%s%9%H!<%k$9$kA0$K(B Microsoft Installer - version 1.10 $B$,(B PC $B$K%$%s%9%H!<%k$5$l$F$$$J$1$l$P$J$j$^$;$s!#(BWindows - 2000 $B5Z$S(B Windows Me $B$G$O(B Microsoft Installer $B$,I8=`$G(B - $B%5%]!<%H$5$l$F$$$^$9$,!"B>$G$O$=$l$r%@%&%s%m!<%I$9$kI,MW$,$"$j$^$9!#(B - $B$5$i$J$k>pJs$O%a%$%s$N%@%&%s%m!<%I%Z!<%8(B <a - href="http://httpd.apache.org/download.cgi" - >http://httpd.apache.org/download.cgi</a> $B$K9T$C$F$/$@$5$$!#(B - Microsoft Installer $B$r8+$D$1$k<j=g$O(B Apache $B$N%P%$%J%jG[I[$HF1MM!"(B - <a href="http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/" - >$B%_%i!<%5%$%H$N(B win32 $B%@%&%s%m!<%I%G%#%l%/%H%j(B</a>$B$K8+$D$+$j$^$9(B</p> - - <p>$B%=!<%9%3!<%I$O(B <code>-src.msi</code> $B$NG[I[$^$?$O(B <a - href="http://www.apache.org/dyn/closer.cgi/httpd/" - >$BG[I[%G%#%l%/%H%j(B</a> $B$K$"$k(B <code>.zip</code> - $B%U%!%$%k$+$iF~<j2DG=$G$9!#$b$7(B Apache - $B$r<+J,$G%3%s%Q%$%k$9$k$D$b$j$J$i!"(B<code>.msi</code> $B%Q%C%1!<%8$r(B - $B%$%s%9%H!<%k$9$kI,MW$O$^$C$?$/$"$j$^$;$s!#(B<code>.zip</code> - $B%U%!%$%k$O!"(BMS-DOS $B$N2~9T(B (.tar.gz $B$d(B .tar.Z $B$GG[I[$5$l$k(B unix - $B$G;H$o$l$k(B lf $B$@$1$N2~9T$NBe$o$j$K(B cr/lf $B$N2~9T(B) $B$,;H$o$l$?(B - $B%=!<%9%3!<%I$@$1$,4^$^$l$^$9!#(B - </p> - - <p>$B$^$?!"%=!<%9$O(B<samp>.tar.gz</samp>, <samp>.tar.Z</samp> - $B$N%"!<%+%$%V$+$i$bF~<j$G$-$^$9!#$3$l$i$N%U%!%$%k$K$O!"(B - Windows $B%f!<%6$K$O07$$$K$/$$(B unix lf $B2~9T$,4^$^$l$^$9!#(B - $B$=$N%"!<%+%$%V$r;H$&$?$a$K$O>/$J$/$H$b(B <samp>.mak</samp> $B$H(B - <samp>.dsp</samp> $B$r(B MSVC $B$,2r<a$G$-$k$h$&!"(BDOS - $B2~9T$KJQ49$7$J$1$l$P$J$j$^$;$s!#F,DK$N<o$r:n$i$J$$$?$a$K$b(B - <samp>.zip</samp> $B%U%!%$%k$rA*$s$G$/$@$5$$!#(B</p> - - <p>$BCm(B: Apache 1.3.17 $B$h$jA0$G$O!"(BInstallShield 2.0 $B$N7A<0$N(B - <samp>.exe</samp> $B%U%!%$%k$,G[I[$5$l$^$7$?(B - [Windows Me $B$d(B Windows 2000 $B$G(B] InstallShield - $B%Q%C%1!<%8$r;H$($J$$%f!<%6$,A}Bg$7$?$?$a!"(B - $B%P%$%J%jG[I[$O4JC1$KMxMQ$G$-$k(B Microsoft Installer $B$N(B - <samp>.msi</samp> $B$N7A<0$G:F%Q%C%1!<%8$5$l$^$7$?(B</p> - - <h2><a id="inst" name="inst">Windows $BMQ$N(B Apache - $B$N%$%s%9%H!<%k(B</a></h2> - - <p>$B>e$G%@%&%s%m!<%I$7$?(B Apache <samp>.msi</samp> $B$r<B9T$7$F$/$@$5$$!#(B - $B$9$k$H0J2<$NF~NO$,MW5a$5$l$^$9(B</p> - - <ul> - <li>$B$9$Y$F$N%f!<%6$G(B Apache $B$r<B9T$5$;$?$$(B ($B%5!<%S%9$H$7$F$N(B - Apache $B$N%$%s%9%H!<%k(B) $B$N$+!"$^$?$O(B Start Apache - $B$N%7%g!<%H%+%C%H$rA*$VEy$7$F!"(B - $BI,MW$J$H$-$K%3%s%=!<%k%&%#%s%I%&$+$i<B9T$5$;$?$$$N$+!#(B</li> - - <li>$B%5!<%PL>!"%I%a%$%sL>!"$*$h$S4IM}<T$N(B E $B%a!<%k%"%+%&%s%H!#(B</li> - - - <li>Apache $B$r%$%s%9%H!<%k$9$k%G%#%l%/%H%j(B ($B%G%U%)%k%H$O(B - <code>C:\Program Files\Apache Group\Apache</code> $B$G$9$,(B - $B$3$l$O$I$N%G%#%l%/%H%j$K$G$bJQ99$G$-$^$9(B)$B!#(B</li> - - <li>$B%$%s%9%H!<%k%?%$%W!#(B"Complete" $B%*%W%7%g%s$G$O!"(B - $B$9$Y$F$,%$%s%9%H!<%k$5$l$^$9!#$b$7(B <samp>-src.msi</samp> - $B%Q%C%1!<%8$r%@%&%s%m!<%I$7$?$N$J$i%=!<%9%3!<%I$b4^$^$l$^$9!#(B - $B%I%-%e%a%s%H$d%=!<%9%3!<%I$r%$%s%9%H!<%k(B - $B$7$?$/$J$$>l9g$O(B "Custom" $B%$%s%9%H!<%k$rA*$s$G$/$@$5$$!#(B</li> - </ul> - - <p>$B%$%s%9%H!<%k$N4V$K!"(BApache $B$O%$%s%9%H!<%k%G%#%l%/%H%jCf$N(B - <samp>conf</samp> $B%G%#%l%/%H%j$N%U%!%$%k$r@_Dj$7$^$9!#$7$+$7!"(B - $B$3$N%G%#%l%/%H%j$N%U%!%$%k$,$I$l$+B8:_$7$?>l9g$O!"$=$l$r>e=q$-(B - <strong>$B$7$^$;$s(B</strong>$B!#Be$o$j$K!"BP1~$7$?%U%!%$%k$,(B - <samp>.default.conf</samp> $B$N3HD%;R$rIU$1$FJ]B8$5$l$^$9!#(B - $B$D$^$j!"Nc$($P(B <samp>conf\httpd.conf</samp> $B$,B8:_$7$?$J$i!"(B - $B$=$l<+BN$OJQ99$5$l$J$$$1$l$I$b!"%$%s%9%H!<%k$5$l$?$G$"$m$&%P!<%8%g%s$,(B - <samp>conf\httpd.default.conf</samp> $B$H$7$F;D$5$l$^$9!#%$%s%9%H!<%k8e$K!"(B - <samp>.default.conf</samp> $B$G$I$3$,?7$7$/$J$C$?$N$+!"(B - $B<jF0$G%A%'%C%/$9$Y$-$G!"I,MW$K1~$8$F4{B8$N@_Dj%U%!%$%k$r(B - $B99?7$7$F$/$@$5$$!#(B</p> - - <p><samp>htdocs\index.html</samp> - $B%U%!%$%k$b!"$9$G$KB8:_$9$l$P>e=q$-$5$l$^$;$s(B - (<samp>index.html.default</samp> $B%U%!%$%k$H$7$F%$%s%9%H!<%k(B - $B$5$l$k$3$H$b$"$j$^$;$s(B)$B!#(B - $B$3$l$O!"4{B8$N(B Apache $B$X$N>e=q$-%$%s%9%H!<%k$,0BA4$J$3$H$r0UL#$7$^$9(B - ($B$7$+$7!"%$%s%9%H!<%k$r$9$kA0$KF0$$$F$$$k4{B8$N%5!<%P$O(B - $B;_$a$J$1$l$P$J$j$^$;$s!#(B - $B%$%s%9%H!<%k40N;8e$K?7$7$$$b$N$r3+;O$7$F$/$@$5$$(B)$B!#(B</p> - - <p>Apache $B$r%$%s%9%H!<%k$7$?8e$K!"I,MW$J$i(B <samp>conf</samp> - $B%G%#%l%/%H%jFb$N@_Dj%U%!%$%k$rJT=8$7$F$/$@$5$$!#(B - $B$3$l$i$N%U%!%$%k$O%$%s%9%H!<%k$N4V$K!"(B - $B%$%s%9%H!<%k$5$l$?%G%#%l%/%H%j$+$i(B Apache - $B$,F0:n$G$-$k$h$&$K@_Dj$5$l!"%I%-%e%a%s%H$O%5%V%G%#%l%/%H%j(B - <samp>htdocs</samp> $B$N$b$N$,%/%i%$%"%s%H$KAw$i$l$^$9!#(B - Apache $B$r<B:]$K;H$$;O$a$kA0$K!"(B - $B@_Dj$5$l$k$Y$-%*%W%7%g%s$OB>$K$bBt;3$"$j$^$9$,!"(B - $B$9$0$K;H$$;O$a$?$$>l9g$O!"(B - $B%$%s%9%H!<%k$5$l$?$^$^$N>uBV$G$bF0:n$9$k$G$7$g$&!#(B</p> - - <p>$B$b$7(B Apache $B$r%"%s%$%s%9%H!<%k$9$k$3$H$K$J$C$?>l9g!"@_Dj%U%!%$%k$H(B - $B%m%0%U%!%$%k$O:o=|$5$l$^$;$s!#@_Dj%U%!%$%k$dB>$N%&%'%V%U%!%$%k$r(B - $B;D$7$?$$$H;W$o$J$$$J$i%G%#%l%/%H%j%D%j!<(B ($B%G%U%)%k%H$G$O(B - "C:\Program Files\Apache Group") $B$r<+J,$G:o=|$9$kI,MW$,$"$j$^$9!#(B - httpd.conf $B%U%!%$%k$O(B Apache $B$r;H$&>e$GC_@Q$5$l$?@.2L$G$"$k$N$G!"(B - $B:o=|$9$k$?$a$K$OO+NO$rJ'$&I,MW$,$"$j$^$9!#(B - $B$"$J$?$N:n$C$?2DG=@-$,$"$kB>$NA4$F$N%U%!%$%k$K$*$$$F$bF1$8$3$H$,(B - $B8@$($^$9!#(BApache $B$,:n$C$?%m%0%U%!%$%k$bF1MM$G$9!#(B</p> - - <h2><a id="run" name="run">Windows $BMQ$N(B Apache $B$r<B9T$9$k(B</a></h2> - - <p>Apache $B$r<B9T$9$k$K$O(B 2 $B$D$NJ}K!$,$"$j$^$9(B</p> - - <ul> - <li>$B!V(B<a href="win_service.html">$B%5!<%S%9(B</a>$B!W$H$7$F!#(B - $B$b$7%^%7%s%V!<%H;~$K(B Apache $B$K!"<+F0E*$K3+;O$7$?$$!"(B - $B$^$?%m%0%*%U$7$F$b!"(BApache $B$NF0:n$OB3$1$?$$$J$i!"(B - $B$3$l$,:GA1$N%*%W%7%g%s$G$9!#(B</li> - - <li><a href="#cmdline">$B%3%s%=!<%k%&%#%s%I%&(B</a>$B$+$i!#(B - $B$3$N%3%s%=!<%k%&%#%s%I%&$rJD$8$k$3$H$K$h$j(B Apache - $B%5!<%P$O=*N;$5$l$^$9!#(B</li> - </ul> - - <p><strong>Apache $B$r(B Windows <a href="win_service.html" - >$B%5!<%S%9(B</a>$B$H$7$F3+;O$7$h$&$H$9$kA0$K!"(B - $B0J2<$N<j=g$r40N;$5$;$F$/$@$5$$(B!</strong></p> - - <p>$B%3%s%=!<%k%&%#%s%I%&$+$i(B Apache $B$r<B9T$9$k$K$O%9%?!<%H%a%K%e!<$+$i!"(B - "Start Apache as console app" $B%*%W%7%g%s$rA*$s$G$/$@$5$$(B (Apache - 1.3.4 $B0JA0$G$O$3$N%*%W%7%g%s$O(B "Apache Server" $B$H8F$P$l$F$$$^$7$?(B)$B!#(B - $B$3$l$K$h$j%3%s%=!<%k%&%#%s%I%&$,3+$+$l!"(BApache $B$O$=$NCf$G<B9T$5$l$^$9!#(B - $B%&%#%s%I%&$O!"(BApache $B$r;_$a$k$^$G!"%"%/%F%#%V$G$"$jB3$1$^$9!#(BApache - $B$r;_$a$k$K$O!"%9%?!<%H%a%K%e!<$+$i!"(B"Shutdown Apache console app" - $B$rA*Br$9$k$+(B (Apache 1.3.4 $B0JA0$G$O;H$($^$;$s(B)$B!"(B<a - href="#signal">$B%3%s%=!<%k%&%#%s%I%&$G(B Apache $B$r%3%s%H%m!<%k$9$k(B</a> - $B$r;2>H$7$F!"%3%s%=!<%k%&%#%s%I%&$G(B Apache - $B$r%3%s%H%m!<%k$9$k%3%^%s%I$r;H$C$F$/$@$5$$!#(B</p> - - <p>Apache 1.3.13 $B0J9_$G$O!"(BCtrl+C $B$^$?$O(B Ctrl+Break - $B$r2!$7$F$b!"%3%s%=!<%k%&%#%s%I%&$N(B Apache $B$r0BA4$K(B - $B;_$a$i$l$k$h$&$K$J$j$^$7$?!#$=$7$F!"%P!<%8%g%s(B 1.3.13 $B$+$i!"(B - Windows NT/2000 $B>e$G;H$&>l9g$O!"%7%9%F%`%a%K%e!<(B - ($B%3%s%=!<%k%&%#%s%I%&$N:8>e%3!<%J!<$N%"%$%3%s$r%/%j%C%/(B) - $B$+$i!VJD$8$k!W$rA*$V$+!"1&>e%3!<%J!<$N=*N;(B (X) - $B%\%?%s$r%/%j%C%/$9$k$3$H$K$h$j(B Apache $B$rDd;_$5$;$k$3$H$b$G$-$^$9!#(B - Apache $B%P!<%8%g%s(B 1.3.15 $B$+$i!"%a%K%e!<9`L\$N!VJD$8$k!W$d=*N;(B (X) - $B%\%?%s$O(B Windows 95/98 $B$G$bF/$-$^$9!#$7$+$7!"$=$l$h$jA0$N%P!<%8%g%s$N(B - Apache $B%5!<%P$G$O$-$l$$$K=*N;$7$J$$$N$G$=$&$$$C$?<jCJ$O(B - <em>$B:N$i$J$$$G$/$@$5$$(B</em>$B!#(B</p> - - <h2><a id="test" name="test">Windows $BMQ$N(B Apache $B$r%F%9%H$9$k(B</a></h2> - - <p>Apache $B$N5/F0$K$*$$$F%H%i%V%k$,$"$l$P!"LdBj$r@Z$jN%$9$?$a!"(B - $B0J2<$N<j=g$K=>$C$F$/$@$5$$!#$3$l$O(B "Start Apache as a console app" - $B$N%7%g!<%H%+%C%H$r%9%?!<%H%a%K%e!<$+$iA*$V$3$H$K$h$j(B Apache - $B$r5/F0$7$?$i$9$0$K(B ($B$"$k$$$OFMA3(B) $B%3%s%=!<%k%&%#%s%I%&$,JD$8$?!"$^$?$O(B - Apache $B$r%5!<%S%9$H$7$F3+;O$9$k$H$-$K%H%i%V%k$KAx$C$?>l9g$K(B - $B$"$F$O$^$j$^$9!#(B - </p> - - <p>$B%9%?!<%H%a%K%e!<(B - $B%W%m%0%i%`(B $B$+$i!V%3%^%s%I%W%m%s%W%H!W$r<B9T$7$F$/$@$5$$!#(B - Apache $B$r%$%s%9%H!<%k$7$?%U%)%k%@$K0\F0$7!"(Bapache - $B%3%^%s%I$rF~NO$7$F%(%i!<%a%C%;!<%8$rFI$s$G$/$@$5$$!#(B - $B$=$7$F!"@_Dj%_%9$,$J$$$+!"(Berror.log $B%U%!%$%k$rD4$Y$F$/$@$5$$!#(B - Apache $B$r%G%U%)%k%H$G%$%s%9%H!<%k$7$?>l9g$O!"%3%^%s%I$O0J2<$NMM$K$J$j$^$9!#(B</p> -<pre> - c: - cd "\program files\apache group\apache" - apache - <em>Apache $B$,=*N;$9$k$N$rBT$D$+!"(BCtrl+C $B$rF~NO(B</em> - more <logs\error.log -</pre> - - <p>error.log $B$r3NG'$9$k$3$H$G!"$*$=$i$/0-$+$C$?$H$3$m$rD>$7!"(B - $BLdBj$r2r7h$7$F$d$jD>$9$3$H$,$G$-$k$G$7$g$&!#$b$7<+NO$G(B - $B2r7h$G$-$J$+$C$?>l9g$O!"(B - $B$3$NJ8=q$NKAF,$N(B <a href="#help">$BJd=u$N$?$a$N%,%$%I%i%$%s(B</a> - $B$d(B <a href="misc/FAQ.html#what2do">FAQ</a> $B$K=>$C$F$/$@$5$$!#(B - $BB?$/$N%f!<%6$O$?$/$5$s$N@_Dj%@%$%"%m%0$h$j$b!"(B - httpd.conf $B%U%!%$%k$NJ}$,4IM}$d8!::$,4JC1$J$3$H$K5$$E$/$G$7$g$&!#(B</p> - - - <p>$B3+;O8e$O(B Apache $B$O(B($B@_Dj%U%!%$%k$G(B <samp>Port</samp>, - <samp>Listen</samp> $B$^$?$O(B <samp>BindAddress</samp> - $B%G%#%l%/%F%#%V$rJQ99$7$F$$$J$1$l$P(B) - ($B%3%s%=!<%k%&%#%s%I%&$G$b%5!<%S%9$G$b(B) 80 $BHV%]!<%H$r(B Listen - $B$7$F<B9T$5$l$^$9!#%V%i%&%6$r5/F0$7!"$3$N(B URL</p> -<pre> - http://localhost/ -</pre> - <p>$B$rF~NO$7$F%5!<%P$K@\B3$7!"%G%U%)%k%H%Z!<%8$K%"%/%;%9$7$F$/$@$5$$(B</p> - - <p>$B$3$l$G(B welcome $B%Z!<%8$,JV$5$l!"(BApache - $B%^%K%e%"%k$X$N%j%s%/$,$"$k$O$:$G$9!#$b$72?$b5/$3$i$J$$$+!"(B - $B%(%i!<$@$C$?>l9g$O!"(B<samp>logs</samp> $B%G%#%l%/%H%jCf$N(B - <samp>error.log</samp> $B%U%!%$%k$r8+$F$/$@$5$$!#$b$7%[%9%H$,%M%C%H$K(B - $B@\B3$5$l$F$$$J$$>l9g$O!"$3$N(B URL</p> -<pre> - http://127.0.0.1/ -</pre> - <p>$B$r;H$&I,MW$,$"$k$+$b$7$l$^$;$s(B</p> - - <p>$B$$$C$?$s4pK\E*$J%$%s%9%H!<%k$GF0:n$7$?$i!"(B<samp>conf</samp> - $B%G%#%l%/%H%jCf$N%U%!%$%k$rJT=8$7$FE,@Z$K@_Dj$7$F$/$@$5$$!#(B</p> - - <p>Apache $B$OF1$8%]!<%H$rB>$N(B TCP/IP $B%"%W%j%1!<%7%g%s$H6&M-$9$k$3$H$O(B - <em>$B=PMh$J$$(B</em> $B$N$G!"$^$:FCDj$N%5!<%S%9$r;_$a$k$+%"%s%$%s%9%H!<%k(B - $B$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#$3$l$K$OB>$N%&%'%V%5!<%P$d(B BlackIce - $B$J$I$N%U%!%$%"%&%)!<%k@=IJ$,(B ($B$3$l$i$K8B$i$l$^$;$s$,(B) $B4^$^$l$^$9!#(B - $B$=$l$i$N%5!<%S%9$r;HMQ$;$:(B Apache $B$@$1$r5/F0$5$;$k$+!"(B - $B$=$l$i$N@=IJ$HF1$8(B TCP/IP $B%]!<%H$r(B listen $B$7$J$$$h$&$K!"(BApache - $B$^$?$OB>$N@=IJ$r:F@_Dj$7$F$/$@$5$$!#$I$N%]!<%H$,;HMQ$5$l$F$$$k$N$+(B - $B$r3NG'$9$k$K$O(B Windows $B$N(B "netstat -an" - $B%3%^%s%I$,JXMx$+$bCN$l$^$;$s!#(B</p> - - <h2><a id="use" name="use">Windows $BMQ$N(B Apache $B$r@_Dj$9$k(B</a></h2> - - <p>Apache $B$O(B <samp>conf</samp> - $B%G%#%l%/%H%jCf$N%U%!%$%k$K$h$j@_Dj$5$l$^$9!#$3$l$i$O!"(BUnix - $B%P!<%8%g%s$N@_DjMQ%U%!%$%k$HF1$8$G$9$,!"(BWindows $B$N(B Apache - $B$O$$$/$i$+0[$J$k%G%#%l%/%F%#%V$,$"$j$^$9!#(B - $BM-8z$J%G%#%l%/%F%#%V$rCN$k$?$a$K$O(B <a href="./">Apache - $B%I%-%e%a%s%H(B</a>$B$r8+$F$/$@$5$$!#(B</p> - - - <p><code>httpd.conf</code> $B$H$=$N%G%#%l%/%F%#%V$rFI$`$3$H$+$i(B - Apache $B%5!<%P$N@_Dj$r$O$8$a$F$/$@$5$$!#(B<code>access.conf</code> - $B$H(B <code>srm.conf</code> $B$OB8:_$O$7$F$$$^$9$,!"(B - $B8=:_$G$O$[$H$s$I$N4IM}<T$K;H$o$l$J$$8E$$%U%!%$%k$G!"(B - $B$=$NCf$K$O%G%#%l%/%F%#%V$,A4$/=q$+$l$F$$$J$$$3$H$,J,$+$k$G$7$g$&!#(B</p> - - <p><code>httpd.conf</code> $B$K$O$=$l<+BN$K%I%-%e%a%s%H$,$?$/$5$s4^$^$l$F$$$F!"(B - Apache $B%5!<%P$r3+;O$9$k;~$K?d>)$5$l$k%G%U%)%k%H@_Dj$N%G%#%l%/%F%#%V$,B3$$$F$$$^$9!#(B - $B@_Dj%U%!%$%k$rM}2r$9$k$K$O$=$l$i$N%3%a%s%H$rFI$`$3$H$+$i;O$a$F!"(B - $B>/$7JQ99$r$7$F$O%3%s%=!<%k%&%#%s%I%&$+$i(B Apache - $B$r3+;O$7!"JQ99$rE,MQ$5$;$F$/$@$5$$!#(B - $B4V0c$($?$H$-$K:G8e$K9T$C$?JQ99$r85$KLa$9$N$O$h$j4JC1$G$7$g$&!#(B - $B$=$&$9$k$&$A$K$I$NJQ99$,%5!<%P$NIT6q9g$K$D$J$,$k$N$+$H$$$&(B - $BCN<1$,@8$^$l$^$9!#(B - </p> - - <p>Windows $BMQ$N(B Apache $B$G0[$J$k<g$JE@$O0J2<$NDL$j$G$9(B</p> - - <ul> - <li> - Windows $BMQ$N(B Apache $B$O%^%k%A%9%l%C%I$J$N$G!"(BUnix $B$G$N(B Apache - $B$N$h$&$K$=$l$>$l$NMW5a$4$H$KJL8D$N%W%m%;%9$r;H$$$^$;$s!#(B - $BBe$o$j$K!"DL>o(B Apache $B%W%m%;%9$,Fs$D$@$1;H$o$l$^$9!#(B - $B?F%W%m%;%9$H%j%/%(%9%H$r=hM}$9$k;R%W%m%;%9$G$9!#(B - $B;R%W%m%;%9$G$O!"$=$l$>$l$N%j%/%(%9%H$OJL8D$N%9%l%C%I$K$h$j(B - $B=hM}$5$l$^$9!#=>$C$F!"!V%W%m%;%9!W(B - $B$r4IM}$9$k%G%#%l%/%F%#%V$,0[$J$j$^$9(B: - - <ul> - <li><a - href="mod/core.html#maxrequestsperchild" - >MaxRequestsPerChild</a> - Unix $BMQ$N%G%#%l%/%F%#%V$HF1$8$h$&$K!"(B - $B%W%m%;%9$,>C$($k$^$G$K$I$l$/$i$$$N%j%/%(%9%H$r=hM}$9$k$N$+$r(B - $B%3%s%H%m!<%k$7$^$9!#$?$@$7!"(BUnix $B$H$O0[$J$j0l$D$N%W%m%;%9$O(B - $B0l$D$N%j%/%(%9%H$@$1$N=hM}$G$O$J$/!"$9$Y$F$NMW5a$rF1;~$K=hM}$7$^$9!#(B - $B=>$C$F!"$3$l$r@_Dj$9$k>l9g$O!"Hs>o$K9b$$?t$r;H$&$3$H$,?d>)$5$l$^$9!#(B - $B?d>)$5$l$?%G%U%)%k%H$N(B <code>MaxRequestsPerChild 0</code> - $B$G$O%W%m%;%9$O>C$($^$;$s!#(B</li> - - <li><a - href="mod/core.html#threadsperchild">ThreadsPerChild</a> - - $B$3$N?7$7$$%G%#%l%/%F%#%V$O!"$$$/$D$N%9%l%C%I$r;H$&$N$+$r(B - $B<($7$^$9!#$3$l$O!"F1;~$K%5!<%P$,=hM}$G$-$k@\B3$N(B - $B:GBg?t$K$J$j$^$9!#BgNL$N%"%/%;%9$,M-$k$N$J$i!"(B - $B$3$l$r==J,$K9b$$?tCM$K@_Dj$7$F$/$@$5$$!#?d>)$N%G%U%)%k%H$O(B - <code>ThreadsPerChild 50</code> $B$G$9!#(B - </li> - </ul> - </li> - - <li>$B%G%#%l%/%F%#%V$N0z?t$N%U%!%$%kL>$O(B Unix $B7A<0$G$J$/(B Windows - $B7A<0$N%U%!%$%kL>$r;H$o$l$J$1$l$P$J$j$^$;$s!#$7$+$7!"(BApache - $BFbIt$G$O(B Unix $B7A<0$NL>A0$r;H$&$N$G!"%P%C%/%9%i%C%7%e$NBe$o$j$K(B - $B%9%i%C%7%e$r;H$o$J$1$l$P$J$j$^$;$s!#%I%i%$%VL>$r;H$&$3$H$b$G$-$^$9!#(B - $B>JN,$7$?>l9g$O!"(BApache $B$N<B9T%U%!%$%k$,$"$k%I%i%$%V$K$J$j$^$9!#(B - </li> - - <li> - Windows $BMQ$N(B Apache $B$O%5!<%P$r:F%3%s%Q%$%k$;$:$K<B9T;~$K(B - $B%b%8%e!<%k$r%m!<%I$9$k$3$H$,=PMh$^$9!#(BApache $B$rIaDL$K%3%s%Q%$%k(B - $B$7$?>l9g$O(B <code>modules</code> $B%G%#%l%/%H%j$K$"$kB?$/$N(B - $B%*%W%7%g%s$N%b%8%e!<%k$r%$%s%9%H!<%k$7$^$9!#$=$l$i$N%b%8%e!<%k$d(B - $BB>$N%b%8%e!<%k$rM-8z$K$9$k$K$O!"?7$7$$(B <a - href="mod/mod_so.html#loadmodule">LoadModule</a> - $B%G%#%l%/%F%#%V$r;H$o$J$1$l$P$J$j$^$;$s!#Nc$($P!"(Bstatus - $B%b%8%e!<%k$rM-8z$K$9$k$K$O0J2<(B ($B$5$i$K!"(B<code>httpd.conf</code> $B$K(B - status $B$rM-8z$K$9$k%G%#%l%/%F%#%V$,I,MW!#>\:Y$K$D$$$F$O(B <a - href="mod/mod_status.html">mod_status</a> - $B$r;2>H(B) $B$,I,MW$G$9!#(B -<pre> - LoadModule status_module modules/mod_status.so -</pre> - - <p><a - href="mod/mod_so.html#creating" - >$B%m!<%I$G$-$k%b%8%e!<%k$N:n@.(B</a>$B$K$D$$$F$N>pJs$b$"$j$^$9!#(B - $B%5!<%I%Q!<%F%#!<$N%b%8%e!<%k$NCf$K$O(B - $B8E$$7A<0$NL>A0!"(BApacheModuleFoo.dll $B$GG[I[$5$l$F$$$k$3$H$,(B - $B$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B - LoadModule $B%G%#%l%/%F%#%V$O>o$K%5!<%I%Q!<%F%#!<$N%b%8%e!<%k<+?H$N(B - $B%I%-%e%a%s%H$K=>$C$F@_Dj$7$F$/$@$5$$!#(B</p></li> - - <li>Windows $BMQ$N(B Apache $B%P!<%8%g%s(B 1.3 - $B7O$G$OF14|E*$J8F$S=P$7$,<BAu$5$l$F$$$^$9!#(B - $B$3$N$3$H$O!"%P%C%U%!$5$l$F$$$J$$7k2L$,D>$A$K%V%i%&%6$G8+$i$l$J$$$H$$$&(B - CGI $B@):n<T$K$H$C$F$OBg$-$JLdBj$N860x$K$J$j$^$9!#$3$l$O!"(BApache - $B$N(B CGI $B$K5-=R$5$l$?F0:n$G$O$J$/!"(BWindows $B$X$N0\?"$NI{:nMQ$G$9!#(B - Apache 2.0 $B$G$O!"K>$^$l$kHsF14|$NF0:n$r<BAu$,9T$J$o$l$F$$$F!"(B - NT/2000 $B$G$N<BAu$G!"(BCGI $B$,3[LLDL$j$NF0:n$,2DG=$K$J$k$3$H$r(B - $B4|BT$7$F$$$^$9!#(B</li> - - <li> - <p>Apache $B$O!"(BMicrosoft $B$N(B IIS $B$dB>$N(B Windows - $B%5!<%P$G;H$o$l$k$h$&$J(B ISAPI $B3HD%(B (<em>$B$9$J$o$A(B</em>$B!"(B - $B%$%s%?!<%M%C%H%5!<%P%"%W%j%1!<%7%g%s(B) $B$b%m!<%I$G$-$^$9!#(B - <a href="mod/mod_isapi.html">$B>\$7$$>pJs$b$"$j$^$9(B</a>$B!#(B - Apache $B$O(B ISAPI - $B%U%#%k%?$O%m!<%I(B<em>$B$G$-$J$$(B</em>$B$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - </li> - - <li>CGI $B$,F0:n$9$k;~$K(B Apache $B$,%9%/%j%W%H$N%$%s%?%W%j%?$r(B - $BH=CG$9$kJ}K!$r(B <a href="mod/core.html#scriptinterpretersource" - >ScriptInterpreterSource</a> $B%G%#%l%/%F%#%V$r;H$C$F@_Dj$G$-$^$9!#(B - </li> - - <li>Windows $B$G$O(B <code>.htaccess</code> - $B$N$h$&$JL>A0$N%U%!%$%k$O4IM}$7$K$/$$$3$H$,B?$$$N$G!"(B - <a href="mod/core.html#accessfilename">AccessFilename</a> - $B%G%#%l%/%F%#%V$r;H$C$F$3$N%U%!%$%kL>$rJQ99$9$k$H(B - $BJXMx$+$b$7$l$^$;$s!#(B</li> - </ul> - - <h2><a id="cmdline" name="cmdline">$B%3%s%=!<%k%&%#%s%I%&$G(B Apache - $B$r<B9T$9$k(B</a></h2> - - <p>$B%9%?!<%H%a%K%e!<%"%$%3%s5Z$S(B NT $B%5!<%S%9%^%M%8%c!<$O!"(B - Apache $B$r4IM}$9$k$?$a$N4JC1$J%$%s%?%U%'!<%9$rDs6!$7$^$9!#(B - $B$7$+$7!"%3%^%s%I%i%$%s$+$i$NJ}$,4JC1$J>l9g$b$"$j$^$9!#(B</p> - - <p>Apache $B$G2?$+$9$k$H$-$K$O@_Dj%U%!%$%k$r$I$N$h$&$K8+$D$1$k$N$+$r(B - $BCN$C$F$$$k$3$H$,=EMW$G$9!#%3%^%s%I%i%$%s$G@_Dj%U%!%$%k$r;XDj$9$k$K$O(B - $BFs$D$NJ}K!$,$"$j$^$9(B</p> - - <ul> - <li>-f $B$G$OFCDj$N@_Dj%U%!%$%k$N%Q%9$r;XDj$7$^$9(B</li> - </ul> - -<pre> - apache -f "c:\my server\conf\my.conf" -</pre> -<pre> - apache -f test\test.conf -</pre> - - <ul> - <li>-n $B$O!"%$%s%9%H!<%k$5$l$?(B Apache - $B%5!<%S%9$N@_Dj%U%!%$%k$r;XDj$7$^$9(B (Apache 1.3.7$B0J9_(B)</li> - </ul> -<pre> - apache -n "service name" -</pre> - - <p>$B$3$l$i$N>l9g!"@_Dj%U%!%$%k$GE,@Z$J%5!<%P%k!<%H(B - $B$,@_Dj$5$l$F$$$kI,MW$,$"$j$^$9!#(B</p> - - <p> -f $B$d(B -n $B$G@_Dj%U%!%$%kL>$r;XDj$7$J$$>l9g$O!"(BApache $B$ODL>o(B - "conf/httpd.conf" $B$H$$$&%5!<%P$KAH$_9~$^$l$?(B - $B%U%!%$%kL>$,;H$o$l$^$9!#(BApache $B$K(B -V $B%9%$%C%A$rIU$1$?>l9g!"(B - SERVER_CONFIG_FILE $B$HL>IU$1$i$l$?$3$NCM$,I=<($5$l$^$9!#(B - Apache $B$O!"0J2<$N=g=x$G;n$7$F%5!<%P%k!<%H$r7hDj$7$^$9(B - </p> - - <ul> - <li>-C $B%9%$%C%A$K$h$k(B ServerRoot $B%G%#%l%/%F%#%V(B</li> - - <li>$B%3%^%s%I%i%$%s$N(B -d $B%9%$%C%A(B</li> - - <li>$B8=:_$N:n6H%G%#%l%/%H%j(B</li> - - <li>$B%P%$%J%j%$%s%9%H!<%k$7$?>l9g$O%l%8%9%H%j$N%(%s%H%j(B</li> - - <li>$B%5!<%P$K%3%s%Q%$%k$5$l$F$$$k%5!<%P%k!<%H(B</li> - - </ul> - - <p>$B%5!<%P$KAH$_9~$^$l$k%5!<%P%k!<%H$O!"DL>o(B "/apache" - $B$K$J$j$^$9!#(Bapache $B$K(B -V $B%9%$%C%A$rIU$1$?>l9g$O!"(BHTTPD_ROOT - $BL>IU$1$i$l$?$3$NCM$,I=<($5$l$^$9!#(B</p> - - <p>$B%9%?!<%H%a%K%e!<$+$i$N>l9g$ODL>o!"(BApache $B$K0z?t$,EO$5$l$J$$$N$G(B - $B%3%s%=!<%k$N(B Apache $B$G$b%l%8%9%H%j$N%(%s%H%j$r;H$&$3$H$,(B - $B?d>)$5$l$kJ}K!$G$9!#(B - </p> - - <p>$B%P%$%J%j%$%s%9%H!<%kCf$K!"%l%8%9%H%j$N%-!<$,%$%s%9%H!<%k$5$l$^$9!#(B - $BNc$($P(B</p> -<pre> - HKEY_LOCAL_MACHINE\Software\Apache Group\Apache\1.3.13\ServerRoot -</pre> - - <p>$B$3$N%-!<$O%5!<%P$KAH$_9~$^$l$F$$$F!"8=:_$N%P!<%8%g%s$K1F6A$r(B - $BM?$($:$K?7$7$$%P!<%8%g%s$r%F%9%H$9$k$3$H$r2DG=$K$7$^$9!#(B - $B$b$A$m$s!"%U%!%$%k%7%9%F%`>e$G8E$$%P!<%8%g%s$N>e$K?7$7$$(B - $B%P!<%8%g%s$r%$%s%9%H!<%k$7$J$$$h$&$KCm0U$7$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$b$7%P%$%J%j%$%s%9%H!<%k$r$7$J$+$C$?>l9g$O!"(BApache - $B$O$$$/$D$+$N6Z=q$K1h$C$F!"7gMn$7$F$$$k%l%8%9%H%j%-!<$K$D$$$F$N7Y9p$rH/$7$^$9!#(B - $B$3$N7Y9p$O!"@_Dj%U%!%$%k$r8+$D$1$k$3$H$,2?$i$+$N7A$G=PMh$?$J$i(B - $BL5;k$7$F$+$^$$$^$;$s!#(B</p> - - <p>$B$3$N%-!<$NCM$O(B <samp>conf</samp> $B%G%#%l%/%H%j$N$"$k(B - "ServerRoot" $B%G%#%l%/%H%j$G$9!#(BApache $B$O3+;O;~$K(B - <samp>httpd.conf</samp> $B%U%!%$%k$r$3$N%G%#%l%/%H%j$+$iFI$_$^$9!#(B - $B>e5-$N%l%8%9%H%j%-!<$+$iF@$?%G%#%l%/%H%j$H0[$J$k%G%#%l%/%H%j$,(B - $B$3$N%U%!%$%k$N(B <samp>ServerRoot</samp> $B%G%#%l%/%F%#%V$G;XDj$5$l$?>l9g$O!"(B - Apache $B$O%l%8%9%H%j%-!<$rK:$l$F@_Dj%U%!%$%k$G;X<($5$l$?%G%#%l%/%H%j$r(B - $B;H$$$^$9!#$b$7(B Apache $B%G%#%l%/%H%j$d@_Dj%U%!%$%k$rJL$N>l=j$K(B - $B%3%T!<$9$k>l9g$O(B <samp>httpd.conf</samp> $B$N(B <samp>ServerRoot</samp> - $B$r99?7$9$k$3$H$,4N?4$G$9!#(B - </p> - - <p>$B%3%s%=!<%k%"%W%j%1!<%7%g%s$H$7$F%3%^%s%I%i%$%s$+$i(B Apache - $B$r<B9T$9$k$K$O!"0J2<$N%3%^%s%I$r;H$C$F$/$@$5$$(B</p> -<pre> - apache -</pre> - - <p>Apache $B$,<B9T$5$l!"(Bcontrol-C - $B$r;H$&$3$H$K$h$j;_$a$i$l$k$^$GF0$-B3$1$^$9!#(B</p> - - <h2><a id="signal" name="signal">$B%3%s%=!<%k%&%#%s%I%&$N(B Apache - $B$r%3%s%H%m!<%k$7$^$9(B</a></h2> - - <p>$B<B9TCf$N(B Apache $B$r!"JL$N%3%s%=!<%k%&%#%s%I%&$+$i(B - $B0J2<$r<B9T$9$k$3$H$K$h$j;_$a$k$3$H$,$G$-$^$9(B</p> -<pre> - apache -k shutdown -</pre> - - <p><strong>$BCm(B: $B$3$N%*%W%7%g%s$O(B Apache 1.3.3 $B0J9_$G$N$_M-8z$G$9!#(B - </strong></p> - - <p>$B$h$j0JA0$N%P!<%8%g%s$G$O!"%5!<%P$r;_$a$k$K$O!"(BApache - $B$N%3%s%=!<%k%&%#%s%I%&$G(B control-C $B$r;H$o$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B%P!<%8%g%s(B 1.3.3 $B$+$i(B 1.3.12 $B$^$G$G$O!"(BApache - $B$N%3%s%=!<%k%&%#%s%I%&$G(B control-C $B$r;H$&Be$o$j$K$3$l$NJ}$r(B - $B;H$&$N$,I,MW$G$7$?!#$=$l$r;H$&$H!"(BApache $B$,$=$N;~E@$G$N(B - $B=hM}$r=*N;$7$F$-$l$$$K=*N;$G$-$k$3$H$,$G$-$?$+$i$G$9!#(B - </p> - - <p>$B%P!<%8%g%s(B 1.3.13 $B$G!"F0:n$7$F$$$k%&%#%s%I%&$G(B Control-C - $B$r;H$C$F$b(B Apache $B$,$-$l$$$K=*N;$9$k$h$&$K$J$C$?$N$G(B - -k shutdown $B$NJLL>$H$7$F(B -k stop $B$r;H$C$F$+$^$$$^$;$s!#(B - $BAa4|$N%P!<%8%g%s$G$O(B -k stop $B$r2r<a$7$^$;$s!#(B</p> - - <p>Apache $B$r!":F%9%?!<%H$5$;$k$3$H$b$G$-$^$9!#$=$l$K$h$j@_Dj%U%!%$%k(B - $B$N:FFI9~$r$7$^$9!#7P2aCf$N$I$N=hM}$b3d9~$^$;$:$K40N;$9$k$3$H$,5v$5$l$^$9!#(B - Apache $B$r:F%9%?!<%H$9$k$K$O$3$l$r<B9T$7$F$/$@$5$$(B - </p> -<pre> - apache -k restart -</pre> - - <p><strong>$BCm(B: $B$3$N%*%W%7%g%s$O(B Apache 1.3.3 $B0J9_$G$N$_M-8z$G$9!#(B - $BAa4|$N%P!<%8%g%s$G$O!"(BApache $B$N%3%s%=!<%k%&%#%s%I%&$G(B Control-C - $B$K$h$j%5!<%P$r=*N;$5$;!"$=$l$+$i(B Apache - $B%3%^%s%I$K$h$C$F%5!<%P$r:F5/F0$9$kI,MW$,$"$j$^$9!#(B - </strong></p> - - <p>$BB>$K!"@_Dj%U%!%$%k%F%9%H%*%W%7%g%s$H$$$&(B<em>$BHs>o$KJXMx$J(B</em> - $B5!G=$,$"$j$^$9!#(BApache - $B$N@_Dj%U%!%$%k$r%F%9%H$9$k$K$O$3$l$r<B9T$7$F$/$@$5$$(B:</p> -<pre> - apache -t -</pre> - - <p>Apache $B$,$^$@<B9T$7$F$$$k$H$-$K@_Dj%U%!%$%k$NJQ99$r$7$?$H$-$K(B - $BFC$KJXMx$G$9!#JQ99$r2C$(!"(B"apache -t" - $B%3%^%s%I$K$h$j9=J8$,@5$7$$$+3NG'$7$F$+$i(B "apache -k restart" $B$K$h$j(B - Apache $B$r:F5/F0$9$k$H$$$&$3$H$,$G$-$^$9!#(BApache - $B$O@_Dj%U%!%$%k$rFI$_D>$7!"(B - $B3d9~$_$5$;$k$3$H$J$/=hM}$r?J$a$k$3$H$,=PMh$^$9!#(B - $B?7$7$$%j%/%(%9%H$O?7$7$$@_Dj$K4p$E$$$F=hM}$5$l$^$9!#(B - </p> - - <p>$BCm(B: Apache $B$N(B Unix - $B%P!<%8%g%s$K@:DL$7$??M!9$K$O!"$3$l$i$N%3%^%s%I$O(B - <code>kill -TERM <em>pid</em></code> - $B$*$h$S(B <code>kill -USR1 <em>pid</em></code> $B$HF1Ey$N5!G=$r(B Windows - $B$KDs6!$9$k!"$H8@$C$?J}$,$o$+$j$d$9$$$G$7$g$&!#(B - $B%3%^%s%I%i%$%s$N%*%W%7%g%s$G;H$o$l$k(B <code>-k</code> - $B$O(B Unix $B$K$*$1$k(B "kill" $B%3%^%s%I$rO"A[$5$;$k$b$N$H$7$FA*$P$l$^$7$?!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> |