Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/vhosts/ip-based.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 06:28:05 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï |
Apache HTTP Server Version 2.2
IPÁòÉíÐÜÆ? ÈËÐÜ Ð×ÉÜ×ßÅýÐÜ Ì-É?ÄÒ IPÁòÉí ÀÅË?Ø?ÍÊÖ? À?À?ÏÅ Äû×è ÄéÈ? IP ÑæÌâÈ? ÀÅÑ?Îï×áÄé. ÐÜÄÒ ÔÔ×ËÕÝÈ? ÉÀÈ?Ð?ÐÈÇÞ Ï?Ç? ÃçÖ?Ï?ÏÅ Ï?Àñ×ßÀÕÃ?, ÓæÁé ÏþÏÅÓÌÑ?ÏÅÌ- Ñ?Ï?×ßÄÒ ÀÅË? ÐÞÕÝÖôÐÜÍÊÈ? (ÐêÌÌ×á ÃËÏûÐÊ ÍÓÍÊÕë É?Ì-È? Ò?Àý×ßÆ?. Ø÷Ø? "ip aliases"Æ?Àý ×ßÈ÷, ÊÈÕû "ifconfig" ÈýÇÙÎþÇÞ ÈÈÅ÷Äé) Ë÷Ïû×ßÏ? ÀÅÄÙ×ßÄé.
Ï?Ç? Ø?ÍÊÖ?È? Ñ?Ï?×ßÅÅÇß ÎÖÖÔÔÅÈ? ÌÃÑ?×ßÄÒ ÉöÉÐÊ ÅÞÀÅÑ?Äé. ×ßÃ?ÄÒ À? Ø?ÍÊÖ?ÈÆÄé ÊÀÅÅÐ× Ð?Ì-É?È? Í××ð×ßÄÒ ÉÐÜÀý, ÄéÈ? ×ßÃ?ÄÒ È?Å÷ ÀÅË?Ø?ÍÊÖ?È? Ñ?Ï?×ßÄÒ Ì-É? ×áÀÃÈ? Í××ð×ßÄÒ ÉöÉÐÜÄé.
Î?Ñ? Ï?Ç? Ì-É?È? Ë÷Ïû×ßÃ?:
User
, Group
, Listen
, ServerRoot
ÌÃÑ?ÐÈÇÞ Í××ð×èÎï ×áÄé.Listen
×â Ì?ÈÈ ÐæÄé. ÁçÇÅÌ-
ÎþÆ ÐÜÐ?ÏÅÌ-À× Ö?Ñ? ÑæÌâÈ? ÁòÄéÈÁ ×ÚÏôÀÅ ÐæÄéÈù, (×á
Ð?Ì-É?ÀÅ ×á ÑæÌâÈ? Ñ?Ïì×á È?Å÷ ÑæÌâÈ? ÁòÄéÈ?Àý ÄéÈ? ×á
Ð?Ì-É?ÀÅ Ñ?Ïì×á ÑæÌâÈ? ÁòÄéÈÁ Ì? ÐæÑ?ÈÈ) Ñ?Ñ?×á ÑæÌâ
È?ÅÞÈ? ÁòÄéÇÑÎï ×áÄé.Î?Ñ? Ì-É? ×áÀÃÈ? Ë÷Ïû×ßÃ?:
À? ÀÅË?Ø?ÍÊÖ?ÊÀÇÞ Ð?Ì-É?È? ÌÃÔÅ×áÄé. ÌÃÑ?ÖÔÐßÐ×
Listen
Ñ?ÍÓÎþÏÅ
Ì-É?ÀÅ Ì-ÊåÍÊ×â IP ÑæÌâ(Ø?ÐÊ ÀÅË?Ø?ÍÊÖ?)È? Ð?ÎþÑèÄé. ÏÉÈ?
ÅùÈù,
Listen www.smallco.com:80
Ø?ÍÊÖ?Èý ÊÈÄéÄÒ IP ÑæÌâÈ? Ë÷Ïû×ßÁö ÉéÆ?Äé. (DNS É?Ñ? Ò?Àý)
ÐÜ ÀöÏü Ð?Ì-É? ×áÀÃÇÞ ÑæÌ-É?ÏÝ È?Å÷ ÀÅË?Ø?ÍÊÖ?ÏÅ Äû×á
ÏôÓËÐË Ì-ÊåÍÊ×áÄé. ÌÃÑ?ÖÔÐßÐ× VirtualHost
Ñ?ÍÓÎþÏÅ ÀÅË?Ø?ÍÊÖ?ÈÆÄé
ÄéÈ? ServerAdmin
,
ServerName
, DocumentRoot
, ErrorLog
, TransferLog
,
CustomLog
Ñ?ÍÓÎþ À?ÐË ÌÃÑ?×áÄé. ÏÉÈ? ÅùÈù,
<VirtualHost www.smallco.com>
ServerAdmin webmaster@mail.smallco.com
DocumentRoot /groups/smallco/www
ServerName www.smallco.com
ErrorLog /groups/smallco/logs/error_log
TransferLog /groups/smallco/logs/access_log
</VirtualHost>
<VirtualHost www.baygroup.org>
ServerAdmin webmaster@mail.baygroup.org
DocumentRoot /groups/baygroup/www
ServerName www.baygroup.org
ErrorLog /groups/baygroup/logs/error_log
TransferLog /groups/baygroup/logs/access_log
</VirtualHost>
Ø?ÍÊÖ?Èý ÊÈÄéÄÒ IP ÑæÌâÈ? Ë÷Ïû×ßÁö ÉéÆ?Äé. (DNS É?Ñ? Ò?Àý)
VirtualHost Ñ?ÍÓÎþ ÎØÏÅÌ-ÄÒ ×ÑÇÞÌÌÍÊ ËÌÊÀ? ÁòÕÈ ÈþÈþ Ñ?ÍÓÎþÈ? Ñ?Ïì×ßÀý ÀÕÐ× È?Å÷ ÌÃÑ?Ñ?ÍÓÎþÈ? Ë÷Ïû×â Ì? ÐæÄé. VirtualHost Ñ?ÍÓÎþ ÎØÏÅÌ- Ñ?ÍÓÎþÈ? Ë÷Ïû×â Ì? ÐæÄÒÑ? ÎÛÇÑÈù Ñ?ÍÓÎþ ÈåÇßÏÅÌ- Ë÷ÏûÐõÌâÈ? Ø?ÐÞ×ßÆ?.
suEXEC ×ÑÇÞÁçÇ?ÐË
Ë÷Ïû×áÄéÈù VirtualHost Ñ?ÍÓÎþ ÎØÏÅ User
ÏÝ Group
ÐË Ë÷Ïû×â Ì? ÐæÄé.
ÊÈÎØ: Ì-É?È? Í××ð×ßÄÒ Ë÷ÏûÐêÏìÏÅ ÄéÈ? Ë÷Æ?ÏÅÀä ÇÞÁçÖÔÐßÐÜ ÐæÄÒ Å?ÇÊÕôÈ?Ð× ÎÂÁòÁ××áÐÜ ÐæÄéÈù ÊÈÎØ É?Ñ?È? ÑÆÍÙ×ßÆ?. ÐêÌÌ×á ÃËÏûÐÊ ÊÈÎØ ÖÑÐË Ò?Àý×ßÆ?.