2

我是新手laravel。我正在尝试laravel根据教程进行配置https://github.com/jasonlewis/laravel-blog/wiki/Creating-a-simple-blog-in-Laravel-3。我已经创建了admin文件夹,但是当我尝试运行http://localhost/blog/admin时,出现以下错误:

Internal Server Error

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

Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this 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.

Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 Server at localhost Port 80

上时localhost/blog。一切顺利,我该怎么办?

4

2 回答 2

1

确保您的文件夹具有755权限。我经许可清除了这个问题。这是做任何其他人的第一件事。你可以得到成功的输出。

谢谢

于 2015-02-12T16:46:27.800 回答
0

确保您的文档根目录指向 localhost/blog/public/。如果 localhost/blog 拉出 Laravel 启动屏幕或您在主视图中设置的任何内容,那么这是一个 htaccess 问题。很可能是文档根目录没有朝着正确的方向前进。

于 2012-11-21T17:09:08.350 回答