.htaccess - Remove index.php from routes in Lumen/Laravel -
i move lumen project ubuntu.
i cant access defined routes without index.php
.
i can access routes in way:
public/index.php/api/user
i tried command a2enmod rewrite
, restart apache2 not work me. not know if file .htaccess in public file.
any help?
put in .htaccess
rewriteengine on rewritebase / rewritecond %{the_request} /index [nc] rewriterule ^ / [r=302,l,ne]
see how-to-remove-public-from-url-in-laravel
, remove index.php url laravel 5
Comments
Post a Comment