Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : 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

Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï
mod_authz_owner - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > È?Åò

ÎÖÖÔÔÅ È?Åò mod_authz_owner

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

ÌÃÈý:ÖÔÐß ÌâÐ?ÐêÈ? ÐÜÏû×á Á××áÊÞÏ?
Ë?ÕÒ: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" ÐêÏ?ÐË Á××áÊÞÏ?×ßÑ? ÎÚÄÒÄé.

Ñ?ÍÓÎþÅù

ÑæÑ?

Ò?Àý

top

ÌÃÑ? ÏÉÑ?

Require file-owner

ÎÖÖÔÔÅ Ð?Ì-É?È? ÏþÏÅ×ßÄÒ ÄéÑïË÷ÏûÐê ÍÓÍÊÕëÏÅÌ- À? Ë÷ÏûÐêÀÅ ~/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>

Require file-group

Ð?ÏÝ Ë?ØÂÐÜ ÊåÍÑ×ßÑ?ÈÈ Ï?Ç?ÈýÐÜ ~/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>

top

AuthzOwnerAuthoritative Ñ?ÍÓÎþ

ÌÃÈý:Á××áÊÞÏ?È? Ð?Ì?Ñè È?ÅòÇÞ ÃáÀìÑéÑ? Ï?ÊÞ
É?É:AuthzOwnerAuthoritative On|Off
ÁòÊËÀ?:AuthzOwnerAuthoritative On
Ë÷ÏûÐõÌâ:directory, .htaccess
Override ÏÙÌ×:AuthConfig
Ë?ÕÒ:Extension
È?Åò:mod_authz_owner

AuthzOwnerAuthoritative Ñ?ÍÓÎþÈ? Ñ?Ñ? OffÇÞ ÌÃÑ?×ßÈù ÄéÐÍÀ? ÀÀÐÊ ÀöÏü Ë÷ÏûÐê Á××áÊÞÏ?È? (modules.c ÖÔÐßÏÅÌ- Ñ?Ð××á) Ð?Ì?Ñè È?ÅòÇÞ ÃáÀìÑèÄé.

Æ×, À?ÐË OffÇÞ ÌÃÑ?×ßÈù file-ownerÏÝ file-groupÐË Àñ×å×ßÏ?, Åá Ñï ×ßÃ?ÈÈ ÈÈÑÇ×èÅÅ Ñ?ÁéÐË ×óÀÅ×áÄé.

ÁòÊËÐ?ÐÈÇÞ Ñ?ÎþÈ? ÃáÁòÑ?ÎÚÀý, È?È?ÄÒ ÁçÇüÐ× ÀöÏü ÐÞÑ? ×ÚÏô ÐÐÄôÐË ×áÄé. ÐÜ Ñ?ÍÓÎþÈ? OffÇÞ ÌÃÑ?×ßÑ?ÎÚÐÈÈù ÍÓÍÊÕëÐÜ ÎØÐ?×ßÀä Ð?Ñ?Å×È÷, NCSA Ð?Ì-É?ÏÝ ÀÀÐÜ ÅÏÐë×áÄé.

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

top

Comments

Notice:
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 mailing lists.