[Xitami] Re: RedirectPermenant? (Andris)

Ayhan Tuncer xitami@lists.xitami.org
Fri, 13 Dec 2002 17:56:16 +0200


Andris Kluga wrote:
> 
> Hi!
> 
> Utku Uzmen writes:
> 
> > Any other way except CGI? I'm looking for a server
> > configuration setting, if
> > there is one. But I guess there isn't. =\
> 
> Some time ago I wrote an url file (Internet shortcut) parser to use with
> Xitami.
> http://home.fortech.lv/~andris/redirect/
> 
> To use - add in [Filter] section
>     .url=url.exe
> I see it usefull to add in [Server] section default for index.url files as last
> one.
> 
> Do not use hyperlinks to clean .url file because it does not work in Netscape
> 4.xx browsers.
> 
>   Andris

The [Filter] was a complete mystery fpr me upto now. I learned something
entirely new. 
Thanks.

Do you know whether there is any difference in overhead between eg a
perl cgi executable and a 
perl filter activated as you describe?

This choice seems to depend on whether you'd like to redirect 301
against individual 
document uris or complete directory uris.

A cgi script also offers the possibility of by-passing document
extensions and redirecting
complete virtual directory content through a cgi-alias (document or
directory name) to a 
script which would output headers for 307 with the appropriate choice of
location
depending on the path requested ( this would be in the environment extra
path ).

To Utku Uzmen:

I am sorry if there is any html formatting in my mail. This is Netscape
with the text editor
and I do not notice any formatting on my own copy. Please warn me if I'm
mistaken.

Ayhan Tuncer