ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "C:\AppServ\www"
ServerName localhost
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
ServerName www.mc.com
DocumentRoot "D:/Mc/mc"
#这里配置欢迎首页面
DirectoryIndex index.html index.htm index.php
<Directory />
Options FollowSymLinks
#不许可别人修改我们的页面
AllowOverride None
#设置访问权限
Order allow,deny
Allow from all
</Directory>
这是我的配置,请懂的人指导一下。谢谢