apache將每個設置項分成不同的配置文件,用戶可以在開發(fā)過程中自由匹配不同的功能模塊,從而更好地提高效率,下面錯新技術頻道小編給大家介紹apache host的配置詳解。
<VirtualHost *:80>
??? ServerAdmin [email protected]
??? DocumentRoot "D:/dev/Apache2.2/docs/dummy-host.127.0.0.1"
??? ServerName dummy-host.127.0.0.1
??? ServerAlias www.dummy-host.127.0.0.1
??? ErrorLog "logs/dummy-host.127.0.0.1-error.log"
??? CustomLog "logs/dummy-host.127.0.0.1-access.log" common
</VirtualHost>
<VirtualHost *:80>
??? ServerAdmin [email protected]
??? DocumentRoot "D:/dev/Apache2.2/docs/dummy-host2.127.0.0.1"
??? ServerName dummy-host2.127.0.0.1
??? ErrorLog "logs/dummy-host2.127.0.0.1-error.log"
??? CustomLog "logs/dummy-host2.127.0.0.1-access.log" common
</VirtualHost>
以上就是錯新技術頻道小編給大家介紹的apache host的配置詳解,通過上文的介紹大家都了解了吧,相關的專業(yè)知識也給大家介紹了很多,感謝大家的支持。
新聞熱點
疑難解答