404 Redirect Error after SignIn by installing greenlight in an extra folder
Hello,
I've problems with Greenlight v.3.4.* by redirecting after signin on the joincard. I get an 404 Error. I've installed Greenlight in an extrafolder. Example: https://*.com/extrafolder/
To reproduce:
Visite as a normal participant from the meeting. Visit the https://.com/extrafolder/rooms/xxx-xxx-xxx-xxx/join page in a browser tab. Click on "Sign In" redirect to: https://.com/extrafolder/extrafolder/signin?location=%2Fextrafolder%2Frooms%2Fxxx-xxx-xxx-xxx%2Fjoin "Sign In" GET Error 404 because i will redirect to: https://*.com/extrafolder/extrafolder/rooms/xxx-xxx-xxx-xxx/join
I think the problem came from the "Sign In" - Button it is a path problem!
Thanks for your fantastic frontend.
u r right. This is an issue. How i have fixed this is trimming down the url. U can write a simple regex to eliminate your extra /extraFolder
U can get ur regex from chatgpt...
I hope this will fix ur issue
I'm not sure if it help to add a location block to the webserver's configuration to rewrite the location via a regular expression. I assume that the query ?location=%2Fextrafolder... is processed by the application and not by the webserver. Therefore a rewrite rule never matches.
Maybe it is caused by the way the signin URL is constructed. It uses the path as a query parameter.
If the RELATIVE_ROOT_URL is other than / the path will alwys be inserted twice.
Could a Dev confirm if this is a problem with the application rather than with the webserver?
fixed in #6099