dso.xml.ja revision a2652f3451528565db1f85db6953fc30799d7ead
369N/A<?xml version="1.0" encoding="iso-2022-jp" ?>
369N/A<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
369N/A<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
369N/A<!-- English Revision: 151408 -->
369N/A
369N/A<!--
369N/A Copyright 2002-2006 The Apache Software Foundation or its licensors,
369N/A as applicable.
369N/A
369N/A Licensed under the Apache License, Version 2.0 (the "License");
369N/A you may not use this file except in compliance with the License.
369N/A You may obtain a copy of the License at
369N/A
369N/A http://www.apache.org/licenses/LICENSE-2.0
369N/A
369N/A Unless required by applicable law or agreed to in writing, software
369N/A distributed under the License is distributed on an "AS IS" BASIS,
369N/A WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
369N/A See the License for the specific language governing permissions and
369N/A limitations under the License.
5680N/A-->
5680N/A
5622N/A<manualpage metafile="dso.xml.meta">
369N/A
5706N/A <title>$BF0E*6&M-%*%V%8%'%/%H(B (DSO) $B%5%]!<%H(B</title>
5680N/A
369N/A <summary>
369N/A <p>Apache HTTP $B%5!<%P$O%b%8%e!<%k2=$5$l$?%W%m%0%i%`$G!"(B
5706N/A $B4IM}<T$,%b%8%e!<%k$rA*Br$9$k$3$H$G%5!<%P$KAH$_9~$`5!G=$rA*$V$3$H$,$G$-$^$9!#(B
844N/A $B%b%8%e!<%k$O%5!<%P$,%S%k%I$5$l$k$H$-$K(B <program>httpd</program> $B%P%$%J%j$K(B
5706N/A $B@EE*$KAH$_9~$`$3$H$,$G$-$^$9!#$b$7$/$O!"(B<program>httpd</program> $B%P%$%J%j$H$O(B
5706N/A $BJL$KB8:_$9$kF0E*6&M-%*%V%8%'%/%H(B ($BLuCm(B: Dynamic Shared Object)
5622N/A (DSO) $B$H$7$F%3%s%Q%$%k$9$k$3$H$b(B
369N/A $B$G$-$^$9!#(BDSO $B%b%8%e!<%k$O%5!<%P$,%S%k%I$5$l$k$H$-$K%3%s%Q%$%k$7$?$j!"(B
5680N/A Apache $B3HD%%D!<%k(B (<program>apxs</program>) $B$r(B
369N/A $B;H$C$F8e$G%3%s%Q%$%k$7$FDI2C$7$?$j$G$-$^$9!#(B</p>
5680N/A
369N/A <p>$B$3$NJ8=q$O(B DSO $B%b%8%e!<%k$N;H$$J}$H!";EAH$_$K$D$$$F(B
369N/A $B@bL@$7$^$9!#(B</p>
369N/A </summary>
369N/A
369N/A
<section id="implementation"><title>$B<BAu(B</title>
<related>
<modulelist>
<module>mod_so</module>
</modulelist>
<directivelist>
<directive module="mod_so">LoadModule</directive>
</directivelist>
</related>
<p>$B8D!9$N(B Apache $B%b%8%e!<%k$r%m!<%I$9$k$?$a$N(B DSO $B%5%]!<%H$O(B
<module>mod_so.c</module> $B$H$$$&%b%8%e!<%k$N5!G=$K4p$E$$$F$$$^$9!#(B
$B$3$N%b%8%e!<%k(B $B$O(B Apache $B$N%3%"$K@EE*$KAH$_9~$^$l$F$$$kI,MW$,$"$j$^$9!#(B
$B$=$l$O(B <module>core.c</module> $B0J30$G$O(B DSO $B$K$G$-$J$$M#0l$N(B
$B%b%8%e!<%k$G$9!#;v<B>e!"B>$N$9$Y$F$N(B Apache $B$N%b%8%e!<%k$O!"(B
<a href="install.html">$B%$%s%9%H!<%k$NJ8=q(B</a>$B$G@bL@$5$l$F$$$k$h$&$K!"(B
<program>configure</program> $B$N(B
<code>--enable-<em>module</em>=shared</code> $B%*%W%7%g%s$G$=$l$>$l$r(B
DSO $B%S%k%I$K$9$k$3$H$K$h$j!"(BDSO $B%b%8%e!<%k$K$9$k$3$H$,$G$-$^$9!#(B
<code>mod_foo.so</code> $B$N$h$&$J(B DSO $B$K%b%8%e!<%k$,%3%s%Q%$%k$5$l$l$P!"(B
<code>httpd.conf</code> $B%U%!%$%kCf$G(B <module>mod_so</module> $B$N(B
<directive module="mod_so">LoadModule</directive>
$B%G%#%l%/%F%#%V$r;H$&$3$H$G%5!<%P$N5/F0$d:F5/F0;~$K$3$N%b%8%e!<%k$r(B
$B%m!<%I$9$k$h$&$K$G$-$^$9!#(B</p>
<p>Apache $B%b%8%e!<%kMQ$N(B ($BFC$K%5!<%I%Q!<%F%#%b%8%e!<%k$N(B) DSO $B%U%!%$%k$N(B
$B:n@.$r4JC1$K$9$k$?$a$K!"(B<program>apxs</program>
(<dfn>APache eXtenSion</dfn>) $B$H$$$&?7$7$$%5%]!<%H%W%m%0%i%`$,$"$j$^$9!#(B
Apache $B$N%=!<%9%D%j!<$N(B<em>$B30$G(B</em> DSO $B%b%8%e!<%k$r%S%k%I$9$k$?$a$K(B
$B;H$&$3$H$,$G$-$^$9!#H/A[$OC1=c$G$9(B: Apache $B$N%$%s%9%H!<%k;~$N(B
<program>configure</program>$B!"(B<code>make install</code> $B$N$H$-$K(B Apache $B$N(B
C $B%X%C%@$r%$%s%9%H!<%k$7!"(BDSO $B%S%k%IMQ$N%W%i%C%H%U%)!<%`0MB8$N(B
$B%3%s%Q%$%i$H%j%s%+$N%U%i%0$r(B <program>apxs</program> $B%W%m%0%i%`$KDI2C$7$^$9!#(B
$B$3$l$K$h$j!"%f!<%6$,(B Apache $B$NG[I[%=!<%9%D%j!<$J$7$G!"$5$i$K(B
DSO $B%5%]!<%H$N$?$a$N%W%i%C%H%U%)!<%`0MB8$N%3%s%Q%$%i$d%j%s%+$N(B
$B%U%i%0$r$$$8$k$3$H$J$/(B Apache $B$N%b%8%e!<%k$N%=!<%9$r%3%s%Q%$%k(B
$B$G$-$k$h$&$K$J$j$^$9!#(B</p>
</section>
<section id="usage"><title>$B;HMQK!$N35MW(B</title>
<p>Apache 2.0 $B$N(B DSO $B5!G=$N35N,$rCN$k$3$H$,$G$-$k$?$a$N!"(B
$BC;$/4J7i$J35MW$G$9(B:</p>
<ol>
<li>
<em>$BG[I[$5$l$F$$$k(B</em> Apache $B%b%8%e!<%k!"2>$K(B <code>mod_foo.c</code>
$B$H$7$F!"$=$l$r(B DSO <code>mod_foo.so</code> $B$K%S%k%I!"%$%s%9%H!<%k(B:
<example>
$ /configure --prefix=/path/to/install --enable-foo=shared<br />
$ make install
</example>
</li>
<li>
<em>$B%5!<%I%Q!<%F%#(B</em> Apache $B%b%8%e!<%k!"2>$K(B <code>mod_foo.c</code>
$B$H$7$F!"$=$l$r(B DSO <code>mod_foo.so</code> $B$K%S%k%I!"%$%s%9%H!<%k(B:
<example>
$ /configure --add-module=<var>module_type</var>:/path/to/3rdparty/mod_foo.c \<br />
<indent>
--enable-foo=shared<br />
</indent>
$ make install
</example>
</li>
<li>
$B6&M-%b%8%e!<%k$N(B <em>$B8e!9$N%$%s%9%H!<%k(B</em> $B$N$?$a$K(B
Apache $B$r@_Dj(B:
<example>
$ /configure --enable-so<br />
$ make install
</example>
</li>
<li>
<em>$B%5!<%I%Q!<%F%#(B</em> Apache $B%b%8%e!<%k!"2>$K(B <code>mod_foo.c</code>
$B$H$7$F!"$=$l$r(B <program>apxs</program> $B$r;H$C$F(B
Apache $B%=!<%9%D%j!<$N(B<em>$B30$G(B</em> DSO $B$K%S%k%I!"%$%s%9%H!<%k(B:
<example>
$ cd /path/to/3rdparty<br />
$ apxs -c mod_foo.c<br />
$ apxs -i -a -n foo mod_foo.la
</example>
</li>
</ol>
<p>$B$I$N>l9g$K$*$$$F$b!"6&M-%b%8%e!<%k$r%3%s%Q%$%k$7$?8e$G!"(B
<code>httpd.conf</code> $B$G(B
<directive module="mod_so">LoadModule</directive>
$B%G%#%l%/%F%#%V$r;H$C$F(B Apache $B$,%b%8%e!<%k$r;HMQ$9$k$h$&$K(B
$B$7$J$1$l$P$J$j$^$;$s!#(B</p>
</section>
<section id="background"><title>$BGX7J(B</title>
<p>$B:G6a$N(B Unix $B7O$N(B OS $B$K$O(B <em>$BF0E*6&M-%*%V%8%'%/%H(B</em> (DSO)
$B$NF0E*%j%s%/(B/$B%m!<%I$H$$$&5$$N$-$$$?5!9=$,(B
$BB8:_$7$^$9!#$3$l$O!"<B9T;~$K%W%m%0%i%`$N%"%I%l%96u4V$K(B
$B%m!<%I$G$-$k$h$&$JFCJL$J7A<0$G%W%m%0%i%`$r%S%k%I$9$k$3$H$r(B
$B2DG=$K$7$^$9!#(B</p>
<p>$B$3$N%m!<%I$OFs$D$NJ}K!$G9T$J$&$3$H$,$G$-$^$9(B: $B<B9T%W%m%0%i%`$,(B
$B5/F0$5$l$?$H$-$K(B <code>ld.so</code> $B$H$$$&%7%9%F%`%W%m%0%i%`(B
$B$K$h$j<+F0E*$K9T$J$o$l$kJ}K!$H!"<B9T%W%m%0%i%`Cf$+$i!"%7%9%F%`%3!<%k(B
<code>dlopen()/dlsym()</code> $B$K$h$k(B Unix $B%m!<%@$X$N(B
$B%W%m%0%i%`%7%9%F%`$N%$%s%?%U%'!<%9$r;H$C$F<jF0$G9T$J$&J}K!$H$,(B
$B$"$j$^$9!#(B</p>
<p>$B:G=i$NJ}K!$G$O(B DSO $B$OIaDL$O(B<em>$B6&M-%i%$%V%i%j(B</em>$B$d(B <em>DSO
$B%i%$%V%i%j(B</em> $B$H8F$P$l$F$$$F!"(BDSO $B$NL>A0$O(B
<code>libfoo.so</code> $B$d(B <code>libfoo.so.1.2</code> $B$N$h$&$K$J$C$F$$$^$9!#(B
$B$3$l$i$O%7%9%F%`%G%#%l%/%H%j(B ($BDL>o(B <code>/usr/lib</code>) $B$KB8:_$7!"(B
$B<B9T%W%m%0%i%`$X$N%j%s%/$O%S%k%I;~$K(B <code>-lfoo</code> $B$r%j%s%+$K(B
$B;XDj$9$k$3$H$G3NN)$5$l$^$9!#$3$l$K$h$j%i%$%V%i%j$X$N;2>H$,<B9T%W%m%0%i%`$N(B
$B%U%!%$%k$K=q$-9~$^$l$F!"5/F0;~$K(B Unix $B$N%m!<%@$,(B <code>/usr/lib</code> $B$d!"(B
$B%j%s%+$N(B <code>-R</code> $B$N$h$&$J%*%W%7%g%s$K$h$j%O!<%I%3!<%I$5$l$?%Q%9!"(B
$B4D6-JQ?t(B <code>LD_LIBRARY_PATH</code> $B$K$h$j@_Dj$5$l$?%Q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E@$H7gE@(B</title>
<p>$B>e5-$N(B DSO $B$K4p$E$$$?5!G=$O0J2<$NMxE@$,$"$j$^$9(B:</p>
<ul>
<li>$B<B:]$N%5!<%P%W%m%;%9$rAH$_N)$F$k$?$a$K!"(B
$B%S%k%I;~$K(B <code>configure</code> $B$N%*%W%7%g%s$r;H$&Be$o$j$K(B
$B<B9T;~$K(B <code>httpd.conf</code> $B$N@_DjMQ%3%^%s%I(B
<directive module="mod_so">LoadModule</directive>
$B$r;H$&$3$H$,$G$-$^$9$N$G!"%5!<%P%Q%C%1!<%8$N=@Fp@-$,9b$^$j$^$7$?!#(B
$B$?$H$($P!"0l$D$N(B Apache $B$N%$%s%9%H!<%k$+$i(B
$B0c$&9=@.$N%5!<%P(B ($BI8=`HG$H(B SSL $BHG!":G>.9=@.$H3HD%HG(B [mod_perl, PHP3]
<em>$B$J$I(B</em>) $B$r<B9T$9$k$3$H$,$G$-$^$9!#(B</li>
<li>$B%$%s%9%H!<%k$N8e$G$"$C$F$b!"%5!<%P$N%Q%C%1!<%8$r%5!<%I%Q!<%F%#(B
$B%b%8%e!<%k$G4JC1$K3HD%$G$-$k$h$&$K$J$j$^$7$?!#$3$l$O!"(BApache $B%3%"(B
$B%Q%C%1!<%8$H!"(BPHP3, mod_perl, mod_fastcgi <em>$B$J$I(B</em> $B$NDI2C$N(B
$B%Q%C%1!<%8$r:n@.$G$-$k$N$G!">/$J$/$H$b%Y%s%@$N%Q%C%1!<%84IM}<T$K$H$C$F(B
$BBg$-$JMxE@$,$"$j$^$9!#(B</li>
<li>Apache $B%b%8%e!<%k$N3+H/$,4JC1$K$J$j$^$9!#(B
$B$3$l$O(B DSO $B$H(B <program>apxs</program> $B$NAH$_9g$o$;$K$h$j!"(BApache $B%=!<%9%D%j!<$N(B
$B30$G:n6H$G$-!"3+H/Cf$N%b%8%e!<%k$N?7$7$$%P!<%8%g%s$r(B
$B<B9TCf$N(B Apache $B%5!<%P$KAH$_9~$`$?$a$K(B <code>apxs -i</code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