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

Ïîèñêîâûå ñëîâà: ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï
ÐÞÑ?(Authentication), Á××áÊÞÏ?(Authorization), Ñ?ÁéÑ?Îþ(Access Control) - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials

ÐÞÑ?(Authentication), Á××áÊÞÏ?(Authorization), Ñ?ÁéÑ?Îþ(Access Control)

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

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.

ÐÞÑ?(authentication)ÐÊ ÐêÍÕÐÜ Ä?ÁÈÆ?Àý ÑæÐõ×ßÄÒ Ë÷Æ?ÐË Ø?ÐÞ×ßÄÒ ÐÒ?ÐÜÄé. Á××áÊÞÏ?(authorization)ÄÒ ÀÅÀý ÍÝÐÊ À?ÐÈÇÞ ÀÅÅÅÇß Ø?ÐÊ Ï?×ßÄÒ Ñ?ÊÈÈ? Î?ÅÅÇß ×óÏû×ßÄÒ À?Ñ?ÐÜÄé.

top

À?ÇÓ È?ÅòÀ? Ñ?ÍÓÎþ

top

ÌâÀÃ

Ä÷ÍÕÐ× Ð?Ë÷ÐÜÖ?ÏÅ ÐæÄÒ Ñ?ÊÈÀÅ ÌâÌ?Ð× Ë÷Æ?ÅùÈÈÐ× ÊåÉàÐÜÀÕÃ? ÐÜÅùÈÈÐË Ð?×á Ñ?ÊÈÆ?Èù, ÐÜ ÁëÏÅÌ- ÌÃÈý×ßÄÒ ÁòÉÐË Ë÷Ïû×ßÏ? Ä÷ÍÕÐÜ ÊÈÁö Ï?×ßÄÒ Ë÷Æ?ÈÈ ÖôÐÜÑ?È? ÊÈÅÅÇß ×â Ì? ÐæÄé.

ÐÜ ÁëÐÊ Ð?Ë÷ÐÜÖ?Ð× ÐßÊÞÈ? ÊÈØ?×ßÁòÐ?×è ÈÉÐÊ Ë÷Æ?ÅùÐÜ Ë÷Ïû×ßÄÒ "×?ÑèÐ?ÐÞ" ÉöÉÐË ÄéÇùÄé.

top

ÁòÊË Ñ?ÍÔ

ÐÜ ÁëÏÅÌ- ÄéÇ÷ÄÒ Ñ?ÍÓÎþÄÒ Ì-É?Ð× ÑæÌÃÑ?ÖÔÐß(ÐßÉíÐ?ÐÈÇÞ <Directory> ÌÍÌ×)ÐÜÃ? Å?ÇÊÕôÈ?ÊÀ ÌÃÑ?ÖÔÐß(.htaccess ÖÔÐß)ÏÅÌ- Ë÷Ïû×áÄé.

.htaccess ÖÔÐßÐË Ë÷Ïû×ßÇÑÈù ÐÜ ÖÔÐßÏÅ ÐæÄÒ ÐÞÑ? Ñ?ÍÓÎþÈ? ×óÏû×ßÅÅÇß Ì-É?È? ÌÃÑ?×èÎï ×áÄé. ÐÜÈ? Ð?×è Å?ÇÊÕôÈ?ÊÀ ÌÃÑ?ÖÔÐßÏÅ ÎþÆ Ñ?ÍÓÎþÈ? Ë÷Ïû×â Ì? ÐæÄÒÑ?È? ÀñÑ?×ßÄÒ AllowOverride Ñ?ÍÓÎþÈ? Ë÷Ïû×áÄé.

Ï?ÁòÌ-ÄÒ ÐÞÑ?ÐË ÄéÇ÷Áò Æ?É?ÏÅ, ÄéÐÍÀ? ÀÀÐÊ AllowOverride Ñ?ÍÓÎþÀÅ ×ÚÏô×ßÄé.

AllowOverride AuthConfig

