Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 错误500。使用AMMPS进行laravel路由的htaccess(行重写规则^index.php[L])_Apache_.htaccess_Laravel_Mod Rewrite - Fatal编程技术网

Apache 错误500。使用AMMPS进行laravel路由的htaccess(行重写规则^index.php[L])

Apache 错误500。使用AMMPS进行laravel路由的htaccess(行重写规则^index.php[L]),apache,.htaccess,laravel,mod-rewrite,Apache,.htaccess,Laravel,Mod Rewrite,在Apache 2.4.12 trought AMMPS的AMMPS安装中,我在尝试使用.htaccess进行路由pourposes时遇到了错误500(我使用的是Illumb\routing&使用Illumb\Http,而不是full laravel) 读取apache日志时,仅显示 127.0.0.1 - - [10/Oct/2015:08:29:49 +0100] "GET /public HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Macintosh; Inte

在Apache 2.4.12 trought AMMPS的AMMPS安装中,我在尝试使用.htaccess进行路由pourposes时遇到了错误500(我使用的是Illumb\routing&使用Illumb\Http,而不是full laravel)

读取apache日志时,仅显示

127.0.0.1 - - [10/Oct/2015:08:29:49 +0100] "GET /public HTTP/1.1" 500 528 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0"
尝试在Apache上进行更高级别的调试,请参阅

[Sat Oct 10 08:39:55.862342 2015] [core:error] [pid 41739] [client 127.0.0.1:65261] 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 backtrace.
.htaccess

 RewriteEngine On

 # Redirect Trailing Slashes... 
 RewriteRule ^(.*)/$ /$1 [L,R=301]

 # Handle Front Controller...
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^ index.php [L] # If comment this line not error 500
如果注释最后一行没有错误,但路由无效