Replies: 2 comments 13 replies
-
Hey @jrbecart. The reason is right there in the docs:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Because it's a Laravel app I think 🤔 If you want to serve another code/ framework, just point a subdomain into that. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @taylorotwell ,
Sorry to ping you here, but I am (along with others) very confused right now.
It looks like Laravel doesn't support website in a subfolder like https://mydomain.com/website
This is very surprising as this is used in many organizations and institutions almost everywhere.
Many issues were closed saying that Laravel doesn't support this, referring to the doc here: https://laravel.com/docs/7.x/installation#directory-configuration
But there is no explanation here, root of the web directory on the web server and subfolder website are related but two different things.
There is no issue having Lavarel served out of the root of the "web directory" with: a domain, a subdomain or a subfolder website, because it's a web server configuration (NGINX, Apache, etc.).
So the recommendation is fine but doesn't apply to the type of website (domain/subdomain/subfolder)
If it's true that you don't support subfolders websites (https://mydomain.com/website), can you give the reason?
And if so then it should be clearer and added in the documentation.
Thanks for your feedback on this!
Regards,
Beta Was this translation helpful? Give feedback.
All reactions