Ø?ÐÊ Ñ?ÍÓÎþÈ? Ñ?Ñ? Ì-É? ÑæÌÃÑ?ÖÔÐßÏÅ Ð?ÄÒÄéÈù, Áç ÖÔÐßÏÅ ÎÂÁò Á××áÐÜ ÉÀÇà ÐæÎþÎï ×áÄé.

ÁçÈ?Àý ÊÈØ?×â ÖÔÐßÐÜ ÎþÅ?ÐæÄÒÑ? ÎÛÁòÐ?×è Ì-É?Ð× Å?ÇÊÕôÈ? ÁÈÑÆÏÅ Äû×è ÑÆÁí ÎÛÎÖÎï×áÄé. ÐÜ ÐßÐÊ ÎþÇÖÑ?ÎÚÀý, Ð?Ä÷×á Æ?ÏÅ ÐêÌÌØ? ÌÃÈý×â ÀÝÐÜÄé.

top

ÁòÊËÐ?ÐÞ ÌÃÑ?×ßÁò

ÐÜÑ? Ì-É?Ð× Å?ÇÊÕôÈ?È? ÎßØ?ÇÞ ÊÈØ?×ßÄÒ ÁòÊËÐ?ÐÞ ÉöÉÐË ÌÃÈý×áÄé.

ÈåÐ? ÎßØ?ÖÔÐßÐË ÈÈÅùÎþÎï ×áÄé. ÐÜ ÖÔÐßÐÊ Ð?ÏÅÌ- Ñ?Áé×â Ì? Î?ÄÒ À?ÏÅ ÐæÎþÎï ×áÄé. ÄéÈ?Ë÷Æ?ÐÜ ÎßØ?ÖÔÐßÐË ÄéÏþÇÞÅõ×ßÑ? È?×ßÀä×ßÁò Ð?×èÌ-Äé. ÏÉÈ? ÅùÎþ, É?Ì-ÅùÐÜ /usr/local/apache/htdocsÏÅ ÐæÄéÈù ÎßØ?ÖÔÐß(Åù)ÐÊ /usr/local/apache/passwdÏÅ ÅàÄé.

ÎÖÖÔÔÅÏÅ Ö?×äÅØ htpasswd ÅÅÁÈÈ? Ë÷Ïû×ßÏ? ÎßØ?ÖÔÐßÐË ÈÈÅ÷Äé. ÐÜ ×ÑÇÞÁçÇ?ÐÊ ÎÖÖÔÔÅÈ? ÌÃÔÅ×á À?Ð× bin Å?ÇÊÕôÈ?ÏÅ ÐæÄé. ÖÔÐßÐË ÈÈÅùÇÑÈù ÄéÐÍÀ? ÀÀÐÜ ÐäÇÒ×áÄé.

htpasswd -c /usr/local/apache/passwd/passwords rbowen

htpasswdÄÒ ÎßØ?È? ÉÀÎþÊÈÀý, Ø?ÐÞÐË Ð?×è ÎßØ?È? ÄéÍÓ ÐäÇÒ×ßÆ?Àý ÏôÓË×áÄé.

# htpasswd -c /usr/local/apache/passwd/passwords rbowen
New password: mypassword
Re-type new password: mypassword
Adding password for user rbowen

ÉÀÇà htpasswdÐÜ Í××ðÖÔÐß ÀöÇÞÏÅ Î?ÄéÈù Í××ðÖÔÐßÐ× Ð?ÓÌ ÀöÇÞÈ? ÐäÇÒ×èÎï ×áÄé. ÃËÀÅ Ë÷Ïû×ßÄÒ Ì-É?ÏÅÌ-ÄÒ /usr/local/apache/bin/htpasswdÏÅ Í××ðÖÔÐßÐÜ ÐæÄé.

