I defined redirection (URL rewriting) within Abyss. This redirection through PHP is still something I'd love to do but it might get really complicated as I saw with my earlier Test (see beginning of this Thread). -- Mit freundlichen Grüßen / Best Regards Karl Loncarek -----Original Message----- From: "Don Bowman" <don.bowman@xxxxxxxxxxxxxx> Date: Fri, 23 Oct 2009 10:46:47 To: <dokuwiki@xxxxxxxxxxxxx> Subject: [dokuwiki] Re: Dokuwiki farm question On Fri, 23 Oct 2009 09:38:58 +0100, Karl Loncarek <dh2mll@xxxxxx> wrote: > I hope this information helps others too. Excellent work. I have been following this with interest as I was trying to do something similar a few months ago but never finished it. In my case I have one system using Apache and another using Abyss and I wanted a common set up. I suppose that ideally it should work with IIS as well. I went back and looked at what I had done. You have come up with a far more comprehensive preload.php than I managed. Thanks for that. I also found that I had an index.php in the animal as follows: <?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/dokufarm/doku.php?farmwiki=test'); exit; ?> It is not my original code and and am not sure where I got it from. It allows redirection to be done in the browser, but I don't remember if I got it working fully. One question. Did you have to put the redirection info into Abyss or is it all contained within the preload.php? -- Don The views expressed are mine alone, unless, of course, you agree with me. But then again, I could be wrong ... -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist