ホームページ  >  記事  >  バックエンド開発  >  wampserver配置有关问题

wampserver配置有关问题

WBOY
WBOYオリジナル
2016-06-13 10:27:23889ブラウズ

wampserver配置问题

  ServerAdmin www.mytest.com
  DocumentRoot "D:/wwwroot/mytest.com"
  ServerName mytest.com
  ErrorLog "logs/mytest-host.localhost-error.log"
  CustomLog "logs/mytest-host.localhost-access.log" common


这样配置后的网站只是把域名localhost改变成www.mytest.com而已,怎样才能把www.mytest.com变成自己想要的网址啊???
求各位高手帮帮忙!!
hosts也配置了!192.168.16.39 www.mytest.com
不知道哪里配置错了,求帮助!!

------解决方案--------------------
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。