ÄéÐÍÐÈÇÞ Ì-É?ÀÅ ÎßØ?È? ÏôÓË×ßÅÅÇß ÌÃÑ?×ßÀý, Ì-É?ÏÅÀä ÎþÆ Ë÷ÏûÐêÐ× Ñ?ÁéÐË ×óÏû×âÑ? ÎÛÇÑÑðÎï ×áÄé. httpd.confÈ? ÖýÑ×ßÀÕÃ? .htaccess ÖÔÐßÐË Ë÷Ïû×ßÏ? ÌÃÑ?×áÄé. ÏÉÈ? ÅùÎþ, /usr/local/apache/htdocs/secret Å?ÇÊÕôÈ?È? ÊÈØ?×ßÇÑÈù, ÎÖÇÅ Ñ?ÍÓÎþÈ? /usr/local/apache/htdocs/secret/.htaccess ÖÔÐßÐÜÃ? httpd.confÐ× <Directory /usr/local/apache/apache/htdocs/secret> ÌÍÌ×ÏÅ Ð?ÎþÎï ×áÄé.

AuthType Basic
AuthName "Restricted Files"
AuthUserFile /usr/local/apache/passwd/passwords
Require user rbowen

Ñ?ÍÓÎþÈ? ×ßÃ?ÎÏ ËüÖüÊÈÐê. AuthType Ñ?ÍÓÎþÄÒ Ë÷ÏûÐêÈ? ÐÞÑ?×â ÉöÉÐË ÌÁÕÓ×áÄé. ÀÅÐõ ÐßÉíÐ?ÐÞ ÉöÉÐÊ BasicÐÈÇÞ, mod_auth_basicÐÜ ÁÈ×?×áÄé. ÁçÇ?Ã? Basic ÐÞÑ?ÐÊ ÊúÆ?ÏüÐ?ÀÅ Ì-É?ÇÞ ÎßØ?È? ÎßØ?Ø-×ßÑ? ÎÚÀý ÊÈÃÍÄé. ÁçÇ?É×ÇÞ ÁòÉà ÐêÇñÈ? ÊÈØ?×ßÁòÐ?×è ÐÜ ÉöÉÐË Ë÷Ïû×ßÈù ÎØÅØÄé. ÎÖÖÔÔÅÄÒ AuthType DigestÆ?ÄÒ ÐÞÑ? ÉöÉÅÅ Ñ?Ï?×áÄé. ÐÜ ÉöÉÐÊ mod_auth_digestÀÅ ÁÈ×?×ßÈ÷, ÈÕÏü ÎØÐ?×ßÄé. ÀÅÐõ ÓæÁé Õ?Æ?ÐÜÎ?Ö?ÅùÈÈÐÜ Digest ÐÞÑ?ÐË Ñ?Ï?×áÄéÀý ×áÄé.

AuthName Ñ?ÍÓÎþÄÒ ÐÞÑ?ÏÅ Ë÷Ïû×â ÏÅÏ?(realm)ÐË Ñ?Ñ?×áÄé. ÏÅÏ?ÐÊ ÅÞÀÅÑ? Ï?×âÐË ×áÄé. ÓÉÉ?ÒÀÄÒ Õ?Æ?ÐÜÎ?Ö?ÀÅ ÊÈÕû ÐÜ Ñ?ÊÈÈ? ÎßØ? ÄûØ-Ó?ÏÅ ÊÈÏ?ÑèÄé. ÅÞÉ?ÒÀÄÒ ÏÅÏ? Ñ?ÊÈÈ? Ë÷Ïû×ßÏ? Õ?Æ?ÐÜÎ?Ö?ÀÅ Ö?Ñ? ÐÞÑ?ÁÈÏ?ÏÅ ÎþÆ ÎßØ?È? ÊÈÃÎÑ? ÀñÑ?×áÄé.

