[Yanel-usage] automatic redirect/refresh
Bettina Messmer
bettina.messmer at gmx.ch
Tue Jul 5 14:38:47 CEST 2011
Hi,
I think my problem is more, that it's not redirecting at all.
I thought if the hardcoded redirect was the problem in the first palce, I would get a Page not found error. But it just doesn't do anything, unless I click on the link...
thanks,
Bettina
-------- Original-Nachricht --------
> Datum: Tue, 05 Jul 2011 14:26:22 +0200
> Von: Michael Wechner <michael.wechner at wyona.com>
> An: yanel-usage at wyona.com
> Betreff: Re: [Yanel-usage] automatic redirect/refresh
> Am 05.07.11 13:44, schrieb Bettina Messmer:
> > Hi,
> >
> > I'm implementing a getView method and I want that the link, provided in
> the view has a automatic redirect. There fore I added the following header.
> >
> > <html xmlns='http://www.w3.org/1999/xhtml'>
> > <head>
> > <meta http-equiv=refresh' content='0;url=de/index.html'/>
> > </head>
> > ....
> > </html>
> >
> >
> >
> > Does anybody know why it doesn't work?
>
> since this path is relative it will be applied accordingly, e.g.
>
> Assume you are on a page with URL
> http://127.0.0.1:8080/yanel/MY_REALM/en/index.html
>
> then the above redirect will go to
>
> http://127.0.0.1:8080/yanel/MY_REALM/en/de/index.html
>
> which probably does not exist.
>
> HTH
>
> Michael
> > greets and thanks a lot,
> >
> > Bettina
>
> --
> Yanel-usage mailing list Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the Yanel-usage
mailing list