在 Ubuntu 上托管多个站点
我正在使用 Ubuntu 11.10,并且尝试使用 this 教程,但配置后出现错误:
禁止
您无权访问此服务器上的 /。阿帕奇/2.2.20 (Ubuntu) 服务器位于 test.local 端口 80
有人能帮我解决问题吗?
I am using Ubuntu 11.10 and I am trying to host multiple sites on local for development by using this tutorial, but after configuration I get error:
Forbidden
You don't have permission to access / on this server. Apache/2.2.20
(Ubuntu) Server at test.local Port 80
Can someone help me to solve problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你的日志文件里有什么东西吗?
最后一个文件是最新的文件。看看它:
less error.log (然后按 G (大 g))或使用 tail -f ...
我猜你的文档根目录中没有“index.html”文件。如果您不允许列出目录,则会收到权限被拒绝的错误。
Is there something in you logfiles?
The last file is the most recent one. Look at it:
less error.log (Then press G (big g)) or use tail -f ...
I guess you don't have a "index.html" file in your document root. If you don't allow directory listing, you get a permission denied error.