Routing does not seem to work when installed on a subdomain
After installing Cosum on a subdomain like https://cosum.example.com the start page opens just fine. Unfortunately, all the links on the start page like https://cosum.example.com/login or https://cosum.example.com/register lead to HTTP code 500 errors with the following message logged by Apache:
[error] [pid nnn] core.c(3879): [client mmm] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
If I run the same installation (with adjusted .env) from a subfolder of the domain, i.e. https://example.com/cosum, some of the links work, some of them ignore the subfolder location.
Do you have any idea how to solve these problems. My guess is that the routing in the application currently expects the application to be hosted on a top-level domain.