我想在zend服务器ce上安装虚拟主机,但得到以下错误:
Forbidden You don't have permission to access / on this server.
这是我的虚拟主机configuration如下所示:
<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 XP上运行。
有任何想法吗?
是否因为k:/ stage5不在我的webroot中?
networking服务器可以读K:\stage5\public_html
吗?
假设K是NTFS,你可以检查:
K:\stage5\public_html
ZEND SERVER
访问权限进行读取