我想用appserv架站
我之前的做法是打开http.conf
LoadModule vhost_alias_module modules/mod_vhost_alias.so 去掉前面的井号
然后httpd-vhosts.conf
加上自己要的vh
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.x
DocumentRoot "C:/Apache2.2/docs/dummy-host.x"
ServerName dummy-host.x
ServerAlias
dummy-host.x... ErrorLog "logs/dummy-host.x-error.log"
CustomLog "logs/dummy-host.x-access.log" common
</VirtualHost>
问题1...这里有个疑问,www要在这里都加上去吗etc
<VirtualHost abc.com*:80>
ServerAdmin webmaster@dummy-host.x
DocumentRoot "C:/Apache2.2/www" <<<<<<<<<<<<<<<-www-
ServerName dummy-host.x
ServerAlias
dummy-host.x... ErrorLog "logs/dummy-host.x-error.log"
CustomLog "logs/dummy-host.x-access.log" common
</VirtualHost>
问题2.我在www装discuz cms就没事
但有时在 www/cms 装了之后的网页会乱掉 没了css的网页
vh里装的网页都会这里
请问各位
我那没设置
谢谢