0
我正在使用Laravel 5進行項目開發,並試圖在wampserver上配置虛擬熱點。如何爲laravel 5項目創建虛擬主機
我已經改變的httpd的虛擬主機文件是這樣的:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "F:/Projects/college/public"
ServerName www.college.edu
<Directory "F:/Projects/college/public">
Options Indexes FollowSymLinks
AllowOverride all
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
hosts文件看起來是這樣的:
127.0.0.1 127.0.0.1 www.college.edu
的問題是,當我瀏覽到網址:www.college.edu
我越來越回到wampserver的本地主機而不是我的項目。 我不知道什麼是錯的。