-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Apache reverse proxy location syntax maybe leads to errors #4841
Comments
I came from the issue kamax-matrix/mxisd#141 and kamax-matrix/mxisd#142. |
@richvdh no reason in particular. I was attempting to figure out how to get things working with apache and must have found an example that worked. From the linked documentation it sounds like location tags are an issue if the below is true.
@dev4223: your solution works well (just confirmed on my server.) I'll just submit a pull request to update the documentation using that syntax if that's agreeable? |
Oh yes, I'm glad I could help. |
fixed by #4870 |
Description
I have a matrix synapse and mxisd installation on debian stretch working.
Only thing is, that I can't validate any email address. Email is sent but after clicking on the link i get the backend page with this message:
´´´
{"errcode":"M_NO_VALID_SESSION","error":"No valid session was found matching that sid and client secret","success":false}
´´´
Please read here kamax-matrix/mxisd#141
Version information
Debian Stretch
I've installed the lates matrix synapse package for debian stretch:
Package: matrix-synapse-py3
Version: 0.99.2+stretch1
and installed the latest stable mxisd package for stretch:
mxisd_1.3.1_all.deb
Solution
@pexus in kamax-matrix/mxisd#142 brought me to the Idea:
My apache config was
Now I have changed it to
This solved the problem. This Location-syntax for synapse comes frome here https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.rst
And after the description here https://httpd.apache.org/docs/2.4/mod/core.html#location it seems not a good idea to do so.
The text was updated successfully, but these errors were encountered: