configuration snippet:</p>
<div class="example"><p><code>
- <VirtualHost www.abc.dom> <br />
- ServerAdmin webgirl@abc.dom <br />
- DocumentRoot /www/abc <br />
- </VirtualHost> <br />
+ <VirtualHost www.abc.dom><br />
+ <span class="indent">
+ ServerAdmin webgirl@abc.dom<br />
+ DocumentRoot /www/abc<br />
+ </span>
+ </VirtualHost><br />
<br />
- <VirtualHost www.def.dom> <br />
- ServerAdmin webguy@def.dom <br />
- DocumentRoot /www/def <br />
+ <VirtualHost www.def.dom><br />
+ <span class="indent">
+ ServerAdmin webguy@def.dom<br />
+ DocumentRoot /www/def<br />
+ </span>
</VirtualHost>
</code></p></div>
<a href="./ja/dns-caveats.html" title="Japanese"> ja </a> |
<a href="./ko/dns-caveats.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>ËÜʸ½ñ¤ÎÆâÍÆ¤Ï¼¡¤Î°ì¸À¤Ë¿Ô¤¤Þ¤¹¡£¡ÖApache ¤¬ÀßÄê¥Õ¥¡¥¤¥ë¤òÆÉ¤ß¹þ¤à¤È¤¤Ë
DNS ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡×¡£Apache ¤¬ÀßÄê¥Õ¥¡¥¤¥ë¤ò
<?xml version="1.0" encoding="iso-2022-jp" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
-<!-- English Revision: 151408 -->
+<!-- English Revision: 151408:378577 (outdated) -->
<!--
Copyright 2002-2005 The Apache Software Foundation or its licensors,
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
-<!-- English Revision: 105989:151408 (outdated) -->
+<!-- English Revision: 105989:378577 (outdated) -->
<!--
Copyright 2003-2005 The Apache Software Foundation or its licensors,
<variants>
<variant>en</variant>
- <variant>ja</variant>
+ <variant outdated="yes">ja</variant>
<variant outdated="yes">ko</variant>
</variants>
</metafile>
access is granted. For example the following authorization block would
apply the logic:</p>
- <p><var>
- if ((user == "John") || <br />
- ((Group == "admin") && (ldap-group <ldap-object> contains auth'ed_user) &&<br />
- ((ldap-attribute dept == "sales") ||
- (file-group contains contains auth'ed_user))))<br />
- then<br />
- auth_granted<br />
- else<br />
- auth_denied<br />
- </var></p>
-
<div class="example"><p><code>
- <Directory /www/mydocs><br />
- Authname ...<br />
- AuthBasicProvider ...<br />
- ...<br />
- Require user John<br />
- <SatisfyAll><br />
- Require Group admins<br />
- Require ldap-group cn=mygroup,o=foo<br />
- <SatisfyOne><br />
- Require ldap-attribute dept="sales"<br />
- Require file-group<br />
- </SatisfyOne><br />
- </SatisfyAll><br />
- </Directory><br />
+ # if ((user == "John") ||<br />
+ # ((Group == "admin")<br />
+ # && (ldap-group <ldap-object> contains auth'ed_user)<br />
+ # && ((ldap-attribute dept == "sales")<br />
+ # || (file-group contains auth'ed_user))))<br />
+ # then<br />
+ # auth_granted<br />
+ # else<br />
+ # auth_denied<br />
+ #<br />
+ <Directory /www/mydocs><br />
+ <span class="indent">
+ Authname ...<br />
+ AuthBasicProvider ...<br />
+ ...<br />
+ Require user John<br />
+ <SatisfyAll><br />
+ <span class="indent">
+ Require Group admins<br />
+ Require ldap-group cn=mygroup,o=foo<br />
+ <SatisfyOne><br />
+ <span class="indent">
+ Require ldap-attribute dept="sales"<br />
+ Require file-group<br />
+ </span>
+ </SatisfyOne><br />
+ </span>
+ </SatisfyAll><br />
+ </span>
+ </Directory>
</code></p></div>
<p>By default all <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code>
<div class="example"><p><code>
<SatisfyAll><br />
- Reject ip <var>192.101.205</var><br />
- Reject host <var>cyberthugs.com</var> <var>moreidiots.com</var><br />
- Reject host ke<br />
+ <span class="indent">
+ Reject ip <var>192.101.205</var><br />
+ Reject host <var>cyberthugs.com</var> <var>moreidiots.com</var><br /> Reject host ke<br />
+ </span>
</SatisfyAll>
</code></p></div>
<?xml version='1.0' encoding='iso-2022-jp' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 219484:378308 (outdated) -->
+<!-- English Revision: 219484:378577 (outdated) -->
<!--
Copyright 2003-2005 The Apache Software Foundation or its licensors,
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:378308 (outdated) -->
+<!-- English Revision: 105989:378577 (outdated) -->
<!--
Copyright 2004-2005 The Apache Software Foundation or its licensors,
allow you to apply "AND" and "OR" logic to the authorization processing.
For example the following authorization block would apply the logic:</p>
- <p><var>
- if ((user == "John") || <br />
- ((Group == "admin") && (ldap-group <ldap-object> contains auth'ed_user) &&<br />
- ((ldap-attribute dept == "sales") ||
- (file-group contains contains auth'ed_user))))<br />
- then<br />
- auth_granted<br />
- else<br />
- auth_denied<br />
- </var></p>
-
<div class="example"><p><code>
- <Directory /www/mydocs><br />
- Authname ...<br />
- AuthBasicProvider ...<br />
- ...<br />
- Require user John<br />
- <SatisfyAll><br />
- Require Group admins<br />
- Require ldap-group cn=mygroup,o=foo<br />
- <SatisfyOne><br />
- Require ldap-attribute dept="sales"<br />
- Require file-group<br />
- </SatisfyOne><br />
- </SatisfyAll><br />
- </Directory><br />
+ # if ((user == "John") ||<br />
+ # ((Group == "admin")<br />
+ # && (ldap-group <ldap-object> contains auth'ed_user)<br />
+ # && ((ldap-attribute dept == "sales")<br />
+ # || (file-group contains auth'ed_user))))<br />
+ # then<br />
+ # auth_granted<br />
+ # else<br />
+ # auth_denied<br />
+ #<br />
+ <Directory /www/mydocs><br />
+ <span class="indent">
+ Authname ...<br />
+ AuthBasicProvider ...<br />
+ ...<br />
+ Require user John<br />
+ <SatisfyAll><br />
+ <span class="indent">
+ Require Group admins<br />
+ Require ldap-group cn=mygroup,o=foo<br />
+ <SatisfyOne><br />
+ <span class="indent">
+ Require ldap-attribute dept="sales"<br />
+ Require file-group<br />
+ </span>
+ </SatisfyOne><br />
+ </span>
+ </SatisfyAll><br />
+ </span>
+ </Directory>
</code></p></div>
-
<h3>See also</h3>
<ul>
<li><a href="../howto/auth.html">Authentication, Authorization,