我刚刚将我的Laravel 5 proyect上传到托管服务器.索引页几乎可以工作,但每个链接都被破坏了.每条路由都返回一个内部服务器错误消息.
这是实际的消息:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, 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.
Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request.
我已经将存储文件夹权限设置为777,但我甚至没有收到错误日志.
有什么建议?
最后我可以解决它添加
RewriteBase /
到公用文件夹中的.htaccess文件.
这是我完整的.htaccess文件:
Options -MultiViews
RewriteEngine On
RewriteBase /
# Redirect Trailing Slashes...