Greetings!

I just wanted to notify that as of today, the
old host for Midgard's site (http://midgard.greywolves.org)
has been removed, and all queries for that host will
be redirected to http://www.midgard-project.org

If you have any links for our site, please update
them. While we have that redirection there, it would
still be nice to get away from that legacy host name.


By the way, it is actually quite easy to implement 
this kind of redirection in Midgard itself:

Just remove your old host (or mark it offline)
from the URL you wish to redirect from, and create
a new host to replace it. Edit the root page of 
that new host and mark it active. Don't make any
child pages for it (unless you want to disable
redirection from a particular URI). Then add
a code-init element for that page with the
following contents:

<?php 
  header("Location: http://host.domain.com$midgard->uri"); 
    /* Send this as addition to the HTTP header
       this has to be before any actual content
       is sent to the browser */
  exit; 
    /* Quit parsing the element tree after this */
?>

This procedure should redirect all queries for that
host to same URIs on the new host. Also, I don't see
any reason why this wouldn't work with hosts that
are placed in a subdirectory.

/Bergie

PS. Ok, I admit it, I wasn't that familiar with
how redirections in Apache's configuration files
work and didn't want to experiment with a production
server, so I decided to implement it in Midgard
instead. ;-)

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to