PHP配置vhost
生活随笔
收集整理的這篇文章主要介紹了
PHP配置vhost
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
#測試單個程序的
<VirtualHost *:80>ServerName aa.aa.aaDocumentRoot "D:\phpStudy\PHPTutorial\WWW\PHPCollection"DirectoryIndex 1.HTML<Directory "D:\phpstudy\PHPTutorial\WWW\PHPCollection">AllowOverride AllOrder allow,denyAllow from allRequire all granted</Directory>
</VirtualHost><VirtualHost *:80>ServerName bo.bo.boDocumentRoot "D:\phpstudy\PHPTutorial\WWW\bl_offline_replenish\php\public"DirectoryIndex index.test.phpErrorlog "D:\phpstudy\PHPTutorial\WWW\bl_offline_replenish\php\public\log.log"Loglevel warnHostNameLookups on<Directory "D:\phpstudy\PHPTutorial\WWW\bl_offline_replenish\php\public"># Options Indexes FollowSymLinks MultiviewsAllowOverride AllOrder allow,denyAllow from allRequire all grantedRewriteEngine on</Directory>
</VirtualHost>
?
總結
以上是生活随笔為你收集整理的PHP配置vhost的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Git的reflog与log
- 下一篇: 大学新生选什么笔记本电脑好(多少钱合适)