请教大神,虚拟目录配置错误
apache吧
全部回复
仅看楼主
level 1
ok5784545 楼主
已经注销# DocumentRoot: The directory out of which you will serve your
插入代码如下
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
Alias /myweb "D:/myweb"
<Directory D:/myweb>
Order allow,deny
Allow from all
</Directory>
</IfModule>
文件在
D:\myweb\news.html
然后
apache
开启失败,删掉插入代码就能开启成功
2015年08月12日 08点08分 1
level 3
去掉前面3行和最后一行试试
2015年09月11日 08点09分 2
1