<legend id='OzzaY'><style id='OzzaY'><dir id='OzzaY'><q id='OzzaY'></q></dir></style></legend>
    • <bdo id='OzzaY'></bdo><ul id='OzzaY'></ul>
    <i id='OzzaY'><tr id='OzzaY'><dt id='OzzaY'><q id='OzzaY'><span id='OzzaY'><b id='OzzaY'><form id='OzzaY'><ins id='OzzaY'></ins><ul id='OzzaY'></ul><sub id='OzzaY'></sub></form><legend id='OzzaY'></legend><bdo id='OzzaY'><pre id='OzzaY'><center id='OzzaY'></center></pre></bdo></b><th id='OzzaY'></th></span></q></dt></tr></i><div id='OzzaY'><tfoot id='OzzaY'></tfoot><dl id='OzzaY'><fieldset id='OzzaY'></fieldset></dl></div>

      <small id='OzzaY'></small><noframes id='OzzaY'>

      <tfoot id='OzzaY'></tfoot>

      1. Laravel 5.1 找不到路由对象

        Laravel 5.1 Route Object not found(Laravel 5.1 找不到路由对象)

        <i id='5w6Wg'><tr id='5w6Wg'><dt id='5w6Wg'><q id='5w6Wg'><span id='5w6Wg'><b id='5w6Wg'><form id='5w6Wg'><ins id='5w6Wg'></ins><ul id='5w6Wg'></ul><sub id='5w6Wg'></sub></form><legend id='5w6Wg'></legend><bdo id='5w6Wg'><pre id='5w6Wg'><center id='5w6Wg'></center></pre></bdo></b><th id='5w6Wg'></th></span></q></dt></tr></i><div id='5w6Wg'><tfoot id='5w6Wg'></tfoot><dl id='5w6Wg'><fieldset id='5w6Wg'></fieldset></dl></div>
        • <bdo id='5w6Wg'></bdo><ul id='5w6Wg'></ul>

            <tfoot id='5w6Wg'></tfoot>
              1. <small id='5w6Wg'></small><noframes id='5w6Wg'>

                  <tbody id='5w6Wg'></tbody>
                <legend id='5w6Wg'><style id='5w6Wg'><dir id='5w6Wg'><q id='5w6Wg'></q></dir></style></legend>
                  本文介绍了Laravel 5.1 找不到路由对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  请帮助我,我正在使用最新版本的 xampp &不知道我的问题是什么原因.

                  Please help me, I'm working on a Laravel using the latest version of xampp & do not know what the cause of my problem is.

                  这条路线运行良好:

                  Route::get('/', function () {
                      return 'aa';
                  });
                  

                  这条路线给出一个错误找不到对象!":

                  This route gives an error "Object not found!":

                  Route::get('about', function () {
                      return 'aaa';
                  });
                  

                  httpd.vhosts:

                  httpd.vhosts:

                  <VirtualHost test.loc:80>
                     DocumentRoot "C:/xampp/apps/test.loc/public"
                     ServerName test.loc
                     <Directory "C:/xampp/apps/test.loc/public">
                              #AllowOverride All - when I use this, I get a "Access forbidden!" for all routes
                          Require all granted - this works for the main route, other routes give "errors".
                  </Directory>
                  

                  /public/.htaccess:

                  /public/.htaccess:

                  <IfModule mod_rewrite.c>
                  <IfModule mod_negotiation.c>
                      Options -MultiViews
                  </IfModule>
                  
                  RewriteEngine On
                  
                  # Redirect Trailing Slashes If Not A Folder...
                  RewriteCond %{REQUEST_FILENAME} !-d
                  RewriteRule ^(.*)/$ /$1 [L,R=301
                  
                  # Handle Front Controller...
                  RewriteCond %{REQUEST_FILENAME} !-d
                  RewriteCond %{REQUEST_FILENAME} !-f
                  RewriteRule ^ index.php [L]
                  

                  推荐答案

                  我遇到了完全相同的问题,但最后这对我有用.

                  I faced exactly the same problem, but finally this worked for me.

                  .....
                  <Directory "C:/xampp/apps/test.loc/public">
                     Options Indexes FollowSymLinks Includes ExecCGI
                     AllowOverride All
                     Require all granted
                  </Directory>
                  

                  这篇关于Laravel 5.1 找不到路由对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)

                    <tbody id='hLVLn'></tbody>

                        <bdo id='hLVLn'></bdo><ul id='hLVLn'></ul>

                      • <i id='hLVLn'><tr id='hLVLn'><dt id='hLVLn'><q id='hLVLn'><span id='hLVLn'><b id='hLVLn'><form id='hLVLn'><ins id='hLVLn'></ins><ul id='hLVLn'></ul><sub id='hLVLn'></sub></form><legend id='hLVLn'></legend><bdo id='hLVLn'><pre id='hLVLn'><center id='hLVLn'></center></pre></bdo></b><th id='hLVLn'></th></span></q></dt></tr></i><div id='hLVLn'><tfoot id='hLVLn'></tfoot><dl id='hLVLn'><fieldset id='hLVLn'></fieldset></dl></div>

                        • <small id='hLVLn'></small><noframes id='hLVLn'>

                            <legend id='hLVLn'><style id='hLVLn'><dir id='hLVLn'><q id='hLVLn'></q></dir></style></legend>
                            <tfoot id='hLVLn'></tfoot>