[Seaside] Wrong redirect for expired sessions

Jan van de Sandt jvdsandt at gmail.com
Sun Feb 28 09:58:32 UTC 2010


Hello Lukas,

Thanks for the workaround. I also tried adding a ProxyPassReverse directive
to the apache configuration. I thought that it would change the Location
header in the redirect. But this did not work.

Jan.

On Sun, Feb 28, 2010 at 10:34 AM, Lukas Renggli <renggli at gmail.com> wrote:

> This is a bug in the expiry redirect. Thank you for reporting, I've
> created an issue:
>
>    http://code.google.com/p/seaside/issues/detail?id=552
>
> > Everything works fine most of the time. Except when the session has
> expired.
> > When the users clicks on a link http://host/page?_s=xyz he is redirected
> to
> > http://host/myapp/page. And of course this page doesn't exist.
> >
> > Any ideas how this can be fixed?
>
> As a quick workaround (until the Seaside code base is fixed) you can
> catch the problem in the Apache rewrite rules:
>
>    RewriteEngine On
>    RewriteRule ^/myapp/(.*)$ /$1 [redirect,last]   # <--- added this line
>     RewriteRule ^/files/ - [last]
>    RewriteRule ^/(.*)$ http://localhost:9093/myapp/$1 [proxy,last]
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Jan van de Sandt
gsm: +31 (0)6 3039 5998
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100228/4a3bf4fe/attachment.htm


More information about the seaside mailing list