I want to deploy my lumen app on an webserver. I get following error
"The server encountered an internal error due to .htaccess misconfiguration. Please check your .htaccess file within this or upper directories for syntax errors."
I checked my permissions and they are all set to 777
.
My .htaccess
file:
Options -MultiViews
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ mobile-app/index.php [L]
What am I doing wrong?