12. 如何配置apache的虛擬主機(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>