Hi all,
I' m running a bit complicated setup so I' ll try to explain.
I have an apache2 running as backend. An nginx proxy is proxying apache on an vpn interaface. Another machine is acting as a reverse proxy (nginx), making the websites behind available to the public (via ssl). I installed dokuwiki, without any additional plugins. I registered the admin account. Now when I try to login I get a page saying :
Permission Denied
Sorry, you don't have enough rights to continue. Perhaps you forgot to login?
If I try to login with the wrong credentials I get :
Sorry, username or password was wrong.
Analyzing the requests and responses from my browser I discovered that the response for the POST request (for the login) is the following
Status=Found - 302
Server=nginx
Date=Sat, 05 Oct 2013 11:39:30 GMT
Content-Type=text/html
Content-Length=1
Connection=keep-alive
X-Powered-By=PHP/5.3.3-7+squeeze17
Expires=Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control=no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma=no-cache
Location=http://***********/wiki/doku.php?id=start
Strict-Transport-Security=max-age=15768000
So there are basically two problems. Location seems to be under http and not https and there is no Set-Cookie header. Does anybody have a similar configuration or any suggentions on how can this be resolved?