Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Redirecting to the wrong path and loading the page fails to load the library #2856

Open
minhducsmc opened this issue Dec 16, 2024 · 4 comments
Assignees
Labels

Comments

@minhducsmc
Copy link

What is your set up?

Self Hosted Server

Version

3.3.3

Describe the issue

When logged in correctly it redirects to dashboard but the path is wrong
Screenshot 2024-12-16 094808

When logging into the dashboard, the page will load forever and not display.
Screenshot 2024-12-16 094850

When creating a new to do and saving, the page will display loading like this
Screenshot 2024-12-16 095014

This is my configure
image

Reproduction steps

...

Error Logs (LEANTIMEFOLDER/storage/logs)

No response

@marcelfolaron
Copy link
Contributor

Assuming your entire leantime directory is inside of leantime. Your LEAN_APP_URL should be: https://localhost/leantime
There are htaccess rules in place to manage the rewrite including "public". Detailed instructions for subfolder installations can be found here: https://docs.leantime.io/installation/other-methods?id=subfolder-installation

@minhducsmc
Copy link
Author

Hi

I edited the .htaccess file in the public folder and changed the LEAN_APP_URL variable value

but when I access the website, the problem arises, am I missing any instructions?

image

image

image

image

Thanks you very much for help me

@marcelfolaron
Copy link
Contributor

In the root of your leantime folder (a folder above public) should be another .htaccess file.
https://github.com/Leantime/leantime/blob/master/.htaccess

RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]

Can you verify that you see that file? If not can you create that file with the content above?

@minhducsmc
Copy link
Author

Have a nice day

I don't find file .htaccess in root my leantime and i did create file with code above you provoid.

But when i update file complate. System message error: Request-URI Too Long.

Are you need what provoid?

image

URL:

http://localhost/leantime/auth/login?redirect=leantime%2Fauth%2Flogin%3Fredirect%3Dleantime%252Fauth%252Flogin%253Fredirect%253Dleantime%25252Fauth%25252Flogin%25253Fredirect%25253Dleantime%2525252Fauth%2525252Flogin%2525253Fredirect%2525253Dleantime%252525252Fauth%252525252Flogin%252525253Fredirect%252525253Dleantime%25252525252Fauth%25252525252Flogin%25252525253Fredirect%25252525253Dleantime%2525252525252Fauth%2525252525252Flogin%2525252525253Fredirect%2525252525253Dleantime%252525252525252Fauth%252525252525252Flogin%252525252525253Fredirect%252525252525253Dleantime%25252525252525252Fauth%25252525252525252Flogin%25252525252525253Fredirect%25252525252525253Dleantime%2525252525252525252Fauth%2525252525252525252Flogin%2525252525252525253Fredirect%2525252525252525253Dleantime%252525252525252525252Fauth%252525252525252525252Flogin%252525252525252525253Fredirect%252525252525252525253Dleantime%25252525252525252525252Fauth%25252525252525252525252Flogin%25252525252525252525253Fredirect%25252525252525252525253Dleantime%2525252525252525252525252Fauth%2525252525252525252525252Flogin%2525252525252525252525253Fredirect%2525252525252525252525253Dleantime%252525252525252525252525252Fauth%252525252525252525252525252Flogin%252525252525252525252525253Fredirect%252525252525252525252525253Dleantime%25252525252525252525252525252Fauth%25252525252525252525252525252Flogin%25252525252525252525252525253Fredirect%25252525252525252525252525253Dleantime%2525252525252525252525252525252Fauth%2525252525252525252525252525252Flogin%2525252525252525252525252525253Fredirect%2525252525252525252525252525253Dleantime%252525252525252525252525252525252Fauth%252525252525252525252525252525252Flogin%252525252525252525252525252525253Fredirect%252525252525252525252525252525253Dleantime%25252525252525252525252525252525252Fauth%25252525252525252525252525252525252Flogin%25252525252525252525252525252525253Fredirect%25252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252Flogin%2525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252525252525252525252525252Fauth%25252525252525252525252525252525252525252525252525252525252525252525252525252Flogin%25252525252525252525252525252525252525252525252525252525252525252525252525253Fredirect%25252525252525252525252525252525252525252525252525252525252525252525252525253Dleantime%2525252525252525252525252525252525252525252525252525252525252525252525252525252Fauth%2525252525252525252525252525252525252525252525252525252525252525252525252525252Flogin%2525252525252525252525252525252525252525252525252525252525252525252525252525253Fredirect%2525252525252525252525252525252525252525252525252525252525252525252525252525253Dleantime%252525252525252525252525252525252525252525252525252525252525252525252525252525252Fauth%252525252525252525252525252525252525252525252525252525252525252525252525252525252Flogin%252525252525252525252525252525252525252525252525252525252525252525252525252525253Fredirect%252525252525252525252525252525252525252525252525252525252525252525252525252525253Dleantime%25252525252525252525252525252525252525252525252525252525252525252525252525252525252F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants