文档介绍:++
软件环境:
apache httpd-
apr-
apr-util-
jdk-1_5_0_05-linux-
jakarta-tomcat-connectors--
apache-tomcat-
软件说明:。,它首先需要安装 apr- apr-util-
才能正常的运行。安装之前解压软件包。进入源代码包,先阅读,,里面有安装说明。
安装:apr--util-
# Build and install apr
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install
# Build and install apr-util
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
1../configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-so
#make
#make install
:
[******@localhost root]#cd /usr/local/httpd2/bin
[******@localhost bin]# httpd -l
Compiled in modules:
(说明:,就说明能支持DSO。)
。
#cd /usr/local/apache2/conf
#vi
32 # Listen: Allows you to bind Apache to specific IP addresses and/or
33 # ports, instead of the default. See also the <VirtualHost>
34 # directive.
35 #
36 # Change this to Listen on specific IP addresses as shown below to
37 # prevent