Loading docs/manual/sections.xml.ja +33 −10 Changes for docs/manual/sections.xml.ja: 33 added lines, 10 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd"> <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?> <!-- English Revision: 151408:420990 (outdated) --> <!-- English Revision: 420990 --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more Loading Loading @@ -36,6 +36,7 @@ <related> <modulelist> <module>core</module> <module>mod_version</module> <module>mod_proxy</module> </modulelist> <directivelist> Loading @@ -45,6 +46,7 @@ <directive type="section" module="core">FilesMatch</directive> <directive type="section" module="core">IfDefine</directive> <directive type="section" module="core">IfModule</directive> <directive type="section" module="mod_version">IfVersion</directive> <directive type="section" module="core">Location</directive> <directive type="section" module="core">LocationMatch</directive> <directive type="section" module="mod_proxy">Proxy</directive> Loading @@ -55,10 +57,11 @@ <p>コンテナには二つの基本となる種類があります。ほとんどのコンテナは 各リクエストに対して評価されます。その場合、コンテナ中のディレクティブは コンテナにマッチするリクエストにのみ適用されます。 一方、<directive type="section" module="core">IfDefine</directive> コンテナと <directive type="section" module="core">IfModule</directive> コンテナは コンテナにマッチするリクエストにのみ適用されます。一方、 <directive type="section" module="core">IfDefine</directive>, <directive type="section" module="core">IfModule</directive>, <directive type="section" module="mod_version">IfVersion</directive> コンテナは サーバの起動時と再起動時にのみ評価されます。起動時に条件が真であれば、 コンテナ中のディレクティブはすべてのリクエストに適用されます。条件が 偽であれば、コンテナ中のディレクティブは無視されます。</p> Loading Loading @@ -96,8 +99,27 @@ MimeMagicFile conf/magic<br /> </IfModule> </example> <p><directive type="section" module="core">IfDefine</directive> ディレクティブと <directive type="section" module="core">IfModule</directive> ディレクティブは <p><directive type="section" module="mod_version">IfVersion</directive> ディレクティブは <directive type="section" module="core">IfDefine</directive> や <directive type="section" module="core">IfModule</directive>と、 とてもよく似ていますが、稼働中のサーバのバージョンが特定のバージョンの時にのみ 適用されます。様々なバージョンの httpd を様々な設定で動作させることになる場合で、 テストスイートや巨大なネットワークでの用途を想定して、 このモジュールは設計されています。</p> <example> <IfVersion >= 2.1><br /> <indent> # this happens only in versions greater or<br /> # equal 2.1.0.<br /> </indent> </IfVersion> </example> <p><directive type="section" module="core">IfDefine</directive>, <directive type="section" module="core">IfModule</directive>, <directive type="section" module="mod_version">IfVersion</directive> ディレクティブは テストの前に "!" を付けることで否定の条件を適用することができます。 また、これらのセクションはより複雑な制限を課すために入れ子にすることができます。 </p> Loading Loading @@ -174,7 +196,8 @@ Deny from all<br /> <section id="webspace"><title>ウェブ空間コンテナ</title> <p>一方、<directive type="section" module="core">Location</directive> ディレクティブとその正規表現版はウェブ空間上の内容に対して設定を変更します。 ディレクティブとその<glossary ref="regex">正規表現</glossary>版は ウェブ空間上の内容に対して設定を変更します。 たとえば、次の設定では /private で始まる URL パスへのアクセスを制限します。 具体的には、 <code>http://yoursite.example.com/private</code>, Loading Loading @@ -222,8 +245,8 @@ shell スタイルのワイルドカードキャラクタが使用できます <directive type="section" module="core">DirectoryMatch</directive>, <directive type="section" module="core">FilesMatch</directive>, <directive type="section" module="core">LocationMatch</directive> があり、マッチを選択するのに perl 互換<a href="glossary.html#regex" >正規表現</a>を使用できます。しかし、次の設定のマージに目を通して、 があり、マッチを選択するのに perl 互換<glossary ref="regex" >正規表現</glossary>を使用できます。しかし、次の設定のマージに目を通して、 regex セクションを使用することで、ディレクティブの適用がどのように 変化するか把握しておいてください。</p> Loading Loading
docs/manual/sections.xml.ja +33 −10 Changes for docs/manual/sections.xml.ja: 33 added lines, 10 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd"> <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?> <!-- English Revision: 151408:420990 (outdated) --> <!-- English Revision: 420990 --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more Loading Loading @@ -36,6 +36,7 @@ <related> <modulelist> <module>core</module> <module>mod_version</module> <module>mod_proxy</module> </modulelist> <directivelist> Loading @@ -45,6 +46,7 @@ <directive type="section" module="core">FilesMatch</directive> <directive type="section" module="core">IfDefine</directive> <directive type="section" module="core">IfModule</directive> <directive type="section" module="mod_version">IfVersion</directive> <directive type="section" module="core">Location</directive> <directive type="section" module="core">LocationMatch</directive> <directive type="section" module="mod_proxy">Proxy</directive> Loading @@ -55,10 +57,11 @@ <p>コンテナには二つの基本となる種類があります。ほとんどのコンテナは 各リクエストに対して評価されます。その場合、コンテナ中のディレクティブは コンテナにマッチするリクエストにのみ適用されます。 一方、<directive type="section" module="core">IfDefine</directive> コンテナと <directive type="section" module="core">IfModule</directive> コンテナは コンテナにマッチするリクエストにのみ適用されます。一方、 <directive type="section" module="core">IfDefine</directive>, <directive type="section" module="core">IfModule</directive>, <directive type="section" module="mod_version">IfVersion</directive> コンテナは サーバの起動時と再起動時にのみ評価されます。起動時に条件が真であれば、 コンテナ中のディレクティブはすべてのリクエストに適用されます。条件が 偽であれば、コンテナ中のディレクティブは無視されます。</p> Loading Loading @@ -96,8 +99,27 @@ MimeMagicFile conf/magic<br /> </IfModule> </example> <p><directive type="section" module="core">IfDefine</directive> ディレクティブと <directive type="section" module="core">IfModule</directive> ディレクティブは <p><directive type="section" module="mod_version">IfVersion</directive> ディレクティブは <directive type="section" module="core">IfDefine</directive> や <directive type="section" module="core">IfModule</directive>と、 とてもよく似ていますが、稼働中のサーバのバージョンが特定のバージョンの時にのみ 適用されます。様々なバージョンの httpd を様々な設定で動作させることになる場合で、 テストスイートや巨大なネットワークでの用途を想定して、 このモジュールは設計されています。</p> <example> <IfVersion >= 2.1><br /> <indent> # this happens only in versions greater or<br /> # equal 2.1.0.<br /> </indent> </IfVersion> </example> <p><directive type="section" module="core">IfDefine</directive>, <directive type="section" module="core">IfModule</directive>, <directive type="section" module="mod_version">IfVersion</directive> ディレクティブは テストの前に "!" を付けることで否定の条件を適用することができます。 また、これらのセクションはより複雑な制限を課すために入れ子にすることができます。 </p> Loading Loading @@ -174,7 +196,8 @@ Deny from all<br /> <section id="webspace"><title>ウェブ空間コンテナ</title> <p>一方、<directive type="section" module="core">Location</directive> ディレクティブとその正規表現版はウェブ空間上の内容に対して設定を変更します。 ディレクティブとその<glossary ref="regex">正規表現</glossary>版は ウェブ空間上の内容に対して設定を変更します。 たとえば、次の設定では /private で始まる URL パスへのアクセスを制限します。 具体的には、 <code>http://yoursite.example.com/private</code>, Loading Loading @@ -222,8 +245,8 @@ shell スタイルのワイルドカードキャラクタが使用できます <directive type="section" module="core">DirectoryMatch</directive>, <directive type="section" module="core">FilesMatch</directive>, <directive type="section" module="core">LocationMatch</directive> があり、マッチを選択するのに perl 互換<a href="glossary.html#regex" >正規表現</a>を使用できます。しかし、次の設定のマージに目を通して、 があり、マッチを選択するのに perl 互換<glossary ref="regex" >正規表現</glossary>を使用できます。しかし、次の設定のマージに目を通して、 regex セクションを使用することで、ディレクティブの適用がどのように 変化するか把握しておいてください。</p> Loading