Apache > HTTP Server > Documentation > Version 2.4

ּҿ h r (Binding)

݋b _ _ Ɯ”. ٿ ~@ ݋ O[.

Hġ Ưr ּҿ h݋ ݋z[nU r[.

Support Apache!



Hġ C۸[R Hġb ǻ h ּҿ [, 齁b ]@ ٸ. ⺻ڷ Hġb ǻ ּҿ݋ ٸ. ׵\ Hġ Ưr h ּҸ@ ٸ ؾ 찡 . b Hġ ٸ IP ּ, xzh, h ^[ r[b xzh ɰn Lǘ.

Listen Cb ݋L Ưr h ּҿ h J݋ ]@ ް Ѵ. Listen C h x r[R, ݋Lb z݋ r h ٸ. \ Listen C ٸ \ ּҿ h r ]n . ݋Lb P ּҿ h ] 齁R [Ѵ.

齁, ݋L 80偰 8000 h ο݋ @ ޙnU [R:

Listen 80
Listen 8000

݋L r z h݋ @ ٸnU [R,


IPv6 ּҾb ٞ x Ѵ:

Listen [2001:db8::a00:20ff:fea7:ccea]:80


IPv6݋ Ư O

IPv6 E ýO O APR Ƶ E κп݋ IPv6 [V얿, Hġb IPv6 @ Ҵ[ IPv6 ޻@ ]@ Q ] .

Hġ ڿ κл@ IPv6 ϓ IPv4 IPv6 @ Q ] rb ƴ. κ E݋b IPv4-[(mapped) IPv6 ּҸ ȝ~[ IPv6 Ͽ݋ IPv4 @ , FreeBSD NetBSD OpenBSD@ Czü råV얿 ⺻ڷ A~[ ʾb. ׵\ ⺻ڷ A~[ʾb Czۓƶn Hġ Ư r Hͷ ] .

^R z Tru64 @ Ϻ E݋ IPv4 IPv6@ Q[R [ ּҸ ȝ~ؾ߸ Ѵ. Hġ @ ȝ~[ IPv4 IPv6 @ ޙnU[R, IPv4-[ IPv6 ּҸ ȝ~[O configure ӛ --enable-v4-mapped rѴ.

--enable-v4-mappedb FreeBSD, NetBSD, OpenBSD E݋ ⺻@ƽO, Ƹn _ Hġn U ͓ƴ.

E APR ο ^ Hġ IPv4 Ḹ@ ޙnU[R, ٞ Listen C IPv4 ּҸ ȝ~Ѵ:


E݋ [ Hġ ݋ ٸ ϙڷ IPv4 IPv6 @ ޙnU[R ( IPv4-[ ּҸ ȝ~[ ʙڷR), configure ӛ --disable-v4-mapped rѴ. --disable-v4-mappedb FreeBSD, NetBSD, OpenBSD݋ ⺻@ƴ.


xzh dz

Listen@ xzh ʾb. ƾb Z ݋L ּҿ h ٸ ˷ش. <VirtualHost> C ȝ~[ ʙڔR, ݋Lb ޻@ ]@ Ȱ QѴ. ׵\ <VirtualHost> \ ּҿ h ٸ ൿ@ r ] . xzh R v ݋L ȝ~ ּҿ h ˷ Ѵ. ׸O Ưr ּҿ h xzh ൿ@ r <VirtualHost> ӛ ʿ[. ݋L ٸʾb ּҿ h ȝ~[b <VirtualHost>b ] ^@ Ǹ[.

:  de  |  en  |  fr  |  ja  |  ko  |  tr 



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.