github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_auth_basic.html.ja.utf8 (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> 4 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>mod_auth_basic - Apache HTTP サーバ バージョン 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_auth_basic.html" rel="canonical" /></head> 18 <body> 19 <div id="page-header"> 20 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p> 21 <p class="apache">Apache HTTP サーバ バージョン 2.2</p> 22 <img alt="" src="../images/feather.gif" /></div> 23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 24 <div id="path"> 25 <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="./">モジュール</a></div> 26 <div id="page-content"> 27 <div class="retired"><h4>Please note</h4> 28 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 29 <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_auth_basic.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache モジュール mod_auth_basic</h1> 30 <div class="toplang"> 31 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_auth_basic.html" hreflang="en" rel="alternate" title="English"> en </a> | 32 <a href="../fr/mod/mod_auth_basic.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 33 <a href="../ja/mod/mod_auth_basic.html" title="Japanese"> ja </a> | 34 <a href="../ko/mod/mod_auth_basic.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 35 </div> 36 <div class="outofdate">この日本語訳はすでに古くなっている 37 可能性があります。 38 最近更新された内容を見るには英語版をご覧下さい。 39 </div> 40 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>基本認証</td></tr> 41 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 42 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>auth_basic_module</td></tr> 43 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_auth_basic.c</td></tr> 44 <tr><th><a href="module-dict.html#Compatibility">互換性:</a></th><td>Apache 2.1 以降</td></tr></table> 45 <h3>概要</h3> 46 47 <p>与えられたプロバイダ (訳注: 認証での照会を行う問い合わせ先) 48 でユーザを検索し、HTTP 基本認証でアクセス制限できるようになります。 49 HTTP ダイジェスト認証については <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code> 50 で提供されます。</p> 51 </div> 52 <div id="quickview"><h3 class="directives">ディレクティブ</h3> 53 <ul id="toc"> 54 <li><img alt="" src="../images/down.gif" /> <a href="#authbasicauthoritative">AuthBasicAuthoritative</a></li> 55 <li><img alt="" src="../images/down.gif" /> <a href="#authbasicprovider">AuthBasicProvider</a></li> 56 </ul> 57 <h3>参照</h3> 58 <ul class="seealso"> 59 <li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li> 60 <li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li> 61 </ul><ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div> 62 63 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 64 <div class="directive-section"><h2><a name="AuthBasicAuthoritative" id="AuthBasicAuthoritative">AuthBasicAuthoritative</a> <a name="authbasicauthoritative" id="authbasicauthoritative">ディレクティブ</a></h2> 65 <table class="directive"> 66 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>認証と承認を、より低いレベルのモジュールに移行させるかを 67 設定します。</td></tr> 68 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthBasicAuthoritative On|Off</code></td></tr> 69 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>AuthBasicAuthoritative On</code></td></tr> 70 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr> 71 <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr> 72 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 73 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_auth_basic</td></tr> 74 </table> 75 <p><code class="directive">AuthBasicAuthoritative</code> 76 ディレクティブで明示的に <code>Off</code>に設定すると、 77 与えられた認証ユーザ ID に対して<strong>ユーザ ID がない</strong> 78 または<strong>ルールがない</strong>場合に、 79 認証と承認の両方のプロセスが、 80 より低いレベルのモジュール (<code>modules.c</code> ファイルで定義) に移行するようにできます。 81 ユーザ ID がある、かつまたは、ルールが指定されている場合は、 82 通常のパスワードとアクセスチェックが適用されて、 83 認証に失敗すると "Authentication Required" 応答が返されます。</p> 84 85 <p>ですから、二つ以上のモジュールのデータベースで同一の 86 ユーザ ID が現われたり、 87 または、正しい <code class="directive"><a href="../mod/core.html#require">Require</a></code> 88 ディレクティブが二つ以上のモジュールで現われたりした場合は、 89 一つ目のモジュールが認定を行って、<code class="directive">AuthAuthoritative</code> 90 設定に関わらず、アクセスは移行しません。</p> 91 92 <p>デフォルトでは、制御は移行しません。そして、未知のユーザ ID や 93 ルールがあっても "Authentication Required" 応答が返されます。 94 ですから、このディレクティブを設定しないことでシステムの安全を維持できて、また、 95 NCSA 準拠の挙動を強制できます。</p> 96 97 </div> 98 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 99 <div class="directive-section"><h2><a name="AuthBasicProvider" id="AuthBasicProvider">AuthBasicProvider</a> <a name="authbasicprovider" id="authbasicprovider">ディレクティブ</a></h2> 100 <table class="directive"> 101 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>この位置に対する認証プロバイダを設定します。</td></tr> 102 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthBasicProvider On|Off|<var>provider-name</var> 103 [<var>provider-name</var>] ...</code></td></tr> 104 <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>AuthBasicProvider On</code></td></tr> 105 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr> 106 <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr> 107 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 108 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_auth_basic</td></tr> 109 </table> 110 <p><code class="directive">AuthBasicProvider</code> ディレクティブで、 111 この位置に対するユーザ認証に用いられる認証プロバイダを設定します。 112 <code>On</code> に設定するとデフォルトの認証プロバイダ 113 (<code>file</code>) が使用されます。<code>file</code> 114 プロバイダは <code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code> 115 モジュールで実装されていますので、 116 このモジュールがサーバに入っていることを確認してください。</p> 117 118 <div class="example"><h3>Example</h3><p><code> 119 <Location /secure><br /> 120 <span class="indent"> 121 AuthBasicProvider dbm<br /> 122 AuthDBMType SDBM<br /> 123 AuthDBMUserFile /www/etc/dbmpasswd<br /> 124 Require valid-user<br /> 125 </span> 126 </Location> 127 </code></p></div> 128 129 <p>認証プロバイダについては 130 <code class="module"><a href="../mod/mod_authn_dbm.html">mod_authn_dbm</a></code> と <code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code> 131 をご覧下さい。</p> 132 133 <p><code>Off</code> はプロバイダリストをクリアして、デフォルトの 134 状態に戻します。</p> 135 136 </div> 137 </div> 138 <div class="bottomlang"> 139 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_auth_basic.html" hreflang="en" rel="alternate" title="English"> en </a> | 140 <a href="../fr/mod/mod_auth_basic.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 141 <a href="../ja/mod/mod_auth_basic.html" title="Japanese"> ja </a> | 142 <a href="../ko/mod/mod_auth_basic.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 143 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 144 <script type="text/javascript"><!--//--><![CDATA[//><!-- 145 var comments_shortname = 'httpd'; 146 var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html'; 147 (function(w, d) { 148 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 149 d.write('<div id="comments_thread"><\/div>'); 150 var s = d.createElement('script'); 151 s.type = 'text/javascript'; 152 s.async = true; 153 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 154 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 155 } 156 else { 157 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 158 } 159 })(window, document); 160 //--><!]]></script></div><div id="footer"> 161 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 162 <p class="menu"><a href="../mod/">モジュール</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">用語</a> | <a href="../sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 163 if (typeof(prettyPrint) !== 'undefined') { 164 prettyPrint(); 165 } 166 //--><!]]></script> 167 </body></html>