Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

georgenis's avatar

How can I deploy my lumen app?

Hello together,

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]

Can you help me to deploy my app? I trying since 2 days :-(

0 likes
0 replies

Please or to participate in this conversation.