??????????Apache
????????????http://httpd.apache.org/
????1. ???Apache
????# tar  zxvf  httpd-2.2.11.tar.gz
????# cd  httpd-2.2.11
????# ./configure  --prefix=/usr/local/apache  --enable-so
????//??????????????????--enable-so
????# make
????# make  install
????2. ????????????????Apache????
????# vi  /etc/rc.d/rc.local
????//??rc.local????????/usr/local/apache/bin/apachectl –k  start??
????????????Apache
????1. ???httpd.conf???
????# vi  /usr/local/apache/conf/httpd.conf
????1?? ?????????·??
???????????Apache???????????????????????????ò????ServerRoot?????λ??“/usr/local/apache”?????????£?
????2?? ???ü???IP?????????
???????????????????IP?????TCP80???????????£?
????Listen 80
???????????????????????????Listen????????????????????????????????磺
????Listen 192.168.99.9:80
????Listen 172.16.0.20:8080
????3?? ???????????E-mail
???????ServerAdmin???????ù????E-mail????????????Email????root@guoxuemin.cn
????4?? ???÷???????????????
????????ServerName???????÷???????????????????????????????????????IP????????????????IP????192.168.99.9??
????5?? ??????????·??
?????????????ò???DocumentRoot???÷????????????·???????磬????·?????/usr/local/apache2/htdocs
????6?? ??????????
????Apache???????????index.html?????????Directory Index??????????????磬??index.php???????????????index.php index.html
????7???????
?????????????????????http://192.168.99.9?????????????
????2. ?????????
???????<Directory ??·??>??</Directory>???????????????磺
????<Directory  “/var/www/icons”>
????Options  Indexes  MultiViews
????AllowOverride  None
????Order  allow??deny
????Allow  from  all
????</Directory>