ÏÉÈ? ÅùÎþ, ÐßÄì Õ?Æ?ÐÜÎ?Ö?ÀÅ "Restricted Files" ÏÅÏ?ÏÅ ÐÞÑ?ÐÜ ÌÊÀ?×ßÏÄÄéÈù, Õ?Æ?ÐÜÎ?Ö?ÄÒ ÐêÅÏÐÈÇÞ ÀÀÐÊ Ì-É?ÏÅÌ- "Restricted Files" ÏÅÏ?ÐÈÇÞ ×?ÍÓÅØ ÁÈÏ?ÏÅ Äû×è ÅÏÐß×á ÎßØ?È? ÍÓÅÅ×áÄé. ÁçÇÅÌ- Ï?Ç? Ñ?×á ÁÈÏ?ÐÜ ÀÀÐÊ ÏÅÏ?ÐË À?Ð?×ßÈù Ë÷ÏûÐêÀÅ Ï?Ç?É? ÎßØ?È? ÐäÇÒ×ßÑ? ÎÚÎÖÅÅ ÅØÄé. ÉÀÇà ÊÈÎØË? ÐÜÐ?ÇÞ Õ?Æ?ÐÜÎ?Ö?ÄÒ Ì-É?Ð× Ø?ÍÊÖ?ÈýÐÜ ÄéÈ?Èù ×çË? Ë?ÇÞ ÎßØ?È? ÉÀÎþÊËÄé.

AuthUserFile Ñ?ÍÓÎþÄÒ ÏüÈ?ÀÅ ÉöÁí htpasswdÇÞ ÈÈÅ÷ ÎßØ?ÖÔÐßÐ× ÀöÇÞÈ? ÌÃÑ?×áÄé. Ë÷ÏûÐêÀÅ ÈÉÄéÈù ÏôÓËÈÆÄé ÈÕÉ? Ë÷ÏûÐêÈ? ÐÞÑ?×ßÁòÐ?×è ÐßÉí É?Ì-ÖÔÐßÐË ÀÛË?×ßÄÒÅ? ÍÓÀ?ÐÜ Ë?Ä÷Ø? ÈÉÐÜ ÀÙÈÁ Ì? ÐæÄé. ÎÖÖÔÔÅÄÒ Ê?È? Å?ÐÜÕÈÊ?ÐÜÍÊ ÖÔÐßÏÅ Ë÷ÏûÐê Ñ?ÊÈÈ? Ð?Ðõ×â Ì? ÐæÄé. mod_authn_dbm È?ÅòÐÊ AuthDBMUserFile Ñ?ÍÓÎþÈ? Ñ?À?×áÄé. dbmmanage ×ÑÇÞÁçÇ?ÐË Ë÷Ïû×ßÏ? ÎßØ?ÖÔÐßÐË ÈÈÅùÀý ÄéÇùÄé. ÎÖÖÔÔÅ È?Åò Å?ÐÜÕÈÊ?ÐÜÍÊÏÅÄÒ Ï?Ç? ÄéÈ? ÐÞÑ? ÉöÍÔÐË Ñ?À?×ßÄÒ Ñ?ËÿÐêÀÅ ÈÈÅ÷ È?ÅòÅùÐÜ ÐæÄé.

ÈÆÑ?ÈÇÐÈÇÞ Require Ñ?ÍÓÎþÄÒ Ì-É?Ð× Ö?Ñ? ÏÅÏ?ÏÅ Ñ?Áé×â Ì? ÐæÄÒ Ë÷ÏûÐêÈ? Ñ?Ñ?×ßÏ? Á××áÊÞÏ?È? ×áÄé. ÄéÐÍ ÐÐÊ require Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÄÒ ÄéÎ÷×á ÉöÉÐË ÌÃÈý×áÄé.

top

Ï?Ç?ÈýÐË ÅùÏ?ÊÈÃËÁò

Ð?Ð× Ñ?ÍÓÎþÄÒ Å?ÇÊÕôÈ?ÇÞ (Ë÷ÏûÐêÈýÐÜ rbowenÐÞ) ×á Ë÷Æ?ÈÈÐË ÅùÏ?ÊÈÃÍÄé. ÄûÊÞÊàÐ× ÀöÏü Ï?Ç? Ë÷Æ?ÐË ÅùÏ?ÊÈÃËÀý ÍÝÐË ÀÝÐÜÄé. ÐÜÑ? AuthGroupFileÐË Ë÷Ïû×â Æ?Äé.

