github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_authn_anon.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_authn_anon - 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_authn_anon.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="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
    24  <div id="path">
    25  <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP サーバ</a> &gt; <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> &gt; <a href="../">バージョン 2.2</a> &gt; <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_authn_anon.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache モジュール mod_authn_anon</h1>
    30  <div class="toplang">
    31  <p><span>翻訳済み言語: </span><a href="../en/mod/mod_authn_anon.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
    32  <a href="../ja/mod/mod_authn_anon.html" title="Japanese">&nbsp;ja&nbsp;</a> |
    33  <a href="../ko/mod/mod_authn_anon.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
    34  </div>
    35  <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>認証が必要な領域への "anonymous" ユーザのアクセスを許可する
    36  </td></tr>
    37  <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
    38  <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>authn_anon_module</td></tr>
    39  <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_authn_anon.c</td></tr>
    40  <tr><th><a href="module-dict.html#Compatibility">互換性:</a></th><td>Apache 2.1 以降</td></tr></table>
    41  <h3>概要</h3>
    42  
    43      <p>このモジュールは <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> のような
    44      認証フロントエンドとして、anonymous-ftp サイトのような、「魔法の」ユーザ ID
    45      'anonymous' と電子メールアドレスをパスワードにしたユーザ認証を
    46      行なう機能を提供します。この電子メールアドレスはログ収集することが
    47      できます。</p>
    48  
    49      <p>他の (データベースによる) アクセス制御方法と組み合わせることで、
    50      「未登録」ユーザに対してサイトを公開しつつ、効率よくユーザ追跡したり、
    51      ユーザのプロファイルに応じたカスタマイズをしたりできます。
    52      このような認証に基づいたユーザ追跡の利点の一つは、
    53      マジッククッキーに基づくユーザ追跡方法や、
    54      珍妙な URL の接頭辞や接尾辞を利用したユーザ追跡方法とは異なり、
    55      完全にブラウザ非依存であり、ユーザ間で URL を共有することができるという
    56      点です。</p>
    57  
    58      <p><code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> を使用している場合は、このモジュールは
    59      <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> に
    60      <code>anon</code> という値を設定することで起動されます。</p>
    61  </div>
    62  <div id="quickview"><h3>トピック</h3>
    63  <ul id="topics">
    64  <li><img alt="" src="../images/down.gif" /> <a href="#example">例</a></li>
    65  </ul><h3 class="directives">ディレクティブ</h3>
    66  <ul id="toc">
    67  <li><img alt="" src="../images/down.gif" /> <a href="#anonymous">Anonymous</a></li>
    68  <li><img alt="" src="../images/down.gif" /> <a href="#anonymous_logemail">Anonymous_LogEmail</a></li>
    69  <li><img alt="" src="../images/down.gif" /> <a href="#anonymous_mustgiveemail">Anonymous_MustGiveEmail</a></li>
    70  <li><img alt="" src="../images/down.gif" /> <a href="#anonymous_nouserid">Anonymous_NoUserID</a></li>
    71  <li><img alt="" src="../images/down.gif" /> <a href="#anonymous_verifyemail">Anonymous_VerifyEmail</a></li>
    72  </ul>
    73  <ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div>
    74  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
    75  <div class="section">
    76  <h2><a name="example" id="example">例</a></h2>
    77      <p>以下の例は「普通」の htpasswd ファイルに基づいた認証と組み合わされて
    78      おり、以下の要件を見たすユーザを「ゲスト」として許可します:</p>
    79  
    80      <ul>
    81        <li>ユーザは userID を入力しなければなりません。
    82        (<code class="directive"><a href="#anonymous_nouserid">Anonymous_NoUserID</a></code>)</li>
    83  
    84        <li>ユーザはパスワードを入力しなければなりません。
    85        (<code class="directive"><a href="#anonymous_mustgiveemail">Anonymous_MustGiveEmail</a></code>)</li>
    86  
    87        <li>入力されたパスワードは有効な電子メールアドレスでなければ
    88        なりません。<em>すなわち</em>、少くとも一つの '@' と '.' が
    89        含まれている必要があります。
    90        (<code class="directive"><a href="#anonymous_verifyemail">Anonymous_VerifyEmail</a></code>)</li>
    91  
    92        <li>userID は <code>anonymous guest www test
    93        welcome</code> のどれかでなければなりません。
    94        ユーザ名の比較は大文字小文字を区別<strong>しません。</strong></li>
    95  
    96        <li>パスワード欄に入力された電子メールアドレスはエラーログファイルに
    97        ロギングされます。
    98        (<code class="directive"><a href="#anonymous_logemail">Anonymous_LogEmail</a></code>)</li>
    99      </ul>
   100  
   101      <div class="example"><h3>例</h3><p><code>
   102        &lt;Directory /foo&gt;
   103        <span class="indent">
   104          AuthName "Use 'anonymous' &amp; Email address for guest entry"<br />
   105          AuthType Basic<br />
   106          AuthBasicProvider file anon<br />
   107          AuthUserFile /path/to/your/.htpasswd<br />
   108          <br />
   109          Anonymous_NoUserID off<br />
   110          Anonymous_MustGiveEmail on<br />
   111          Anonymous_VerifyEmail on<br />
   112          Anonymous_LogEmail on<br />
   113          Anonymous anonymous guest www test welcome<br />
   114          <br />
   115          Order Deny,Allow<br />
   116          Allow from all<br />
   117          <br />
   118          Require valid-user<br />
   119        </span>
   120        &lt;/Directory&gt;
   121      </code></p></div>
   122  </div>
   123  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   124  <div class="directive-section"><h2><a name="Anonymous" id="Anonymous">Anonymous</a> <a name="anonymous" id="anonymous">ディレクティブ</a></h2>
   125  <table class="directive">
   126  <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>パスワードの検査無しでアクセスを許可する userID を指定する
   127  </td></tr>
   128  <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>Anonymous <var>user</var> [<var>user</var>] ...</code></td></tr>
   129  <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
   130  <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
   131  <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
   132  <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_anon</td></tr>
   133  </table>
   134      <p>パスワードの検査をしないでアクセスを許可する「魔法の」 userID を
   135      設定します。userID 中に空白を使えるようにするため、
   136      エスケープ文字 \ による方法と、引用符 ' と " によるクオーティング
   137      を使うことができます。</p>
   138  
   139      <p>ユーザ名の比較は<strong>大文字小文字を区別しない</strong>ことに
   140      注意してください。<br />
   141      魔法のユーザ名 '<code>anonymous</code>' が許可されている userID に
   142      含むようにすることは強く推奨されています。</p>
   143  
   144      <div class="example"><h3>例:</h3><p><code>
   145        Anonymous anonymous "Not Registered" "I don't know"
   146      </code></p></div>
   147  
   148      <p>これは、userID "anonymous",
   149      "AnonyMous", "Not Registered", "I Don't Know" のどれかを使っても
   150      パスワード無しでユーザがサイトに入れるようにします。</p>
   151  
   152      <p>Apache 2.1 では userID に "<code>*</code>" を指定することができます。
   153      この場合、<em>すべての</em>userID を許可します。</p>
   154  
   155  </div>
   156  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   157  <div class="directive-section"><h2><a name="Anonymous_LogEmail" id="Anonymous_LogEmail">Anonymous_LogEmail</a> <a name="anonymous_logemail" id="anonymous_logemail">ディレクティブ</a></h2>
   158  <table class="directive">
   159  <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>入力されたパスワードがエラーログにロギングされるかどうかを
   160  設定する</td></tr>
   161  <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>Anonymous_LogEmail On|Off</code></td></tr>
   162  <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>Anonymous_LogEmail On</code></td></tr>
   163  <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
   164  <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
   165  <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
   166  <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_anon</td></tr>
   167  </table>
   168      <p>デフォルトの <code>On</code> に設定された場合は、
   169      入力された (まっとうな電子メールアドレスであることが
   170      期待される) 「パスワード」がエラーログにロギングされます。</p>
   171  
   172  </div>
   173  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   174  <div class="directive-section"><h2><a name="Anonymous_MustGiveEmail" id="Anonymous_MustGiveEmail">Anonymous_MustGiveEmail</a> <a name="anonymous_mustgiveemail" id="anonymous_mustgiveemail">ディレクティブ</a></h2>
   175  <table class="directive">
   176  <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>空パスワードを許可するかどうかを指定する</td></tr>
   177  <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>Anonymous_MustGiveEmail On|Off</code></td></tr>
   178  <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>Anonymous_MustGiveEmail On</code></td></tr>
   179  <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
   180  <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
   181  <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
   182  <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_anon</td></tr>
   183  </table>
   184      <p>ユーザがパスワードとして電子メールアドレスを指定する必要があるかどうかを
   185      設定します。これは空パスワードを禁止します。</p>
   186  
   187  </div>
   188  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   189  <div class="directive-section"><h2><a name="Anonymous_NoUserID" id="Anonymous_NoUserID">Anonymous_NoUserID</a> <a name="anonymous_nouserid" id="anonymous_nouserid">ディレクティブ</a></h2>
   190  <table class="directive">
   191  <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>空 userID を許可するかを指定する</td></tr>
   192  <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>Anonymous_NoUserID On|Off</code></td></tr>
   193  <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>Anonymous_NoUserID Off</code></td></tr>
   194  <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
   195  <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
   196  <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
   197  <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_anon</td></tr>
   198  </table>
   199      <p><code>On</code> に設定すると、ユーザは userID (とおそらくは
   200      パスワード欄も) 空にすることができます。これは単にリターンキーを
   201      叩いたり OK ボタンを直接クリックしたりする MS-Explorer ユーザには
   202      非常に便利です。そのような操作はごくごく自然なものでしょう。</p>
   203  
   204  </div>
   205  <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   206  <div class="directive-section"><h2><a name="Anonymous_VerifyEmail" id="Anonymous_VerifyEmail">Anonymous_VerifyEmail</a> <a name="anonymous_verifyemail" id="anonymous_verifyemail">ディレクティブ</a></h2>
   207  <table class="directive">
   208  <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>パスワード欄が正しい形式の電子メールアドレスであることを
   209  調べるかどうかを設定する</td></tr>
   210  <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>Anonymous_VerifyEmail On|Off</code></td></tr>
   211  <tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>Anonymous_VerifyEmail Off</code></td></tr>
   212  <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
   213  <tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
   214  <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
   215  <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_anon</td></tr>
   216  </table>
   217      <p><code>On</code> に設定されている場合、ユーザが有効な電子メール
   218      アドレスを入力することを推奨するため、入力された「パスワード」は
   219      少なくとも一つの '@' と '.' を含んでいるかどうかを調べます
   220      (上の <code class="directive"><a href="#anonymous_logemail">Anonymous_LogEmail</a></code> 参照)。</p>
   221  
   222  </div>
   223  </div>
   224  <div class="bottomlang">
   225  <p><span>翻訳済み言語: </span><a href="../en/mod/mod_authn_anon.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
   226  <a href="../ja/mod/mod_authn_anon.html" title="Japanese">&nbsp;ja&nbsp;</a> |
   227  <a href="../ko/mod/mod_authn_anon.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
   228  </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&amp;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>
   229  <script type="text/javascript"><!--//--><![CDATA[//><!--
   230  var comments_shortname = 'httpd';
   231  var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_authn_anon.html';
   232  (function(w, d) {
   233      if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
   234          d.write('<div id="comments_thread"><\/div>');
   235          var s = d.createElement('script');
   236          s.type = 'text/javascript';
   237          s.async = true;
   238          s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
   239          (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
   240      }
   241      else { 
   242          d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
   243      }
   244  })(window, document);
   245  //--><!]]></script></div><div id="footer">
   246  <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>
   247  <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[//><!--
   248  if (typeof(prettyPrint) !== 'undefined') {
   249      prettyPrint();
   250  }
   251  //--><!]]></script>
   252  </body></html>