Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Login issue from a remote proxy
When logged, will logout and result in a denied page
cdcdcdcd #1
Member since Feb 2019 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Login issue from a remote proxy

I end up having a remote proxy to serve the wiki however when I successfully log in, when I got redirect, I got a denied action page and not being logged anymore.

I tried to debug the DokuWiki code to find my issue myself, currently I only found out that the REMOTE_USER variable seems to not exist anymore when redirected.
I thought this variable was set in result of an Authorization header which isn't sent with the non-working method (trought the reverse proxy) and working (direct) one.

I tried to use the cookie from a successful login (from a direct connection) to the non working case but it keep denied it.

So overall how the default login (with ACL plugin) works in order to look for what I miss in the reverse proxy configuration.

When I looked at the fiddler log I didn't see any significant difference.

I tried to override, in doku.php in the header, some server variables (like HTTP_HOST, SERVER_PORT, SERVER_NAME, REMOTE_ADDR) to set back the original value like if they were no proxy. Didn't change anything.

Thanks you
The author has attached one file to this post: 27.7 kBytes
You have no permission to open this file.
This post was edited 2 times, last on 2019-02-19, 02:52 by cdcdcdcd.
Edit reason: Added fiddler logs
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-08, 18:48:24 (UTC +02:00)