Error when trying to redirect by .htaccess in a subfolder in Laravel 5.2

0

I'm using my application in Laravel 5.2 in a subfolder wwww.domain.com/application/

But I do not want "/ public /" to stay ahead, I'm using this way in .htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^public
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

Then when I access the url I get the following error:

NotFoundHttpException in RouteCollection.php line 161: 

I think it should be something simple to solve but I do not know how, any suggestions?

    
asked by anonymous 21.02.2017 / 16:58

0 answers