首页 > 未分类 > configure parameter for apache

configure parameter for apache

2006年3月1日 哈哈 发表评论 阅读评论

# for 1.3.x 

./configure \

 –enable-module=so \

 –disable-module=negotiation \

 –disable-module=status \

 –disable-module=autoindex \

 –disable-module=actions \

 –disable-module=userdir \

 –disable-module=cgi \

 –enable-module=expires \

 –enable-module=headers \

 –disable-module=asis \

 –disable-module=imap

 make

 make install

 strip /usr/local/apache/bin/httpd

 

 # for apache2.0.x on linux or sun box

./configure \

–disable-negotiation \

–disable-status \

–disable-autoindex \

–disable-actions \

–disable-userdir \

–disable-cgid \

–enable-expires \

–enable-headers \

–disable-asis \

–disable-imap \

–with-mpm=worker

make

make install

strip /usr/local/apache2/bin/httpd

注意:在linux2.4上,推荐用apache1.3

在linux2.6的机器上,推荐用apache2

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: configure parameter for apache

分类: 未分类 标签: , , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word