diff options
author | Yoshiki Hayashi <yoshiki@apache.org> | 2004-09-04 21:04:54 +0000 |
---|---|---|
committer | Yoshiki Hayashi <yoshiki@apache.org> | 2004-09-04 21:04:54 +0000 |
commit | 71265819244974e03e39d4a55059e49a8fa9c9c4 (patch) | |
tree | b9df210d4049443dc2b7ba8f4cbe53d49b6f87c5 /docs/manual | |
parent | 592db148742d4081801998403f4d5469cada4fad (diff) | |
download | httpd-71265819244974e03e39d4a55059e49a8fa9c9c4.tar.gz |
Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/howto/htaccess.html.ja.euc-jp | 10 | ||||
-rw-r--r-- | docs/manual/howto/index.html.ja.euc-jp | 4 | ||||
-rw-r--r-- | docs/manual/howto/public_html.html.ja.euc-jp | 4 | ||||
-rw-r--r-- | docs/manual/ssl/index.html.ja.euc-jp | 4 | ||||
-rw-r--r-- | docs/manual/ssl/index.xml.meta | 2 | ||||
-rw-r--r-- | docs/manual/vhosts/fd-limits.html.ja.euc-jp | 4 | ||||
-rw-r--r-- | docs/manual/vhosts/fd-limits.xml.meta | 2 | ||||
-rw-r--r-- | docs/manual/vhosts/index.html.ja.euc-jp | 18 | ||||
-rw-r--r-- | docs/manual/vhosts/index.xml.meta | 2 | ||||
-rw-r--r-- | docs/manual/vhosts/name-based.html.ja.euc-jp | 80 | ||||
-rw-r--r-- | docs/manual/vhosts/name-based.xml.meta | 2 |
11 files changed, 65 insertions, 67 deletions
diff --git a/docs/manual/howto/htaccess.html.ja.euc-jp b/docs/manual/howto/htaccess.html.ja.euc-jp index 50b079521e..6c6fcce21a 100644 --- a/docs/manual/howto/htaccess.html.ja.euc-jp +++ b/docs/manual/howto/htaccess.html.ja.euc-jp @@ -12,11 +12,11 @@ <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.1</p> +<p class="apache">Apache HTTP サーバ バージョン 2.0</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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.1</a> > <a href="./">How-To / チュートリアル</a></div><div id="page-content"><div id="preamble"><h1>Apache チュートリアル: .htaccess ファイル</h1> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a> > <a href="./">How-To / チュートリアル</a></div><div id="page-content"><div id="preamble"><h1>Apache チュートリアル: .htaccess ファイル</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/howto/htaccess.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/howto/htaccess.html" title="Japanese"> ja </a> | @@ -38,7 +38,7 @@ <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="related" id="related">.htaccess ファイル</a></h2> - <table class="related"><tr><th>関連モジュール</th><th>関連ディレクティブ</th></tr><tr><td><ul><li><code class="module"><a href="../mod/core.html">core</a></code></li><li><code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code></li><li><code class="module"><a href="../mod/mod_authz_groupfile.html">mod_authz_groupfile</a></code></li><li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="../mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/core.html#accessfilename">AccessFileName</a></code></li><li><code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li><li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li><li><code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code></li><li><code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code></li><li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li></ul></td></tr></table> + <table class="related"><tr><th>関連モジュール</th><th>関連ディレクティブ</th></tr><tr><td><ul><li><code class="module"><a href="../mod/core.html">core</a></code></li><li><code class="module"><a href="../mod/mod_auth.html">mod_auth</a></code></li><li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="../mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/core.html#accessfilename">AccessFileName</a></code></li><li><code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li><li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li><li><code class="directive"><a href="../mod/mod_auth.html#authuserfile">AuthUserFile</a></code></li><li><code class="directive"><a href="../mod/mod_auth.html#authgroupfile">AuthGroupFile</a></code></li><li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li></ul></td></tr></table> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="what" id="what">.htaccess ファイルとは何か/その使い方</a></h2> @@ -246,6 +246,10 @@ まだ必要だと思う場合は、次のようなものが望みのことをしてくれるかも しれません。</p> + <p>ディレクティブが適用されるためには、 + "<code>AllowOverride AuthConfig</code>" の設定がなされている + 必要があります。</p> + <p><code>.htaccess</code> ファイルの内容:</p> <div class="example"><p><code> diff --git a/docs/manual/howto/index.html.ja.euc-jp b/docs/manual/howto/index.html.ja.euc-jp index c78a311f23..bf01d586a1 100644 --- a/docs/manual/howto/index.html.ja.euc-jp +++ b/docs/manual/howto/index.html.ja.euc-jp @@ -12,11 +12,11 @@ <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page" class="no-sidebar"><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.1</p> +<p class="apache">Apache HTTP サーバ バージョン 2.0</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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.1</a></div><div id="page-content"><div id="preamble"><h1>How-To / チュートリアル</h1> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a></div><div id="page-content"><div id="preamble"><h1>How-To / チュートリアル</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/howto/" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/howto/" title="Japanese"> ja </a> | diff --git a/docs/manual/howto/public_html.html.ja.euc-jp b/docs/manual/howto/public_html.html.ja.euc-jp index 9984ee8666..17a6aa7d9b 100644 --- a/docs/manual/howto/public_html.html.ja.euc-jp +++ b/docs/manual/howto/public_html.html.ja.euc-jp @@ -12,11 +12,11 @@ <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.1</p> +<p class="apache">Apache HTTP サーバ バージョン 2.0</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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.1</a> > <a href="./">How-To / チュートリアル</a></div><div id="page-content"><div id="preamble"><h1>ユーザ毎のウェブディレクトリ</h1> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a> > <a href="./">How-To / チュートリアル</a></div><div id="page-content"><div id="preamble"><h1>ユーザ毎のウェブディレクトリ</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/howto/public_html.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/howto/public_html.html" title="Japanese"> ja </a> | diff --git a/docs/manual/ssl/index.html.ja.euc-jp b/docs/manual/ssl/index.html.ja.euc-jp index c05d3a1562..39a868ba7b 100644 --- a/docs/manual/ssl/index.html.ja.euc-jp +++ b/docs/manual/ssl/index.html.ja.euc-jp @@ -14,15 +14,13 @@ <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.0</p> <img alt="" src="../images/feather.gif" /></div> -<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a></div><div id="page-content"><div id="preamble"><h1>Apache の SSL/TLS 暗号化</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/ssl/" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/ssl/" title="Japanese"> ja </a></p> </div> -<div class="outofdate">This translation may be out of date. Check the - English version for recent changes.</div> <p>Apache HTTP サーバモジュール <code class="module"><a href="../mod/mod_ssl.html">mod_ssl</a></code> が <a href="http://www.openssl.org/">OpenSSL</a> diff --git a/docs/manual/ssl/index.xml.meta b/docs/manual/ssl/index.xml.meta index 0c58fcaff6..0ab0329f78 100644 --- a/docs/manual/ssl/index.xml.meta +++ b/docs/manual/ssl/index.xml.meta @@ -7,6 +7,6 @@ <variants> <variant>en</variant> - <variant outdated="yes">ja</variant> + <variant>ja</variant> </variants> </metafile> diff --git a/docs/manual/vhosts/fd-limits.html.ja.euc-jp b/docs/manual/vhosts/fd-limits.html.ja.euc-jp index 2264165d14..f8f638d2e4 100644 --- a/docs/manual/vhosts/fd-limits.html.ja.euc-jp +++ b/docs/manual/vhosts/fd-limits.html.ja.euc-jp @@ -16,14 +16,12 @@ <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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a></div><div id="page-content"><div id="preamble"><h1>ファイル記述子の限界</h1> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a> > <a href="./">バーチャルホスト</a></div><div id="page-content"><div id="preamble"><h1>ファイル記述子の限界</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/vhosts/fd-limits.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/vhosts/fd-limits.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/fd-limits.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div> -<div class="outofdate">This translation may be out of date. Check the - English version for recent changes.</div> <p>たくさんのバーチャルホストを運用する場合、もし、 diff --git a/docs/manual/vhosts/fd-limits.xml.meta b/docs/manual/vhosts/fd-limits.xml.meta index eb73f15b09..c58579265b 100644 --- a/docs/manual/vhosts/fd-limits.xml.meta +++ b/docs/manual/vhosts/fd-limits.xml.meta @@ -7,7 +7,7 @@ <variants> <variant>en</variant> - <variant outdated="yes">ja</variant> + <variant>ja</variant> <variant>ko</variant> </variants> </metafile> diff --git a/docs/manual/vhosts/index.html.ja.euc-jp b/docs/manual/vhosts/index.html.ja.euc-jp index f52149513f..790dcea732 100644 --- a/docs/manual/vhosts/index.html.ja.euc-jp +++ b/docs/manual/vhosts/index.html.ja.euc-jp @@ -14,7 +14,7 @@ <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.0</p> <img alt="" src="../images/feather.gif" /></div> -<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></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-project/">ドキュメンテーション</a> > <a href="../">バージョン 2.0</a></div><div id="page-content"><div id="preamble"><h1>Apache バーチャルホスト説明書</h1> <div class="toplang"> @@ -25,17 +25,15 @@ <a href="../ko/vhosts/" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../ru/vhosts/" hreflang="ru" rel="alternate" title="Russian"> ru </a></p> </div> -<div class="outofdate">This translation may be out of date. Check the - English version for recent changes.</div> <p><cite>バーチャルホスト</cite>という用語は、1 台のマシン上で (<code>www.company1.com</code> and <code>www.company2.com</code> のような) 二つ以上のウェブサイトを扱う運用方法のことを指します。 バーチャルホストには、各ウェブサイトに違う IP アドレスがある - 「<a href="ip-based.html">IP ベース</a>」と、単一の IP アドレスに + 「<a href="ip-based.html">IP ベース</a>」と、それぞれの IP アドレスに 複数の名前がある「<a href="name-based.html">名前ベース</a>」とがあります。 - 複数のサイトが同じサーバで扱われている、ということはエンドユーザには + 複数のサイトが物理的に同じサーバで扱われている、ということはエンドユーザには 明らかではありません。</p> <p>Apache は、特に手を入れない状態で IP ベースのバーチャルホスト @@ -50,9 +48,7 @@ </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#support">バーチャルホストのサポート</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#directives">設定ディレクティブ</a></li> -</ul><h3>参照</h3><ul class="seealso"><li> - <code class="module"><a href="../mod/mod_vhost_alias.html">mod_vhost_alias</a></code> -</li></ul></div> +</ul><h3>参照</h3><ul class="seealso"><li><code class="module"><a href="../mod/mod_vhost_alias.html">mod_vhost_alias</a></code></li><li><a href="name-based.html">ネームベースのバーチャルホスト</a></li><li><a href="ip-based.html">IP ベースのバーチャルホスト</a></li><li><a href="examples.html">バーチャルホストの一般的な設定例</a></li><li><a href="fd-limits.html">ファイル記述子の限界</a></li><li><a href="mass.html">大量のバーチャルホストの設定</a></li><li><a href="details.html">バーチャルホストのマッチングについての詳細</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="support" id="support">バーチャルホストのサポート</a></h2> @@ -65,7 +61,7 @@ <li><a href="examples.html">バーチャルホストの一般的な設定例</a></li> <li><a href="fd-limits.html">ファイル記述子の限界</a> (または、<em>多過ぎるログファイル</em>)</li> - <li><a href="mass.html">大量のバーチャルホストの動的な設定</a></li> + <li><a href="mass.html">大量のバーチャルホストの設定</a></li> <li><a href="details.html">バーチャルホストのマッチングについての詳細</a></li> </ul> @@ -82,11 +78,11 @@ </ul> <p>バーチャルホストの設定のデバッグをするには - Apache のコマンドラインスイッチ <code>-t -D DUMP_VHOSTS</code> が便利です。 + Apache のコマンドラインスイッチ <code>-S</code> が便利です。 つまり、以下のコマンドを入力します:</p> <div class="example"><p><code> - /usr/local/apache/bin/httpd -t -D DUMP_VHOSTS + /usr/local/apache2/bin/httpd -S </code></p></div> <p>このコマンドは Apache が設定ファイルをどう解析したかについて出力します。 diff --git a/docs/manual/vhosts/index.xml.meta b/docs/manual/vhosts/index.xml.meta index 87312a1dfe..26edeaef07 100644 --- a/docs/manual/vhosts/index.xml.meta +++ b/docs/manual/vhosts/index.xml.meta @@ -9,7 +9,7 @@ <variant>de</variant> <variant>en</variant> <variant>es</variant> - <variant outdated="yes">ja</variant> + <variant>ja</variant> <variant>ko</variant> <variant>ru</variant> </variants> diff --git a/docs/manual/vhosts/name-based.html.ja.euc-jp b/docs/manual/vhosts/name-based.html.ja.euc-jp index 3cc6f07cc8..2cff292465 100644 --- a/docs/manual/vhosts/name-based.html.ja.euc-jp +++ b/docs/manual/vhosts/name-based.html.ja.euc-jp @@ -24,13 +24,9 @@ <a href="../ja/vhosts/name-based.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/name-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div> -<div class="outofdate">This translation may be out of date. Check the - English version for recent changes.</div> - <p>この文書では名前ベースのバーチャルホストをどんなとき、 どうやって使うかを説明します。</p> - </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#namevip">名前ベースと IP ベースのバーチャルホストの比較</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#using">名前ベースのバーチャルホストを利用する</a></li> @@ -86,6 +82,8 @@ これは <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ディレクティブで設定します。通常、<code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> で <code>*</code> の属性を使ってサーバの全ての IP アドレスを使います。 + (例えば SSL の使用などで) 複数のポートを使うことを計画しているのであれば、 + 引数に <code>*:80</code> のようにポートも含めるようにしてください。 <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ディレクティブで IP アドレスを書いても、 自動的にサーバがその IP アドレスをリッスンするということはないことに @@ -105,15 +103,15 @@ 書く必要があります。</p> <div class="note"><h3>メインホストはなくなります</h3> - <p>既にあるウェブサーバにバーチャルホストを追加する場合、 - 既存のウェブサーバに対しても <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> - ブロックを作らなければなりません。このバーチャルホストの - <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> と - <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> - は、グローバルな <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> と - <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> - と同じものにします。また、このバーチャルホストを設定ファイルの中で - 先頭に置いて、デフォルトホストとして動作するようにします。</p> + <p>既にあるウェブサーバにバーチャルホストを追加する場合、 + 既存のウェブサーバに対しても <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> + ブロックを作らなければなりません。このバーチャルホストの + <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> と + <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> + は、グローバルな <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code> と + <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> + と同じものにします。また、このバーチャルホストを設定ファイルの中で + 先頭に置いて、デフォルトホストとして動作するようにします。</p> </div> <p>たとえば、<code>www.domain.tld</code> を動かしていて、 @@ -123,26 +121,30 @@ に以下のようなコードを追加するだけです</p> <div class="example"><p><code> - NameVirtualHost *<br /> - <br /> - <VirtualHost *><br /> - <span class="indent"> - ServerName www.domain.tld<br /> - DocumentRoot /www/domain<br /> - </span> - </VirtualHost><br /> - <br /> - <VirtualHost *><br /> - <span class="indent"> - ServerName www.otherdomain.tld<br /> - DocumentRoot /www/otherdomain<br /> - </span> - </VirtualHost><br /> + NameVirtualHost *:80<br /> + <br /> + <VirtualHost *:80><br /> + <span class="indent"> + ServerName www.domain.tld<br /> + ServerAlias domain.tld *.domain.tld<br /> + DocumentRoot /www/domain<br /> + </span> + </VirtualHost><br /> + <br /> + <VirtualHost *:80><br /> + <span class="indent">ServerName www.otherdomain.tld<br /> + DocumentRoot /www/otherdomain<br /> + </span> + </VirtualHost><br /> </code></p></div> <p><code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> 及び <code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code> のどちらの場合も、 - * の部分には明示的に IP アドレスを指定することができます。</p> + * の部分には明示的に IP アドレスを指定することができます。 + 例えば、ある IP アドレスでは名前ベースのバーチャルホストを使いたい一方で、 + 別の IP アドレスでは、他の IP ベースのバーチャルホストや + 別組の名前ベースのバーチャルホストを使いたい場合、 + そう設定することになるでしょう。</p> <p>複数の名前でサーバアクセスができるようにしたいことも多いでしょう。 このようなことは、<code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> ディレクティブを <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> @@ -154,7 +156,7 @@ ディレクティブで指定できます。</p> <div class="example"><p><code> - ServerAlias domain.tld *.domain.tld + ServerAlias domain.tld *.domain.tld </code></p></div> <p><code>domain.tld</code> ドメインへの全てのホストへのリクエストは @@ -222,15 +224,15 @@ <p>設定例</p> <div class="example"><p><code> - NameVirtualHost 111.22.33.44<br /> - <br /> - <VirtualHost 111.22.33.44><br /> - <span class="indent"> - ServerName www.domain.tld<br /> - ServerPath /domain<br /> - DocumentRoot /web/domain<br /> - </span> - </VirtualHost><br /> + NameVirtualHost 111.22.33.44<br /> + <br /> + <VirtualHost 111.22.33.44><br /> + <span class="indent"> + ServerName www.domain.tld<br /> + ServerPath /domain<br /> + DocumentRoot /web/domain<br /> + </span> + </VirtualHost><br /> </code></p></div> <p>この例にはどういう意味があるでしょうか? これは diff --git a/docs/manual/vhosts/name-based.xml.meta b/docs/manual/vhosts/name-based.xml.meta index a6c72498cc..3c91f46fed 100644 --- a/docs/manual/vhosts/name-based.xml.meta +++ b/docs/manual/vhosts/name-based.xml.meta @@ -9,7 +9,7 @@ <variant>de</variant> <variant>en</variant> <variant>es</variant> - <variant outdated="yes">ja</variant> + <variant>ja</variant> <variant>ko</variant> </variants> </metafile> |