Laravel项目从localhost到服务器

时间:2014-04-05 19:19:27

标签: laravel laravel-4

我正在尝试将我的laravel项目从localhost放到服务器上。在我的localhost上我运行它:

http://localhost/nih/public/bassengweb/hvertime

但是当我把它上传到服务器时:

http://student.cs.hioa.no/~s180393/nih/public/bassengweb/hvertime

我收到此错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, amirahm@cs.hioa.no 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.

1 个答案:

答案 0 :(得分:0)

这不是laravel问题,而是服务器问题。所以让我们跟踪它,根据你的错误信息,它主要是一个配置问题。

将服务器设置为从公用文件夹而不是根目录中读取。