apache - Error 500. .htaccess for laravel routing (line RewriteRule ^ index.php [L]) with AMMPS -


on ammps instalation of apache 2.4.12 trought ammps, error 500 when try use .htaccess routing pourposes (i use illuminate\routing & use illuminate\http, not full laravel)

when read apache log, show

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" 

try put more level debug on apache , see.

[sat oct 10 08:39:55.862342 2015] [core:error] [pid 41739] [client 127.0.0.1:65261] ah00124: request exceeded limit of 10 internal redirects due probable configuration error. use 'limitinternalrecursion' increase limit if necessary. use 'loglevel debug' 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 line not error 500 

if comment last line not error, routing not work


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -