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

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

ÎÖÖÔÔÅ È?Åò mod_auth_basic

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

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

ÏôÎð

ÐÜ È?ÅòÐÊ ×èÄ÷ Ñ?À?Ðê(provider)È? Ë÷Ïû×ßÏ? Ë÷ÏûÐêÊÀÇÞ Ñ?ÁéÐË Ñ?×á×ßÄÒ HTTP Basic AuthenticationÐË Ñ?À?×áÄé. HTTP Digest AuthenticationÐÊ mod_auth_digestÀÅ Ñ?À?×áÄé.

Ñ?ÍÓÎþÅù

Ò?Àý

top

AuthBasicAuthoritative Ñ?ÍÓÎþ

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

AuthBasicAuthoritative Ñ?ÍÓÎþÈ? OffÇÞ ÌÃÑ?×ßÈù ÑæÎþÑ? Ë÷ÏûÐê ÎÖÐÜÅ?ÏÅ ×èÄ÷×ßÄÒ Ë÷ÏûÐê ÎÖÐÜÅ?Ã? ÁäÔ?ÐË Ó?ÐË Ì? Î?ÄÒ ÀöÏü ÐÞÑ?À? Á××áÊÞÏ? È?ÅÞÈ? (modules.c ÖÔÐßÏÅÌ- Ñ?Ð××á) Ð?Ì?Ñè È?ÅòÇÞ ÃáÀìÑèÄé. ÑæÎþÑ? Ë÷ÏûÐê ÎÖÐÜÅ?Ã? ÁäÔ?ÐË Ó?ÎâÄéÈù ÊÈÕûÆ?ÏÝ ÀÀÐÜ ÎßØ?ÏÝ Ñ?Áé×óÏûÏ?ÊÞÈ? ÀÛË÷×ßÀý, Í×Öà×ßÈù "Authentication Required (ÐÞÑ? ×ÚÏô)" ÐÐÄôÐË ×áÄé.

ÁçÇÅÌ- Ï?Ç? È?ÅòÐ× Å?ÐÜÕÝÊ?ÐÜÍÊÏÅ Ë÷ÏûÐê ÎÖÐÜÅ?ÀÅ ÐæÀÕÃ? Ð?ØÏ×á Require Ñ?ÍÓÎþÈ? Ï?Ç? È?ÅòÏÅ Ð?Ïû×ßÈù, ÓÉÉ?ÒÀ È?ÅòÐÜ Ë÷ÏûÐêÈ? ÀÛË÷×ßÀý, AuthBasicAuthoritative ÌÃÑ?À? À?ÀøÎ?ÐÜ Ñ?ÁéÐË ÃáÁòÑ?ÎÚÄÒÄé.

ÁòÊËÐ?ÐÈÇÞ Ñ?ÎþÈ? ÃáÁòÑ?ÎÚÀý, È?È?ÄÒ Ë÷ÏûÐê ÎÖÐÜÅ?ÏÝ ÁäÔ?ÐÞ ÀöÏü "Authentication Required (ÐÞÑ? ×ÚÏô)" ÐÐÄôÐË ×áÄé. ÐÜ Ñ?ÍÓÎþÈ? ÌÃÑ?×ßÑ?ÎÚÐÈÈù ÍÓÍÊÕëÐÜ ÎØÐ?×ßÀä Ð?Ñ?Å×È÷, NCSA Ð?Ì-É?ÏÝ ÀÀÐÜ ÅÏÐë×áÄé.

top

AuthBasicProvider Ñ?ÍÓÎþ

ÌÃÈý:ÐÜ Ð?ÔÅÏÅ Äû×á ÐÞÑ?Ñ?À?ÐêÈ? Ñ?Ñ?×áÄé
É?É:AuthBasicProvider On|Off|provider-name [provider-name] ...
ÁòÊËÀ?:AuthBasicProvider On
Ë÷ÏûÐõÌâ:directory, .htaccess
Override ÏÙÌ×:AuthConfig
Ë?ÕÒ:Base
È?Åò:mod_auth_basic

AuthBasicProvider Ñ?ÍÓÎþÄÒ ÐÜ Ð?ÔÅÏÅÌ- Ë÷ÏûÐêÈ? ÐÞÑ?×â Ñ?À?ÐêÈ? Ñ?Ñ?×áÄé. À?ÐÜ OnÐÜÈù ÁòÊËÑ?À?Ðê(file)È? ÌÁÕÓ×áÄé. mod_authn_file È?ÅòÐÜ file Ñ?À?ÐêÈ? ÁÈ×?×ßÁòÆ?É?ÏÅ Ì-É?ÏÅ ÐÜ È?ÅòÐÜ ÐæÄÒÑ? Ø?ÐÞ×èÎï ×áÄé.

ÏÉÑ?

<Location /secure>
AuthBasicProvider dbm
AuthDBMType SDBM
AuthDBMUserFile /www/etc/dbmpasswd
Require valid-user
</Location>

Ñ?À?ÐêÄÒ mod_authn_dbmÀ? mod_authn_fileÐË Ò?Àý×ßÆ?.

À?ÐÜ OffÐÜÈù Ñ?À?Ðê ÈåÇßÐË Ñ?ÏüÀý ÁòÊËË?ÕÒÇÞ ÅÉÎÖÀ?Äé.

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