2013-05-21 130 views
2

我試圖設置一個本地測試服務器,在推送它之前我可以測試我的代碼,雖然我有一點問題,但我已經設置了httpd-vhosts.conf,像這樣:XAMPP虛擬主機不加載

+0

請參閱http://www.tildemark.com/setting-up-virtual-hosts-with-xampp-running-on-windows-xp/和http://stackoverflow.com/questions/7270787/need-help -with-xampp-virtual-host-resolved – user1929959

+0

我有,但我無法讓它工作。 http:// localhost - 正常工作 http:// mw1dev - 完全不加載:( – Codemunkie

+0

mw1dev是真的在172.0.0.1嗎?或者您的意思是127.0.0.1? – Luis

回答

1

嘗試127.0.0.1 mw1dev

在主機文件中。

Apache(和MySQL)啓動後,在瀏覽器中轉到localhost或127.0.0.1地址,檢查所有XAMPP示例和工具。

+0

謝謝!修正了這個問題。 D – Codemunkie

+0

請標記我的答案是正確的 – Hidden