阅读背景:

为什么在Apache中设置虚拟主机后,http:// localhost会重定向到我的默认虚拟主机?

来源:互联网 

This is probably an easy question, but I want to understand better how Apache works with virtual hosts. I am setting up virtual hosts because I work on multiple websites at once and I don't want to use subdirectories. I was pretty much using the default Apache httpd.conf file with the DocumentRoot pointing to something like "/www". I uncommented the virtual hosts include and added the following:This is probably an easy question, but I want t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: