My personal step 1 for htaccess issues is using this website: madewithlove it will quickly detect common made mistakes, and you can actually see in realtime what your configuration is doing to the url you're trying to access.
Dec 14, 2022
1
Level 1
deploy lumen app with htaccess
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 https://chatrandom.download am I doing wrong?
Please or to participate in this conversation.