Ï?Ç? Ë÷Æ?ÐË ÅùÏ?ÊÈÃËÀý ÍÝÄéÈù ÁçÇüÈýÀ? Áç ÁçÇüÏÅ ÎþÆ Ë÷ÏûÐêÅùÐÜ ÐæÄÒÑ? ÎÛÇÑÑæÄÒ ÁçÇüÖÔÐßÐÜ ×ÚÏô×ßÄé. ÐÜ ÖÔÐßÐ× ×?ÍÔÐÊ ÈÕÏü À?Äì×ßÏ?, ÎÖÉ? ÖýÑÁòÇÞÃ? ÈÈÅù Ì? ÐæÄé. ÖÔÐßÃËÏûÐÊ ÄéÐÍÀ? ÀÀÄé.

GroupName: rbowen dpitts sungo rshersey

ÁçÃÙ À?ÉùÐÈÇÞ ÁÈÊà×á Áô ÁçÇü ÁÈÌÊÏ? ÈåÇßÐß ËãÐÜÄé.

ÁòÑÈÐ× ÎßØ?ÖÔÐßÏÅ Ë÷ÏûÐêÈ? ÓïÀÅ×ßÇÑÈù ÄéÐÍÀ? ÀÀÐÜ ÐäÇÒ×áÄé

htpasswd /usr/local/apache/passwd/passwords dpitts

Ð?À? ÀÀÑ?ÈÈ, Ë?ÇÞ ÖÔÐßÐË ÈÈÅùÑ? ÎÚÀý ÁòÑÈ ÖÔÐßÏÅ Ë÷ÏûÐêÈ? ÓïÀÅ×áÄé. (-c ÏÙÌ×ÐÊ Ë?ÇÞ ÎßØ?ÖÔÐßÐË ÈÈÅ÷Äé).

ÐÜÑ? .htaccess ÖÔÐßÐË ÄéÐÍÀ? ÀÀÐÜ Ì?Ñ?×áÄé.

AuthType Basic
AuthName "By Invitation Only"
AuthUserFile /usr/local/apache/passwd/passwords
AuthGroupFile /usr/local/apache/passwd/groups
Require group GroupName

ÁçÇ?Èù GroupName ÁçÇüÏÅ Ìã×ßÈ÷ password ÖÔÐßÏÅ ×çÈåÐÜ ÐæÄÒ Ë÷ÏûÐêÀÅ ÏÓÉéÈ? ÎßØ?È? ÐäÇÒ×ßÈù Ñ?ÁéÐË ×óÏû×áÄé.

Ï?Ç? ÐßÉí Ë÷ÏûÐêÈ? ÅùÏ?ÊÈÃËÄÒ ÄéÈ? ÉöÉÐÜ ÐæÄé. ÁçÇüÖÔÐßÐË ÈÈÅù ×ÚÏôÎ?ÐÜ ÄéÐÍ Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÁòÈÈ ×ßÈù ÅØÄé.

Require valid-user

Require user rbowen ÄûÍÕ ÐÜ Ñ?ÍÓÎþÈ? Ë÷Ïû×ßÈù ÎßØ?ÖÔÐßÏÅ ÐæÄÒ Ä?ÁÈÆ?ÅÅ ÏÓÉéÈ? ÎßØ?È? ÐäÇÒ×ßÁòÈÈ ×ßÈù Ñ?ÁéÐË ×óÏû×áÄé. ÁçÇüÊÀÇÞ ÄéÈ? ÎßØ?ÖÔÐßÐË Ë÷Ïû×ßÏ? ÁçÇüÀ? ÊåÍÑ×á ØÏÀ?È? Î?ÐË Ì?ÅÅ ÐæÄé. ÐÜ ÀöÏü ÎÖÖÔÔÅÀÅ ÖÔÐß ÅÞÀÃ(ÎßØ?ÖÔÐßÀ? ÁçÇüÖÔÐß)ÀÅ ÎÖÄá ÖÔÐß ×áÀÃ(ÎßØ?ÖÔÐß)ÈÈ ÀÛË÷×ßÈù ÅØÄéÄÒ ÀÝÐÜ ÐõÑÅÐÜÄé. ÁçÇ?Ã? Ï?Ç? ÎßØ?ÖÔÐßÐË À?È?×èÎï ×ßÀý, AuthUserFile Ñ?ÍÓÎþÏÅ Ñ?Ø?×á ÎßØ?ÖÔÐßÐË Ñ?Ñ?×èÎï ×ßÄÒ ÀÝÐÊ ÄìÑÅÐÜÄé.

