summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_auth.xml.ja
blob: dac37b3bd58e46d9ac32daab50ab31d915b903b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<modulesynopsis>

<!-- English revision: 1.7.2.2 -->
<name>mod_auth</name>
<description>$B%F%-%9%H%U%!%$%k$rMQ$$$?%f!<%6G'>Z(B</description>
<status>Base</status>
<sourcefile>mod_auth.c</sourcefile>
<identifier>auth_module</identifier>
<compatibility>2.1 $B$h$jA0$N%P!<%8%g%s$G$N$_;HMQ2DG=(B</compatibility>

<summary>
    <p>$B%W%l%$%s%F%-%9%H$N%Q%9%o!<%I%U%!%$%k$H%0%k!<%W%U%!%$%k$r8!::$7$F(B
    $B%f!<%6$rC5$9$3$H$G!"(BHTTP $B4pK\G'>Z$G%"%/%;%9@)8B$G$-$k$h$&$K$7$^$9!#(B
    $B;w$?$h$&$J5!G=$G!"$b$C$HBg$-$J%9%1!<%i%S%j%F%#$r;}$C$?$b$N$O!"(B
    <module>mod_auth_dbm</module> $B$GDs6!$5$l$F$$$^$9!#(B
    $B$^$?!"(BHTTP $B%@%$%8%'%9%HG'>Z$O(B <module>mod_auth_digest</module>
    $B$GDs6!$5$l$F$$$^$9!#(B</p>

</summary>
<seealso><directive module="core">Require</directive></seealso>
<seealso><directive module="core">Satisfy</directive></seealso>
<seealso><directive module="core">AuthName</directive></seealso>
<seealso><directive module="core">AuthType</directive></seealso>

<directivesynopsis>
<name>AuthGroupFile</name>
<description>$BG'>Z$K;HMQ$9$k%f!<%6%0%k!<%W$N0lMw$,3JG<$5$l$F$$$k!"(B
$B%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$9$k(B</description>
<syntax>AuthGroupFile <var>file-path</var></syntax>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>

<usage>
    <p><directive>AuthGroupFile</directive> $B%G%#%l%/%F%#%V$O!"(B
    $BG'>Z$K;HMQ$9$k%f!<%6%0%k!<%W$N0lMw$,3JG<$5$l$F$$$k!"(B
    $B%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B
    <var>file-path</var> $B$O%0%k!<%W%U%!%$%k$X$N%Q%9$G$9!#(B
    $B$b$7@dBP%Q%9$G$J$1$l$P!"(B
    <directive module="core">ServerRoot</directive>
    $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p>

    <p>$B%0%k!<%W%U%!%$%k3F9T$O!"%0%k!<%WL>!"%3%m%s!"$=$7$F(B
    $B%9%Z!<%96h@Z$j$G$=$N%a%s%P!<$N%f!<%6L>$r5-=R$7$^$9!#(B</p>

    <example><title>$BNc(B:</title>
      mygroup: bob joe anne
    </example> 

    <p>$BBg$-$J%U%!%$%k$rC5:w$9$k$N$O!"(B<em>$BHs>o$K(B</em>$B8zN($,0-$$$H$$$&E@$K(B
    $BCm0U$7$F$/$@$5$$!#$=$N$h$&$J>l9g$O!"(B
    <directive module="mod_auth_dbm">AuthDBMGroupFile</directive>
    $B$NJ}$,$:$C$HNI$$@-G=$rH/4x$7$^$9!#(B</p>

    <note type="warning"><title>$B%;%-%e%j%F%#(B</title>
      <p><directive>AuthGroupFile</directive> $B$O!"(B
      $B%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30B&$K(B
      $BJ]4I$9$k$h$&$K$7$F$/$@$5$$!#(B
      $BJ]8n$7$h$&$H$7$F$$$k%G%#%l%/%H%j0J2<$K$O!"(B<em>$BCV$+$J$$$G2<$5$$(B</em>$B!#(B
      $B$=$&$7$J$$$H(B <directive>AuthGroupFile</directive> $B$O(B
      $B%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</p>
    </note>
</usage>
</directivesynopsis>

<directivesynopsis>
<name>AuthUserFile</name>
<description>$BG'>Z$K;HMQ$9$k%f!<%6$H%Q%9%o!<%I$N0lMw$,3JG<$5$l$F$$$k!"(B
$B%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$9$k(B</description>
<syntax>AuthUserFile <var>file-path</var></syntax>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>

<usage>
    <p><directive>AuthUserFile</directive> $B%G%#%l%/%F%#%V$O!"(B
    $B%f!<%6G'>Z$N$?$a$N%f!<%6$H%Q%9%o!<%I$N0lMw$r3JG<$7$?(B
    $B%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B<var>file-path</var>
    $B$O%f!<%6%U%!%$%k$X$N%Q%9$G$9!#(B
    $B$b$7@dBP%Q%9$G$J$1$l$P(B
    (<em>$B$D$^$j(B</em> $B%9%i%C%7%e$G;O$^$i$J$$%Q%9$G$"$l$P(B)
    $B!"(B<directive module="core">ServerRoot</directive>
    $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p>

    <p>$B%f!<%6%U%!%$%k$N3F9T$K$O!"%f!<%6L>!"%3%m%s!"(B
    $B0E9f2=$7$?%Q%9%o!<%I$r5-=R$7$^$9!#(B
    $BF10l%f!<%6(B ID $B$,J#?t2sEPO?$5$l$?;~$O!"(B<module>mod_auth</module> $B$O(B
    $B%Q%9%o!<%I$N8!>Z$K$O:G=i$NEPO?$r;HMQ$7$^$9!#(B</p>

    <p>$B%P%$%J%jG[I[$N0lIt$H$7$F%$%s%9%H!<%k$5$l$k$+!"(B
    $B$"$k$$$O(B <code>src/support</code> $B$K$"$k(B
    <a href="../programs/htpasswd.html">htpasswd</a>
    $B%f!<%F%#%j%F%#$G!"$3$N%Q%9%o!<%I%U%!%$%k$r%a%$%s%F%J%s%9$7$^$9!#(B
    $B>\:Y$O(B <a href="../programs/htpasswd.html">man</a> $B%Z!<%8$r$4MwD:$/$H$7$F!"(B
    $B4JC1$K$O(B:</p>

    <p>$B=i4|(B ID <code>username</code> $B$G!"(B<code>Filename</code>
    $B$H$$$&%Q%9%o!<%I%U%!%$%k$r@8@.$7$^$9!#(B
    $B<!$N%3%^%s%I$rH/9T$9$k$H%Q%9%o!<%I$,MW5a$5$l$^$9(B:</p>

    <example>htpasswd -c Filename username</example>

    <p>$B%Q%9%o!<%I%U%!%$%k(B <code>Filename</code> $B$K!"(B<code>username2</code>
    $B$rDI2C$7$?$j=$@5$7$?$j$7$^$9(B:</p>

    <example>htpasswd Filename username2</example>

    <p>($BLuCm(B: $BHs>o$KB?$/$N%f!<%6$rEPO?$9$k$HBg$-$J%U%!%$%k$K$J$j$^$9$,(B)
    $BBg$-$J%F%-%9%H%U%!%$%k$r8!:w$9$k$N$O(B<em>$BHs>o$K(B</em>$B8zN($,0-$$(B
    $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#$=$N$h$&$JI,MW$N$"$k;~$O!"(B
    <directive module="mod_auth_dbm">AuthDBMUserFile</directive>
    $B$rBe$o$j$K;H$C$F$/$@$5$$!#(B</p>

    <note type="warning"><title>$B%;%-%e%j%F%#(B</title>
      <p><directive>AuthUserFile </directive>
      $B$O!"%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30B&$KJ]4I$9$k$h$&$K$7$F$/$@$5$$!#(B
      $BJ]8n$7$h$&$H$7$F$$$k%G%#%l%/%H%j0J2<$K$O!"(B<em>$BCV$+$J$$$G2<$5$$(B</em>$B!#(B
      $B$=$&$7$J$$$H(B <directive>AuthUserFile</directive> $B$O(B
      $B%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</p>
    </note>
</usage>
</directivesynopsis>

<directivesynopsis>
<name>AuthAuthoritative</name>
<description>$BG'>Z$H>5G'%W%m%;%9$r!"(B
$B$h$jDc$$%l%Y%k$N%b%8%e!<%k$K0\9T$5$;$k$+$I$&$+$r@_Dj$9$k(B</description>
<syntax>AuthAuthoritative On|Off</syntax>
<default>AuthAuthoritative On</default>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>

<usage>
    <p><directive>AuthAuthoritative</directive>
    $B%G%#%l%/%F%#%V$GL@<(E*$K(B <code>Off</code> $B$K@_Dj$9$k$H!"(B
    $BM?$($i$l$?G'>Z%f!<%6(B ID $B$KBP$7$F(B<strong>$B%f!<%6(B ID $B$,$J$$(B</strong>
    $B$^$?$O(B<strong>$B%k!<%k$,$J$$(B</strong>$B>l9g$K!"(B
    $BG'>Z$H>5G'$NN>J}$N%W%m%;%9$,!"(B
    $B$h$jDc$$%l%Y%k$N%b%8%e!<%k(B (<code>Configuration</code> $B$H(B 
    <code>modules.c</code> $B%U%!%$%k$GDj5A(B) $B$K0\9T$9$k$h$&$K$G$-$^$9!#(B
    $B%f!<%6(B ID $B$,$"$k!"$+$D$^$?$O!"%k!<%k$,;XDj$5$l$F$$$k>l9g$O!"(B
    $BDL>o$N%Q%9%o!<%I$H%"%/%;%9%A%'%C%/$,E,MQ$5$l$F!"(B
    $BG'>Z$K<:GT$9$k$H(B "Authentication Required" $B1~Ez$,JV$5$l$^$9!#(B</p>

    <p>$B$G$9$+$i!"Fs$D0J>e$N%b%8%e!<%k$N%G!<%?%Y!<%9$GF10l$N(B
    $B%f!<%6(B ID $B$,8=$o$l$?$j!"(B
    $B$^$?$O!"@5$7$$(B <directive module="core">Require</directive>
    $B%G%#%l%/%F%#%V$,Fs$D0J>e$N%b%8%e!<%k$G8=$o$l$?$j$7$?>l9g$O!"(B
    $B0l$DL\$N%b%8%e!<%k$,G'Dj$r9T$C$F!"(B<directive>AuthAuthoritative</directive>
    $B$N@_Dj$K4X$o$i$:!"(B
    $B%"%/%;%9$O0\9T$7$^$;$s!#(B</p>

    <p>$B0lHLE*$J;HMQK!$O!"(B<module>mod_auth_dbm</module>,
    <code>mod_auth_msql</code>, <module>mod_auth_anon</module>
    $B$H$$$C$?%G!<%?%Y!<%9%b%8%e!<%k$N0l$D$HAH$_9g$o$;$k$3$H$G$9!#(B
    $B$3$l$i$N%b%8%e!<%k$OB?$/$N%f!<%6;q3J8!::$rDs6!$7$F$/$l$^$9!#(B
    $B$7$+$7!">/?t$N(B ($B4IM}<T4XO"$N(B) $B%"%/%;%9$O(B
    <directive module="mod_auth">AuthUserFile</directive>
    $B$GNI$/J]8n$5$l$?!"$h$jDc%l%Y%k$K0\9T$9$k$h$&$K$7$^$9!#(B</p>

    <p>$B%G%U%)%k%H$G$O!"@)8f$O0\9T$7$^$;$s!#$=$7$F!"L$CN$N%f!<%6(B ID $B$d(B
    $B%k!<%k$,$"$C$F$b(B "Authentication Required" $B1~Ez$,JV$5$l$^$9!#(B
    $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V@_Dj$7$J$$$3$H$G%7%9%F%`$N0BA4$r0];}$G$-$F!"$^$?!"(B
    NCSA $B=`5r$N5sF0$r6/@)$G$-$^$9!#(B</p>

    <note type="warning"><title>$B%;%-%e%j%F%#(B</title>
      <p>$B%f!<%6$,<+J,<+?H$G:n@.$7$?(B
      .htaccess $B%U%!%$%k$GG'>Z$G$-$k$h$&$K$9$k$3$H$N1F6A$r(B
      $B9MN8$KF~$l$F$*$$$F$/$@$5$$!#$=$7$F!"(B
      $B$=$l$,K\Ev$K4uK>$N5sF0$G$"$k$+$I$&$+$r8!F$$7$F$/$@$5$$!#(B
      $B0lHLE*$K8@$C$F!"(BmSQL $B$H$$$C$?%G!<%?%Y!<%9$N%;%-%e%j%F%#J]8n$h$j$b!"(B
      $BC1=c$K0l$D$N%U%!%$%k(B .htpasswd $B$N%;%-%e%j%F%#$rJ]8n$9$kJ}$,MF0W$G$9!#(B
      <directive module="mod_auth">AuthUserFile</directive> $B$H(B
      <directive module="mod_auth">AuthGroupFile</directive> $B$O!"(B
      $B%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30B&$KJ]4I$9$k(B
      $B$h$&$K$7$F$/$@$5$$!#J]8n$7$h$&$H$7$F$$$k%G%#%l%/%H%j0J2<$K$O!"(B
      <em>$BCV$+$J$$$G2<$5$$(B</em>$B!#$=$&$7$J$$$H(B 
      <directive module="mod_auth">AuthUserFile</directive> $B$H(B
      <directive module="mod_auth">AuthGroupFile</directive>
      $B$O%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</p>
    </note>
</usage>
</directivesynopsis>

</modulesynopsis>