Answer the question
In order to leave comments, you need to log in
Remove public/index.php from Lumen?
I want to place several Lumen projects in one folder.
For example, I domen.com
create a domain subdomain And I put Lumen projects in the subsub.domen.com
hosting folder . Now I put .htaccess
in each project
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ [folder-name]/public/$1 [L]
</IfModule>
sub.domain.com/[folder-name]/
sub.domain.com/[folder-name]/index.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question