top

ÉïË×â Ì? ÐæÄÒ É?Ñ?ÑÅ

Basic ÐÞÑ? ÉöÍÔÐÊ Ì-É?ÏÅÌ- É?Ì-È? ÏôÓË×â Æ?ÈÆÄé Ë÷ÏûÐêÈýÀ? ÎßØ?È? Ø?ÐÞ×áÄé. ÍÙÑ?Îþ ÀÀÐÊ ÖôÐÜÑ?È? Ë?ÇÞ ÀýÔ?×â Æ?ÅÅ ÖôÐÜÑ?ÏÝ (ÁçÈÂÐÜ ÎßØ?ÇÞ ÊÈØ?×ßÄÒ Å?ÇÊÕôÈ?ÏÅ ÐæÄÒ ÀöÏü) ÖôÐÜÑ?ÏÅ ÐæÄÒ È?Å÷ ÁçÈÂÏÅ Äû×è ÄéÍÓ Ø?ÐÞ×áÄé. Ñ?Ðë×ßÅýÐÜ ÌãÅÅÀÅ ÑÆÁí ÄÐÇÑÑ?Äé. ÎßØ?ÖÔÐßÐË Ï-ÎþÌ- Ë÷ÏûÐêÈýÐË Ó?ÐË Æ?ÁþÑ? Ë÷ÏûÐê ÈåÇßÐË ËüÖüÊÑÎï ×ßÁòÆ?É?ÏÅ ÎßØ?ÖÔÐß Õ?ÁòÀÅ ÔÏÑ? Ì?Çß Ä? ÄÐÇÑÑ?Äé. ÁçÈ?Àý ÐÜ ÐëÎ?ÐË ÖôÐÜÑ?È? ÏôÓË×â Æ?ÈÆÄé Ñ?×ð×áÄé.

ÁçÇÅÌ- ×?Í×Ð?ÐÈÇÞ ×á ÎßØ?ÖÔÐßÏÅ Ð?Ðõ×â Ì? ÐæÄÒ Ë÷ÏûÐêÌ?ÏÅÄÒ ×áÀøÀÅ ÐæÄé. ÐÜ ×áÀøÄÒ Ë÷Ïû×ßÄÒ Ì-É?Ð× ÌÊÄÙÏÅ Å?Æ? ÄéÈ?Ñ?ÈÈ, ×çÈåÐÜ Ì?ÉùÀÃÀÅ ÃáÄÒÄéÈù ÄÐÇÑÑ?ÄéÀý ËÀ?×ßÀý ÄéÈ? ÐÞÑ? ÉöÉÐË ÀýÇÑ×èÎï ×áÄé.

top

ÄéÈ? ÉöÉÅÅ ÀÅÄÙ×áÀÅ?

Ë÷ÏûÐêÈýÀ? ÎßØ?È? Ë÷Ïû×á ÐÞÑ?ÐÜ ÄéÀÅ ÎÖÄßÄé. ÑÎÑÎ Ñ?Ìã×á ÐõÌâÏÝ ÀÀÐÊ ÄéÈ? Ñ?ÊÈÈ? ÀÅÑ?Àý Ë÷ÏûÐêÈ? ÅùÏ?ÊÈÃËÀý ÍÝÐË Æ?ÀÅ ÐæÄé.

