diff options
| author | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:22 +0100 |
|---|---|---|
| committer | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:22 +0100 |
| commit | 0268977037115539ad65a26e858aa0df8d18cd13 (patch) | |
| tree | f761b541b04d08b75e32efc6c293111c61a8b79c /docs/manual/developer | |
| parent | 9e615cb6aa4afcee97f8a1646e5a586261a7b81f (diff) | |
| download | apache2-upstream/2.2.9.tar.gz | |
Upstream tarball 2.2.9upstream/2.2.9
Diffstat (limited to 'docs/manual/developer')
| -rw-r--r-- | docs/manual/developer/API.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/API.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/debugging.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/debugging.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/documenting.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/documenting.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/filters.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/filters.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/hooks.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/hooks.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/index.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/index.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/modules.html | 6 | ||||
| -rw-r--r-- | docs/manual/developer/modules.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/modules.html.ja.euc-jp | 274 | ||||
| -rw-r--r-- | docs/manual/developer/modules.html.ja.utf8 | 274 | ||||
| -rw-r--r-- | docs/manual/developer/request.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/request.html.en | 2 | ||||
| -rw-r--r-- | docs/manual/developer/thread_safety.html | 2 | ||||
| -rw-r--r-- | docs/manual/developer/thread_safety.html.en | 2 |
20 files changed, 303 insertions, 285 deletions
diff --git a/docs/manual/developer/API.html b/docs/manual/developer/API.html index a8a3c492..b8ea3a1c 100644 --- a/docs/manual/developer/API.html +++ b/docs/manual/developer/API.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: API.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/API.html.en b/docs/manual/developer/API.html.en index 180d436f..c0b13149 100644 --- a/docs/manual/developer/API.html.en +++ b/docs/manual/developer/API.html.en @@ -1217,6 +1217,6 @@ void *request_config; /* Notes on *this* request */</pre><p><code> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/API.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/debugging.html b/docs/manual/developer/debugging.html index f7977f5e..6d94fa27 100644 --- a/docs/manual/developer/debugging.html +++ b/docs/manual/developer/debugging.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: debugging.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/debugging.html.en b/docs/manual/developer/debugging.html.en index 129d82a7..ea85b18b 100644 --- a/docs/manual/developer/debugging.html.en +++ b/docs/manual/developer/debugging.html.en @@ -192,6 +192,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/debugging.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/documenting.html b/docs/manual/developer/documenting.html index 0731e2d3..db57cef3 100644 --- a/docs/manual/developer/documenting.html +++ b/docs/manual/developer/documenting.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: documenting.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/documenting.html.en b/docs/manual/developer/documenting.html.en index a06fd818..08a64150 100644 --- a/docs/manual/developer/documenting.html.en +++ b/docs/manual/developer/documenting.html.en @@ -79,6 +79,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/documenting.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/filters.html b/docs/manual/developer/filters.html index c65dc946..6caade35 100644 --- a/docs/manual/developer/filters.html +++ b/docs/manual/developer/filters.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: filters.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/filters.html.en b/docs/manual/developer/filters.html.en index f25646d1..37dce1a1 100644 --- a/docs/manual/developer/filters.html.en +++ b/docs/manual/developer/filters.html.en @@ -205,6 +205,6 @@ Default_handler --> sub_request_core <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/filters.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/hooks.html b/docs/manual/developer/hooks.html index 49fe68e8..a4077c72 100644 --- a/docs/manual/developer/hooks.html +++ b/docs/manual/developer/hooks.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: hooks.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/hooks.html.en b/docs/manual/developer/hooks.html.en index b04d8bae..8db070cc 100644 --- a/docs/manual/developer/hooks.html.en +++ b/docs/manual/developer/hooks.html.en @@ -234,6 +234,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/hooks.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/index.html b/docs/manual/developer/index.html index 5f97bff8..e4d079c3 100644 --- a/docs/manual/developer/index.html +++ b/docs/manual/developer/index.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: index.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/index.html.en b/docs/manual/developer/index.html.en index ac2ceb97..95feb0de 100644 --- a/docs/manual/developer/index.html.en +++ b/docs/manual/developer/index.html.en @@ -77,6 +77,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/modules.html b/docs/manual/developer/modules.html index cb7b1dbf..33cfd0f4 100644 --- a/docs/manual/developer/modules.html +++ b/docs/manual/developer/modules.html @@ -1,7 +1,9 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: modules.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 -URI: modules.html.ja.euc-jp +URI: modules.html.ja.utf8 Content-Language: ja -Content-type: text/html; charset=EUC-JP +Content-type: text/html; charset=UTF-8 diff --git a/docs/manual/developer/modules.html.en b/docs/manual/developer/modules.html.en index ca4fbf00..609de345 100644 --- a/docs/manual/developer/modules.html.en +++ b/docs/manual/developer/modules.html.en @@ -268,6 +268,6 @@ module MODULE_VAR_EXPORT <var>module_name</var>_module = <p><span>Available Languages: </span><a href="../en/developer/modules.html" title="English"> en </a> | <a href="../ja/developer/modules.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/modules.html.ja.euc-jp b/docs/manual/developer/modules.html.ja.euc-jp deleted file mode 100644 index 3a4ddd5b..00000000 --- a/docs/manual/developer/modules.html.ja.euc-jp +++ /dev/null @@ -1,274 +0,0 @@ -<?xml version="1.0" encoding="EUC-JP"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - This file is generated from xml source: DO NOT EDIT - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - --> -<title>モジュールの Apache 1.3 から Apache 2.0 への移植 - Apache HTTP サーバ</title> -<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> -<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> -<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> -<link href="../images/favicon.ico" rel="shortcut icon" /></head> -<body id="manual-page"><div id="page-header"> -<p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p> -<p class="apache">Apache HTTP サーバ バージョン 2.2</p> -<img alt="" src="../images/feather.gif" /></div> -<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> -<div id="path"> -<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="../">バージョン 2.2</a> > <a href="./">Developer Documentation</a></div><div id="page-content"><div id="preamble"><h1>モジュールの Apache 1.3 から Apache 2.0 への移植</h1> -<div class="toplang"> -<p><span>Available Languages: </span><a href="../en/developer/modules.html" hreflang="en" rel="alternate" title="English"> en </a> | -<a href="../ja/developer/modules.html" title="Japanese"> ja </a></p> -</div> - - <p>この文書は <code>mod_mmap_static</code> モジュールを Apache 2.0 用に移植した時に - 学んだ経験をもとに書いた、最初の手引き書です。まだまだ完全じゃないし、 - ひょっとすると間違っている部分もあるかもしれませんが、 - 取っ掛りにはなるでしょう。</p> -</div> -<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#easy">簡単な変更点</a></li> -<li><img alt="" src="../images/down.gif" /> <a href="#messy">もっと厄介な変更点…</a></li> -</ul></div> -<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> -<div class="section"> -<h2><a name="easy" id="easy">簡単な変更点</a></h2> - - <h3><a name="cleanup" id="cleanup">クリーンナップ ルーチン</a></h3> - <p>クリーンナップルーチンは <code>apr_status_t</code> 型である必要があります。 - そして、apr_status_t 型の値を返さなくてはなりません。 - クリーンナップ中のエラーを通知する必要がなければ、返り値は普通、 - <code>ARP_SUCCESS</code> です。たとえエラーを通知したとしても、 - すべてのコードがその通知をチェックしたり、 - エラーに応じた動作をするわけではないことに気をつけてください。</p> - - - - <h3><a name="init" id="init">初期化ルーチン</a></h3> - - <p>初期化ルーチンは処理全体から見てしっくりくるような意味を表すように、 - 名前が変更されました。ですから、<code>mmap_init</code> から <code>mmap_post_config</code> - のようにちょっと変更されました。 - 渡される引数は大幅に変更され、次のようになりました。</p> - - <ul> - <li><code>apr_pool_t *p</code></li> - <li><code>apr_pool_t *plog</code></li> - <li><code>apr_pool_t *ptemp</code></li> - <li><code>server_rec *s</code></li> - </ul> - - - <h3><a name="datatypes" id="datatypes">データ型</a></h3> - <p>データ型のほとんどは <a href="http://apr.apache.org/">APR</a> に移されました。つまり、 - いくつかの名前が前述のように変更されています。 - 施すべき変更点の簡単な一覧を以下に示します。</p> - - <ul> - <li><code>pool</code> becomes <code>apr_pool_t</code></li> - <li><code>table</code> becomes <code>apr_table_t</code></li> - </ul> - -</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> -<div class="section"> -<h2><a name="messy" id="messy">もっと厄介な変更点…</a></h2> - - <h3><a name="register-hooks" id="register-hooks">フックの登録</a></h3> - <p>新しいアーキテクチャでは作成した関数を呼び出すのに - 一連のフックを使用します。このフックは、新しい関数 - <code>static void register_hooks(void)</code> を使って登録するよう、 - モジュールに書き足さなくてはなりません。 - この関数は、なにをすべきか一旦理解してしまえば、 - 十分にわかりやすいものです。 - リクエストの処理のあるステージで呼び出さなくてはならない - 関数は登録する必要があります。ハンドラは登録する必要はありません。 - 関数を登録できるフェーズはたくさんあります。 - それぞれのフェーズで、関数を呼び出す相対的な順番は、 - かなりの程度制御できます。</p> - - <p>以下は、<code>mod_mmap_static</code> に追加したコードです:</p> - - <div class="example"><pre> -static void register_hooks(void) -{ - static const char * const aszPre[]={ "http_core.c",NULL }; - ap_hook_post_config(mmap_post_config,NULL,NULL,HOOK_MIDDLE); - ap_hook_translate_name(mmap_static_xlat,aszPre,NULL,HOOK_LAST); -};</pre></div> - - <p>ここでは呼びだすべき二つの関数を登録しています。一つは - <code>post_config</code> ステージ用 (ほとんどすべてのモジュール - はこれが必要です) で、もう一つは <code>translate_name</code> フェーズ用です。 - それぞれの関数は名前は違うけれども形式は同じであることに注意してください。 - それでは、形式はどのようになっているでしょうか?</p> - - <div class="example"><p><code> - ap_hook_<var>phase_name</var>(<var>function_name</var>, - <var>predecessors</var>, <var>successors</var>, <var>position</var>); - </code></p></div> - - <p>三つの位置が定義されています…</p> - - <ul> - <li><code>HOOK_FIRST</code></li> - <li><code>HOOK_MIDDLE</code></li> - <li><code>HOOK_LAST</code></li> - </ul> - - <p>位置を定義するには、上記の「位置」を指定し、 - 修飾子である「先行」と「後行」で手を加えます。 - 「先行」「後行」は、呼ばれるべき関数のリストです。 - 「先行」は関数の実行前に呼ばれるもので、 - 「後行」は実行後に呼ばれるものです。</p> - - <p><code>mod_mmap_static</code> の場合、<code>post_config</code> - ステージでは必要ありませんが、 - <code>mmap_static_xlat</code> が core モジュールが名前の変換を実行した後に - <strong>呼ばれなければなりません</strong>。 - そこで aszPre を使って <code>HOOK_LAST</code> の修飾子を定義しています。</p> - - - <h3><a name="moddef" id="moddef">モジュールの定義</a></h3> - <p>モジュールの定義を作成する際に注意しなければならない - ステージの数は激減しています。古い定義は次のようになっていました。</p> - - <div class="example"><pre> -module MODULE_VAR_EXPORT <var>module_name</var>_module = -{ - STANDARD_MODULE_STUFF, - /* initializer */ - /* dir config creater */ - /* dir merger --- default is to override */ - /* server config */ - /* merge server config */ - /* command handlers */ - /* handlers */ - /* filename translation */ - /* check_user_id */ - /* check auth */ - /* check access */ - /* type_checker */ - /* fixups */ - /* logger */ - /* header parser */ - /* child_init */ - /* child_exit */ - /* post read-request */ -};</pre></div> - - <p>新しい構造体はとってもシンプルです…</p> - <div class="example"><pre> -module MODULE_VAR_EXPORT <var>module_name</var>_module = -{ - STANDARD20_MODULE_STUFF, - /* create per-directory config structures */ - /* merge per-directory config structures */ - /* create per-server config structures */ - /* merge per-server config structures */ - /* command handlers */ - /* handlers */ - /* register hooks */ -};</pre></div> - - <p>このうちのいくつかは古いものから新しいものに直接読み替えられるもので、 - いくつかはそうではありません。どうすればいいのかを要約してみます。</p> - - <p>直接読み替えられるステージ:</p> - - <dl> - <dt><code>/* ディレクトリ設定作成関数 */</code></dt> - <dd><code>/* ディレクトリ毎設定構造体作成 */</code></dd> - - <dt><code>/* サーバ設定作成関数 */</code></dt> - <dd><code>/* サーバ毎設定構造体作成 */</code></dd> - - <dt><code>/* ディレクトリ設定マージ関数 */</code></dt> - <dd><code>/* ディレクトリ毎設定構造体マージ */</code></dd> - - <dt><code>/* サーバ設定マージ関数 */</code></dt> - <dd><code>/* サーバ毎設定構造体作成マージ */</code></dd> - - <dt><code>/* コマンド・テーブル */</code></dt> - <dd><code>/* コマンド apr_table_t */</code></dd> - - <dt><code>/* ハンドラ */</code></dt> - <dd><code>/* ハンドラ */</code></dd> - </dl> - - <p>古い関数の残りのものはフックとして登録されるべきです。 - 現時点で次のようなフック・ステージが定義されています…</p> - - <dl> - <dt><code>ap_hook_post_config</code></dt> - <dd>(以前の <code>_init</code> ルーチンが登録されるべき場所です)</dd> - - <dt><code>ap_hook_http_method</code></dt> - <dd>(リクエストから HTTP メソッドを取得します (互換用))</dd> - - <dt><code>ap_hook_open_logs</code></dt> - <dd>(特定のログのオープン)</dd> - - <dt><code>ap_hook_auth_checker</code></dt> - <dd>(リソースが権限を必要とするかどうかの確認)</dd> - - <dt><code>ap_hook_access_checker</code></dt> - <dd>(モジュール固有の制約の確認)</dd> - - <dt><code>ap_hook_check_user_id</code></dt> - <dd>(ユーザ ID とパスワードの確認)</dd> - - <dt><code>ap_hook_default_port</code></dt> - <dd>(サーバのデフォルト・ポートの取得)</dd> - - <dt><code>ap_hook_pre_connection</code></dt> - <dd>(処理の直前に必要なことを実行。ただし accept 直後に呼ばれる)</dd> - - <dt><code>ap_hook_process_connection</code></dt> - <dd>(プロトコルの処理)</dd> - - <dt><code>ap_hook_child_init</code></dt> - <dd>(子プロセス起動直後)</dd> - - <dt><code>ap_hook_create_request</code></dt> - <dd>(??)</dd> - - <dt><code>ap_hook_fixups</code></dt> - <dd>(応答内容の生成を変更するラスト・チャンス)</dd> - - <dt><code>ap_hook_handler</code></dt> - <dd>(応答内容の生成)</dd> - - <dt><code>ap_hook_header_parser</code></dt> - <dd>(モジュールにヘッダの照会をさせる。ほとんどのモジュールでは使われません。post_read_request を使います)</dd> - - <dt><code>ap_hook_insert_filter</code></dt> - <dd>(フィルタ・チェインにフィルタを挿入)</dd> - - <dt><code>ap_hook_log_transaction</code></dt> - <dd>(リクエストについての情報を記録する)</dd> - - <dt><code>ap_hook_optional_fn_retrieve</code></dt> - <dd>(オプションとして登録された関数の取得)</dd> - - <dt><code>ap_hook_post_read_request</code></dt> - <dd>(リクエストを読みこんだ後、他のフェーズの前に呼ばれる)</dd> - - <dt><code>ap_hook_quick_handler</code></dt> - <dd>リクエストの処理が始まる前に呼ばれる。キャッシュモジュールが - 使用している</dd> - - <dt><code>ap_hook_translate_name</code></dt> - <dd>(URI をファイル名に変換する)</dd> - - <dt><code>ap_hook_type_checker</code></dt> - <dd>(文書型の決定と設定。あるいはその片方)</dd> - </dl> - -</div></div> -<div class="bottomlang"> -<p><span>Available Languages: </span><a href="../en/developer/modules.html" hreflang="en" rel="alternate" title="English"> en </a> | -<a href="../ja/developer/modules.html" title="Japanese"> ja </a></p> -</div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> -<p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div> -</body></html>
\ No newline at end of file diff --git a/docs/manual/developer/modules.html.ja.utf8 b/docs/manual/developer/modules.html.ja.utf8 new file mode 100644 index 00000000..cf3fafc4 --- /dev/null +++ b/docs/manual/developer/modules.html.ja.utf8 @@ -0,0 +1,274 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>≪吾ャ若 Apache 1.3 Apache 2.0 吾腱紙 - Apache HTTP 泣若</title> +<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="../mod/">≪吾ャ若</a> | <a href="../mod/directives.html">cc</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">茯</a> | <a href="../sitemap.html">泣ゃ</a></p> +<p class="apache">Apache HTTP 泣若 若吾с 2.2</p> +<img alt="" src="../images/feather.gif" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP 泣若</a> > <a href="http://httpd.apache.org/docs/">ャ<潟若激с</a> > <a href="../">若吾с 2.2</a> > <a href="./">Developer Documentation</a></div><div id="page-content"><div id="preamble"><h1>≪吾ャ若 Apache 1.3 Apache 2.0 吾腱紙</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="../en/developer/modules.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../ja/developer/modules.html" title="Japanese"> ja </a></p> +</div> + + <p>吾 <code>mod_mmap_static</code> ≪吾ャ若 Apache 2.0 腱紙 + 絖腟薑吾綣吾с障障絎 + 蚊cc障 + fс</p> +</div> +<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#easy">膂≦紊雁</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#messy">c篁紊雁高</a></li> +</ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> +<div class="section"> +<h2><a name="easy" id="easy">膂≦紊雁</a></h2> + + <h3><a name="cleanup" id="cleanup">若潟 若</a></h3> + <p>若潟若潟 <code>apr_status_t</code> с綽荀障 + apr_status_t ゃ菴障 + 若潟筝若ャ綽荀違菴ゃ + <code>ARP_SUCCESS</code> с若ャ + 鴻潟若ャс + 若綽篏с羂ゃ</p> + + + + <h3><a name="init" id="init">若</a></h3> + + <p>若潟篏荀c潟茵 + 紊眼障с<code>mmap_init</code> <code>mmap_post_config</code> + <c紊眼障 + 羝<綣違紊у紊眼罨<障</p> + + <ul> + <li><code>apr_pool_t *p</code></li> + <li><code>apr_pool_t *plog</code></li> + <li><code>apr_pool_t *ptemp</code></li> + <li><code>server_rec *s</code></li> + </ul> + + + <h3><a name="datatypes" id="datatypes">若水</a></h3> + <p>若水祉 <a href="http://apr.apache.org/">APR</a> 腱祉障ゃ障 + ゃ菴違紊眼障 + 純鴻紊雁鴻膂≦筝荀с篁ヤ腓冴障</p> + + <ul> + <li><code>pool</code> becomes <code>apr_pool_t</code></li> + <li><code>table</code> becomes <code>apr_table_t</code></li> + </ul> + +</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> +<div class="section"> +<h2><a name="messy" id="messy">c篁紊雁高</a></h2> + + <h3><a name="register-hooks" id="register-hooks">脂</a></h3> + <p>違≪若cс篏∽違若喝冴 + 筝c篏睡障違∽ + <code>static void register_hooks(void)</code> 篏帥c脂蚊 + ≪吾ャ若吾莇潟障 + ∽違鴻筝茹c障違 + с + 鴻鴻若吾у若喝冴 + ∽違脂蚊綽荀障潟脂蚊綽荀障 + ∽違脂蚊сс若冴障 + с若冴с∽違若喝冴後丞 + 腮綺九勝с障</p> + + <p>篁ヤ<code>mod_mmap_static</code> 菴遵潟若с:</p> + + <div class="example"><pre> +static void register_hooks(void) +{ + static const char * const aszPre[]={ "http_core.c",NULL }; + ap_hook_post_config(mmap_post_config,NULL,NULL,HOOK_MIDDLE); + ap_hook_translate_name(mmap_static_xlat,aszPre,NULL,HOOK_LAST); +};</pre></div> + + <p>с若潟鴻篋ゃ∽違脂蚊障筝ゃ + <code>post_config</code> 鴻若悟 (祉鴻≪吾ャ若 + 綽荀с) с筝ゃ <code>translate_name</code> с若榊с + ∽違綵√с羈 + с綵√cс?</p> + + <div class="example"><p><code> + ap_hook_<var>phase_name</var>(<var>function_name</var>, + <var>predecessors</var>, <var>successors</var>, <var>position</var>); + </code></p></div> + + <p>筝ゃ篏臀絎臂障</p> + + <ul> + <li><code>HOOK_FIRST</code></li> + <li><code>HOOK_MIDDLE</code></li> + <li><code>HOOK_LAST</code></li> + </ul> + + <p>篏臀絎臂筝荐篏臀絎 + 篆蕋上с茵緇茵ф障 + 茵緇茵若違鴻∽違鴻с + 茵∽違絎茵若違с + 緇茵絎茵緇若違с</p> + + <p><code>mod_mmap_static</code> 翫<code>post_config</code> + 鴻若吾с綽荀障 + <code>mmap_static_xlat</code> core ≪吾ャ若紊絎茵緇 + <strong>若違違障</strong> + aszPre 篏帥c <code>HOOK_LAST</code> 篆蕋上絎臂障</p> + + + <h3><a name="moddef" id="moddef">≪吾ャ若絎臂</a></h3> + <p>≪吾ャ若絎臂篏羈違 + 鴻若吾違羶羝障ゃ絎臂罨<c障</p> + + <div class="example"><pre> +module MODULE_VAR_EXPORT <var>module_name</var>_module = +{ + STANDARD_MODULE_STUFF, + /* initializer */ + /* dir config creater */ + /* dir merger --- default is to override */ + /* server config */ + /* merge server config */ + /* command handlers */ + /* handlers */ + /* filename translation */ + /* check_user_id */ + /* check auth */ + /* check access */ + /* type_checker */ + /* fixups */ + /* logger */ + /* header parser */ + /* child_init */ + /* child_exit */ + /* post read-request */ +};</pre></div> + + <p>違罕篏c激潟с</p> + <div class="example"><pre> +module MODULE_VAR_EXPORT <var>module_name</var>_module = +{ + STANDARD20_MODULE_STUFF, + /* create per-directory config structures */ + /* merge per-directory config structures */ + /* create per-server config structures */ + /* merge per-server config structures */ + /* command handlers */ + /* handlers */ + /* register hooks */ +};</pre></div> + + <p><ゃゃ違贋・茯炊帥с + ゃс障違荀膣帥障</p> + + <p>贋・茯炊帥鴻若:</p> + + <dl> + <dt><code>/* c荐絎篏∽ */</code></dt> + <dd><code>/* c罸荐絎罕篏篏 */</code></dd> + + <dt><code>/* 泣若荐絎篏∽ */</code></dt> + <dd><code>/* 泣若罸荐絎罕篏篏 */</code></dd> + + <dt><code>/* c荐絎若檎∽ */</code></dt> + <dd><code>/* c罸荐絎罕篏若 */</code></dd> + + <dt><code>/* 泣若荐絎若檎∽ */</code></dt> + <dd><code>/* 泣若罸荐絎罕篏篏若 */</code></dd> + + <dt><code>/* 潟潟祉若 */</code></dt> + <dd><code>/* 潟潟 apr_table_t */</code></dd> + + <dt><code>/* 潟 */</code></dt> + <dd><code>/* 潟 */</code></dd> + </dl> + + <p>ゃ∽違罧脂蚊鴻с + 憝鴻ф<祉鴻若吾絎臂障</p> + + <dl> + <dt><code>ap_hook_post_config</code></dt> + <dd>(篁ュ <code>_init</code> 若潟脂蚊鴻贋с)</dd> + + <dt><code>ap_hook_http_method</code></dt> + <dd>(鴻 HTTP <純緇障 (篋))</dd> + + <dt><code>ap_hook_open_logs</code></dt> + <dd>(劫違若)</dd> + + <dt><code>ap_hook_auth_checker</code></dt> + <dd>(純若鴻罔綽荀腆肴)</dd> + + <dt><code>ap_hook_access_checker</code></dt> + <dd>(≪吾ャ若堺句腆肴)</dd> + + <dt><code>ap_hook_check_user_id</code></dt> + <dd>(若 ID 鴻若腆肴)</dd> + + <dt><code>ap_hook_default_port</code></dt> + <dd>(泣若祉若緇)</dd> + + <dt><code>ap_hook_pre_connection</code></dt> + <dd>(翫綽荀絎茵 accept 翫若違)</dd> + + <dt><code>ap_hook_process_connection</code></dt> + <dd>(潟)</dd> + + <dt><code>ap_hook_child_init</code></dt> + <dd>(絖祉壕儀翫)</dd> + + <dt><code>ap_hook_create_request</code></dt> + <dd>(??)</dd> + + <dt><code>ap_hook_fixups</code></dt> + <dd>(綽膈絎鴻紊眼鴻祉c潟)</dd> + + <dt><code>ap_hook_handler</code></dt> + <dd>(綽膈絎鴻)</dd> + + <dt><code>ap_hook_header_parser</code></dt> + <dd>(≪吾ャ若т祉≪吾ャ若с篏帥障post_read_request 篏帥障)</dd> + + <dt><code>ap_hook_insert_filter</code></dt> + <dd>(c帥祉сゃ潟c帥水)</dd> + + <dt><code>ap_hook_log_transaction</code></dt> + <dd>(鴻ゃ宴荐蚊)</dd> + + <dt><code>ap_hook_optional_fn_retrieve</code></dt> + <dd>(激с潟脂蚊∽違緇)</dd> + + <dt><code>ap_hook_post_read_request</code></dt> + <dd>(鴻茯帥緇篁с若冴若違)</dd> + + <dt><code>ap_hook_quick_handler</code></dt> + <dd>鴻紮障若違c激ャ≪吾ャ若 + 篏睡</dd> + + <dt><code>ap_hook_translate_name</code></dt> + <dd>(URI <ゃ紊)</dd> + + <dt><code>ap_hook_type_checker</code></dt> + <dd>(後羆阪荐絎)</dd> + </dl> + +</div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="../en/developer/modules.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="../ja/developer/modules.html" title="Japanese"> ja </a></p> +</div><div id="footer"> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="../mod/">≪吾ャ若</a> | <a href="../mod/directives.html">cc</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">茯</a> | <a href="../sitemap.html">泣ゃ</a></p></div> +</body></html>
\ No newline at end of file diff --git a/docs/manual/developer/request.html b/docs/manual/developer/request.html index 54770724..ed3694f6 100644 --- a/docs/manual/developer/request.html +++ b/docs/manual/developer/request.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: request.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/request.html.en b/docs/manual/developer/request.html.en index 697967ed..c2aeb25d 100644 --- a/docs/manual/developer/request.html.en +++ b/docs/manual/developer/request.html.en @@ -255,6 +255,6 @@ case SATISFY_ANY: <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/request.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file diff --git a/docs/manual/developer/thread_safety.html b/docs/manual/developer/thread_safety.html index 02f067e7..50f07bf3 100644 --- a/docs/manual/developer/thread_safety.html +++ b/docs/manual/developer/thread_safety.html @@ -1,3 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + URI: thread_safety.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/developer/thread_safety.html.en b/docs/manual/developer/thread_safety.html.en index db3b2931..43ec4bcf 100644 --- a/docs/manual/developer/thread_safety.html.en +++ b/docs/manual/developer/thread_safety.html.en @@ -280,6 +280,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/thread_safety.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2008 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file |
