3. 編譯安裝apache時(shí), 如果不加–with-included-apr 會有什么問題? 會報(bào)錯(cuò),Cannot use an external APR with the bundled APR-util,因?yàn)閍pr是一個(gè)底層的接口庫,編譯apache必須要有這個(gè)支持。
12. 如何配置apache的虛擬主機(jī)(Apache的主配置文件: /usr/local/apache2/conf/httpd.conf) vim httpd.conf #Include conf/extra/httpd-vhosts.conf 把該行最前面的#去掉,然后修改: <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> 改為 <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory>
再 vim conf/extra/httpd-vhosts.conf 根據(jù)實(shí)際需求修改