Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/vhosts/
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 04:51:06 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï |
Apache HTTP Server Version 2.2
ÀÅË?Ø?ÍÊÖ? (Virtual Host)ÄÒ ×á ÔÔ×ËÕÝÏÅÌ-
Ï?Ç? Ð?Ë÷ÐÜÖ?È? (ÏÉÈ? ÅùÎþ, www.company1.com
À?
www.company2.com
) Ì-ÊåÍÊ×äÐË Æö×áÄé.
ÀÅË?Ø?ÍÊÖ?ÏÅÄÒ À? Ð?Ë÷ÐÜÖ?ÈÆÄé ÄéÈ? IP ÑæÌâÈ? Ë÷Ïû×ßÄÒ
"IPÁòÉí (IP-based)" ÉöÍÔÀ? ×á
IP ÑæÌâÄ÷ Ï?Ç? ÐÜÈ?ÐË ÀÅÑ?ÄÒ "ÐÜÈ?ÁòÉí (name-based)" ÉöÍÔÐÜ
ÐæÄé. Ï?Ç? Ë÷ÐÜÖ?ÅùÐÜ ÀÀÐÊ Ì-É?ÏÅÌ- ÅÉÀýÐæÄéÄÒ Ë÷Í×ÐË Ð?Ë÷ÏûÐêÄÒ
Ä?ÔÅÓ?Ñ? È?×áÄé.
ÎÖÖÔÔÅÄÒ ÁòÊËÐÈÇÞ IPÁòÉí ÀÅË?Ø?ÍÊÖ?È? Ñ?Ï?×á ÓÚÓ?Áò Ì-É?ÅùÑï ×ßÃ?Äé. ÎÖÖÔÔÅ É?Ð? 1.1 ÐÜË?ÐÊ IPÁòÉíÀ? ÐÜÈ?ÁòÉí ÀÅË?Ø?ÍÊÖ?È? È?ÅÞ Ñ?Ï?×áÄé. ÐÜÈ?ÁòÉí ÀÅË?Ø?ÍÊÖ?È? Ø?ÍÊÖ?ÁòÉí (host-based) Æ×ÄÒ ÊåIP ÀÅË?Ø?ÍÊÖ? (non-IP virtual hosts)Æ?ÀýÅÅ ÊÞÈ?Äé.
ÄéÐÍÐÊ ÎÖÖÔÔÅ É?Ð? 1.3 ÐÜË?Ð× ÀÅË?Ø?ÍÊÖ? Ñ?Ï?ÐË ÐêÌÌØ? ÌÃÈý×á É?Ì-ÅùÐÜÄé.
ÀÅË?Ø?ÍÊÖ? ÌÃÑ?ÐË ÕçÍÊÖ?×âÆ? ÎÖÖÔÔÅÐ× -S
ÈýÇÙ×ð ÏÙÌ×ÐÜ Ð?Ïû×ßÄé. Ñÿ, ÄéÐÍÀ? ÀÀÐÜ Í××ð×áÄé:
/usr/local/apache2/bin/httpd -S
ÐÜ ÈýÇÙÎþÄÒ ÎÖÖÔÔÅÀÅ ÐàÐÊ ÌÃÑ?ÖÔÐßÏÅ Äû×á Ñ?ÊÈÈ? ÓòÇÒ×áÄé. IP ÑæÌâÏÝ Ì-É?ÈýÐË ÐêÌÌØ? ËüÖüÊÈÈù ÌÃÑ?ÏÅÌ- Í×Ì?È? ÉïÀï×ßÄÒÅ? ÅÅÏ?ÐÜ ÅÙ ÀÝÐÜÄé. (ÄéÈ? ÈýÇÙ×ð ÏÙÌ×ÅùÐÊ httpd ×ÑÇÞÁçÇ? É?Ì-È? Ò?Àý×ßÆ?.)