[Seaside] Wrong redirect for expired sessions
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:
> 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:
RewriteRule ^/myapp/(.*)$ /$1 [redirect,last] # <--- added this line
RewriteRule ^/files/ - [last]
RewriteRule ^/(.*)$ http://localhost:9093/myapp/$1 [proxy,last]
More information about the seaside