Bắt thông báo lỗi:Laravel gửi máy chủ trên 10 chuyển hướng?
[Sun Jun 02 12:43:33.579095 2013] [core:error] [pid 4964:tid 808] [client 127.0.0.1:56964] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a
Khi cố gắng sử dụng laravel để làm định tuyến. tuyến đường của tôi như sau:
Route::get('/', '[email protected]');
Route::get('history', '[email protected]');
Và .htaccess của tôi:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
Và bí danh của tôi:
Alias /wunhopkuendo/ "c:/wamp/www/wunhopkuendo/public/"
<Directory "c:/wamp/www/wunhopkuendo/public/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
Điều này cũng xảy ra khi bạn không có các tuyến đường được xác định? –
Điều chỉnh 'LogLevel' để xem nơi nó chuyển hướng nội bộ bạn. –
kiểm tra cấu hình máy chủ ảo của bạn. Đường dẫn đến thư mục công cộng có thể không phải là đường dẫn bạn nghĩ. – chepe263