1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
<?xml version="1.0" encoding="iso-2022-jp" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
<!-- English revision: 1.9 -->
<manualpage metafile="bind.xml.meta">
<title>$B%P%$%s%I(B</title>
<summary>
<p>Apache $B$,;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj$r$7$^$9!#(B</p>
</summary>
<seealso><a href="vhosts/">$B%P!<%A%c%k%[%9%H(B</a></seealso>
<seealso><a href="dns-caveats.html">DNS $B$NLdBj(B</a></seealso>
<section id="overview">
<title>$B35MW(B</title>
<related>
<modulelist>
<module>core</module>
<module>mpm_common</module>
</modulelist>
<directivelist>
<directive module="core" type="section">VirtualHost</directive>
<directive module="mpm_common">Listen</directive>
</directivelist>
</related>
<p>Apache $B$O5/F0;~$K!"%m!<%+%k%^%7%s$N$"$k%]!<%H$"$h$S%"%I%l%9(B
$B$KBP$7$F@\B3$7!"%j%/%(%9%H$,Mh$k$N$rBT$A$^$9!#(B
$B%G%U%)%k%H$G$O%^%7%s$N$9$Y$F$N%"%I%l%9$KBP$7$F(B listen $B$7$^$9!#(B
$B$7$+$7$J$,$i!"FCDj$N%]!<%H$+!"FCDj$N%"%I%l%9$N$_$+!"(B
$B$^$?$O$=$l$i$NAH$_9g$o$;$N$$$:$l$+$r(B listen $B$9$k$h$&$K$9$kI,MW$,$"$j$^$9!#(B
$B$3$l$O!"0[$J$k(B IP $B%"%I%l%9!"%[%9%HL>!"%]!<%H$KBP$9$k(B Apache
$B$N1~EzJ}K!$r7hDj$9$k%P!<%A%c%k%[%9%H5!G=$HAH$_9g$o$;$F;H$o$l$^$9!#(B</p>
<p><directive module="mpm_common">Listen</directive>
$B%G%#%l%/%F%#%V$G!"FCDj$N%]!<%H$d%"%I%l%9!&%]!<%H$NAH$+$i$N$_F~$C$F$/$k(B
$B%j%/%(%9%H$r<u$1IU$1$k$h$&$K$G$-$^$9!#(B
$B$b$7%]!<%HHV9f$N$_$,(B <directive module="mpm_common">Listen</directive>
$B%G%#%l%/%F%#%V$G;XDj$5$l$?>l9g$O!"(B
$B$9$Y$F$N%$%s%?!<%U%'!<%9$NM?$($i$l$?%]!<%HHV9f$r(B
listen $B$7$^$9!#(B IP $B%"%I%l%9$,%]!<%HHV9f$HF1;~$KM?$($i$l$?>l9g$O!"(B
$B%5!<%P$OM?$($i$l$?%]!<%H$H%$%s%?!<%U%'!<%9$r(B listen $B$7$^$9!#(B
$BJ#?t$N(B Listen $B%G%#%l%/%F%#%V$rMQ$$$F(B
$B$$$/$D$+$N(B listen $B$9$k%"%I%l%9$H%]!<%H$r;XDj$G$-$^$9!#(B
$B%5!<%P$O%j%9%H$5$l$?%"%I%l%9$d%]!<%H$+$i$N$9$Y$F$N%j%/%(%9%H$K(B
$BBP$7$F1~Ez$7$^$9!#(B</p>
<p>$B$?$H$($P!"%]!<%H(B 80 $B$H(B 8000 $B$NN>J}$KBP$7$F$N@\B3$r<u$1IU$1$k$K$O(B</p>
<example>
Listen 80<br />
Listen 8000
</example>
<p>$B$H$7$^$9!#(B
$BFs$D$N;XDj$5$l$?%$%s%?%U%'!<%9$H%]!<%HHV9f$KBP$7$F$N@\B3$r<u$1IU$1$k$K$O!"(B
</p>
<example>
Listen 192.170.2.1:80<br />
Listen 192.170.2.5:8000
</example>
<p>$B$H$7$^$9!#(B
IPv6 $B%"%I%l%9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$r;HMQ$9$k(B<strong>$B0J30$NJ}K!$O$"$j$^$;$s(B</strong>$B!#(B
IPv4 $B$H(B IPv6 $B$N%3%M%/%7%g%s$r:G>.8B$N%=%1%C%H$G07$$$?$$$N$G$"$l$P!"(B
IPv4 $B%^%C%W$N(B IPv6 $B%"%I%l%9$r;HMQ$9$kI,MW$,$"$j!"(B
<code>--enable-v4-mapped</code> configure $B%*%W%7%g%s$r;XDj$7$^$9!#(B</p>
<p><code>--enable-v4-mapped</code> $B$O!"(B
FreeBSD, NetBSD, OpenBSD $B0J30$NA4$F$N%W%i%C%H%[!<%`$G$N%G%U%)%k%H$G$9!#(B
$B$G$9$+$i!"$*$=$i$/$*<j85$N(B Apache $B$O$3$N@_Dj$G%S%k%I$5$l$F$$$k$G$7$g$&!#(B</p>
<p>$B%W%i%C%H%U%)!<%`$d(B APR $B$,2?$r%5%]!<%H$9$k$+$K4X$o$i$:!"(B
IPv4 $B%3%M%/%7%g%s$N$_$r07$&$h$&$K$7$?$$>l9g$O!"(B
$B<!$NNc$N$h$&$KA4$F$N(B
<directive module="mpm_common">Listen</directive> $B%G%#%l%/%F%#%V$G(B
IPv4 $B%"%I%l%9$r;XDj$7$F$/$@$5$$!#(B</p>
<example>
Listen 0.0.0.0:80<br />
Listen 192.170.2.1:80
</example>
<p>$B>r7o$rK~$?$9%W%i%C%H%[!<%`$G!"(BApache $B$,(B
IPv4 $B$H(B IPv6 $B$N%3%M%/%7%g%s$r8DJL$N%=%1%C%H$G07$&$h$&$K$7$?$$>l9g(B
($B$D$^$j(B IPv4 $B%^%C%W$N%"%I%l%9$rL58z$K$7$?$$>l9g(B)
$B$O!"(B<code>--disable-v4-mapped</code> configure
$B%*%W%7%g%s$r;XDj$7$F!"<!$N$h$&$K8DJL;XDj$N(B
<directive module="mpm_common">Listen</directive>
$B%G%#%l%/%F%#%V$r;HMQ$7$F$/$@$5$$!#(B
<code>--disable-v4-mapped</code> $B$O!"(B
FreeBSD, NetBSD, OpenBSD $B%W%i%C%H%[!<%`$G$N%G%U%)%k%H$G$9!#(B</p>
</section>
<section id="virtualhost">
<title>$B%P!<%A%c%k%[%9%H$KBP$7$F$I$&F/$/$N$+(B</title>
<p>Listen $B$G%P!<%A%c%k%[%9%H$,<BAu$5$l$k$o$1$G$O$"$j$^$;$s!#(B
Listen $B$OC1$K%a%$%s%5!<%P$K$I$N%"%I%l%9$H%]!<%H$r(B listen $B$9$Y$-$+$r(B
$B65$($k$@$1$G$9!#(B
<directive module="core" type="section">VirtualHost</directive>
$B%G%#%l%/%F%#%V$,;H$o$l$J$$>l9g$O!"(B
$B<u$1F~$l$?%j%/%(%9%H$9$Y$F$KBP$7$FA4$/F1$85sF0$r$7$^$9!#(B
$B$7$+$7$J$,$i(B
<directive module="core" type="section">VirtualHost</directive>
$B$r;H$C$F!"(B
$B0l$D0J>e$N%"%I%l%9$d%]!<%H$KBP$7$F0[$J$k5sF0$r$9$k$h$&$K(B
$B;XDj$9$k$3$H$,$G$-$^$9!#(B
VirtualHost $B$r<BAu$9$k$K$O!";HMQ$9$k%"%I%l%9$H%]!<%H$r(B
$B$^$:=i$a$K%5!<%P$KDLCN$7$J$1$l$P$J$j$^$;$s!#(B
$B$=$7$F!"$=$N;XDj$7$?%"%I%l%9$H%]!<%H$G$N(B
$B$3$N%P!<%A%c%k%[%9%H$N5sF0$r@_Dj$9$k$?$a$K!"(B
<directive module="core" type="section">VirtualHost</directive>
$B%;%/%7%g%s$r:n$j$^$9!#$b$7(B
<directive module="core" type="section">VirtualHost</directive>
$B$,(B listen $B$7$F$$$J$$%"%I%l%9$H%]!<%H$KBP$7$F(B
$B@_Dj$5$l$F$7$^$&$H!"(B
$B$=$l$K$O%"%/%;%9$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
</section>
</manualpage>
|