[Seaside] Wrong redirect for expired sessions

Jan van de Sandt jvdsandt at gmail.com
Sat Feb 27 21:50:09 UTC 2010


I have a configuration where my Seaside application (a Pier 2 website) is
available in the root context. I use apache as a proxy to forward the
requests to Seaside. Something like this:

    RewriteEngine On
    RewriteRule ^/files/ - [last]
    RewriteRule ^/(.*)$ http://localhost:9093/myapp/$1 [proxy,last]

In Seaside I added the following preference:

    application preferenceAt: #serverPath put: '/'

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100227/c4a4a7f9/attachment.htm

More information about the seaside mailing list