2011-12-09 134 views
0

我在ubuntu操作系统上的本地主机上创建了一个zend项目,它在我的本地系统上完美运行。现在我想在线上传这个项目。我购买了域名和托管。我得到了以下目录结构来上传文件。共享主机上的zend项目?

/www.example.com/web/content/ 

所以www.example.com指向/www.example.com/web/content/文件夹。该目录结构不可更改。我把所有公共文件夹中的文件/www.example.com/web/content/应用测试文件夹到/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, [email protected] 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 

任何想法?

谢谢

回答

1

内部服务器(HTTP 500)错误可能会发生,原因很多。您应该检查您的Web服务器的错误日志以获取更多详细信息。如果您无法访问虚拟主机的错误日志,请询问主机以查看发生了什么问题。