Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/mod/mod_authz_owner.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 08:28:38 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ï ð ï ð ï ï ð ï ð ï ï ð ï |
Apache HTTP Server Version 2.2
ÌÃÈý: | ÖÔÐß ÌâÐ?ÐêÈ? ÐÜÏû×á Á××áÊÞÏ? |
---|---|
Ë?ÕÒ: | Extension |
È?ÅòÈý: | authz_owner_module |
ÌâÍÊÖÔÐß: | mod_authz_owner.c |
Ñ?Ï?: | ÎÖÖÔÔÅ 2.1 ÐÜØÔÊÞÕÝ |
ÐÜ È?ÅòÐÊ HTTP ÐÞÑ?ÏÅ Ë÷Ïû×á Ë÷ÏûÐê ÎÖÐÜÅ?(Ð? Ë÷ÏûÐê
ÎÖÐÜÅ?)È? ÏôÓË×á ÖÔÐßÐ× ÖÔÐßÍÓÍÊÕë ÌâÐ?Ðê/ÁçÇüÀ? ÊåÁÃ×ßÏ?
ÖÔÐßÐ× Ñ?ÁéÁ××áÐË ÊÞÏ?×áÄé. Ï?ÁòÌ- Ë÷ÏûÐêÈýÀ? ÎßØ?ÄÒ ÐÜÉÜ
mod_auth_basic
ÐÜÃ?
mod_auth_digest
ÀÀÐÊ ÐÞÑ?È?ÅòÐ× Ø?ÐÞÐË
ÀÕÓÖÄé. mod_authz_owner
ÄÒ Require
Ñ?ÍÓÎþÐ× ÄéÐÍ ÅÞ ÎÖÁäÈåÖ?,
file-owner
ÏÝ file-group
ÐË ÓÃÈ?×áÄé:
file-owner
jones
Æ?Èù, Ð?ÐË Õû×è ÖÔÐßÏÅ Ñ?Áé×ßÄÒ Ë÷ÏûÐêÅÅ
ÈÆÒ?ÀÅÑ?ÇÞ jones
ÐÜÎþÎï ×áÄé.file-group
mod_authz_groupfile
ÐÜÃ?
mod_authz_dbm
À? ÀÀÐÊ ÁçÇü Å?ÐÜÕÝÊ?ÐÜÍÊÏÅ
ÐæÀý, Ð? Ë÷ÏûÐêÈýÐÜ ×èÄ÷ ÁçÇüÏÅ Ìã×èÎï ×áÄé. ÏÉÈ? ÅùÎþ,
ÏþÏÅÓÌÑ?ÀÅ ÏôÓË×á ÖÔÐßÐË accounts
(ÍÓÍÊÕë)
ÁçÇüÐÜ ÌâÐ?×ßÀý ÐæÄéÈù, ÁçÇü Å?ÐÜÕÝÊ?ÐÜÍÊÏÅ
accounts
Æ?ÄÒ ÁçÇüÐÜ ÐæÀý ÏôÓËÏÅ Ë÷Ïû×á Ð?
Ë÷ÏûÐêÈýÐÜ Áç ÁçÇüÏÅ Ìã×èÎï ×áÄé.mod_authz_owner
ÀÅ Í×Ñ?ÇÞ ÖÔÐßÍÓÍÊÕëÏÅ
ÐæÑ? ÎÚÄÒ ÐêÏ?ÐË (Ñÿ, ÀÅË? ÐêÏ?) Á××áÊÞÏ?×áÄéÈù,
Ñ?ÁéÐË ÀÕÊÞ×áÄé.
Ö?Ø? ÃËÏû×?Ë?×á "MultiViews" ÐêÏ?ÐË Á××áÊÞÏ?×ßÑ? ÎÚÄÒÄé.
ÎÖÖÔÔÅ Ð?Ì-É?È? ÏþÏÅ×ßÄÒ ÄéÑïË÷ÏûÐê ÍÓÍÊÕëÏÅÌ- À? Ë÷ÏûÐêÀÅ
~/public_html/private
ÏÅ ÐêÍÕÐ× ÖÔÐßÐË Ð?Ðõ×áÄéÀý
ÀÅÑ?×ßÐê. È?Å÷ Ð? Ë÷ÏûÐêÈýÐË Ð?Ðõ×ßÄÒ AuthDBMUserFile
Å?ÐÜÕÝÊ?ÐÜÍÊÀÅ ÐæÀý, Ï?ÁòÏÅ Ð?ÐõÅØ Ë÷ÏûÐêÈýÐÊ Ì-É?ÏÅÌ-
Í×Ñ? ÖÔÐßÐË ÌâÐ?×ßÄÒ ÍÓÍÊÕë Ë÷ÏûÐêÈýÀ? ÅÏÐß×ßÄé. ÐÜ ÀöÏü
ÎÖÇÅ ÌÃÑ?ÐÊ ÖÔÐß ÌâÐ?ÐêÏÅÀäÈÈ Ñ?ÁéÐË ×óÏû×áÄé. Ë÷ÏûÐê
jones
ÄÒ ÖÔÐßÐË jones
ÀÅ ÎÖÄá
smith
ÀÅ ÌâÐ?×ßÀý ÐæÄÒ ×á
/home/smith/public_html/private
ÏÅ ÐæÄÒ ÖÔÐßÏÅ
Ñ?Áé×â Ì? Î?Äé.
<Directory /home/*/public_html/private>
AuthType Basic
AuthName MyPrivateFiles
AuthBasicProvider dbm
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
Satisfy All
Require file-owner
</Directory>
Ð?ÏÝ Ë?ØÂÐÜ ÊåÍÑ×ßÑ?ÈÈ Ï?Ç?ÈýÐÜ
~/public_html/project-foo
ÏÅ ×ÑÇÞÑ?Ö? ÖÔÐßÐË
À?Ð?×áÄéÀý ÀÅÑ?×ßÐê. ÖÔÐßÅùÐÊ ÍÓÍÊÕë ÁçÇü foo
ÀÅ
ÌâÐ?×ßÈ÷, È?Å÷ Ð? Ë÷ÏûÐêÈýÀ? Ë÷ÏûÐê ÁçÇüÐË ÁòÇß×ßÄÒ AuthDBMGroupFile
Å?ÐÜÕÝÊ?ÐÜÍÊÀÅ ÐæÄé. Ñÿ, ÓæÌâ×á foo
Æ?ÄÒ
ÁçÇüÏÅ ÁÈÌÊÏ?ÐÜ ÐæÄé. jones
ÏÝ
smith
ÀÅ È?ÅÞ ÁçÇü foo
Ð×
ÁÈÌÊÏ?ÐÜÆ?Èù, Åá È?ÅÞ project-foo
Å?ÇÊÕôÈ?ÏÅ
Ñ?Áé×â Ì? ÐæÄé.
<Directory /home/*/public_html/project-foo>
AuthType Basic
AuthName "Project Foo Files"
AuthBasicProvider dbm
# combined user/group database
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
AuthDBMGroupFile /usr/local/apache2/etc/.htdbm-all
Satisfy All
Require file-group
</Directory>
ÌÃÈý: | Á××áÊÞÏ?È? Ð?Ì?Ñè È?ÅòÇÞ ÃáÀìÑéÑ? Ï?ÊÞ |
---|---|
É?É: | AuthzOwnerAuthoritative On|Off |
ÁòÊËÀ?: | AuthzOwnerAuthoritative On |
Ë÷ÏûÐõÌâ: | directory, .htaccess |
Override ÏÙÌ×: | AuthConfig |
Ë?ÕÒ: | Extension |
È?Åò: | mod_authz_owner |
AuthzOwnerAuthoritative
Ñ?ÍÓÎþÈ?
Ñ?Ñ? Off
ÇÞ ÌÃÑ?×ßÈù ÄéÐÍÀ? ÀÀÐÊ ÀöÏü Ë÷ÏûÐê
Á××áÊÞÏ?È? (modules.c
ÖÔÐßÏÅÌ- Ñ?Ð××á) Ð?Ì?Ñè
È?ÅòÇÞ ÃáÀìÑèÄé.
file-owner
È? Ë÷Ïû×ßÈù ÖÔÐßÍÓÍÊÕë ÌâÐ?ÐêÈ?
ÎÛ Ì? Î?ÀÕÃ? ÑæÎþÑ? Ð? Ë÷ÏûÐêÈýÀ? ÄéÈ? ÀöÏüfile-group
ÐË Ë÷Ïû×ßÈù ÖÔÐßÍÓÍÊÕë ÁçÇüÐË
ÎÛ Ì? Î?ÀÕÃ? ÑæÎþÑ? Ð? Ë÷ÏûÐêÈýÐÜ ÁÈÌÊÏ?ÐÜ ÎÖÄá ÀöÏü.Æ×, À?ÐË Off
ÇÞ ÌÃÑ?×ßÈù
file-owner
ÏÝ file-group
ÐË Àñ×å×ßÏ?,
Åá Ñï ×ßÃ?ÈÈ ÈÈÑÇ×èÅÅ Ñ?ÁéÐË ×óÀÅ×áÄé.
ÁòÊËÐ?ÐÈÇÞ Ñ?ÎþÈ? ÃáÁòÑ?ÎÚÀý, È?È?ÄÒ ÁçÇüÐ× ÀöÏü ÐÞÑ?
×ÚÏô ÐÐÄôÐË ×áÄé. ÐÜ Ñ?ÍÓÎþÈ? Off
ÇÞ ÌÃÑ?×ßÑ?ÎÚÐÈÈù
ÍÓÍÊÕëÐÜ ÎØÐ?×ßÀä Ð?Ñ?Å×È÷, NCSA Ð?Ì-É?ÏÝ ÀÀÐÜ ÅÏÐë×áÄé.