【发布时间】:2011-12-09 04:36:59
【问题描述】:
我在 ubuntu OS 的 localhost 上创建了一个 zend 项目,它在我的本地系统上运行良好。现在我想在线上传这个项目。我购买了域名和托管。我有以下目录结构来上传文件。
/www.example.com/web/content/
所以 www.example.com 指向/www.example.com/web/content/ 文件夹。这个目录结构是不变的。我将所有 public 文件夹文件放到 /www.example.com/web/content/ 和 application、library 和 tests 文件夹到 /www.example.com/web/。所以它与我的本地系统是同一目录,但只有公共文件夹被重命名为内容文件夹。
现在主页已成功显示,但是当我点击任何链接或重定向到任何其他网页时,我收到以下错误。
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2 Server at example.com Port 80
有什么想法吗?
谢谢
【问题讨论】:
标签: php http .htaccess shared-hosting zend-framework-mvc