一、安裝apache2.2.8
首先去http://www.apache.org網站上下載apache2.2.8源碼包
解壓縮
#tar zxvf httpd-2.2.8.tar.gz
得到 httpd-2.2.8文件夾
#cd httpd-2.2.8
配置
#./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
編譯
#make
安裝
#make install
安裝完成
測試一下安裝效果
#cd /usr/local/apache
#cd bin
# ./apachectl start
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
出現上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一項即可解決(1)錯誤提示
產生(2)的原因是:FreeBSD 系統還提供了http filter,會自動過濾掉不完整的HTTP請求。
一、安裝apache2.2.8
首先去http://www.apache.org網站上下載apache2.2.8源碼包
解壓縮
#tar zxvf httpd-2.2.8.tar.gz
得到 httpd-2.2.8文件夾
#cd httpd-2.2.8
配置
#./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
編譯
#make
安裝
#make install
安裝完成
測試一下安裝效果
#cd /usr/local/apache
#cd bin
# ./apachectl start
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
出現上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一項即可解決(1)錯誤提示
產生(2)的原因是:FreeBSD 系統還提供了http filter,會自動過濾掉不完整的HTTP請求。
上一頁12 3 下一頁 閱讀全文