我试图在zend服务器ce上安装虚拟主机,但得到了以下错误:
Forbidden
You don't have permission to access / on this server.这就是我的虚拟主机配置的样子:
<VirtualHost *:80>
ServerName stage5local
DocumentRoot K:/stage5/public_html
<Directory K:/stage5/public_html>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>我在我的httpd.conf中取消了这一行的注释:
Include conf/extra/httpd-vhosts.conf我已经将stage5local添加到我的主机文件中。在完成所有这些工作之后,我重新启动了apache服务器。
我正在运行windows。
有什么想法吗?
难道是因为k:/第5阶段不在我的webroot之内吗?
发布于 2010-10-24 18:37:31
read服务器能读取K:\stage5\public_html吗?
假设K是NTFS,您可以通过以下方法进行检查:
K:\stage5\public_htmlZEND SERVER读取权限https://serverfault.com/questions/194262
复制相似问题