共享主机Zend的项目? [英] zend project on shared hosting?

查看:188
本文介绍了共享主机Zend的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了本地主机上的Ubuntu操作系统的一个Zend项目,它工作完全在我的本地系统。现在,我想在网上上传了这个项目。我购买了域名和主机。我有以下目录结构上传文件。

I created a zend project on localhost on ubuntu OS and it is working perfectly on my local system. Now I want to upload this project online. I purchased domain name and hosting. I got following directory structure to upload files.

/www.example.com/web/content/

所以 www.example.com 指向 /www.example.com/web/content / 文件夹。这个目录结构是不变的。我把所有的公共文件夹中的文件以 /www.example.com/web/content / 应用程序 测试文件夹到 /www.example.com/web / 。因此,它是同一个目录中我的本地系统,但唯一的公共文件夹重命名为内容的文件夹。

So www.example.com is pointing to /www.example.com/web/content/ folder. This directory structure is unchangeable. I put all public folder files to /www.example.com/web/content/ and application, library and tests folders into /www.example.com/web/. So it is the same directory as my local system but only public folder is renamed to content folder.

现在的网页被成功显示,但whenver我点击任何链接或重定向到其他网页,我得到了下面的错误。

Now homepage is successfully shown but whenver I click any link or redirect to any other webpage, I got following error.

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

你知道吗?

感谢

推荐答案

内部服务器(HTTP 500)错误。你应该检查你的web服务器的错误日志的更多细节。如果您没有访问到您的虚拟主机的错误日志,请询问您的主机,看看有什么地方出了错。

Internal server (HTTP 500) errors can occur for many reasons. You should check your web server's error log for more details. If you don't have access to your vhosts' error log, ask your host to see what's going wrong.

这篇关于共享主机Zend的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