0
我想配置apache2在XP上托管多个网站。不太确定编辑httpd.conf文件。任何人都可以帮助配置部分?如何配置apache2在XP上托管多个网站?
我想配置apache2在XP上托管多个网站。不太确定编辑httpd.conf文件。任何人都可以帮助配置部分?如何配置apache2在XP上托管多个网站?
我想你只能承载一个网站用XP。
但是,如果你可以承载更多的这里是把你的httpd.conf
NameVirtualHost my.ip.addr.ess
<VirtualHost my.ip.addr.ess>
ServerName www.domain.com
ServerPath /domain
DocumentRoot /htdocs/domain
</VirtualHost>
原始的Apache的网站底部的代码
NameVirtualHost 111.22.33.44
<VirtualHost 111.22.33.44>
ServerName www.domain.tld
ServerPath /domain
DocumentRoot /web/domain
</VirtualHost>