[Xitami] RedirectPermenant?

Ayhan Tuncer xitami@lists.xitami.org
Thu, 12 Dec 2002 08:43:00 +0200


Utku Uzmen wrote:
> 
> Hi,
> I'm looking for a function similar to RedirectPermenant (.htaccess) in Apache
> servers. I'd rather not use HTML pages with meta-refresh tags. Is this possible
> under Xitami?
> 
> Thanks in advance,
> 
> Utku Uzmen
> ----------------------
> http://www.maddrive.com
> utku@maddrive.com

>From a cgi-script before printing anything else:

    print "location: the/url/to/redirect/to\n\n";

and then exit.

Have a nice day.
Ayhan Tuncer