Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.arcetri.astro.it/manual/ko/mod/mod_authn_file.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013
Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 08:06:54 2014
Êîäèðîâêà: ISO8859-5

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

ÎÖÖÔÔÅ È?Åò mod_authn_file

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

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.
ÌÃÈý:É?ÐêÖÔÐßÐË ÐÜÏû×á Ë÷ÏûÐê ÐÞÑ?
Ë?ÕÒ:Base
È?ÅòÈý:authn_file_module
ÌâÍÊÖÔÐß:mod_authn_file.c
Ñ?Ï?:ÎÖÖÔÔÅ 2.1 ÐÜØÔ

ÏôÎð

ÐÜ È?ÅòÐÊ mod_auth_digestÏÝ mod_auth_basic ÀÀÐÊ ÐÞÑ?ÎåÄìÈ?ÅòÐË Ð?×è ÐßÉí É?Ðê ÎßØ?ÖÔÐßÏÅÌ- Ë÷ÏûÐêÈ? Ó?ÎÖÌ- ÐÞÑ?×áÄé. mod_authn_dbmÀ? ÁòÄÙÐÜ ÊåÍÑ×ßÄé.

mod_auth_basicÐÜÃ? mod_auth_digestÈ? Ë÷Ïû×âÆ? AuthBasicProviderÃ? AuthDigestProviderÐ× À?ÐË fileÇÞ ÌÃÑ?×ßÈù ÐÜ È?ÅòÐË Ë÷Ïû×áÄé.

Ñ?ÍÓÎþÅù

Ò?Àý

top

AuthUserFile Ñ?ÍÓÎþ

ÌÃÈý:ÐÞÑ?×â Ë÷ÏûÐêÈýÏÝ ÎßØ? ÈåÇßÐË Ð?Ðõ×ßÄÒ É?ÐêÖÔÐßÈýÐË Ñ?Ñ?×áÄé
É?É:AuthUserFile file-path
Ë÷ÏûÐõÌâ:directory, .htaccess
Override ÏÙÌ×:AuthConfig
Ë?ÕÒ:Base
È?Åò:mod_authn_file

AuthUserFile Ñ?ÍÓÎþÄÒ Ë÷ÏûÐê ÐÞÑ?ÏÅ Ë÷Ïû×â Ë÷ÏûÐêÈýÏÝ ÎßØ? ÈåÇßÐË Ð?Ðõ×ßÄÒ É?ÐêÖÔÐßÈýÐË Ñ?Ñ?×áÄé. File-pathÄÒ ÖÔÐßÀöÇÞÐÜÄé. ÐÄûÀöÇÞÈ? Ë÷Ïû×ßÑ? ÎÚÐÈÈù ServerRootÐ× Ë?ÄûÀöÇÞÇÞ ÓÃÈ?×áÄé.

ÖÔÐßÐ× À? ÑéÏÅÄÒ Ë÷ÏûÐêÈý, ÔíÇà, ÐÞÔêÅ?ÅØ ÎßØ?ÀÅ Ì?Ì-ÄûÇÞ Ã?ÏÒÄé. Ï?Ç? ÑéÏÅÌ- ÅÏÐß×á Ë÷ÏûÐê ÎÖÐÜÅ?È? Ñ?Ð××ßÈù, mod_authn_fileÄÒ ÓÉÉ?ÒÀÇÞ Ã?ÏÐÄÒ ÎßØ?È? Ë÷Ïû×áÄé.

ÔÔÖÔÐßÅØ ÉøÖ?ÊËÐÜÃ? src/supportÏÅ ÐæÄÒ htpasswd ÅÅÁÈÄÒ HTTP Basic AuthenticationÏÅ Ë÷Ïû×â ÎßØ?ÖÔÐßÐË À?È?×áÄé. ÐêÌÌ×á ÃËÏûÐÊ manpageÈ? Ò?Àý×ßÆ?. ÏôÎð×ßÈù:

ÓÚÁò ÎÖÐÜÅ? usernameÐË ÀÅÑ? ÎßØ?ÖÔÐß FilenameÐË ÈÈÅ÷Äé. ÎßØ?È? ÉÀÎþÊËÄé:

htpasswd -c Filename username

ÎßØ?ÖÔÐß FilenameÏÅ username2È? ÓïÀÅ×ßÀÕÃ? Ì?Ñ?×áÄé:

htpasswd Filename username2

Õ? É?ÐêÖÔÐßÐË ÀÛË?×ßÄÒ ÀÝÐÊ ÈÕÏü ÊåØÏÐÂÐ?ÐãÐË ÑæÐ××ßÆ?. Ë÷ÏûÐêÀÅ ÈÉÄéÈù ÄûÍÕ AuthDBMUserFileÐË Ë÷Ïû×èÎï ×áÄé.

HTTP Digest AuthenticationÐË Ë÷Ïû×áÄéÈù htpasswd ÅÅÁÈÇÞ ÎØÅØÄé. ÄûÍÕ htdigestÈ? Ë÷Ïû×èÎï ×áÄé. Digest AuthenticationÀ? Basic AuthenticationÐË Ð?×á ÐêÇñÈ? ÀÀÐÊ ÖÔÐßÏÅ Ì?ÎþÌ- Ë÷Ïû×â Ì? Î?ÐÍÐË ÑæÐ××ßÆ?.

ÊÈÎØ

AuthUserFileÐÜ Ð?Ì-É?Ð× É?Ì-Åù ÉëÏÅ Ð?ÔÅ×äÐË Ø?ÐÞ×ßÆ?. ÐÜ ÖÔÐßÐË ÊÈØ?×â Å?ÇÊÕôÈ? ÎØÏÅ ÀÀÐÜ ÅÞÑ? ÈÆÆ?. ÁçÇÈÑ? ÎÚÐÈÈù, Õ?Æ?ÐÜÎ?Ö?ÀÅ AuthUserFileÐË ÄéÏþÇÞÅõ×â Ì? ÐæÄé.

ÀÅÄÙ×á Î?Îþ:  en  |  fr  |  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.