[Seaside] Wrong redirect for expired sessions

Lukas Renggli renggli at gmail.com
Sun Feb 28 09:34:39 UTC 2010


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


More information about the seaside mailing list