亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

解析wamp5下虛擬機配置文檔

 更新時間:2013年06月27日 13:10:55   作者:  
本篇文章是對wamp5下虛擬機配置文檔的方法進行了詳細的分析介紹,需要的朋友參考下

Wamp下,虛擬機配置分為三個步驟,實例如下:
1.修改Hosts文件
C:\WINDOWS\system32\drivers\etc\Hosts
127.0.0.1 dz1.test.com

2.編輯wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf文件,在文件底部加入以下代碼
<VirtualHost *:80>
ServerName dz1.test.com
ServerAlias dz1.test.com
DocumentRoot "e:/wamp/www/dz1"
</VirtualHost>

另外加上這句以后,如果沒有下面這句的記得加上,不然打localhost打不開最好再加上
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "D:/wamp/www"
</VirtualHost>

3.編輯E:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf文件,在文件底部加入以下代碼
注:不加此代碼會報403錯誤
打開配置文件httpd.conf,并去掉#Include 0conf/extra/httpd-vhosts.conf前面的#號!!
<Directory "e:/wamp/www/dz1">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
重啟Apache,然后測試dz1.test.com,就可以了。
。。。。。。。。。。。。。。。。
注意紅色加粗的部分,必須相同,且文件存在

相關(guān)文章

最新評論