Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[4 / 2 / 1]

Laravel Issue

No.1516928 View ViewReplyOriginalReport
Hi, /wsr/ I have this issue and I don't know if anyone here may know how to solve it because I haven't been able to find how on google.
We have this old server with some old webpages made in php.
We were asked to migrate it to laravel (I'm using laravel 11 which I barely learned how to use after an intensive online course).
the thing is that every project seem to need to use the /public/ folder to work, unless it's put in some "virtual host".
I don't have access to the server management, so I can't test anything, but I can get in contact with the guy doing it.
It seems we are given a domain from some "main company" so we use the company name in the website name, but they won't give any more domains anymore due some legal limitation.
They also use some "reverse proxy" thing, the OS is red hat 8 and it's using nginx (not apache) to run the stuff.
The main issue is that we had some domain (for example legalstuff.companyname.xxx) and the domain redirected to some folder in the server (to the http folder), and there are many other folders with "other systems" so we had stuff like
legalstuff.companyname.xxx/project1
legalstuff.companyname.xxx/project2
etc
where every folder has it's own project with separate databases/etc
the thing is that the only way to migrate this to laravel, then we would need to use the "public" folder inside the project folder for it to work normally, so it'd be
legalstuff.companyname.xxx/project1/public
legalstuff.companyname.xxx/project2/public
and the bosses think that'd look bad and don't want it (but still want us to migrate to that framework because it's supposed to be the best for the current php)
What could be a solution for this?
We tried making this "only one main project, with many sub folders with other controllers working as projects", but it becomes a mess later after adding more stuff, so I wonder if there may be some "hidden way" I didn't know about to find a solution for this.