AllowÏÝ Deny Ñ?ÍÓÎþÄÒ É?Ì-È? ÏôÓË×á ÔÔ×ËÕÝÐ× Ø?ÍÊÖ?Èý Ø?ÐÊ Ø?ÍÊÖ? ÑæÌâÈ? ÀÅÑ?Àý Ñ?ÁéÐË ×óÏû×ßÀÕÃ? ÀÕÊÞ×áÄé. Order Ñ?ÍÓÎþÄÒ ÐÜ ÅÞ Ñ?ÍÓÎþÏÝ ÀÀÐÜ Ë÷Ïû×ßÏ?, ÎÖÖÔÔÅÏÅÀä ÎþÆ Ì?Ì-ÇÞ ÁäÔ?ÐË Ð?Ïû×âÑ? ÎÛÈÀÄé.

ÐÜÅù Ñ?ÍÓÎþ Ë÷ÏûÉÐÊ ÄéÐÍÀ? ÀÀÄé.

Allow from address

Ï?ÁòÌ- addressÄÒ IP ÑæÌâ(Ø?ÐÊ IP ÑæÌâ ÐßÊÞ)Ã? ÏßÐ?×á ÅÅÈîÐÞÈý(Ø?ÐÊ ÅÅÈîÐÞÈý ÐßÊÞ)ÐÜÄé. Ï?×áÄéÈù Ï?Ç? ÑæÌâÃ? ÅÅÈîÐÞÈýÐË Ë÷Ïû×â Ì? ÐæÄé.

ÏÉÈ? ÅùÎþ, Ä?ÁÊÀÅÀÅ ÀäÍÓÖ×ÏÅ Á?ÀýÈ? ÏÓÈ?Àý ÐæÄéÈù ÄéÐÍÀ? ÀÀÐÜ Ñ?ÁéÐË ÈÇÐË Ì? ÐæÄé.

Deny from 205.252.46.165

Áç ÑæÌâÏÅÌ- ÅùÎþÏÐÄÒ ÉöÉ?ÐêÄÒ ÐÜ Ñ?ÍÓÎþÀÅ ÊÈØ?×ßÄÒ ÖôÐÜÑ?È? ÊÌ Ì? Î?Äé. IP ÑæÌâ ÄûÍÕ ÄéÐÍÀ? ÀÀÐÜ ÔÔ×ËÕÝÈýÐË Ë÷Ïû×â Ì?ÅÅ ÐæÄé.

Deny from host.example.com

Æ×, Ð?ÓÌ ÅÅÈîÐÞÐ× Ñ?ÁéÐË ÈÇÐÈÇÑÈù ÑæÌâÃ? ÅÅÈîÐÞÈýÐ× ÐßÊÞÈ? Ë÷Ïû×áÄé.

Deny from 192.101.205
Deny from cyberthugs.com moreidiots.com
Deny from ke

OrderÈ? DenyÏÝ Allow Ñ?ÍÓÎþÏÝ ÀÀÐÜ Ë÷Ïû×ßÏ? Í×Ñ?ÇÞ Ï?×ßÄÒ ÄûË?ÐË ÈÇÐË Ì? ÐæÄé.

Order deny,allow
Deny from all
Allow from dev.example.com

Allow Ñ?ÍÓÎþÈÈ Ë÷Ïû×ßÈù, ×èÄ÷ Ø?ÍÊÖ?Ð× Ë÷ÏûÐêÈ? ×óÏû×ßÀý ÀÕÁòÏÅ ÓïÀÅÇÞ È?Å÷ Ë÷Æ?ÐË ×óÏû×ßÉ×ÇÞ Ï?×ßÄÒ ÀñÀ?È? Î?Ñ? È?×áÄé. Ä÷ÍÕÐÊ Ö?Ñ? Ë÷Æ?ÈÈ ×óÏû×ßÁö Ï?×áÄé.

top

Ä? ÈÉÐÊ Ñ?ÊÈ

mod_auth_basicÀ? mod_authz_host É?Ì-ÏÅ Ñ?ÁéÑ?ÎþÀÅ ÅÏÐë×ßÄÒ ÉöÉÏÅ Äû×á Ä? ÈÉÐÊ Ñ?ÊÈÀÅ ÐæÄé.

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

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.