我是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
上。这是完美的,我该怎么办?
答案 0 :(得分:1)
确保您的文件夹具有755
权限。我经许可澄清了这个问题。这是其他任何事情的第一件事。您可以获得成功的输出。
由于
答案 1 :(得分:0)
确保您的文档根目录指向localhost / blog / public /。如果localhost / blog拉出Laravel启动画面或者你在家庭视图中设置的任何内容,那么这是一个htaccess问题。最有可能的是,文档根本没有朝着正确的方向发展。