Closed suchmaske closed 4 years ago
During testing the setup again I was not able reproduce the problems you mentioned above. Nonetheless I made tiny changes to make the software a little more error resilient. But these changes shouldn't be connected to what you observed.
Maybe I need a little more information about what you were trying to achieve. Because if I just run the whole setup, building the docker containers from the scratch and opening localhost:8484/rdmo
afterwards I do not have any redirecting problems.
How do you run your stuff? And what role exactly does the Nginx play? If you use it as a reverse proxy in front of the Apache we need to make sure that the Nginx setup is correct. The problem could be buried there somewhere as well.
When deploying
rdmo
with a subdomain, it seems that not all paths are being rewritten correctly.For instance, when visiting the index page, the "Login"/"Anmelden" link in the navbar correctly routes to
/rdmo/account/login
.However, other routes (for changing the locale) or routes within forms are not being prepended with the BASE_URL. For example, the link to the registration form or the POST-URL for the login form does not re-route correctly.
Although the BASE_URL is configured, the URLs point to:
/account/login
instead of/rdmo/account/login
/account/signup
instead of/rdmo/account/signup
/i18n/en
instead of/rdmo/i18n/en
etc.This routing issue makes the app unusable for users when trying to deploy under a server subdirectory path (e.g.
example.com/rdmo
).My nginx-snippet on the host OS.