[dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek <dh2mll@xxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 22 Oct 2009 17:58:48 +0200
Take a look at the login code, also see dokuwiki xref pages, http://dev.splitbrain.org/reference/dokuwiki/Ok found the problematic point so far: In common.php ther is a function send_redirect() which usesJust this once, iirc, auth_login() -> act_redirect() -> act_redirect_execute() -> send_redirect() are called to forward the user to the wiki home page.If you do find a bug, please visit http://bugs.splitbrain.org and file a bug report, include your proposed solution if you have one.- Chris
header('Location: '.$url);
for redirecting. It seems that this sort of redirection interferes with
the internal server redirection.
One moment. Am I wrong when I say that: internal redirection works on the web servers side and Header-redirection works in the browser? This would explain the behaviour. I assume that the browser takes the actual path of the website and simply tries to add (in my case: "../doku1/doku.php"). Seems like "../" does not work here and is ignored.
Do you think I'm correct here?As I looked at the string $url in the send_redirect function I saw it's a filename with an absolute path. In order to work also in farms it should look like e.g. "http://127.0.0.1/dokuwiki/doku.php", right?
Just for fun I hardcoded the above sampel URL and then it worked without flawlessly.
Is this a bug? What do you think?Tomorrow I'll search whether I can found out where this absolute path comes from.
- Karl -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- References:
- [dokuwiki] Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Re: Dokuwiki farm question
- From: Karl Loncarek
- [dokuwiki] Re: Dokuwiki farm question
- From: Christopher Smith
- [dokuwiki] Dokuwiki farm question
Other related posts:
- » [dokuwiki] Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith
- » [dokuwiki] Re: Dokuwiki farm question - Karl Loncarek
- » [dokuwiki] Re: Dokuwiki farm question - Don Bowman
- » [dokuwiki] Re: Dokuwiki farm question - Christopher Smith