Replies: 1 comment 6 replies
-
|
Although there few articles guiding installation on subdirectory for Laravel this usage is not officially supported by Laravel. Convert this to community's discussion. |
Beta Was this translation helpful? Give feedback.
6 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.
-
Description:
Whenever you access Nova in a subdirectory, for example:
https://staging.mydomain.com/myproject/adminit redirect you tohttps://staging.mydomain.com/myproject/myproject/admin/login. Whatever the URL is after the TLD, it will just add it towards the URL.For example, if the URL would've been:
https://staging.mydomain.com/this/is/a/test/adminit will redirect you tohttps://staging.mydomain.com/this/is/a/test/this/is/a/test/admin/loginAfter moving the project to an actual domain name such as
https://www.myproject.comeverything works as expected.Detailed steps to reproduce the issue on a fresh Nova installation:
2 options:
publicfolder 1 or more subdirectories deeper (change the relative paths inserver.phpandpublic/index.php)Basically any configuration where you can't access the application in the domains root.
Beta Was this translation helpful? Give feedback.
All reactions